It's easy to ague that the principle of PWM is
wrong!
It
introduces another variable into the system - the phase of the cycle when
the decision is made.
Instead make a 'bang-bang' decision as often as possible (strictly
bang-freewheel). If the present situation calls for a drive that is
less than maximum, the 'decision' will flap to and fro as the speed is seen
to change - and you will effectively have PWM after all! Of
course you want the decision loop to run as fast as
practical.
Another way to lock the drive to the computation cycle is to let each
'decision' determine the proportion of the time that the drive should be on
before the next decision - so that the result of each computation is a
single pulse of drive, locked to the data cycle and varying from never on to
full on.
Cheers
John
Thanks to
every one who made Minos03 such a successful event. I enjoyed it
enormously!
Anyone got any
views on the best frequency to run a PWM drive for an ironless rotor
motor. I currently run at 1Khz and was looking to increase that but it has
been brought to my attention that others use lower frequencies of the
order of 100 to 300 Hz. What are the pros and cons of higher or lower
frequencies?
Thanks
Derek.