Brushless DC Speed Controller

  Переглядів 335,906

Hyperspace Pirate

Hyperspace Pirate

2 роки тому

In this video I'm going to show how i built a brushless DC (BLDC) ESC (electronic speed controller) based on an Atmega328P microcontroller. This ESC was a prototype for a much larger one that I'll be using to drive the 1500-watt motors on my submarine. The video also explains the theory behind how a brushless DC motor works, and some troubleshooting tips that you may find helpful if you build one of these yourself.
The code i used for the first test can be found here:
simple-circuit.com/arduino-br...
I later modified it to add a reverse function and adjusted the startup sequence settings to get a smoother start to my motors.
A guide on using the Atmega328P microcontroller by itself (without the arduino board) can be found here:
www.arduino.cc/en/Tutorial/Bu...
Hardware used:
MOSFETs: IRLZ44
Flyback Diodes: MUR120G
MOSFET Drivers: IR2101
5V Linear Regulator: LM7805
MOSFET Driver supply regulator: LM317
The motor used in the first part of this video is a very old brushless motor i used to fly on a drone, and I'm not sure what the part number is or if it's still in production.
The submarine motors are Turnigy SK3 6374-192 kV brushless motors. I've replaced their ball bearings with bronze sleeves, and coated the rotor and stator with enamel to protect against saltwater.
Arduino Code:
drive.google.com/file/d/1R6RO...

КОМЕНТАРІ: 245
@HyperspacePirate
@HyperspacePirate 2 роки тому
I've updated the description with a link to the arduino code
@AradijePresveti
@AradijePresveti Рік тому
You know you're in for a treat when the video starts with the words "My submarine...".
@Positive_Altitude
@Positive_Altitude 14 днів тому
Very good! A very clean guide through ESC design. The only mistake (that actually, almost all hobby ESCs have) is that you should not switch phases at zero-crossing. Zero-crossing happens in the middle of the current phase, not at the end. So you switch phases a little bit too early. That still works obviously, but it reduces efficiency and increases torque ripple.
@garymucher4082
@garymucher4082 Рік тому
As with any experimental project, you start from the basics, and when you get it kind'a working, you add other options to fine tune exactly what you really want. Amazing how large such circuits end up being. Been there done that so many times... Thumbs Up!
@victoryfirst2878
@victoryfirst2878 Рік тому
I have to tip my hat off to you Sir. This video really refreshes my knowledge of electronics with all the buzz and straight information on the subject matter. I am looking forward to check out your other videos to bring my knowledge of electrical stuff to on par.
@MarcelNKemet
@MarcelNKemet 14 днів тому
When you know your stuff you able to explain it even to babies. Great video.
@thomasbattye-smith4473
@thomasbattye-smith4473
I just wanted to say thanks for sharing your project, It provided inspiration and impetus. I had been putting my own ESC project off for a while. A combination of analysis paralysis and trying to think of all the required features. I decided to go with through hole components (majority) and an arduino after seeing this video. My motor is now up and running. Thanks again.
@anomaly9233
@anomaly9233
I found my way here from the cryocooler videos, and YOU HAVE A SUBMARINE! This channel is amazing.
@scotticus66
@scotticus66 Рік тому
Wow well done and thanks for sharing the code. be careful out there the ocean has this way of destroying everything that sied it looks like you know what you are doing! having been on a submarine With The RCN and noting that they spend a lot of time in dry dock and almost never sail I have a lot of respect for what you are attempting.
@emirhanb7902
@emirhanb7902
You are a holy engineer. Whispering to esc and motors and stuff. So inspired by your work as a high school student!
@MakeTeachRepeat
@MakeTeachRepeat Рік тому
It’s because the brushless controller, like servos don’t just take PWM control, they need an exact pulse timing to initialise. If you use a servo library it’ll solve your issues.
@rafa_br34
@rafa_br34 Рік тому
Holy shit, you did something most UKpostsrs failed badly to do without even needing external comparators.
@Gersberms
@Gersberms
This is so interesting and impressive! I finally really understand exactly why 3 phase motors have 6 wires, how all these coils relate to only 3 phases, and how the number of magnets are related to the number of coils per phase.
@mobinmortazavi83
@mobinmortazavi83
Great video , your voice was super clear , thanks
@guillaumef2293
@guillaumef2293
Super, c'est très intéressant ces explications,et c'est très sympa de voir le cheminement pour en arriver au produit fini.!
@gmplascencia
@gmplascencia Рік тому
Great Job!! Thank you for Sharing!
@berver4880
@berver4880 Рік тому
You are the king!👑I didn't know you can use motor's coil for position sensing.
@TheMechatronicEngineer
@TheMechatronicEngineer
Cool project and great video.
@anibalvilelarj
@anibalvilelarj Рік тому
Congratulations!
@Dipplers
@Dipplers
If you made this as a product, I would definitely buy it
Brushless Motor - How they work BLDC ESC PWM
16:12
The Engineering Mindset
Переглядів 4,3 млн
VESC (Best Open Source ESC) || DIY or Buy
10:42
GreatScott!
Переглядів 609 тис.
Этого От Него Никто Не Ожидал 😂
00:19
Глеб Рандалайнен
Переглядів 10 млн
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Переглядів 572 тис.
FOC Driver Controller PCB - Slow Brushless Control
14:19
Electronoobs
Переглядів 105 тис.
Open Source ESC based on Arduino - High Speeds
16:58
Electronoobs
Переглядів 171 тис.
Building an Internal Cycloidal Robotic Actuator
19:01
Aaed Musa
Переглядів 387 тис.
How To Make Brushless Motor Driver / No ECS With Mosfet Driver
8:52
ZAFER YILDIZ
Переглядів 210 тис.
Most Basic Brushless Motor Control
13:19
Electronoobs
Переглядів 254 тис.
ESC electronic speed controller with arduino ALL EXPLAINED
19:31
Electronoobs
Переглядів 808 тис.
Making Dry Ice from scratch
15:52
Hyperspace Pirate
Переглядів 1,4 млн
See Thru 4 Cylinder Engine - (In Slow Motion)
9:22
Warped Perception
Переглядів 110 тис.