AN1910 Freescale Semiconductor / Motorola, AN1910 Datasheet
![no-image](/images/no-image-200.jpg)
AN1910
Related parts for AN1910
AN1910 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 AN1910/D (Motorola Order Number) Rev. 1.0, 04/2001 Contents Ramp ........................................ 12 Elimination ............................... 13 Complete ISR ........................... 21 ...
Page 2
Freescale Semiconductor, Inc. Motorola DSP Advantages and Features offer a rich dedicated peripherals set, such as pulse width modulation (PWM) modules, analog-to-digital converter (ADC), timers, communication peripherals (SCI, SPI, CAN), on-board flash and RAM. Several parts comprise the family: DSP56F801/803/805/807, ...
Page 3
Freescale Semiconductor, Inc. • Half-cycle reload capability • Integral reload rates from one to 16 • Individual software-controlled PWM output • Programmable fault protection • Polarity control • 20-mA current sink capability on PWM pins • Write-protectable registers The PWM ...
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 DC power to ...
Page 5
Freescale Semiconductor, Inc. the natural points of intersection determine the switching points of the power devices of a half bridge inverter. This technique is shown in other and thus a 3-phase motor can be supplied PWM Output ...
Page 6
Freescale Semiconductor, Inc. Target Motor Theory A simple close-loop volts/hertz speed control for an induction motor is the control technique targeted for low performance drives. This basic scheme is unsatisfactory for more demanding applications where speed precision is required. Frequency ...
Page 7
Freescale Semiconductor, Inc case of AC V/Hz closed loop application, the feedback speed signal is derived from incremental encoder using the quadrature decoder. The speed controller constants have been tuned experimentally according to the actual load. 4. System ...
Page 8
Freescale Semiconductor, Inc. System Design Concept • Power supply rectifier • 3-phase inverter • Feedback sensors: speed, DC-bus voltage, DC-bus current, temperature • Optoisolation • Evaluation board DSP56F80X 8 3-Phase AC Motor Control with V/Hz Speed Closed Loop For More ...
Page 9
Freescale Semiconductor, Inc. The Control Process: 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, speed up/down buttons or PC Master ...
Page 10
... The detailed description of individual boards can be found in comprehensive users’ manuals belonging to each board. The user manual incorporates the schematic of the board, description of individual function blocks and bill of materials. Individual boards can be ordered from Motorola as a standard product from http://mot-sps.com/motor/devtools/index.html. 10 3-Phase AC Motor Control with V/Hz Speed Closed Loop For More Information On This Product, @ ...
Page 11
Freescale Semiconductor, Inc. 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. Software Design 6.1 Data Flow The requirements of the drive dictates ...
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 push buttons or by the PC Master. ...
Page 13
Freescale Semiconductor, Inc. The volt per hertz ramp is defined by following parameters: • Base point - defined by f • Boost point- defined by V • Start point - defined by V The ramp profile fits to the specific ...
Page 14
Freescale Semiconductor, Inc. Software Design Figure 6-3. 3-ph Waveforms with DC-Bus Voltage Ripple Elimination 6.1.6 PWM Generation Process Description This process generates a system of 3-phase sinewaves with addition of third harmonic component o shifted 120 to each other using ...
Page 15
Freescale Semiconductor, Inc. The function is based on a fix wave table describing the first quadrant of sine wave stored in data memory of the DSP. Due to symmetry of sine function, data in other quadrants are calculated using the ...
Page 16
Freescale Semiconductor, Inc. Software Design The process that is performed in PWM reload callback function: pwm_Reload_A_ISR is accessed regularly at the rate given by the set PWM reload frequency. This process is repeated often enough to compare it to the ...
Page 17
Freescale Semiconductor, Inc ( ' & % $ # " ! ! Figure 6-6. 3-ph Sine Waves with 3rd Harmonic Injection, Amplitude = 50% Input process: • Amplitude - obtained from DC-bus ripple elimination ...
Page 18
Freescale Semiconductor, Inc. Software Design Wrong Hardware: In case 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 ...
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, depicted in NO_FAULT Application Mode RUN Enable PWM Calculate V/Hz Ramp done Application State Machine - End Figure 6-8. State - Application State Machine ...
Page 21
Freescale Semiconductor, Inc. 6.2.5 PWM Fault A ISR This disable PWM module 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
Freescale Semiconductor, Inc. • Include the driver support to the appconfig.h • Fill the configuration structure in the application code for specific drivers (depends on driver type) • Initialize the configuration setting in appconfig.h for specific drivers (depends on driver ...
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 AN1910/D ...