difficulty with PID controller usage and CCSv6 PIL testing

3 views (last 30 days)
I am using CCSV6 with simulink and F28335.I want to make full bridge inverter.i simulated control algorithm using continuous PID block. I am using discrete PID block for code generation. As i read somewhere, CCSV6 doesn't support PIL testing as i am using make file approach. I am giving reference of 50Hz sine wave to PID. Feedback signal is coming from ADC channel. I am not getting expected result as in simulation. I am new one to this PID usage. Can someone please guide me?
  1 Comment
Akrem Elrajoubi
Akrem Elrajoubi on 21 Aug 2015
I have similar issue for using the PID Discrete block , I guess that designing the controller needs an appropriate model for the converter or the system you need to control, e. g. Transfer function or state space model ,.. you can try to use the ADC to control the duty cycle or the frequency of ePWM block without using PID block, just to check , then focus on changing the parameters of the controller... regards

Sign in to comment.

Answers (1)

bharadwaj r
bharadwaj r on 17 Aug 2015
There is a discrete PID block in Simulink which you can use and can directly dump it onto the F28835 controller. try to use that. Let me know if the problem persists :)

Community Treasure Hunt

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

Start Hunting!