MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › PWM motor speed control with a 555: duty, frequency and the flyback diode
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (698 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

PWM motor speed control with a 555: duty, frequency and the flyback diode

One 555 and one MOSFET give a DC motor a speed knob for pocket change. This page covers the duty-independent timing trick, frequency choice and the flyback part that must not be cheap.

1. How it works

The plain astable changes frequency when you change duty - useless for a motor. The fix separates charge and discharge: steering diodes route the charging current through one end of the potentiometer and the discharge through the other, so the period stays roughly constant while duty sweeps 10 to 90 percent. With a 100k pot, 4.7k limit resistors and 1nF, the frequency lands near 13kHz - right in the silent zone for small motors.

2. Practice and pitfalls

Frequency guidance: below 1kHz motors whine and torque pulses show; 2 to 20kHz is the working band; 5 to 10kHz suits fans. Drive: a logic-level IRLZ44N takes the 555 output through 47 to 100Ω, with a 10kΩ gate pull-down, and carries 5A at 22mΩ (0.55W, small heatsink). The flyback diode must be a fast or Schottky type (FR307, SR540) - a 1N4007 recovers too slowly and cooks itself. Guard rails: never let the discharge leg reach 0Ω (a limit resistor saves pin 7), keep motor and control grounds single-point, decouple the 555 locally, and add a 0.05Ω overcurrent sense with a comparator before a stall burns the MOSFET.

3. PWM design parameters quick table

ParameterRecommendedBasisIf off
Switching frequency2~20kHzAbove audio, loss-controlledUnder 1kHz: whine and pulses
Duty range10%~90%Limit resistors protect pin 7100% kills the discharge FET
Gate resistor47~100ΩEdge speed vs lossToo big heats the MOSFET
Flyback diodeFR307/SR540 fastFast reverse recovery1N4007 drags and burns
MOSFET choiceIRLZ44N logic levelFull on at 5V driveStandard part half-on
Overcurrent trip0.05Ω + comparatorStall current封锁Stall burns MOSFET and motor

4. Notes

Configuration order: pick the frequency, compute RC, fit a logic-level MOSFET with a 10k gate pull-down, a fast flyback diode rated for the current, keep the pin-7 limit resistor, and include the overcurrent trip. A ten-yuan circuit deserves ten-yuan discipline on protection.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Motor drive safety per GB/T 5226.1 (IEC 60204-1); semiconductor devices per the IEC 60747 series. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① No limit resistor on pin 7:full duty shorts the discharge to the rail and kills the 555
② A 1N4007 as flyback:slow recovery, hot tail current, the classic burnt board
③ Motor ground sharing the control ground:switching currents rock the 555 and the output stutters

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL