AN1911 Freescale Semiconductor / Motorola, AN1911 Datasheet

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
Semiconductor Application Note
3-Phase AC Motor Control
with V/Hz Speed Open
Loop Using DSP56F80X
Design of Motor Control Application Based on
Motorola Software Development Kit
Petr Uhlir
Zdenek Kubiczek
1.
2.
© Motorola, Inc. 2001
MOTOROLA
This Application Note describes the design of a 3-phase AC
induction motor drive with Volt per Hertz control in Opened
Loop (hereinafter called V/Hz OL). It is based on Motorola’s
56F80X digital signal processor (DSP) which is dedicated for
motor control applications. The system is designed as a motor
control system for driving medium power, three phase AC
induction motors and is targeted for applications in both
industrial and appliance fields (e.g. washing machines,
compressors, air conditioning units, pumps or simple
industrial drives). The software design takes advantage of
SDK (Software Development Kit) developed by Motorola.
The drive to be introduced is intended as an example for a
3-phase AC induction motor drive. It serves as an example of
AC V/Hz motor control system design using Motorola DSP
with SDK support. It also illustrates the usage of dedicated
motor control libraries that are included in the SDK.
This Application Note includes the basic motor theory,
system design concept, hardware implementation and
software design including the PC Master visualization tool
inclusion.
The Motorola DSP56F80x family is well suited for digital
motor control, combining the DSP’s calculation capability
with MCU’s controller features on a single chip. These DSPs
Introduction of Application
Motorola DSP Advantages and
Benefit
Features
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
1.
2. Motorola DSP Advantages and
3. Target Motor Theory ..................... 3
4. System Design Concept ................ 6
5. Hardware ....................................... 9
6. Software Design .......................... 11
7. SDK Implementation .................. 22
8. DSP Usage .................................. 23
9. References ................................... 24
3.1 3-Phase AC Induction Motors
3.2 Volts per Hertz Control .................. 5
5.1 System Outline ............................... 9
5.2 High Voltage Hardware Set............ 9
6.1 Data Flow ..................................... 11
6.1.1 Acceleration/Deceleration
6.1.2 Speed Measurement ................. 12
6.1.3 V/Hz Ramp............................... 12
6.1.4 DC-Bus Voltage Ripple
6.1.5 PWM Generation ..................... 15
6.1.6 Fault Control ............................ 17
6.2 State Diagram ............................... 18
6.2.1 Initialization ............................. 18
6.2.2 Application State Machine ....... 20
6.2.3 Check Run/Stop Switch ........... 20
6.2.4 PWM Reload A ISR................. 20
6.2.5 PWM Fault A ISR .................... 21
6.2.6 ADC Conversion Complete
6.2.7 ADC High Limit ISR ............... 21
6.2.8 ADC Low Limit ISR ................ 21
6.2.9 Timer OC LED ISR ................. 21
6.2.10 Timer OC Ramp ISR................ 21
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
Introduction of Application Benefit 1
Features .................................... 1
Drives .............................................. 3
Ramp ........................................ 12
Elimination ............................... 13
ISR............................................ 21
Contents
(Motorola Order Number)
Order by AN1911/D
Rev. 0, 04/01

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 ...

Related keywords