I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics
@@herbertborogha3553If you understand some assembly language, the blheli_s source code is very accessible to read exactly how the commutation logic works.
I’ve been watching videos on bldcs, escs and everything for a few years now. This is the single best video I’ve seen yet. It cleared up everything and it’s the first time I actually understand the coil wiring well enough to say I would be ready to rewire a motor myself. Thank you so much. Liked, subbed and commented! Keep on going!
Around 8:30, the BEC actually means that when the battery voltage drops too low, the ESC cuts power to the motor to 1) avoid damage to the battery and 2) keep the rest of the controls working (receiver and servos), that feature was introduced to avoid RC plane loss of control and resulting crashes when the battery was too low.
Thanks for posting this! I'm going to build an Outlaw Pinewood Derby car for our pack's race this month and I'm using a 50mm brushless ducted fan. This tutorial got me up and running so I know my gear is good, I still need to figure out how to incorporate a switch on the nose of the car so it knows when to switch from idle to wide open when the start gate drops but this gets me started! Thanks again!
I've been interested in several projects involving BLDC motors, and your video shed so much light and answered so many of my questions. Thanks a lot for making this video!
This is a fantastic explanation, and it lends itself to the point that a brushless DC motor effectively replicates a 3-phase ac motor except with a permanent magnet rotor. Complete with three 2-pole coils that are activated out of phase with one another. Great stuff!
hands down the best video (or even lecture) about BLDC motors. One (possible) problem: arent the directions of the magnetic field wrong at 0:35 in the coil? If that image were right then there would be bi directional magnetic field inside the coil. If the N -S are right, then the open field lines are right, while the closed loop field lines are wrong.
Thank you for your great and high quality video. It actually helped me correctly arm and setup my Brushless Motor after two days of searching the internet and watching many low quality youtube videos.
Your videos are so neat, clean, organized and understandable. You work is my inspiration and i will be producing same content as your in the near future INSHALLAH.
A very well made vid. Had to play 3 times because I got hung up on his accent. Very good explanations and a lot of information. Have a bit to catch up ! Thanks, Bob
This was a great tutorial. I don't think you missed anything! Ok one thing. How do you set up for a reversible esc? Where the middle point is zero and low and high are reverse and forward.
These instructions are excellent, thank you for sharing. I was able to build and test my motors with a Nano 33 BLE. One issue I had was that the motor would stop when the throttle was full. Other than that it appeared to work ok
Good bit of explanation on how brushless motors work... but it's not so much "how to control a brushless motor with an arduino" as it is just how to use the ESC 30A motor controller using PWM as the input signal. From the title, I had expected there'd be a bit about HOW to measure the back EMF, how to keep track of things like electronic commutation, speed, position... but it seems the ESC 30A does that automatically
Wow, this really helped me out. I was trying to control a drone motor through Matlab and I needed the info that pulse widths are between 1 and 2 milliseconds. I'll try the calibration too at a later point. Thanks for the tutorial!
Awesome tutorial, have you considered making one on controlling a BLDC motor with a BLHeli ESC using DShot digital communication instead of the pwm shown here?
Wonderful video ! Very lucidly explained. I've to say that you are a great teacher and your explanation skills are just what beginners look for . This was so much easier to understand compared to the bldc video made by GreatScott who is another fantastic RUclipsr .
Nice video, just notice that the number of magnets needs to increase together with the number of coils, and the magnet count on the outrunner will also increase. For example, an inrunner motor with 12 coils will have 8 magnets on its rotor, and an outrunner with 6 coils will also have 8 magnets.
This video is brilliant. I'd heard about 3 phase DC motors and I was like, WTF??? No. I see what is happening now. It's not three phase in the conventional sense but it's still three phase from a certain point of view.
Q: An ESC generates 3 phase AC current. And from what I understand the frequency of the AC waveform completely determines motor speed, and the amplitude (peak voltage minus trough voltage) of the waveform is more or less constant. To me this seems like voltage really has nothing to do with determining the speed of a brushless motor. A: The torque output of an electric motor is directly proportional to the motor current (not voltage!), and the current (I) is roughly equal to I=V−εR Where V is the motor supply voltage, R is the winding resistance and ε is the back-electromotive force (back EMF). KV and back EMF The back EMF is the voltage that would be present at the motor terminals as the motor spins without anything being connected to it. This voltage is produced by the motor acting as an alternator, if you will, and it is directly proportional to the rotation speed. The KV rating is nothing but another way to state the relationship between rotation speed and back EMF (KV ≈ RPM / ε). It limits the maximum motor speed at any given battery voltage, because at some KV-dependent speed the back-EMF will "cancel out" the battery voltage. This prevents any more current from flowing to the motor and thus reduces the torque to zero. When you first power your motor on, the speed is zero. This means that the back EMF is also zero, so the only things limiting the motor current are the winding resistance and the supply voltage. If the motor controller (ESC) was to output the full battery voltage to the motor at low speeds, the motor and/or ESC would just melt down. Sauce: electronics.stackexchange
I've slowly been learning about BLDC, and your video is really outstanding! I would have liked to hear a bit more about the advantages / disadvantages of outrunner & inrunner BLDCs. Thank you, and keep up the great work! Liked / Shared / Subscribed
In the motor you used, and most quadcopter motors, the magnets are outside the stator, not inside it as your diagram shows. The reason for this, when the magnets are arranged as a Halbach array, is that you get twice the magnetism applied to the stator in the center.
I'm working on a college project and combining some of the elements of these robotic tutorials -- I messaged you through Patreon and was hoping you could help me out with the supplies list. I'm getting the list to the lead professor so he can order the components for our build out!
It is important to note that *in brushless DC motors the switching of the phases follows the speed* , and not that the speed follows the switching of the phases. The speed of a DC motor (brushed or brushless) is controlled by the voltage to the coils (the ESC does this via PWM during each phase) and hence the KV rating. More voltage means higher speed due to higher torque and thereby faster switching of the phases. In a brushed motor this is "hardwiredly" done by the commutator, in a brushless motor it is done by the ESC (which is why brushless DC motors are also called electronically commutated motors). *This is a completely different principle than an AC motor.*
Absolutely amazing but put me off on the project 🤣 was so in depth I now wanna get more into understanding Current and electricity. Where do I start??????
A corrective remark. The Back-EMF voltage has its maximum not in the moment when a pole stands infront of the coil. It has its maximum when two pole extinct their flux. At this moment the flux changing speed is at its maximum and the highest voltage will be induced.
Can we use a switch instead of using a potentiometer to control the brushless motor??If we can,then can you please make a video on that.....By the way this video was amazing and helpful..Thank you so much
lipo batteries are marked for example 3s1p which means 3 cells in series and 1 parallel so you add up the voltage, you can also have 3s2p so you have the same voltage as 3s1p but double the capacity
Great video, is the best I could find! Just a question: The ESC is conected to the "constant" voltage of the batery, and then it generates a signal with the required frequency to spin the motor at those rmp. However, what is the voltage of this signal? Is it always the one of the battery, or does the ESC also regulate voltage (via PWM I assume)?
The theoretical maximum RPM is not a factor of when the battery is at minimum voltage which is 3.7 VDC, rather when it is fully charged which provides 4.2 VDC. Thus the max RPM without a propeller is 4.2 VDC*3 cells*1000 RPM/VDC= 12, 600 RPM
Hi bro i have a doubt, If i connected the ESC Red & Black wires to the 11.1V Li-ion Battery and signal pin is connected to the digital pin of Arduino can i connect the 5v & gnd pins to the Arduino, those pins give power or they take input from the arduino, means if they are input pins then i will connect them to Arduino's 5V & gnd pins and i will connect arduino to laptop usb.
Can you do a video on how to diagnose and troubleshoot the ECM control. Specifically, what is wrong when an ECM motor control that has low power, and the permanent magnet rotor and the 3 phase stator is good? How can the ECM control be repaired and tested?
This is a great video! I just make simple arduino videos and I have very basic knowledge of how everything works (despite my 2 years of a mechatronics class) and even I understand everything in this video! this is awesome. maybe I'll make a few youtube videos using this knowledge 😁
I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics
Wonderful job
Is there a reason you made this ESC video about 'brushless' motors? Do ESC's not generally work with brushed motors?
hey,can i get proteus simulation of this project??
How is possible that a video doesn't have automatic captions enabled...
Can we put timer to when the motor rotate
This is the single best explanation on BLDC motors I’ve ever seen. I really honestly watched it twice it was so good. Learnt loads thank you
excellent animations right!
magnificent work...
true that , this one had best animation coupled with excellent explaination .
i want to know how brushless dc motors controller work
@@herbertborogha3553If you understand some assembly language, the blheli_s source code is very accessible to read exactly how the commutation logic works.
I’ve been watching videos on bldcs, escs and everything for a few years now. This is the single best video I’ve seen yet. It cleared up everything and it’s the first time I actually understand the coil wiring well enough to say I would be ready to rewire a motor myself. Thank you so much. Liked, subbed and commented! Keep on going!
Dude, I have never seen someone explain something that made so much sense the first time. 👍
Around 8:30, the BEC actually means that when the battery voltage drops too low, the ESC cuts power to the motor to 1) avoid damage to the battery and 2) keep the rest of the controls working (receiver and servos), that feature was introduced to avoid RC plane loss of control and resulting crashes when the battery was too low.
thats just low voltage detection, BEC is what he said it was
Thanks for posting this! I'm going to build an Outlaw Pinewood Derby car for our pack's race this month and I'm using a 50mm brushless ducted fan. This tutorial got me up and running so I know my gear is good, I still need to figure out how to incorporate a switch on the nose of the car so it knows when to switch from idle to wide open when the start gate drops but this gets me started! Thanks again!
sir , i am studying mechatronics engineering right now and i love your channel , thank you
I've been interested in several projects involving BLDC motors, and your video shed so much light and answered so many of my questions. Thanks a lot for making this video!
I am working on drone from past 1 week , what a timing man .....thanks for this amazing explanation......🙌🙌
This is a fantastic explanation, and it lends itself to the point that a brushless DC motor effectively replicates a 3-phase ac motor except with a permanent magnet rotor. Complete with three 2-pole coils that are activated out of phase with one another. Great stuff!
Been searching for 2 weeks to find an explanation to this. And I’ve found it. Thank you so much!
iam doing an arduino project for my uni studies involing an rc boat and you helped me very much thank you man! Gonna watch the transmitter video too.
hands down the best video (or even lecture) about BLDC motors.
One (possible) problem: arent the directions of the magnetic field wrong at 0:35 in the coil? If that image were right then there would be bi directional magnetic field inside the coil. If the N -S are right, then the open field lines are right, while the closed loop field lines are wrong.
Thank you for your great and high quality video. It actually helped me correctly arm and setup my Brushless Motor after two days of searching the internet and watching many low quality youtube videos.
Glad it helped!
Very good explanation
I don't know why some people downvoted this video
Thanks!
You do such a great job of making your videos informative enough but not loaded down with too much information! Keep up the great work!
Thanks!
This is the BEST video I have ever seen. It will help A LOT in my graduation conclusion project. Thank you!
Thanks, glad to hear it!
Your videos are so neat, clean, organized and understandable. You work is my inspiration and i will be producing same content as your in the near future INSHALLAH.
100 pts to this video. I'm an electronics engineer I can't find something wrong with it. Very good
7:50 the S means how many cells are connected in series, thus increasing the voltage. The battery can have parallel cells too to increase capacity.
*and max current due to the lower resistance of the whole pack.
Best video about bldc!!!!! Nice work MAN!!!
A very well made vid. Had to play 3 times because I got hung up on his accent. Very good explanations and a lot of information. Have a bit to catch up ! Thanks, Bob
Jesus thank you. Every other video on brushless motors stops after saying power this winding and then this one WITHOUT SAYING HOW.
This was a great tutorial. I don't think you missed anything!
Ok one thing. How do you set up for a reversible esc? Where the middle point is zero and low and high are reverse and forward.
Thank you! Yeah, I should have covered that topic...
These instructions are excellent, thank you for sharing. I was able to build and test my motors with a Nano 33 BLE.
One issue I had was that the motor would stop when the throttle was full. Other than that it appeared to work ok
Perhaps the driver has a resistor limiting the current to a value which is less than the current required to run your motor at max speed
Good bit of explanation on how brushless motors work...
but it's not so much "how to control a brushless motor with an arduino" as it is just how to use the ESC 30A motor controller using PWM as the input signal. From the title, I had expected there'd be a bit about HOW to measure the back EMF, how to keep track of things like electronic commutation, speed, position... but it seems the ESC 30A does that automatically
Wow, this really helped me out. I was trying to control a drone motor through Matlab and I needed the info that pulse widths are between 1 and 2 milliseconds. I'll try the calibration too at a later point. Thanks for the tutorial!
Quality explanation dear professor. Haven't you programmed a tutorial on Switched reluctance motor (SRM) yet? Truly you are the best. Best regards
Awesome tutorial, have you considered making one on controlling a BLDC motor with a BLHeli ESC using DShot digital communication instead of the pwm shown here?
Thank u,
that was the best explanation that i have every heard
That means the brushless motor is in fact a symchron ac motor
that is NOT correct. there is NO AC. the output of an esc is three, sequential, DC pwm, signals !!!!!!!!!!!
Excellent explaination. Can you explain the design of regenerative break used in ev.
This video pretty much contains everything about bldc motors. Nice Video!
Thanks!
50 seconds in and i already learned something new!
Really nice ad placement. Really.
Wonderful video ! Very lucidly explained. I've to say that you are a great teacher and your explanation skills are just what beginners look for . This was so much easier to understand compared to the bldc video made by GreatScott who is another fantastic RUclipsr .
Best BLDC video I’ve seen.
Very nice explanation. Can I make the same project using Arduino Nano board instead?
2 years on, still a brilliant, helpful video. Thanks buddy👍
Best explanation of a DC Motor, nice job!
This is one video which actually gave any information.
Nice video, just notice that the number of magnets needs to increase together with the number of coils, and the magnet count on the outrunner will also increase. For example, an inrunner motor with 12 coils will have 8 magnets on its rotor, and an outrunner with 6 coils will also have 8 magnets.
You forget to match the magnet count in the 4:24 and 4:40 animation.
This video is brilliant. I'd heard about 3 phase DC motors and I was like, WTF??? No.
I see what is happening now. It's not three phase in the conventional sense but it's still three phase from a certain point of view.
Q:
An ESC generates 3 phase AC current. And from what I understand the frequency of the AC waveform completely determines motor speed, and the amplitude (peak voltage minus trough voltage) of the waveform is more or less constant. To me this seems like voltage really has nothing to do with determining the speed of a brushless motor.
A:
The torque output of an electric motor is directly proportional to the motor current (not voltage!), and the current (I) is roughly equal to
I=V−εR
Where V is the motor supply voltage, R is the winding resistance and ε is the back-electromotive force (back EMF).
KV and back EMF
The back EMF is the voltage that would be present at the motor terminals as the motor spins without anything being connected to it. This voltage is produced by the motor acting as an alternator, if you will, and it is directly proportional to the rotation speed. The KV rating is nothing but another way to state the relationship between rotation speed and back EMF (KV ≈ RPM / ε). It limits the maximum motor speed at any given battery voltage, because at some KV-dependent speed the back-EMF will "cancel out" the battery voltage. This prevents any more current from flowing to the motor and thus reduces the torque to zero.
When you first power your motor on, the speed is zero. This means that the back EMF is also zero, so the only things limiting the motor current are the winding resistance and the supply voltage. If the motor controller (ESC) was to output the full battery voltage to the motor at low speeds, the motor and/or ESC would just melt down.
Sauce: electronics.stackexchange
actually, we are the manufactory for this motor:)
Finally, I can build a DIY mini centrifuge, exellent video
I've slowly been learning about BLDC, and your video is really outstanding! I would have liked to hear a bit more about the advantages / disadvantages of outrunner & inrunner BLDCs. Thank you, and keep up the great work!
Liked / Shared / Subscribed
pls teach how to build brushless dc motor controller board
Best explanation on bldc motors. You had cleared all my doubts. Thank you so much 🙏🏻
In the motor you used, and most quadcopter motors, the magnets are outside the stator, not inside it as your diagram shows. The reason for this, when the magnets are arranged as a Halbach array, is that you get twice the magnetism applied to the stator in the center.
This guys is so damn good. Diagrams are so easy to understand! Not just this one video... All of them! He should have 2 million subscriber.
I'm working on a college project and combining some of the elements of these robotic tutorials -- I messaged you through Patreon and was hoping you could help me out with the supplies list. I'm getting the list to the lead professor so he can order the components for our build out!
Interesting video. But this leaves me wondering: could an arduino be programmed to perform the function of an ESC ?
You'd still need to have a driver for the motor.
I must say that I like your fan blade used in the demonstration of how to power a bldc motor with an adrino.
It is important to note that *in brushless DC motors the switching of the phases follows the speed* , and not that the speed follows the switching of the phases. The speed of a DC motor (brushed or brushless) is controlled by the voltage to the coils (the ESC does this via PWM during each phase) and hence the KV rating. More voltage means higher speed due to higher torque and thereby faster switching of the phases. In a brushed motor this is "hardwiredly" done by the commutator, in a brushless motor it is done by the ESC (which is why brushless DC motors are also called electronically commutated motors). *This is a completely different principle than an AC motor.*
Thanks for the input!
Totally one of the best channels for this subject. The work you put into these videos is greatly appreciated
Thank you, I'm so happy to hear that!
I’ve been looking for a video like this for ages, thanks, this is so useful
Thank you! I cannot explain how much I needed this video and how much it helped!
Absolutely amazing but put me off on the project 🤣 was so in depth I now wanna get more into understanding Current and electricity. Where do I start??????
The best explanation of bldc
Glad to hear it!
I had to repair the vibrator of my mother, this video helped me a lot. Thanks man!
مزيد من التالق مهندس وليد. وشكرا على هذه القناة التعليمية الرائعة
A corrective remark. The Back-EMF voltage has its maximum not in the moment when a pole stands infront of the coil. It has its maximum when two pole extinct their flux. At this moment the flux changing speed is at its maximum and the highest voltage will be induced.
Put you in a category.
PRISONER. 🔥🔥
Well done. Most simple. Please can you tell how to connect to BLDC tester and calibrate?
I'm proud to be an mechatronics engineering student
best explaination.....you explain complex things in so easy way.
Can we use a switch instead of using a potentiometer to control the brushless motor??If we can,then can you please make a video on that.....By the way this video was amazing and helpful..Thank you so much
Well not really. With a switch we could only turn it on or off, but could not control the speed.
lipo batteries are marked for example 3s1p which means 3 cells in series and 1 parallel so you add up the voltage, you can also have 3s2p so you have the same voltage as 3s1p but double the capacity
Thanks for the remark!
Great video, is the best I could find! Just a question:
The ESC is conected to the "constant" voltage of the batery, and then it generates a signal with the required frequency to spin the motor at those rmp. However, what is the voltage of this signal? Is it always the one of the battery, or does the ESC also regulate voltage (via PWM I assume)?
Excellent presentation, and very well narrated.
Thanks!
As a new arduino user, this is very helpful. Is there a way to change the frequency using this setup? Like in a variable frequency drive?
Thank you for your videos.
What about driving a brushless motor in normal and reverse directions ?
oracid1 interchange any two of the three input wires
Very comprehensive and very well explained
Very detailed explanation, thanks.
I really like your channel, keep it up!
Thank you!
Amazing video! The animations are simply great. Thank you.
Awesome timing, I was trying to build a rc plane with arduino, this and previous controller video helped a lot.
I'm glad to hear that.
Underrated channel
great tutorial! Is it possible to run the motor in reverse?
Well presented. Clear and simple.
Thank you.
Your wireless controller looks so cool!!! 😍
Thank you!
the best explanation and very interesting, thanks so much.
Congratulations!
What a clear and simple video explanation. It of, course, took a lot kf time to be done, but, believe-me, it is perfect!
I hope the great success of the channel
Very very good presentation. Precise, concise.
Thanks!
The theoretical maximum RPM is not a factor of when the battery is at minimum voltage which is 3.7 VDC, rather when it is fully charged which provides 4.2 VDC. Thus the max RPM without a propeller is 4.2 VDC*3 cells*1000 RPM/VDC= 12, 600 RPM
Great explanation 👌, needed a reason to buy a scope, got one..
I really like your videos. They contain some additional information. Keep working like this.
Thanks!
Hi bro i have a doubt,
If i connected the ESC Red & Black wires to the 11.1V Li-ion Battery and signal pin is connected to the digital pin of Arduino can i connect the 5v & gnd pins to the Arduino, those pins give power or they take input from the arduino, means if they are input pins then i will connect them to Arduino's 5V & gnd pins and i will connect arduino to laptop usb.
Would you please tell me how to use your maded remote for controlling a drone?
Me too
Wants a tutorial
Beautiful explanation, was really clear
Great Video!
But one thing is confusing me:
the esc converts the DC power to AC, right?
why is the motor called BLDC and not BLAC MOTOR?
Because you can apply DC power to the esc and have the motor move.
an esc does NOT make AC. it outputs three, sequential, DC pwm, power signals !!!!!!!!
Great video bro! Just what I was looking for.. Thanks
Can you do a video on how to diagnose and troubleshoot the ECM control. Specifically, what is wrong when an ECM motor control that has low power, and the permanent magnet rotor and the 3 phase stator is good? How can the ECM control be repaired and tested?
Thank you, well done and very helpful to me, a new Arduino user.
Thank you for sharing, is this setup makes the same thing with a servo tester?
Very well and neatly explained
This is a great video! I just make simple arduino videos and I have very basic knowledge of how everything works (despite my 2 years of a mechatronics class) and even I understand everything in this video! this is awesome. maybe I'll make a few youtube videos using this knowledge 😁
New friend here from philippines. Thanks for the enfo
The FritzTube what is enfo? english more... hahaah
The FritzTube what is enfo? more english... haahahah
What a very clear and precise explanation. Told me exactly everything I needed to know. excellent video thank you very much
Glad it was helpful!
Can I use 2200kv instead of 1000kv?
This guy is excellent & bang on!! Well done!