BLDC Motor Controller Using Arduino

heyy can any one include (pwm.h) header file please

where did you connect the pwm pin, i.e., pin 9 of arduino in the three phase bridge??

kaushikkv9: heyy can any one include (pwm.h) header file please

Here I think: https://code.google.com/archive/p/arduino-pwm-frequency-library/downloads

This is another project for controlling cd-rom sensored bldc motor with PIC16F877A microcontroller again: http://ccspicc.blogspot.com/2016/07/cd-rom-spindle-brushless-bldc-motor-pic16f877a-ccs-c.html

hi dears please help me i need pwm.h file for bldc driver on arduino nano . i cant find this file and i go to google link but this link is breakdown. its better to send me an email. jafari5000meg@gmail.com

best regards. n.jafari

elite59: hi dears please help me i need pwm.h file for bldc driver on arduino nano .

See reply #22 above.

Replying to #13

Hi spokba,

Can you help me in writing code for generating PWM signals using PIC18FXX31?
pwmx_start(); - Is this enough to generate 6 PWM signals to the gate driver?

Thanks
Uday

Dear All,

Please help me in generating 6PWM outputs from a microcontroller for driving 6 MOSFETs through a gate driver.

Dear MarkT.

I've been following your posts relating to this concept, I've tried your code from the following link

http://forum.arduino.cc/index.php?topic=97508.15,%20#24

However, I am unsuccessful in driving the Motor. BTW I am using IRS2136 as a gate driver.

Thanks Uday

Hello All,

Can someone help me in generating gating pulses to the 6 MOSFET pack and a method to vary the frequency?

Thanks Uday

Hi iam sudharsan.v i cant access u r blog site can u plz give access to account sudharsanlee@gmail.com and it shows u r vedio is private

MarkT: So you need 3-phase bridge, current sensors on two of the phases

Sorry for responding so late to an old post, but I just gotta know ;-)

Why does he need current sensors if he has hall sensors? I thought you only need current sensors to "guess" the rotor position if you don't have any other feedback? Or is that for safety (blocked/overloaded motor) conditions and not technically necessary to run the motor?

arnolde: Sorry for responding so late to an old post, but I just gotta know ;-)

Why does he need current sensors if he has hall sensors? I thought you only need current sensors to "guess" the rotor position if you don't have any other feedback? Or is that for safety (blocked/overloaded motor) conditions and not technically necessary to run the motor?

The question was about a 10hp AC (ie sinusoidal) drive of a 3-phase motor. This is done using an inner current loop to set the torque, and outer speed or position control loops that control the current loop to achieve their set-points.

Without current sensors you cannot do a current control loop, basically - precluding accurate closed loop control.

Hall sensors are only used with trapezoidal drive. A 10hp motor would typically be sinusoidally driven for better efficiency and to reduce cogging/vibration which at those power levels can be a big problem mechanically, leading to fatigue and other issues.

Furthermore current sensors for that size of motor allow the winding temperature to be estimated and the thing protected from over-heating.

If the motor is an induction motor field-oriented control is usually employed and current sensing is very useful for this too.

Some reading/viewing: https://www.amazon.co.uk/Electric-Motors-Drives-Fundamentals-Applications/dp/0080983324 https://www.youtube.com/watch?v=fpTvZlnrsP0&t=1874s