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

 Akzeptierte Antwort

Birdman
Birdman am 18 Okt. 2017

2 Stimmen

You can find the models attached. Hope this helps.

9 Kommentare

Engineer ET
Engineer ET am 18 Okt. 2017
thank you for ur help. is it located in the simulink library? or did you implement it?
Birdman
Birdman am 18 Okt. 2017
All those blocks are located in Simulink library. You can find them.
Engineer ET
Engineer ET am 18 Okt. 2017
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.
Engineer ET
Engineer ET am 20 Okt. 2017
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
Birdman
Birdman am 21 Okt. 2017
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.
izham zailam
izham zailam am 27 Nov. 2017
sorry for interrupt. but can i get the full simulink design for this PR controller please?
adedayo adeiga
adedayo adeiga am 14 Mai 2018
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 am 18 Jan. 2019
Bearbeitet: tejal patil am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Alexandros Paspatis
Alexandros Paspatis am 26 Mär. 2018

0 Stimmen

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

4 Kommentare

Birdman
Birdman am 26 Mär. 2018
There you go.
Alexandros Paspatis
Alexandros Paspatis am 26 Mär. 2018
Thanks Birdman.
adedayo adeiga
adedayo adeiga am 14 Mai 2018
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
Ashwin M Prabhakar
Ashwin M Prabhakar am 10 Apr. 2021
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

Melden Sie sich an, um zu kommentieren.

ANIEFIOK ESSIEN
ANIEFIOK ESSIEN am 6 Jul. 2020

0 Stimmen

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

Kategorien

Mehr zu Specialized Power Systems finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by