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

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

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

  • @HowToMechatronics
    @HowToMechatronics  4 года назад +30

    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 4 года назад +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 3 года назад

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

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

      Can we put timer to when the motor rotate

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

    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 7 месяцев назад

      ​@@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!

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

    Best BLDC video I’ve seen.

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

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

  • @flying__fox4749
    @flying__fox4749 5 лет назад +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!

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

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

  • @stephenhenry1038
    @stephenhenry1038 5 лет назад +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!

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

    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 года назад +3

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

    • @NigelTolley
      @NigelTolley Месяц назад

      @@cachepilll286 It's a bit of both. All Battery Eliminator Circuits will keep the controls alive longer than the motors.

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

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

  • @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!

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

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

  • @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!

  • @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.

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

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

  • @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.

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

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

  • @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.

  • @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.

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

    50 seconds in and i already learned something new!

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

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

  • @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!

  • @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

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

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

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

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

  • @houseofelectronics5869
    @houseofelectronics5869 6 лет назад +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 .

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

    Best explanation of a DC Motor, nice job!

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

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

  • @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 !!!!!!!!!!!

  • @MadEvo606
    @MadEvo606 6 лет назад +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.

  • @ArshadAli-rp2cn
    @ArshadAli-rp2cn 3 года назад +1

    9:19 Shouldn't you be connecting the 5v from esc to Vin pin of arduino, because you are providing 5v to arduino. Can you explain this ??

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

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

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions 8 месяцев назад +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.

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

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

  • @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.

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

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

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

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

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

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

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

    This is one video which actually gave any information.

  • @MikeysLab
    @MikeysLab 5 лет назад +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?

  • @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

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

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

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

    I see there is a remote control at 12:22, is there any tutorial on how to make it?

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

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

  • @craigmunday3707
    @craigmunday3707 5 лет назад +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

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

    Very comprehensive and very well explained

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

    5:05 Where did you connect the ground clips of the other two oscilloscope probes? Are they connected to each other, so that you only need to connect one ground clip?

  • @scottwilliams895
    @scottwilliams895 6 лет назад +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

  • @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.

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

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

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

    Underrated channel

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

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

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

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

  • @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.

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

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

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

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

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

    How do you reverse the direction of the motor by software alone with Arduino?

  • @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.

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

    The best explanation of bldc

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

    You rock! best video on this subject! Keep up the good work

  • @chinmoytahbildar3278
    @chinmoytahbildar3278 6 лет назад +3

    Really waiting for your project .... awesome

  • @kirkcreelman
    @kirkcreelman 6 лет назад +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.

  • @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!

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

    Beautiful explanation, was really clear

  • @عبدالكريمراشد-ح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!

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

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

  • @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

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

    Excellent presentation, and very well narrated.

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

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

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

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

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

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

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

    Very well and neatly explained

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

    I hope the great success of the channel

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

    can i run this all stuff on proteus?

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

    Put you in a category.
    PRISONER. 🔥🔥

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

    ...One thing is the motor RPMs without load...an another when you have the propeller installed. Can you limit the RPM of the propeller as to not exceed the maximum amps allowed for the motor ??? For example, if the motor can only handle 150 watts with the attached propeller at say 5000 RPM...but that is about 12 Amps... but the ESC can handle up to 30 Amps... how I can limit the RPMs to avoid burning the motor.? Thanks.

  • @Daniel-rj2ci
    @Daniel-rj2ci 5 лет назад +1

    Really good educative video!

  • @mayankjadhav2512
    @mayankjadhav2512 2 года назад +1

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

  • @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.

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

    Super useful, thanks a lot!

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

    Dude u explained it soo nicely tq ☺️☺️☺️

  • @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.

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

    Very very good presentation. Precise, concise.

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

    really nice tutorial !

  • @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

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

    subbed, amazing channel. Loving it so far

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

    Love your channel so much! Easy to understand, and nice tutorial video!

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

    New friend here from philippines. Thanks for the enfo

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

    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

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

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

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

    Very clearly explained. Thank you.

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

    Many say that we should not use the BEC to power the arduino because of potential noise from the power of the motor. Is that correct?

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

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

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

    Your wireless controller looks so cool!!! 😍

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

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

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

    A lot of good information here. I've subscribed!

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

    Really nice ad placement. Really.

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

    So much respect for you as especially from us beginners. Thank You so much and very helpful as always.