Hi friends, I am driving bldc motor(1kw) using stm32f1 micro controller and keil micro vision software as a compiler.
While running motor on no load condition....
- Motor runs good.
- Sensing sensor values, analog values, measuring rpm, etc which are all works good.
While running motor on load condition....
- On load condition the motor runs fine, but the wave forms of mosfet gate and power supply of micro controller ripples lot.
- I can't able to sense any data properly, the keil compiler shows "cannot evaluate" for every 2 or 3 randomly.
- Apart from sensor data, i also declared a variable globally (say int a=10
Keil complier in debugging section show the variable value a =10, at no load condition. But on load condition the constant variable a=10 changes to a random values.
(i,e)
10
10
10
45
10
10
cannot evaluate
Bldc controller.....
- trapezoidal control
- open loop control
- stm32f1 and st link for debugging.
The below waveform is Micro controller power supply at no load
This waveform is at Load condition
This waveform is captured at Micro controller output pin at no load and load condition respectively