yt_link
insta_link
fb_link
twitter_link
Blog#4 - Brushed drone PCB


Last tutorial - Logic gates!
Check here my last tutorial. I hope that you will like it. Keep up you guys!

last tutorial


Homemade ESC
Help me by sharing this post

Author: Andrei
Whenever we have a system with a microcontroller acting on motors, we'll definitely have voltage and current problems as ELECTRONOOBS explains in his tutorial about ESCs. The micro processors typically work at a voltage of 3.3 or 5 volts and use very low power. Instead motors are beasts whose main food is current. Therefore we need to separate the high amp 12V part of our circuit from the low 5V part. When i say motors I refer to triple phased brushless motors. By having three-phase motors things get complicated compared with a simple DC motor. We have to power 3 inputs to the motor in a very precise sequence. To generate that sequence of high or low state of the motor inputs an ESC is used(electronic speed control).

Brushless 3-phase motors need a special sequence delivered at their inputs and that must be precisely switched in a certain moment. To do that, ELECTRONOOBS implemented the BEMF detection and zero cross technique.
The board is simple and CNC milled. The design was made in DESIGN SPARK and then sent to a CNC mill to be engraved. This kind of PCBs are good for prototype but could result into a lot of errors due to noise. The cirrcuit EN uses is simple, a microcontroller controls verything, 3 drivers to control the gate of 6 transistors in a 3-phase bridge structure. If you want nice PCB services and get your own boards for 5$, check PCBWay.com and quoye now. Thank you very much.

The BEMF or back electromotive force technique goes like this. The magnets inside the motor will induce a voltage drop on the coils. The ADC of the microcontroller will read that voltage. Depending of the voltage value, a zero point between all 3 inputs is set. Whenever one of the coils voltage passes taht zero line the sequence switches to next part. A total of 6 parts are needed to complete the sequence.

So the microcontroller activates two transistors in each part of the sequence and waits the BEMF to react and when the zero cross is made, it switches to enxt step in the sequence and by taht spins the motor. Without the BEMF the motor couldn't syncronise itself and would loose power. If external force tries to stop the motor, the zero cross will be slower, so the motor will automatically syncronize its electronic speed with the real speed. That is a BEMF feedback control.


The PCB has 8mm tracks for the main output and those tracks are filled with solder. Why? well ESCs could deliver huge amounts of current, over 20A. So with such a thin copper layer, solder was needed so the track won't burn out.

The drivers are duals, meanning each driver could control a pair of transistors. Driver are needed since the Arduino works at 5V and the MOSFETs at a voltage higher than 12V. Also, the design has back voltage diodes since the motor has coils and that could induce voltage spikes. The speed is controlled with a potentiometer. Next version, says EN that will have a PWM control just as any other commercial ESC.

Posted by Andrei on 06/06/2018



Go back ↞ See other blog→



Help me by sharing this post









ADVERTISERS
ANENG
cooleme TV
PCBWay Ad



AFFILATE



Anet A8







Gearbest Anycubic I3 MEGA Full Metal Frame FDM 3D Printer
Anycubic I3 MEGA Full Metal Frame FDM 3D Printer only $379.99 with coupon "Anycubici3ch"
Gearbest Anet A8 Desktop 3D Printer
Anet A8 Desktop 3D Printer only $145.99 with coupon "A8KIDA"


Gearbest Tronxy X3S Aluminum Frame LCD Screen  3D Printer DIY Kit
Tronxy X3S Aluminum Frame LCD Screen 3D Printer DIY Kit only $259.99 with coupon "GBX3S"


Gearbest Min DS202 Oscilloscope 113€
Min DS202 Oscilloscope 113€


Gearbest UTD2052CL DIGITAL 2-ch Oscilloscope 275€
UTD2052CL DIGITAL 2-ch Oscilloscope 275€


Gearbest UT139C True RMS Digital Multimeter 29€
UT139C True RMS Digital Multimeter 29€


Gearbest SBK8586 Soldering station Hot Air + Iron 63€
SBK8586 Soldering station Hot Air + Iron 63€


Gearbest BAYANGTOYS X21 Brushless RC Quadcopter
BAYANGTOYS X21 Brushless RC Quadcopter 153€