Wednesday, May 03, 2006

hysteresis control tuning

check that afm12 works

WORKS

move the current sensor with the averaging from afm11. I forgot that this would mean that I would have different sampling rates (main 4e-5 current 1e-5). BUT IT STILL WORKS!!!.. SORT OF



It is really time to figure out what my sample times are doing:

sample time for current sense is 100k (averaged over 20 samples)
sample time for control loop is 25K
PWM period is 3000 (25K)

try a band of 5



Still looks crap - maybe I need to change the average width?

try width of 5



try width of 20 and band of 40



try changing the main sample time to 1e-5

doesnt seem to be much change

0 Comments:

Post a Comment

<< Home