ADC_PID_EPWM simulation issue on Simulink
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?

ADC settings are below there:

MATLAB2021b version
Please suggest to simulate this PID based ADC conversion and genrating ePWM signals.
Thanks
Kind Regards
Arsalan
1 Comment
Muhammad Arsalan Athar
on 21 Aug 2023
Edited: Muhammad Arsalan Athar
on 21 Aug 2023
Answers (0)
Communities
More Answers in the Power Electronics Control
Categories
Find more on Texas Instruments C2000 Processors 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!