News

on video How to create a BLDC motor ESC using mosfets

 



In the beginning there was this! The assembly being tested on a test plate. On the left, the radio control micro-receiver (weight 5g...) We can see the six MOSFET transistors which switch the motor windings, as well as the microcontroller which generates the control voltages according to a very precise timing. It goes without saying that the final version will be made with SMD components (SMD in English, miniature surface mount components).

2 THE ENGINE


The engine is a REX 220 FLYWARE
LRK type (9 poles and 12 magnets).
designed to be powered by 2 to 3 LIPO (Lithium-polymer) cells.
1350 rpm/V.
220 milli-ohm.
mass 31g.

3 -


It can spin a 9x5 propeller at 10,000 RPM!

4 -

Brushless motors (without brushes or brushes) develop a high torque due to their operating principle: the rotating field created by the three-phase voltages applied to the windings must make SEVERAL TURNS so that the rotor (outer cage carrying the magnets) makes a single turn (see below). This has the effect of a (magnetic) gear reduction, without a mechanical reduction gear of any kind, the result being a lower rotational speed and a higher torque. (The power being equal to the product of the torque by the angular speed, for a given restored power, the speed is inversely proportional to the torque and vice versa). I'll explain this in more detail below...

5 THE DIAGRAM


6 -

Remarks:

Role of the 10k resistors (R11,12,13) connecting the gate of the MOSFETS on the (-) side to GND: The Ports of the PIC are placed in high impedance during the reset. Without these resistors, during the reset, the MOSFETS on the (+) and (-) side of the same phase could conduct simultaneously causing a short circuit on the power supply and their immediate destruction.

Role of resistors (R34,35,36) of 100 ohm: The PIC does not support debiting on the capacitive load represented by the gate of the IRF7455 (3.5 nF + the Miller effect, double that for the IRFZ44). In fact, on a capacitive load, and without these resistors, the port in question configured as an output is blocked at GND after an aborted pulse barely visible on the oscilloscope.

7 THE FIRMWARE for the PIC16F628

First of all here is the flowchart (defining the main loop only) The production and the cutting of the output signals, as well as the decoding of the signals from the remote control and the interpretation of the BEMF signals is done by a whole set of interrupts hardware and software. (See the .asm)

Notes:

-T_PPM represents the duration of the PPM (Phase pulse modulation) pulses of the radio control.
- The notations (N1, N2 etc...) used on this flowchart are found in the listing in assembler.



 



In the beginning there was this! The assembly being tested on a test plate. On the left, the radio control micro-receiver (weight 5g...) We can see the six MOSFET transistors which switch the motor windings, as well as the microcontroller which generates the control voltages according to a very precise timing. It goes without saying that the final version will be made with SMD components (SMD in English, miniature surface mount components).

2 THE ENGINE


The engine is a REX 220 FLYWARE
LRK type (9 poles and 12 magnets).
designed to be powered by 2 to 3 LIPO (Lithium-polymer) cells.
1350 rpm/V.
220 milli-ohm.
mass 31g.

3 -


It can spin a 9x5 propeller at 10,000 RPM!

4 -

Brushless motors (without brushes or brushes) develop a high torque due to their operating principle: the rotating field created by the three-phase voltages applied to the windings must make SEVERAL TURNS so that the rotor (outer cage carrying the magnets) makes a single turn (see below). This has the effect of a (magnetic) gear reduction, without a mechanical reduction gear of any kind, the result being a lower rotational speed and a higher torque. (The power being equal to the product of the torque by the angular speed, for a given restored power, the speed is inversely proportional to the torque and vice versa). I'll explain this in more detail below...

5 THE DIAGRAM


6 -

Remarks:

Role of the 10k resistors (R11,12,13) connecting the gate of the MOSFETS on the (-) side to GND: The Ports of the PIC are placed in high impedance during the reset. Without these resistors, during the reset, the MOSFETS on the (+) and (-) side of the same phase could conduct simultaneously causing a short circuit on the power supply and their immediate destruction.

Role of resistors (R34,35,36) of 100 ohm: The PIC does not support debiting on the capacitive load represented by the gate of the IRF7455 (3.5 nF + the Miller effect, double that for the IRFZ44). In fact, on a capacitive load, and without these resistors, the port in question configured as an output is blocked at GND after an aborted pulse barely visible on the oscilloscope.

7 THE FIRMWARE for the PIC16F628

First of all here is the flowchart (defining the main loop only) The production and the cutting of the output signals, as well as the decoding of the signals from the remote control and the interpretation of the BEMF signals is done by a whole set of interrupts hardware and software. (See the .asm)

Notes:

-T_PPM represents the duration of the PPM (Phase pulse modulation) pulses of the radio control.
- The notations (N1, N2 etc...) used on this flowchart are found in the listing in assembler.



 



