AN1911 Freescale Semiconductor / Motorola, AN1911 Datasheet
![no-image](/images/no-image-200.jpg)
AN1911
Related parts for AN1911
AN1911 Summary of contents
Page 1
... ADC Low Limit ISR ................ 21 6.2.9 Timer OC LED ISR ................. 21 6.2.10 Timer OC Ramp ISR................ 21 7. SDK Implementation .................. 22 7.1 Drivers and Library Function ....... 22 7.2 Appconfig.h File ........................... 22 7.3 Drivers Initialization..................... 22 7.4 Interrupts....................................... 23 7.5 PC Master ..................................... 23 8. DSP Usage .................................. 23 9. References ................................... 24 Go to: www.freescale.com Order by AN1911/D (Motorola Order Number) Rev. 0, 04/01 Contents Ramp ........................................ 12 Elimination ............................... 13 ISR............................................ 21 ...
Page 2
Freescale Semiconductor, Inc. Motorola DSP Advantages and Features offer a rich dedicated peripheral set, including Pulse Width Modulation (PWM) modules Analog-to-Digital Converters (ADCs), Timers, communication peripherals (SCI, SPI, CAN), on-board Flash and RAM. Generally, all family members are well suited ...
Page 3
Freescale Semiconductor, Inc. The PWM block has the following features: • Three complementary PWM signal pairs, or six independent PWM signals • Features of complementary channel operation • Deadtime insertion • Separate top and bottom pulse width correction via current ...
Page 4
Freescale Semiconductor, Inc. Target Motor Theory Motor Torque Load Torque Motor Figure 3-1. Torque-Speed Characteristic at Constant Voltage and Frequency In adjustable speed applications the AC motors are powered by inverters. The inverter converts a DC power ...
Page 5
Freescale Semiconductor, Inc. points of intersection determine the switching points of the power devices of a half bridge inverter. This technique is shown in Figure and thus a 3-phase motor can be supplied PWM Output T 1 ...
Page 6
Freescale Semiconductor, Inc. System Design Concept A simple open-loop Volts/Hertz speed control for an induction motor is the control technique targeted for low cost, low performance drives. This basic scheme is unsatisfactory for more demanding applications where speed precision is ...
Page 7
Freescale Semiconductor, Inc. Table 4-1. Motor / Drive Specification Motor Characteristics: Base Electrical Frequency: Max. Electrical Power: Drive Characteristics: Load Characteristic: The DSP runs the main control algorithm. According to the user interface input and feedback signals, it generates 3-phase ...
Page 8
Freescale Semiconductor, Inc. System Design Concept The control process is as follows: When the Start command is accepted (using the Start/Stop Switch), the state of the inputs is periodically scanned. According to the state of the control signals (Start/Stop switch, ...
Page 9
Freescale Semiconductor, Inc. The DC-Bus voltage and power stage temperature are measured during the control process. They are overvoltage, undervoltage, and overheating protection of the drive. Both undervoltage protection and overheating are performed by ADC and software. The DC Bus ...
Page 10
... Notes: The detailed description of individual boards can be found in comprehensive User’s Manuals belonging to each board. The user manual incorporates the schematic of the board, description of individual function blocks and bill of materials. The individual boards can be ordered from Motorola as a standard product from http://mot-sps.com/motor/devtools/index.html 10 Indirect Power Factor Correction Using DSP56F80X For More Information On This Product, @ ...
Page 11
Freescale Semiconductor, Inc. 6. Software Design This section describes the design of the software blocks of the drive. The software will be described in terms of Data Flow and State Diagrams. 6.1 Data Flow The requirements of the drive dictate ...
Page 12
Freescale Semiconductor, Inc. Software Design 6.1.1 Acceleration/Deceleration Ramp The process calculates the new actual speed command based on the required speed according to the acceleration / deceleration ramp. The desired speed is determined either by the push buttons or by ...
Page 13
Freescale Semiconductor, Inc. The ramp profile fits the specific motor and can be easily changed to accommodate different ones. Process Description This process provides voltage calculation according to V/Hz ramp. The input of this process is generated by desired inverter ...
Page 14
Freescale Semiconductor, Inc. Software Design Figure 6-3. 3-ph Wafeforms with DC Bus Voltage Ripple Elimination 14 Indirect Power Factor Correction Using DSP56F80X For More Information On This Product, Go to: www.freescale.com ...
Page 15
Freescale Semiconductor, Inc. 6.1.5 PWM Generation Process Description This process generates a system of three phase sinewaves with addition of third harmonic component o shifted 120 to each other using mcgen3PhWaveSine3rdHIntp function from the Motor Control function library. The function ...
Page 16
Freescale Semiconductor, Inc. Software Design 1 ------ - Amplitude PWMA = 3 1 ------ - Amplitude PWMB = 3 1 ------ - Amplitude PWMC = 3 where PWMA, PWMB and PWMC are calculated duty cycles passed to PWM driver and ...
Page 17
Freescale Semiconductor, Inc ( ' & % $ # " ! ! Figure 6-6. 3-ph Sine Waves with 3rd Harmonic Injection, Amplitude = 50% Inputs of the process: • Amplitude - obtained from DC-Bus ...
Page 18
Freescale Semiconductor, Inc. Software Design Wrong hardware: If wrong hardware is identified (different power module or missing optoisolation board) during initialization, DriveFaultStatus variable is set to Wrong_Hardware. If any of the above mentioned faults occurs, program run into infinite loop ...
Page 19
Freescale Semiconductor, Inc. reset Initialization done Application State Machine done Check Run/Stop Switch done ADC low limit Interrupt ADC Low Limit Interrupt Subroutine done ADC high limit Interrupt ADC High Limit Interrupt Subroutine done ADC conversion complete Interrupt ADC Interrupt ...
Page 20
Freescale Semiconductor, Inc. Software Design 6.2.2 Application State Machine This state controls the main application functionalities as shown in State Machine. NO_FAULT ApplicationMode RUN Enable PWM Calculate V/Hz Ramp done Application State Machine - End Figure 6-8. State - Application ...
Page 21
Freescale Semiconductor, Inc. 6.2.5 PWM Fault A ISR This disables the PWM DC_Bus_OverCurrent according to fault input pin level in case of over voltage or over current in DC-Bus line. Name of callback function in code: pwm_Fault_A_ISR(void) This subroutine is ...
Page 22
Freescale Semiconductor, Inc. SDK Implementation 7. SDK Implementation The Motorola Embedded SDK is a collection of APIs, libraries, services, rules and guidelines. This software infrastructure is designed to let DSP5680x software developers create high-level, efficient, portable code. This chapter describes ...
Page 23
... Some drivers define the callback function in appconfig.h file. 7.5 PC Master PC Master was designed to provide the debugging, diagnostic and demonstration tools for development of algorithms and applications. It consists of components running on PC and parts running on the target development board. ...
Page 24
... ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tao Po, N.T., Hong Kong. 852-26668334 Technical Information Center: 1-800-521-6274 HOME PAGE: http://motorola.com/semiconductors/dsp For More Information On This Product, M are registered trademarks of Motorola, Inc. Motorola, Inc Equal MOTOROLA HOME PAGE: http://motorola.com/semiconductors/ Go to: www.freescale.com AN1911/D ...