Freescale Semiconductor DRM079 manual Commutation Waveforms, Speed Control

Page 12

Motor Control

2.3 Commutation Waveforms

In general, in a bi-phase motor design, alternate coils are tied together and give a single connection to the driver. In this design, the driver connection for coil A and coil C is called L1 (see Figure 2-1). Similarly, the driver connection for coil B and coil D is called L2. Driving to either of the connections will energize a coil-pair. The commutation waveform is shown in Figure 2-2. The coil driving period is aligned with the Hall sensor output. When the sensor output toggles, coil driving is stopped, the coils are de-energized for a period of time before the next coil-pair is energized.

Dead

Dead

Dead

Dead

Dead

Zone

Zone

Zone

Zone

Zone

L1

 

 

 

 

 

 

 

 

t

L2

 

 

 

 

 

 

 

 

t

Hall

 

 

 

 

Output

 

 

 

t

 

 

 

 

90° of rotation

Figure 2-2. Bi-Phase BLDC Motor Commutation Waveform

2.4 Speed Control

Motor speed is normally defined as the mechanical revolution per one minute of time (rpm). In electrical terms, one commutation contributes to 90 degrees of a revolution. Thus, control the time taken per commutation can effectively control the overall speed. One commutation step includes a dead-time (where the coils are not energized) and the coils energization time. The whole commutation period could be considered as a pulse width modulation (PWM) output cycle. The PWM period defines the motor speed in this case. The coils energization time is, in fact, the PWM driving period which is defined by the time that the coils are energized until the Hall sensor is toggled. The Hall sensor output indicates the position of the rotor and defines the time to switch to the next commutation step.

In this design the motor speed or the PWM period is continuously monitored. It is a closed-loop control design. If the motor speed is faster (PWM period is shorter) than the target value, the dead-time duration is extended until the target PWM period is reached. Similarly, when the motor speed is slower than the target value, the dead-time duration is shortened.

The rotor starts off at the slowest speed. Shortening the dead-time causes the coils to energize earlier and the rotor is pushed/pulled to the next pole position sooner, causing motor speed to increase. Similarly, when the dead-time is extended the rotor hangs loose for a longer time before it is pushed/pulled to the next pole position. As a result the motor speed decreases. The target motor speed against temperature is predefined. It is updated periodically based on the information from the temperature sensor.

Variable Speed DC Fan Control using the MC9RS08KA2, Rev. 0

12

Freescale Semiconductor

Image 12
Contents Variable Speed DC Fan Control using the MC9RS08KA2 Page Variable Speed DC Fan Control using the MC9RS08KA2 Revision HistoryFreescale Semiconductor Table of Contents Freescale Semiconductor Chapter Introduction IntroductionFreescale’s New Generation Ultra Low Cost MCU DC Fan Reference Design TargetsBi-Phase Bldc Motor Bi-Phase Bldc Motor DiagramFreescale Semiconductor Chapter Motor Control CommutationRotor Position Control Commutation Waveforms Speed ControlFault Detection Motor StartupFreescale Semiconductor Block Diagram Chapter ImplementationHardware Resources Control Loop Firmware Control Loop Temperature Sensor Measurement = V DD⎜ RC⎟#63, Mtimmod ACMPSCACF, AcmpscAcmpsc Temperature Conversion Temperature Conversion Table Freescale Semiconductor VR1 Freescale Semiconductor Appendix B Program Listing Rtidisable MtimtclkfallingMtimtclkrising Acmpoutputboth#HIGH613NVICSTRM, Pagesel MAPADDR6NVFTRIM, IcsscMAPADDR6NVICSTRM, Icstrm $3FFA #ICSDIV2, ICSC2Kbies Kbipe#MTIMBUSCLKMTIMDIV256, Mtimclk #255, MtimmodMAPADDR6SRS Rts Drive coilKBISCKBACK, Kbisc MTIMSCTOF, MtimscKbisc BUZZER, Ptad#6, Mtimmod #24, Mtimmod#30, Mtimmod Page How to Reach Us