How Brushless Motor and ESC Work and How To Control them using Arduino

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 603

  • @HowToMechatronics
    @HowToMechatronics  3 года назад +29

    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

    • @samiezzahid9983
      @samiezzahid9983 3 года назад +1

      Wonderful job

    • @ronniemetcalf6382
      @ronniemetcalf6382 3 года назад

      Is there a reason you made this ESC video about 'brushless' motors? Do ESC's not generally work with brushed motors?

    • @m.shahabahmad6311
      @m.shahabahmad6311 3 года назад

      hey,can i get proteus simulation of this project??

    • @kevinquintana3085
      @kevinquintana3085 2 года назад

      How is possible that a video doesn't have automatic captions enabled...

    • @kamalihsankamaruddin849
      @kamalihsankamaruddin849 Год назад

      Can we put timer to when the motor rotate

  • @JulianMakes
    @JulianMakes 5 лет назад +368

    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

    • @Rider0fBuffalo
      @Rider0fBuffalo 5 лет назад +3

      excellent animations right!

    • @ronen124
      @ronen124 5 лет назад

      magnificent work...

    • @uhaish
      @uhaish 5 лет назад +1

      true that , this one had best animation coupled with excellent explaination .

    • @herbertborogha3553
      @herbertborogha3553 4 года назад +1

      i want to know how brushless dc motors controller work

    • @daliasprints9798
      @daliasprints9798 4 месяца назад

      ​@@herbertborogha3553If you understand some assembly language, the blheli_s source code is very accessible to read exactly how the commutation logic works.

  • @delinlo
    @delinlo 4 года назад +13

    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!

  • @StrikerFin
    @StrikerFin 4 года назад +24

    Dude, I have never seen someone explain something that made so much sense the first time. 👍

  • @Sodabowski
    @Sodabowski 4 года назад +7

    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.

    • @cachepilll286
      @cachepilll286 2 года назад +2

      thats just low voltage detection, BEC is what he said it was

  • @stephenhenry1038
    @stephenhenry1038 4 года назад +3

    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!

  • @swapnilgautam5252
    @swapnilgautam5252 5 лет назад +3

    sir , i am studying mechatronics engineering right now and i love your channel , thank you

  • @flying__fox4749
    @flying__fox4749 4 года назад +7

    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!

  • @aseemtiwari2466
    @aseemtiwari2466 5 лет назад +4

    I am working on drone from past 1 week , what a timing man .....thanks for this amazing explanation......🙌🙌

  • @yukimaruzam
    @yukimaruzam 3 года назад +2

    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!

  • @caleb1951
    @caleb1951 5 лет назад +3

    Been searching for 2 weeks to find an explanation to this. And I’ve found it. Thank you so much!

  • @sirick93
    @sirick93 4 года назад +2

    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.

  • @nemdenemam9753
    @nemdenemam9753 4 года назад +1

    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.

  • @arianzarei6987
    @arianzarei6987 Год назад

    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.

  • @CrazyCoupleDIY
    @CrazyCoupleDIY 5 лет назад

    Very good explanation
    I don't know why some people downvoted this video

  • @Grzzs
    @Grzzs 4 года назад +2

    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!

  • @fab10barr0s
    @fab10barr0s 4 года назад +1

    This is the BEST video I have ever seen. It will help A LOT in my graduation conclusion project. Thank you!

  • @Drone.Robotics
    @Drone.Robotics 5 лет назад +4

    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.

  • @Queteimp
    @Queteimp 5 лет назад

    100 pts to this video. I'm an electronics engineer I can't find something wrong with it. Very good

  • @MadEvo606
    @MadEvo606 5 лет назад +11

    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.

    • @leandroebner1405
      @leandroebner1405 5 лет назад +3

      *and max current due to the lower resistance of the whole pack.

  • @TheGamecheater100
    @TheGamecheater100 5 лет назад +8

    Best video about bldc!!!!! Nice work MAN!!!

  • @bobm549
    @bobm549 4 года назад

    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

  • @hopeisenough1317
    @hopeisenough1317 3 года назад

    Jesus thank you. Every other video on brushless motors stops after saying power this winding and then this one WITHOUT SAYING HOW.

  • @kirkcreelman
    @kirkcreelman 5 лет назад +1

    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.

  • @craigmunday3707
    @craigmunday3707 4 года назад +3

    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

    • @manasdeshpande2380
      @manasdeshpande2380 4 года назад

      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

  • @bledlbledlbledl
    @bledlbledlbledl 5 лет назад +5

    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

  • @MrSaemichlaus
    @MrSaemichlaus 4 года назад +2

    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!

  • @merikarim-z3l
    @merikarim-z3l 9 месяцев назад

    Quality explanation dear professor. Haven't you programmed a tutorial on Switched reluctance motor (SRM) yet? Truly you are the best. Best regards

  • @MikeysLab
    @MikeysLab 4 года назад +3

    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?

  • @mustielhans6631
    @mustielhans6631 4 года назад +1

    Thank u,
    that was the best explanation that i have every heard
    That means the brushless motor is in fact a symchron ac motor

    • @daviddavids2884
      @daviddavids2884 4 года назад

      that is NOT correct. there is NO AC. the output of an esc is three, sequential, DC pwm, signals !!!!!!!!!!!

  • @tarekfayed8813
    @tarekfayed8813 5 лет назад +7

    Excellent explaination. Can you explain the design of regenerative break used in ev.

  • @christiannagy3429
    @christiannagy3429 5 лет назад +2

    This video pretty much contains everything about bldc motors. Nice Video!

  • @astrix8812
    @astrix8812 4 года назад +2

    50 seconds in and i already learned something new!

  • @SolCunningham
    @SolCunningham 5 лет назад +4

    Really nice ad placement. Really.

  • @houseofelectronics5869
    @houseofelectronics5869 5 лет назад +1

    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 .

  • @bradyimel4343
    @bradyimel4343 2 года назад

    Best BLDC video I’ve seen.

  • @mayankjadhav2512
    @mayankjadhav2512 Год назад +1

    Very nice explanation. Can I make the same project using Arduino Nano board instead?

  • @MattExo-Dynamics
    @MattExo-Dynamics 3 года назад

    2 years on, still a brilliant, helpful video. Thanks buddy👍

  • @supadrasta
    @supadrasta 3 года назад

    Best explanation of a DC Motor, nice job!

  • @tushyaneilrudr5619
    @tushyaneilrudr5619 4 года назад

    This is one video which actually gave any information.

  • @hengliu7498
    @hengliu7498 3 года назад

    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.

    • @hengliu7498
      @hengliu7498 3 года назад

      You forget to match the magnet count in the 4:24 and 4:40 animation.

  • @dwightgumbs5073
    @dwightgumbs5073 3 года назад

    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.

  • @Jaultaub
    @Jaultaub 5 лет назад

    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

  • @flashhobbyrc5146
    @flashhobbyrc5146 4 года назад +2

    actually, we are the manufactory for this motor:)

  • @oscaramaya4193
    @oscaramaya4193 3 года назад

    Finally, I can build a DIY mini centrifuge, exellent video

  • @scottwilliams895
    @scottwilliams895 5 лет назад +14

    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

    • @herbertborogha3553
      @herbertborogha3553 4 года назад

      pls teach how to build brushless dc motor controller board

  • @kalpanapatel2387
    @kalpanapatel2387 4 года назад +1

    Best explanation on bldc motors. You had cleared all my doubts. Thank you so much 🙏🏻

  • @HarrisonOfTheNorth_Cumberland
    @HarrisonOfTheNorth_Cumberland 5 лет назад

    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.

  • @ndgoh67
    @ndgoh67 4 года назад +1

    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.

  • @dboproductions2853
    @dboproductions2853 2 года назад

    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!

  • @andreac7a
    @andreac7a 5 лет назад +4

    Interesting video. But this leaves me wondering: could an arduino be programmed to perform the function of an ESC ?

    • @RobertNES816
      @RobertNES816 4 года назад

      You'd still need to have a driver for the motor.

  • @jclowe1113
    @jclowe1113 5 лет назад

    I must say that I like your fan blade used in the demonstration of how to power a bldc motor with an adrino.

  • @superdau
    @superdau 5 лет назад +1

    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.*

  • @paulb8264
    @paulb8264 5 лет назад

    Totally one of the best channels for this subject. The work you put into these videos is greatly appreciated

  • @electrouino195
    @electrouino195 5 лет назад +4

    I’ve been looking for a video like this for ages, thanks, this is so useful

  • @goldspartan6594
    @goldspartan6594 Год назад

    Thank you! I cannot explain how much I needed this video and how much it helped!

  • @Quantumfishics
    @Quantumfishics 2 года назад

    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??????

  • @aminnima6145
    @aminnima6145 3 года назад

    The best explanation of bldc

  • @ichbins161
    @ichbins161 4 года назад

    I had to repair the vibrator of my mother, this video helped me a lot. Thanks man!

  • @ahmedboukhetta4999
    @ahmedboukhetta4999 5 лет назад

    مزيد من التالق مهندس وليد. وشكرا على هذه القناة التعليمية الرائعة

  • @gkdresden
    @gkdresden Год назад

    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.

  • @ridlespriger2120
    @ridlespriger2120 2 года назад

    Put you in a category.
    PRISONER. 🔥🔥

  • @jaikram
    @jaikram 4 года назад

    Well done. Most simple. Please can you tell how to connect to BLDC tester and calibrate?

  • @pramodmoolya9894
    @pramodmoolya9894 5 лет назад +2

    I'm proud to be an mechatronics engineering student

  • @abhijeetsuryawanshi1272
    @abhijeetsuryawanshi1272 3 года назад

    best explaination.....you explain complex things in so easy way.

  • @s4vibes243
    @s4vibes243 5 лет назад

    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

    • @HowToMechatronics
      @HowToMechatronics  5 лет назад

      Well not really. With a switch we could only turn it on or off, but could not control the speed.

  • @GBot2201
    @GBot2201 5 лет назад

    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

  • @joseluismatabuenasedano6881
    @joseluismatabuenasedano6881 7 месяцев назад

    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)?

  • @HiTechDiver
    @HiTechDiver 5 лет назад +1

    Excellent presentation, and very well narrated.

  • @secretsocietyofsv
    @secretsocietyofsv 5 лет назад

    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?

  • @oracid
    @oracid 5 лет назад

    Thank you for your videos.
    What about driving a brushless motor in normal and reverse directions ?

    • @arnie8958
      @arnie8958 5 лет назад

      oracid1 interchange any two of the three input wires

  • @colsanjaybajpai5747
    @colsanjaybajpai5747 4 года назад

    Very comprehensive and very well explained

  • @JmonteroArg
    @JmonteroArg 5 лет назад +3

    Very detailed explanation, thanks.
    I really like your channel, keep it up!

  • @winstonwu925
    @winstonwu925 2 года назад

    Amazing video! The animations are simply great. Thank you.

  • @vedatveziroglu9436
    @vedatveziroglu9436 5 лет назад +1

    Awesome timing, I was trying to build a rc plane with arduino, this and previous controller video helped a lot.

  • @flyingarmadildo7748
    @flyingarmadildo7748 3 года назад

    Underrated channel

  • @Flytrappa
    @Flytrappa 4 года назад

    great tutorial! Is it possible to run the motor in reverse?

  • @q.e.d.9112
    @q.e.d.9112 5 лет назад +5

    Well presented. Clear and simple.
    Thank you.

  • @GaneshHosur97
    @GaneshHosur97 5 лет назад

    Your wireless controller looks so cool!!! 😍

  • @عبدالكريمراشد-ح1ف
    @عبدالكريمراشد-ح1ف 5 лет назад +8

    the best explanation and very interesting, thanks so much.

  • @biraescudero
    @biraescudero 4 года назад

    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!

  • @mrmakinist
    @mrmakinist 5 лет назад

    I hope the great success of the channel

  • @shauthentic
    @shauthentic 5 лет назад

    Very very good presentation. Precise, concise.

  • @christianalvarado2278
    @christianalvarado2278 5 лет назад

    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

  • @rudypieplenbosch6752
    @rudypieplenbosch6752 3 месяца назад

    Great explanation 👌, needed a reason to buy a scope, got one..

  • @viplavg
    @viplavg 5 лет назад

    I really like your videos. They contain some additional information. Keep working like this.

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions 6 месяцев назад +1

    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.

  • @forcovers438
    @forcovers438 5 лет назад +4

    Would you please tell me how to use your maded remote for controlling a drone?

  • @freiherrvonbraun6942
    @freiherrvonbraun6942 3 года назад

    Beautiful explanation, was really clear

  • @xXxMythosxXx
    @xXxMythosxXx 4 года назад +1

    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?

    • @jordanwillis2027
      @jordanwillis2027 4 года назад

      Because you can apply DC power to the esc and have the motor move.

    • @daviddavids2884
      @daviddavids2884 4 года назад

      an esc does NOT make AC. it outputs three, sequential, DC pwm, power signals !!!!!!!!

  • @redesign3dp
    @redesign3dp 3 года назад

    Great video bro! Just what I was looking for.. Thanks

  • @deanfalk1246
    @deanfalk1246 5 лет назад

    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?

  • @TheBdd4
    @TheBdd4 5 лет назад +1

    Thank you, well done and very helpful to me, a new Arduino user.

  • @ser7ser7i
    @ser7ser7i 3 года назад

    Thank you for sharing, is this setup makes the same thing with a servo tester?

  • @nevillecreativitymentor
    @nevillecreativitymentor 4 года назад

    Very well and neatly explained

  • @okayestmedia
    @okayestmedia 4 года назад

    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 😁

  • @TheFritzTube
    @TheFritzTube 5 лет назад +4

    New friend here from philippines. Thanks for the enfo

  • @dalek-dan-1
    @dalek-dan-1 4 года назад

    What a very clear and precise explanation. Told me exactly everything I needed to know. excellent video thank you very much

  • @Mohammad-kf1tg
    @Mohammad-kf1tg Год назад +1

    Can I use 2200kv instead of 1000kv?

  • @stefanogizzler
    @stefanogizzler 3 года назад

    This guy is excellent & bang on!! Well done!