Introduction
DRM088, Rev. 0
Freescale Semiconductor 11
Chapter 1
Introduction
1.1 Introduction
This document describes the implementation of a Brushless DC (BLDC) fan controller using the Freescale
MC9S08QD4 8-bit Microcontroller (MCU). The design reads the standard 4 wire PWM controlled input
signal, which in turn controls the fan speed in a closed-loop feedback system. Complete coding and
schematic are included.
Brushless DC fans are widely used in CPU and graphic display card cooling and system ventilation
applications. The lack of a commutator makes the brushless DC fan more reliable than the conventional
DC fan. Microcontroller (MCU) based, intelligent, variable-speed brushless DC fans are needed to avoid
overheating and fulfill the rapidly changing electronics products requirement. Characteristics of flash
MCU based BLDC such as the MC9S08QD4 include variable speed control, low acoustic noise,
reliability, long lifetime, low power consumption, protection features, easy to maintain/upgrade and
communication interface capability.
There are several advantages of a MCU based closed-loop feedback design over traditional solutions:
• A targeted air flow can be achieved by constantly renewed fan speed adjustment based on
environment changes of the target system, such as temperature.
• Fan characteristics and behavior can be updated and changed easily for different end users by
modifying the Table Look-Up (TLU) in the flash memory of the MCU.
• Fault detection can be easily implemented by the MCU. For example, if the MCU detects a motor
jam or the air flow being blocked, the motor driver can be stopped completely to avoid further
damage. The automatic restart feature is also available.
• Digital feedback and output acknowledgment can be generated under a faulty situation.
• Sophisticated speed control algorithms can be easily implemented and modified in the flash based
MCU, if needed.
The MCU chosen for this purpose must be low cost and physically small in order to integrate it into the
fan controller Printed Circuit Board (PCB). The MC9S08QD4 is ideal for this application.
1.2 Freescale’s Low Cost MCU Advantages and Features
The Freescale MC9S08QD4 MCU is a low cost, small pin count device well suited for home appliances
and small geometry applications, such as the brushless control DC (BLDC) fan application. This device is
composed of standard on-chip modules, including a small and highly efficient HCS08 8-bit CPU core, 256
bytes RAM, 4 Kilobytes flash, two 16-bit modulo timers, four channels 10-bit ADC and keyboard
interrupt. The device is available in small 8-pin PDIP and SOIC packages.