Hello sir,
I have bought one BLDC whose specification is as following :--
Motor Condition : General
Rated Voltage : 60 V
Power Capability : 850W
Rated Speed : 3000 RPM
Number of poles : 8
I am following this blog by Mr Dave Wilson :--
https://e2e.ti.com/blogs_/b/motordrivecontrol/archive/2011/12/20/the-ten-commandments-of-digital-control-part-2
====================== Question 1 ===============================
Now i need to set the sampling time for my ADC :--
1> To run current loop to measure Iu & Iv for FOC. Please suggest what sampling frequency to use ?
2> To run position and velocity loops to measuring velocity & position. Please suggest what sampling frequency to use ?
3> For implementing FOC do motor angle have to calculated in sampling period(frequency) as of current loop ?
This blog by Mr Dave Wilson, states :--
It is common to find position and velocity loops running at sampling frequencies of around 2-5 KHz. However, most motor control designs also include current loops. The electrical poles are much higher than the mechanical poles, so sampling frequencies for the current loops are typically between 10-20 KHz. For low inductance motors, this figure can be even higher! As a general rule of thumb, you should set the sampling frequency for a particular control loop to be at least one order of magnitude higher than the unity gain frequency of that control loop’s open-loop response.
So what exacty do you mean by electrical poles & mechanical poles ?
And how position velocity loop depends upon mechanical poles & current loop depends upon electrical poles.
What exaclty is the meaning of "For low inductance motors, this figure can be even higher!". What is the effect of motor Inductance on sampling rate ?
====================== Question 2 ===============================
Link also states that ADC samples should be sampled simultaneously at the middle of PWM.
As we know PWM is continously supplied from controller & at every current loop cycle duty is changed depending upon rotor position.
So my question is we should trigger the simultaneous measurement using ADC for Iu Iv current & Rotor position, once sample period starts ?
or these ADC measurement can go on continously at every center of PWM & when sampling period arrives we can take latest value & process motor control algorithm as per this ?
ISR_5_msec() //i.e sampling frequency of 2 KHZ
{
// start ADC measurement trigger & calculate rotor angle
}
Please suggest on this two questions from my side.
Regards,
Dinesh