ADC_PID_EPWM simulation
2 views (last 30 days)
Show older comments
Hi Community members,
I am a beginner in PID simulation.
I use ADC block to generate a voltage/digital number at Time Scope0. but it gives 0 values all the time. Why?
PID is tuned by Automatic generator and then I can get the results at Time Scope 4,5,6.
Vref is 2V which is compared with my ADC values through Adder/Subtractor. the result of Adder/Subtractor is shown in Time Scope3 .
The Problem is why do i get always 0 amplitude at Time Scope0? Is there any problem in ADC settings to run the simulation?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1462512/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1462517/image.png)
MATLAB2021b version
Please suggest to simulate this PID based ADC conversion and genrating ePWM signals.
Thanks
Kind Regards
Arsalan
Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on PID Controller Tuning 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!