Tuesday, April 04, 2006

changing the speed of the control loop

with the PI signals looking sort of okay, I need to experiment with how fast the current loop runs.

First I will change the PWM frequency to 25kHz by setting the PWM_period to 3000

PWM_frequency = 75 000 000/ PWM_period

WORKED

try matching the frequency of the PWM to the frequency of the loop

SAMPLE_TIME = 4e-5



it is on 10A per division now instead of the 20A before - looks a little worse.

Time to try hysteresis control

0 Comments:

Post a Comment

<< Home