>
>> Ok, here we go again with my lack of knowledge on digital control, so
>> pardon me if it looks I'm just waving hands in the blind (I'm not blind
>> but I'm italian and waving hands is pretty much a genetic feature).
>>
>> I have a Controller block which provides the torque (T) value to be
>> applied to a BLDC motor. Now T needs to be converted into current (I)
>> for each of the three phases of the motor according to the actual
>> angular position, provided by an absolute encoder.
>>
>> The chain of the Controller+Converter ia updating a new value at f KHz.
>> Now, within my period 1/f I need to *regulate* the current with an error
>> max of x% FSR and we thought about having a delta-sigma modulation
>> driving an half H-bridge (class D amplifier) with some lpf before goint
>> on the motor coil.
>>
>> Now, how can I estimate the frequency for my regulation loop? and the
>> level of the quanitzer? Which are the parameters I need to play with?
>> Would I need to simulate the motor as well or can I leave with an open
>> loop analysis?
>>
>> Any pointer is appreciated (even to books if you deem not worth
>> discussibg before I get a proper education on the subject!)
>>
>> Al
>
> First, this heavily intersects with analog: it would do better on s.e.d,
> even if you do have to sort through political junk for your answer.
said, done.
> Second, the motor has built-in low-pass filtering: it has the inductance
> in the coils.
True.
The switching rate of your H-bridges should* be fast enough
> that you can drive the motor coils directly. I would measure the current
> in each coil and regulate it in closed loop, applying delta-sigma
> modulation to the PWM duty cycle. That should work well enough -- but you
> should run the numbers, and check.
That's the idea, measure current and regulate through the delta-sigma, but can the output of the delta-sigma comparator be used directly to drive the half H-bridge? It would be a PDM.
If for some reason you really need to knock down the switching-rate AC
> going to the motor you can, but you'll seriously limit the bandwidth of
> your current loop.
There are certain requirements on the amount of harmonics going onto the motor and/or propagating through cables (related to EMI constraints).
By "estimate the frequency of my regulation loop" I assume you mean that
> you want to figure out the bandwidth of your current loop?
There are two aspects:
- should the sampling frequency simply be above Nyquist or does it need to meet other criteria like precision?
- Even considering a PWM (and not a PDM), what shall be the frequency of it and what should be it's resolution?
#2 is cricital because we have an 80MHz clock going to our FPGA and we are going to make the PWM out of it. A 40KHz PWM would only have 11bit resolution, but wouldn't the current resolution be affected by both parameters (frequency *and* resolution)?
Unless the
> motor is really perverse, you should be able to close this at around
> 1/10th the switching rate to the H-bridges, assuming that you're sampling
> the ADC synchronously with the H-bridges (which you want to do, so that
> you can sample at a felicitous moment to avoid switching spikes).
Valid point on the switching spikes! Sure we can sample when we expect
*not* to have spikes. What really drives the cutoff frequency? The customer asked for 3KHz, but in the end I do not understand what is the motivation.
Al