I want to Obtain Closed Loop Response of my Plant with proposed controller using simulink.
26 views (last 30 days)
Show older comments
Dear Community,
I obtained open loop response of my plant using frequency analyzer about six months ago and then designed MPC controller for it. Now I have some resources constraints and difficulties due to which my real time experiment is not being conducted so far.
I want to check my proposed controller using simulink and want to obtain following graps
- Comaprasion of open-loop and closed-loop frequency responses
- My plant is PZT actuator which has hystersis affect depens upon the voltage signal amplitude and frequency applied, I also want to check that affect in my plant using simulation.
If someone have idea please help me in this regard how could i proceed?
I am attaching some reference images from paper, I want to obtained similar responses like shown in images
This is open loop and closed loop response
This is the Hysteresis affect, dotted line is reference signal and solid is actual displacement due to hysteresis
My Simuation Circuit is, PI is my traditional controller, and MPC is my proposed controller, so I want to analyze both of them.
0 Comments
Answers (1)
sai charan sampara
on 17 Jan 2024
Edited: sai charan sampara
on 17 Jan 2024
Hello Muhammad,
I understand that you are trying to plot the frequency response of open loop and closed loop systems and trying to visualize the hysteresis effect in Simulink.
The open loop and closed loop frequency responses can be obtained by using the “Frequency Response Estimator” block in Simulink. This block can Estimate plant frequency responses during simulation or in real time and can be used for getting the bode plots. For getting the open loop response make the corresponding open loop system and make the appropriate connections from the system directly to “Frequency Response Estimator” block and observe the frequency response. For the closed loop frequency response design a feedback control system and then connect the input of the system to the “Frequency Response Estimator” block. There is no direct way of getting open loop and closed loop frequency responses. Separate control systems of each type must be made and then connected to this block to get the respective frequency responses.
For the second part to observe the effect of hysteresis you require a plot of variation of the displacement signal with time. Simulink provides multiple methods to observe variation of signals with time. A scope block can be connected to displacement signal and the reference signal in the model to compare both the signal’s variation with time. Other options are to use the simulation data inspector, logging the signals and exporting to workspace and then plotting them.
You can refer to the following documentation for more information:
0 Comments
See Also
Categories
Find more on Linear Plant Specification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!