How can I implemented the PR Controller?

Hello I´m ghis, I have a project in which I should implement a PR Controller in Simulink. More precisely I have to impliment the following two functions:
1.
GRP(s) is the transfer function of the PR-Controller (see image)
2.
GHC(s) = is the transfer function of the harmonic compensator where h denotes the harmonic order that the compensator is implemented for.
Please can you help me to implement this two function in Simulink?
@@ The two function must be implemented separately (that mean two Simulink program)
Thank you in advance for ur help.
Best regards

 Accepted Answer

Birdman
Birdman on 18 Oct 2017
You can find the models attached. Hope this helps.

9 Comments

thank you for ur help. is it located in the simulink library? or did you implement it?
All those blocks are located in Simulink library. You can find them.
okay. Thanks! i now Need the Bode plot of GPR. Do you please know how i can do it?
You need to define the GPR in Matlab-command line and then give numerical values to Kp and Ki. Then using
GPR=tf([Kp Ki Kp*w^2],[1 0 w^2])
bode(GPR)
command, you can obtain the bode plot of the controller.
Thanks. I have tried it and it has worked. please can you said me what the PR-Controller concretely is? and where you can use it? for what?
I have Simulink R2017a I have not found the PR-Controller in the Library. In which library is it? Thank you very much
The PR Controller is a special form of PI Controller and it does not take place in Simulink Library. In simulink library, you can find a block PID, which is convertible to P, I, PD or PI.
If you check the bode plot of the PR Controller, you will see that the w variable brings a jump at the frequency w. This means that if a system has a zero at that frequency, it can be compensated by setting the value of w wisely. For more information about this, please check Notch Filters.
By changing the value of Kp and Ki, the system response can be boosted or attentuated since due to the numerical values, the bode plot will start below or above 0dB.
sorry for interrupt. but can i get the full simulink design for this PR controller please?
Hello @ birdman . i need help on using a PR control with harmonic compensator to implement vector control of three phase grid connected Photo voltaic system .
tejal patil
tejal patil on 18 Jan 2019
Edited: tejal patil on 18 Jan 2019
Hello @birdman
How PR controller can be implemented in MATLAB 2015a ?
I am trying to use PR controller to implement Cuk converter with SRM drive control.
please share attachement on tejalpatil012@gmail.com
Thank you.

Sign in to comment.

More Answers (2)

Hello,
can anyone upload the GPR.mdl for Matlab 2016b?
Thanks in advance.

4 Comments

hello @ birdman . can you upload GPR & ghc for Matlab 2016. i am trying to use PR controller with harmonic compensator to implement DQ Vector control in three phase grid connected Photovoltaic system . my email is dayo342001@yahoo.com thanks
hello @ birdman . can you upload GPR & ghc for Matlab 2018. i am trying to use PR controller with harmonic compensator to implement in three phase grid connected Photovoltaic system . my email is bhavikbrahmbhattec@gecmodasa.org; bhavik0072009@gmail.com thanks

Sign in to comment.

I am Essien Aniefiok Udo, I am working on this same project, implementing a PR controller for a Grid connected inverter, I need assistance in the simulink implementation of the PR controller with harmonics compensators to reduce low frequency harmonics at the output of the inverter

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!