In the beginning there was this! The assembly being tested on a test plate. On the left, the radio control micro-receiver (weight 5g...) We can see the six MOSFET transistors which switch the motor windings, as well as the microcontroller which generates the control voltages according to a very precise timing. It goes without saying that the final version will be made with SMD components (SMD in English, miniature surface mount components).

2 THE ENGINE


The engine is a REX 220 FLYWARE
LRK type (9 poles and 12 magnets).
designed to be powered by 2 to 3 LIPO (Lithium-polymer) cells.
1350 rpm/V.
220 milli-ohm.
mass 31g.

3 -


It can spin a 9x5 propeller at 10,000 RPM!

4 -

Brushless motors (without brushes or brushes) develop a high torque due to their operating principle: the rotating field created by the three-phase voltages applied to the windings must make SEVERAL TURNS so that the rotor (outer cage carrying the magnets) makes a single turn (see below). This has the effect of a (magnetic) gear reduction, without a mechanical reduction gear of any kind, the result being a lower rotational speed and a higher torque. (The power being equal to the product of the torque by the angular speed, for a given restored power, the speed is inversely proportional to the torque and vice versa). I'll explain this in more detail below...

5 THE DIAGRAM


6 -

Remarks:

Role of the 10k resistors (R11,12,13) connecting the gate of the MOSFETS on the (-) side to GND: The Ports of the PIC are placed in high impedance during the reset. Without these resistors, during the reset, the MOSFETS on the (+) and (-) side of the same phase could conduct simultaneously causing a short circuit on the power supply and their immediate destruction.

Role of resistors (R34,35,36) of 100 ohm: The PIC does not support debiting on the capacitive load represented by the gate of the IRF7455 (3.5 nF + the Miller effect, double that for the IRFZ44). In fact, on a capacitive load, and without these resistors, the port in question configured as an output is blocked at GND after an aborted pulse barely visible on the oscilloscope.

7 THE FIRMWARE for the PIC16F628

First of all here is the flowchart (defining the main loop only) The production and the cutting of the output signals, as well as the decoding of the signals from the remote control and the interpretation of the BEMF signals is done by a whole set of interrupts hardware and software. (See the .asm)

Notes:

-T_PPM represents the duration of the PPM (Phase pulse modulation) pulses of the radio control.
- The notations (N1, N2 etc...) used on this flowchart are found in the listing in assembler.



 



In the beginning there was this! The assembly being tested on a test plate. On the left, the radio control micro-receiver (weight 5g...) We can see the six MOSFET transistors which switch the motor windings, as well as the microcontroller which generates the control voltages according to a very precise timing. It goes without saying that the final version will be made with SMD components (SMD in English, miniature surface mount components).

2 THE ENGINE


The engine is a REX 220 FLYWARE
LRK type (9 poles and 12 magnets).
designed to be powered by 2 to 3 LIPO (Lithium-polymer) cells.
1350 rpm/V.
220 milli-ohm.
mass 31g.

3 -


It can spin a 9x5 propeller at 10,000 RPM!

4 -

Brushless motors (without brushes or brushes) develop a high torque due to their operating principle: the rotating field created by the three-phase voltages applied to the windings must make SEVERAL TURNS so that the rotor (outer cage carrying the magnets) makes a single turn (see below). This has the effect of a (magnetic) gear reduction, without a mechanical reduction gear of any kind, the result being a lower rotational speed and a higher torque. (The power being equal to the product of the torque by the angular speed, for a given restored power, the speed is inversely proportional to the torque and vice versa). I'll explain this in more detail below...

5 THE DIAGRAM


6 -

Remarks:

Role of the 10k resistors (R11,12,13) connecting the gate of the MOSFETS on the (-) side to GND: The Ports of the PIC are placed in high impedance during the reset. Without these resistors, during the reset, the MOSFETS on the (+) and (-) side of the same phase could conduct simultaneously causing a short circuit on the power supply and their immediate destruction.

Role of resistors (R34,35,36) of 100 ohm: The PIC does not support debiting on the capacitive load represented by the gate of the IRF7455 (3.5 nF + the Miller effect, double that for the IRFZ44). In fact, on a capacitive load, and without these resistors, the port in question configured as an output is blocked at GND after an aborted pulse barely visible on the oscilloscope.

7 THE FIRMWARE for the PIC16F628

First of all here is the flowchart (defining the main loop only) The production and the cutting of the output signals, as well as the decoding of the signals from the remote control and the interpretation of the BEMF signals is done by a whole set of interrupts hardware and software. (See the .asm)

Notes:

-T_PPM represents the duration of the PPM (Phase pulse modulation) pulses of the radio control.
- The notations (N1, N2 etc...) used on this flowchart are found in the listing in assembler.



No comments