AN1911 Freescale Semiconductor / Motorola, AN1911 Datasheet - Page 20

no-image

AN1911

Manufacturer Part Number
AN1911
Description
3-Phase AC Motor Control with V/Hz Speed Open Loop Using 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 as shown in
State Machine.
In this state Run/Stop switch is checked and accordingly that Application Mode is set to Run or Stop.
This subroutine is called at PWM A (or PWM in case of DSP56F803) Reload Interrupt and provides:
Name of callback function in code: pwm_Reload_A_ISR(void).
Measurement of actual speed utilizing quadrature decoder (MeasuredSpeed)
Elimination of DC-Bus Voltage ripples (mcgenDCBVoltRippleElim function)
Calculation of waveform generator (mcgen3PhWaveSine3rdHIntp function)
Updating of PWM Value Registers
Triggering the ADC conversion
Calculate V/Hz Ramp
Enable PWM
RUN
Figure 6-8. State - Application State Machine
NO_FAULT
Indirect Power Factor Correction Using DSP56F80X
Freescale Semiconductor, Inc.
ApplicationMode
done
Application State Machine - End
For More Information On This Product,
Test
Application State Machine - Begin
Go to: www.freescale.com
DriveFaultStatus
STOP
Test
Disable PWM
Speed = 0
FAULT
Emergency Stop
done
Figure
6-8: State - Application
RESET

Related parts for AN1911