AN1910 Freescale Semiconductor / Motorola, AN1910 Datasheet - Page 20

no-image

AN1910

Manufacturer Part Number
AN1910
Description
3-Phase AC Motor Control with V/Hz Speed Closed Loop Using the DSP56F80X
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Software Design
6.2.2 Application State Machine
6.2.3 Check Run/Stop Switch
6.2.4 PWM Reload A ISR
20
This state controls the main application functionalities, depicted in
In this state, the Run/Stop switch is checked according to the Application Mode setting; whether set to
RUN or STOP.
This subroutine is called at PWM A (or PWM in case of DSP56F803) reload interrupt. It provides:
The name of callback function in code: pwm_Reload_A_ISR(void).
Measurement of actual speed (MeasuredSpeed)
Elimination of DC-bus voltage ripples (mcgenDCBVoltRippleElim function)
Calculation of waveform generator (mcgen3PhWaveSine3rdHIntp function)
Updating of PWM value registers
Start of ADC conversion
Calculate V/Hz Ramp
Enable PWM
RUN
3-Phase AC Motor Control with V/Hz Speed Closed Loop
Figure 6-8. State - Application State Machine
NO_FAULT
Freescale Semiconductor, Inc.
done
Application State Machine - End
Application Mode
For More Information On This Product,
Application State Machine - Begin
Test
Go to: www.freescale.com
Drive Fault Status
STOP
Test
Disable PWM
Speed = 0
FAULT
done
Emergency Stop
Figure
6-8.
RESET

Related parts for AN1910