Upload
xeta123
View
237
Download
0
Embed Size (px)
Citation preview
7/22/2019 VF Control Stellaris
1/69
RDK-ACIM-03 Copyr ight 20072009 Texas Instruments
User s Manua l
Stellaris AC Induction Motor ReferenceDesign Kit
7/22/2019 VF Control Stellaris
2/69
2 November 4, 2009
CopyrightCopyright 20072009 Texas Instruments, Inc. All rights reserved. Stellaris and StellarisWare are registered trademarks of Texas Instruments.
ARM and Thumb are registered trademarks, and Cortex is a trademark of ARM Limited. Other names and brands may be claimed as the property
of others.
Texas Instruments
108 Wild Basin, Suite 350Austin, TX 78746
Main: +1-512-279-8800
Fax: +1-512-279-8879
http://www.luminarymicro.com
7/22/2019 VF Control Stellaris
3/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 3
Table of Contents
Chapter 1: Stell aris AC Induct ion Motor Reference Design K it Overview .............................................. 11
Safety Information.............................................................................................................................................11
Using the RDK.................................................................................................................................................. 11
Features............................................................................................................................................................ 12
Motor Technology.............................................................................................................................................12
Introduction to AC Induction Motors..............................................................................................................12
AC Induction Motor Types ............................................................................................................................ 13
Variable Speed .............................................................................................................................................14
RDK Specifications ........................................................................................................................................... 15
Electrical .......................................................................................................................................................15
Mechanical.................................................................................................................................................... 15
Capabilities ................................................................................................................................................... 15
Chapter 2: Graphical User Interface ............................................................................................................. 17
Main GUI Window.............................................................................................................................................17
File Menu..........................................................................................................................................................20
Parameter Configuration Window.....................................................................................................................21
PWM Configuration....................................................................................................................................... 21
Motor Configuration ...................................................................................................................................... 22
Drive Configuration ....................................................................................................................................... 23
DC Bus Configuration ................................................................................................................................... 24
Chapter 3: Hardware Descr iption ..................................................................................................................27
System Description........................................................................................................................................... 27
Block Diagram .................................................................................................................................................. 28
Functional Description ...................................................................................................................................... 28
Microcontroller (Schematic Pages 1-2)......................................................................................................... 29
Output Power Stage (Schematic Page 3)..................................................................................................... 29
Isolated Control Interfaces (Schematic Page 4) ........................................................................................... 30
Power Supplies (Schematic Page 5) ............................................................................................................31
Isolated JTAG Interface (Schematic Page 6)................................................................................................ 31
Software............................................................................................................................................................ 31
Modulation Methods...................................................................................................................................... 32
Other Functions ............................................................................................................................................32
Motor Control Parameters ................................................................................................................................32
Parameter Reference.................................................................................................................................... 32
Implementation Considerations ........................................................................................................................ 33
Motor Selection.............................................................................................................................................33
Bus Capacitors.............................................................................................................................................. 33Heat Sinking.................................................................................................................................................. 33
Power Line Filtering ...................................................................................................................................... 33
Serial Protocol .................................................................................................................................................. 33
Appendix A : Parameters and Real-Time Data Items ................................................................................... 35
Parameters .......................................................................................................................................................35
Parameter Descriptions .................................................................................................................................... 37
7/22/2019 VF Control Stellaris
4/69
4 November 4, 2009
Informational Parameters..............................................................................................................................37
Firmware Version...................................................................................................................................... 37
Motor Drive Status ....................................................................................................................................38
Motor Drive Fault Status ........................................................................................................................... 38
Motor Configuration Parameters................................................................................................................... 39
Motor Type................................................................................................................................................39
Number of Poles ....................................................................................................................................... 39Encoder Present ....................................................................................................................................... 39
Number of Encoder Lines ......................................................................................................................... 39
V/f Table Range Select ............................................................................................................................. 40
V/f Table....................................................................................................................................................40
Minimum Drive Frequency ........................................................................................................................ 40
Maximum Drive Frequency .......................................................................................................................41
Minimum Motor Current ............................................................................................................................ 41
Maximum Motor Current ........................................................................................................................... 41
PWM Configuration Parameters ................................................................................................................... 42
PWM Frequency ....................................................................................................................................... 42
PWM Dead Time....................................................................................................................................... 42
Waveform Update Rate ............................................................................................................................ 42
Minimum PWM Pulse Width .....................................................................................................................43
High-side Gate Driver Precharge Time.....................................................................................................43
Motor Drive Configuration Parameters ......................................................................................................... 43
Modulation Type ....................................................................................................................................... 43
Motor Drive Direction ................................................................................................................................44
Acceleration Rate...................................................................................................................................... 44
Deceleration Rate ..................................................................................................................................... 44
Target Drive Frequency ............................................................................................................................ 45
Current Drive Frequency........................................................................................................................... 45
Dynamic Braking Configuration Parameters.................................................................................................45
Dynamic Braking Enable...........................................................................................................................45Dynamic Brake Engage Voltage ............................................................................................................... 45
Dynamic Brake Disengage Voltage ..........................................................................................................46
Maximum Dynamic Braking Time .............................................................................................................46
Dynamic Brake Cooling Time ................................................................................................................... 46
DC Injection Braking Configuration Parameters ........................................................................................... 47
DC Injection Braking Enable .....................................................................................................................47
DC Injection Braking Voltage .................................................................................................................... 47
DC Injection Braking Time ........................................................................................................................ 47
Closed-Loop Configuration Parameters........................................................................................................ 47
Closed-Loop Mode Enable ....................................................................................................................... 47
Frequency Controller P Coefficient ...........................................................................................................48
Frequency Controller I Coefficient ............................................................................................................48
DC Bus Configuration Parameters................................................................................................................ 48
Minimum DC Bus Voltage......................................................................................................................... 48
Maximum DC Bus Voltage........................................................................................................................49
DC Bus Voltage Compensation Enable.................................................................................................... 49
DC Bus Deceleration Voltage ................................................................................................................... 49
Miscellaneous Parameters............................................................................................................................ 50
7/22/2019 VF Control Stellaris
5/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 5
On-board User Interface Enable............................................................................................................... 50
Maximum Ambient Temperature............................................................................................................... 50
Real-Time Data Items.......................................................................................................................................50
Real-Time Data Items Descriptions..................................................................................................................51
Drive Status Parameters............................................................................................................................... 51
Motor Drive Status ....................................................................................................................................51
Motor Drive Fault Status ........................................................................................................................... 51
Processor Usage ...................................................................................................................................... 52
Motor Speed Parameters.............................................................................................................................. 52
Current Stator Frequency ......................................................................................................................... 52
Current Rotor Frequency .......................................................................................................................... 52
Measurement Parameters ............................................................................................................................ 52
DC Bus Voltage ........................................................................................................................................ 52
Motor Phase U Current............................................................................................................................. 53
Motor Phase V Current ............................................................................................................................. 53
Motor Phase W Current ............................................................................................................................ 53
Motor Current ............................................................................................................................................53
Ambient Temperature ............................................................................................................................... 53Appendix B: Schematics ................................................................................................................................ 55
Appendix C: PCB Component Locat ions ..................................................................................................... 63
Appendix D: Bi ll of Mater ial s (BOM) ............................................................................................................. 65
7/22/2019 VF Control Stellaris
6/69
6 November 4, 2009
7/22/2019 VF Control Stellaris
7/69
Stellaris Family Development Board Users Manual
November 4, 2009 7
List of Tables
Table 2-1. Description of GUI Main Window Controls.................................................................................... 17
Table 2-2. Description of PWM Configuration Controls..................................................................................21
Table 2-3. Description of Motor Configuration Controls ................................................................................. 22
Table 2-4. Description of Drive Configuration Controls ..................................................................................24
Table 2-5. Description of DC Bus Configuration Controls .............................................................................. 25
Table 3-1. Current Monitoring Circuits............................................................................................................ 30
Table 3-2. Control Interface Functions ...........................................................................................................30
Table A-1. Parameter Configuration Summary...............................................................................................35
Table A-2. Real-Time Data Items ................................................................................................................... 50
7/22/2019 VF Control Stellaris
8/69
8 November 4, 2009
7/22/2019 VF Control Stellaris
9/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 9
List of Figures
Figure 1-1. AC Induction Motor........................................................................................................................13
Figure 1-2. Typical Blower Incorporating a Single-Phase PSC Motor.............................................................14
Figure 1-3. Linear V/f Curve for a 340 Hz Motor..............................................................................................14
Figure 2-1. AC Induction Motor Main GUI Window.......................................................................................... 17
Figure 2-2. PWM Configuration Window ......................................................................................................... 21
Figure 2-3. Motor Configuration Window.........................................................................................................22
Figure 2-4. Drive Configuration Window.......................................................................................................... 23
Figure 2-5. DC Bus Configuration Window...................................................................................................... 25
Figure 3-1. Block Diagram...............................................................................................................................28
7/22/2019 VF Control Stellaris
10/69
10 November 4, 2009
7/22/2019 VF Control Stellaris
11/69
November 4, 2009 11
Stellaris AC Induction Motor Reference Design
Kit Overview
Reference Design Kits (RDKs) accelerate product development by providing ready-to-run
hardware, a typical motor and comprehensive documentation including hardware design files.
Designers without prior motor control experience can successfully implement a sophisticated
motor control system using the AC Induction Motor RDK.
Safety Information
WARNING Risk of Electric Shock
The microcontroller in the RDK is not referenced to ground; it is at AC line potential. Do not
make direct connection to the JTAG header or any other microcontroller-related circuit. Read the
Quickstart Guide first for additional warnings.
This RDK operates from AC line voltage. Improper use or application carries electric shock, fire,
and other risks that may result in serious injury or death. Please read and follow these safety
notices:
This documentation and kit must only be used by people with training and experience in
working with voltage potentials up to 230 V.
The control board has both high-voltage potential and safety low-voltage sections.
Do not connect high-voltage potential circuits to safety low-voltage circuits or to
ground-referenced equipment such as computers or test equipment.
After power is removed, high voltages remain until the bus capacitors discharge. Wait at leastone minute after removing power before working with high-voltage circuitry.
Use caution when using the on-board controls to adjust motor speed etc. High-voltage circuits
are in close proximity.
Never perform work on the control board, motor or, wiring while power is applied. Always wear
eye protection and use care when operating the motor.
In addition to safety risks, other factors that may damage the control hardware, the motor, and its
load include improper configuration, wiring, or software. Minimize the risk of damage by following
these guidelines.
Using the RDKThe recommended steps for using the RDK are:
Follow the Quickstart Guide included in the kit. The Quickstart guide will help you get the
motor up and running in minutes. It also contains important safety information that should be
read before using the RDK.
C H A P T E R 1
7/22/2019 VF Control Stellaris
12/69
Stellaris AC Induc tion Motor Reference Design Kit Overview
12 November 4, 2009
Use the RDK GUI software to evaluate and op timize motor perfo rmance.The RDK GUI
gives real-time access to over 30 operating parameters. Parameters and data transfer
between the control and PC over a USB cable.
Customize and integrate the hardware and software to suit an end application.This
User's Manual and the Software Reference Manual are two important references for
completing your project. Software can be programmed in the motor control board using either
the RDK GUI software or using a JTAG debug interface (available from leading developmenttools vendors).
Features Advanced motor control for three-phase and single-phase AC induction motors
Flexible platform accelerates integration process
Easily change line filter, bus capacitors, and JTAG interface
Compatible with all main control algorithms including space vector modulation and sine control
Split low-side current sensing for accurate current sensing
Dynamic braking circuit
Active in-rush control circuit
Several isolated control input options including:
Integrated USB port (Virtual COM port)
Windows GUI application for configuration, control, and monitoring
Logic-level serial port
Speed potentiometer and mode switch
Quadrature encoder/tachometer input for speed and position monitoring
Electrically isolated JTAG port for software debugging
Bootloader for firmware upgrades over USB
Integrated AC Line Filter
Motor Technology
Introduction to AC Induction Motors
The ACIM RDK controls a class of motors known as Alternating Current (AC) induction motors. AC
induction motors are accurately described as the work horses of industry. In addition, AC induction
motors are widely found throughout the home in applications such as heating and air conditioning
systems, ceiling fans, and appliances.
Inside the AC induction motor, the applied AC voltage creates a sinusoidal current in the statorwinding. The stator does not move, but its coil or coils are positioned to create a rotating
electromagnetic field. The AC induction motor contains no permanent magnets. Instead, the stator
field induces a current in the rotor; hence the term induction. The current in the rotor creates its
own electromagnetic field. The coupling of the rotor and stator fields creates mechanical motion in
the motor.
7/22/2019 VF Control Stellaris
13/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 13
Figure 1-1. AC Induction Motor
The speed of the motor is, therefore, primarily controlled by the frequency of the AC current in the
stator and the also the number of poles intrinsic in the motor design. This can be expressed as the
following equation:
Synchronous Speed = 120 * Frequency/Number of Poles
As the rotor is loaded (note that some inherent load is always present), the motor must produce
torque. Torque requires that the rotor turns more slowly than the stator field. The difference in
speed is known as slip. For example, a typical motor with a synchronous speed of 3600 rpm may
have a shaft speed of 3350 rpm at full load.
The motor included in the RDK is made by ATB Selni for laundry appliances. The nameplate
frequency range is 0-340 Hz and the motor has two poles, so the synchronous speed range is
0-20400 rpm. This motor is capable of very high speeds.
The RDK controls motor speed by varying the frequency of the current in the stator coil. There are
several different voltage modulation techniques, but all are designed to result in sinusoidal stator
current.
AC Induct ion Motor Types
There are numerous variations within the class of AC induction motors. Possibly the most notable
classification is the number of phases. The ACIM RDK is a variable frequency motor control that
can operate both single-phase and three-phase motors. Three-phase motors are most commonly
used with variable frequency controls as they offer greater efficiency, higher torque, and wider
speed range than their single-phase counterparts.
There are many variations of single-phase AC induction motors, but only two types are candidates
for variable frequency control. Both permanent-split-capacitor (PSC) and shaded-pole motors can
be used with this RDK as they have no internal switching mechanism.
Stator Current
Rotor Motion
7/22/2019 VF Control Stellaris
14/69
Stellaris AC Induc tion Motor Reference Design Kit Overview
14 November 4, 2009
Figure 1-2. Typical Blower Incorporating a Single-Phase PSC Motor
Variable Speed
Reducing voltage to increase slip is not an effective method of speed control as the torque drops
considerably. Varying frequency is far more effective, but there are additional considerations. As
the frequency decreases, the effective impedance of the motor decreases proportionately. To
maintain constant current and torque, the RDK reduces voltage using a transfer function known as
a V/f curve. The RDK allows this to be customized for a specific motor or application. Figure 1-3
shows a linear V/f curve for a 340 Hz motor. Note that the voltage ramps with the frequency until it
hits the motor's nominal operating frequency.
Figure 1-3. Linear V/f Curve for a 340 Hz Motor
7/22/2019 VF Control Stellaris
15/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 15
RDK SpecificationsThis reference design meets the following specifications. The RDK has been engineered to
simplify scaling to other current or voltage requirements.
Electrical
Dual supply voltages (plug selectable) 230 VAC15% 1 phase
115 VAC15% 1 phase (up to HP only)
Supply current: 10 ARMS(max)
Continuous output current: 3.2 ARMS
Electrical isolation: 2500 VRMS
Mechanical
PCB size: 3.7" x 4.5" (92 mm x 115 mm)
Overall size: 5.25" x 6.75" x 1.3" (134 mm x 172 mm x 34 mm)
Capabilities
Frequency range: 0-400 Hz in 0.1 Hz steps
PWM frequency: Selectable 8, 12.5, 16, and 20 kHz
7/22/2019 VF Control Stellaris
16/69
Stellaris AC Induc tion Motor Reference Design Kit Overview
16 November 4, 2009
7/22/2019 VF Control Stellaris
17/69
November 4, 2009 17
Graphical User Interface
This section describes the GUI interface in detail.
Main GUI WindowMotor operation is controlled from the main window (see Figure 2-1). The main window provides
user controls for controlling the motor, as well as several indicators to provide status of the motor
operation. Most parameters can only be modified when the motor is stopped, and are not
selectable while the motor is running. Table 2-1describes the controls in detail.
Figure 2-1. AC Induction Motor Main GUI Window
Table 2-1. Description of GUI Main Window Controls
Item No. Name Description
1 Modulation Area
Sine Sets the modulation type to sine.
Space Vector Sets the modulation type to space vector.
1
2
3
4
5
6
7
8
C H A P T E R 2
7/22/2019 VF Control Stellaris
18/69
Graphical User Interface
18 November 4, 2009
2 Operation Area
Closed-Loop mode Selects between Open-Loop mode and Closed-Loop mode. This is
only available for motors that have an encoder or tacho-generator forfeedback of the rotor speed (motors without rotor speed feedback can
only be run in Open-Loop mode).
Reverse Direction Selects the direction of rotation. This is not available for single-phase
motors.
Bus Voltage Comp Enables bus voltage compensation. This improves the drive
waveforms by reducing the voltage ripple seen by the motor.
3 Frequency Area
Target Sets the frequency at which the motor runs. In Open-Loop mode, this
is the frequency applied to the motor. In Closed-Loop mode, this
setting is the rotor frequency (that is, the tach sensor allows the drive
to compensate continuously for slip). The desired frequency can be
typed into the box. If the motor is already running, it will change
frequency to match.
Stator Shows the rotational frequency of the stator field (that is, the field in
the fixed part of the motor). In Open-Loop mode, this matches the
target frequency. In Closed-Loop mode, the stator frequency is higher
than the target frequency as the PI control loop compensates for slip
in the motor.
Rotor Shows the rotational frequency of the rotor. This field is not
user-editable. In Open-Loop mode, this is lower than the target
frequency due to slip in the motor. In Closed-Loop mode, this matches
the target frequency.
4 Speed (rpm) Area
Target Speed (rpm) Displays the motor speed in revolutions per minute (rpm). There is a
direct correlation between this value and the target frequency value.
In Open-Loop mode, this is the speed of the stator field. In
Closed-Loop mode, this is the actual shaft speed.
Stator Speed (rpm) Displays the rotational speed of the stator field in revolutions per
minute. This field is not user-editable. In Open-Loop mode, this
matches the target speed. In Closed-Loop mode, the stator speed is
higher than the target frequency as the PI control loop compensates
for slip in the motor.
Rotor Displays the rotational speed of the rotor in revolutions per minute.
This field is not user editable. In Open-Loop mode, this will be lower
than the target speed due to slip in the motor. In Closed-Loop mode,
this matches the Target Speed.
Table 2-1. Description of GUI Main Window Controls (Continued)
Item No. Name Description
7/22/2019 VF Control Stellaris
19/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 19
5 GUI Main Window Buttons
Run button Starts the motor. The motor runs using the current configuration until
the Stop button is clicked or a fault condition is detected.
Stop button Stops the motor. If the motor is running, the motor decelerates to a
stop. Once the Stop button has been clicked, the Run button must be
clicked before the motor will operate again.
Configure button Opens the Parameter Configuration window. The Parameter
Configuration window is described in more detail in Parameter
Configuration Window on page 21.
6 Statistics Area
DC Bus Voltage Indicates the average DC bus voltage. As the RDK sends more power
to the motor, the ripple voltage increases and the DC bus voltage
drops.
Motor Current Indicates the AC root-mean-square (rms) motor current as measured
by the RDK control board.
Processor Usage Indicates the microcontroller CPU load by percentage. Useful for
estimating the loading of different applications and motor control
algorithms.
Temperature Indicates the ambient temperature near the microcontroller using the
internal temperature sensor.
7 Indicator Area
Panic Indicates that control has received a request to immediately
shut-down without a controlled motor ramp down.
Motor Under
Current Fault
(MUC)
Indicates that the motor was drawing less current than the
under-current limit and the motor has been stopped. This feature is
useful for detecting an open circuit in the motor. Some motors have
internal thermal cut-outs, that can be detected with the MUC indicator.
Motor Over Current
Fault (MOC)
Indicates that the motor was drawing more current than the over-
current limit and the motor has been stopped. This may indicated a
motor stall condition.
DC Over Voltage
Fault (DCOV)
Indicates that the high-voltage DC supply rail is too high. This can
occur if the motor is slowed down too quickly.
DC Under Voltage
Fault (DCUV)
Indicates that the high-voltage DC supply rail is too low. This can
occur if the AC line voltage is out of specification.
Over Temperature
Fault (TEMP)
The ambient air temperature near the microcontroller has exceeded
the limit and the motor has been stopped.
Power The power module has detected a massive overcurrent condition or a
supply voltage problem and has shut-down. This can be due to a
problem with the motor wiring or the motor itself.
Table 2-1. Description of GUI Main Window Controls (Continued)
Item No. Name Description
7/22/2019 VF Control Stellaris
20/69
Graphical User Interface
20 November 4, 2009
File MenuThe File menu can be used to help manage the parameters. The following menu items areavailable:
Load Parameters from Flash: The adjustable parameters that control the motor operation
may be stored in flash memory in the RDK microcontroller. This menu choice commands the
target to copy the parameters that were found in flash into the active memory. The parameters
will only be loaded from flash if the motor is stopped. If the parameters are loaded from flash,
then the values shown on the main and configuration windows will change to reflect the new
parameter values.
Save Parameters to Flash:Saves the adjustable motor parameters to the RDK
microcontroller's flash memory. The parameters are only saved when the motor is stopped. If a
valid set of parameters have been saved to flash, those will be loaded whenever the target is
powered or reset.
Load Parameters f rom File:The adjustable motor parameters can be loaded from a file that
was previously saved. This menu choice will read the parameters from the file (if available)
and send them to the target. The parameters will only be loaded if the motor is stopped.
Save Parameters to File: The adjustable motor parameters can be saved to a file. Selecting
this menu choice will cause all of the parameters to be read from the RDK board, and stored to
a file. The parameters can only be stored to a file if the motor is stopped.
Update Firmware:This menu choice can be used to load new firmware onto the RDK target
board. A file chooser dialog box will open to allow the user to select the firmware binary file to
load to the target. This menu choice can only be used if the motor is stopped. Once a file is
chosen, the new firmware file will be sent to the RDK, the RDK will update the flash with the
new program, and then restart.
NOTE: To restore the default parameters that came with your kit, from the File menu, select Load
Parameters from File and load the selni.ini parameter file to the target. Then select Save
Parameters to Flash from the File menu to save the default parameters into flash memory.
8 Special Indicator Area
COM Port Displays the COM port number, and status. If the indicator is shown in
black, and has a number shown for the COM port, then the serial portis opened. If the indicator is shown in red, and shows Err, then no
COM port is opened. The COM port selection dialog box can be
opened by double clicking on the COM port indicator.
Target Displays the status of the target connection. If the Target is shown in
black, and indicates ACIM then the program is communicating with
the RDK via the USB/serial port. If the indicator is shown in red, then
there was a problem communicating with the target. Communication
with the target can be restarted by double clicking on the Target
indicator.
Table 2-1. Description of GUI Main Window Controls (Continued)
Item No. Name Description
7/22/2019 VF Control Stellaris
21/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 21
Parameter Configuration WindowThe Parameter Configuration window is used to allow adjustment of certain system parameters.
The window contains four tabs: PWM Configuration, Motor Configuration, Drive Configuration, and
DC Bus Configuration. Open the Parameter Configuration window by clicking the Configure button
on the main window and then clicking the tab you want to configure. The left and right arrows to
the right of the tabs can be used to scroll to the tabs that are not visible.
Change the parameters and click the OK button to send the new parameters to the target. Click
the Cancel button to discard any changes.
PWM Conf iguration
In the Parameter Configuration window, click the PWM Configuration tab to display parameters for
configuring the PWM output (see Figure 2-3). Table 2-3describes the controls in detail.
Figure 2-2. PWM Configuration Window
Table 2-2. Description of PWM Configuration Controls
Item No. Name Description
1 PWM Parameters
Frequency Sets the frequency of the PWM waveforms produced by the
microcontroller. Higher frequencies will produce less audible noise in
the motor but result in higher processor usage.
Dead Time The amount of t ime between the activation of the high and low side
switches on a motor phase. This is used to prevent a short-circuit.
Pre-Charge Time The amount of time to pre-charge the high-side gate drivers before
starting the motor drive.
1
2
7/22/2019 VF Control Stellaris
22/69
Graphical User Interface
22 November 4, 2009
Motor Configuration
In the Parameter Configuration window, click the Motor Configuration tab to display parameters for
configuring the motor (see Figure 2-3). Table 2-3describes the controls in detail.
Figure 2-3. Motor Configuration Window
2 Waveform Parameters
Minimum Pulse
Width
The width of the smallest pulse (positive or negative) that should be
produced by the motor drive. This prevents pulses that are too shortto perform any useful work (but that still incur switching losses).
Update Rate The number of PWM periods between updates the output waveforms.
Updating the output waveform more frequently results in better quality
waveforms (and less harmonic distortion) at the cost of higher
processor usage.
Table 2-3. Description of Motor Configuration Controls
Item No. Name Description
1 Motor Type
Three Phase Sets the motor type to three phase for motors such as the ATB Selni
motor included in the kit. Use this setting for the motor included in the
ACIM RDK.
Single Phase Sets the single phase setting which creates a single phase output
from the control board to U and V motor terminals.
Table 2-2. Description of PWM Configuration Controls (Continued)
Item No. Name Description
1
3
2
http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-7/22/2019 VF Control Stellaris
23/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 23
Drive Configuration
In the Parameter Configuration window, click the Drive Configuration tab to display parameters for
configuring the drive (see Figure 2-4). Table 2-4describes the controls in detail.
Figure 2-4. Drive Configuration Window
2 Motor Configuration
Number of Poles Used by the RDK to convert frequency (Hz) to rpm.
Encoder Present Check this box if an Encoder or Tach is present.
Encoder Pulses Number of pulses in each motor shaft rotation.
3 V/f Curve
V/f Range Sets the relationship between motor voltage and frequency. A detailed
explanation is provided later in this User's Guide.
Table 2-3. Description of Motor Configuration Controls (Continued)
Item No. Name Description
1
2
3
4
5
6
7/22/2019 VF Control Stellaris
24/69
Graphical User Interface
24 November 4, 2009
DC Bus Configuration
In the Parameter Configuration window, click the DC Bus Configuration tab to display parameters
for configuring the DC bus (see Figure 2-5). Table 2-5describes the controls in detail.
Table 2-4. Description of Drive Configuration Controls
Item No. Name Description
1 Frequency
Minimum Sets the minimum motor frequency (speed).
Maximum Sets the maximum motor frequency (speed). Use with minimum
frequency to define the usable speed range.
2 Motor Current
Minimum/Maximum Sets the limits for motor over and under current.
3 Closed-Loop Controller
P/I Coeffic ients In Closed-Loop mode, these parameters define the response
characteristic of the PI controller. Normally, these parameters can be
left at factory default settings.
4 Acc eleration
Minimum/Maximum Sets the acceleration and deceleration rates. Reducing these values
increases the time the motor takes to change speeds.
5 Max Ambient Air Temp
Temperature Trip point for over temperature trip.
6 DC Injection Braking
Enable Enables or disables DC injection braking.
Voltage Sets the DC voltage to the applied during DC injection braking.
Time Sets the length of time to apply DC injection braking.
7/22/2019 VF Control Stellaris
25/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 25
Figure 2-5. DC Bus Configuration Window
Table 2-5. Description of DC Bus Configuration Controls
Item No. Name Description
1 DC Bus Voltage (V)
Minimum Sets the minimum DC bus voltagebefore a fault is signaled.
Maximum Sets the maximum DC bus voltagebefore a fault is signaled.
2 Deceleration Voltage (V)
Voltage The DC bus voltage at which the deceleration rate is scaled back in
an effort to control increases in the DC bus voltage.
3 Dynamic Brake
Enable Turns dynamic braking on. Dynamic braking actively dissipates
energy from the motor as it brakes. These settings control the braking
levels and dynamic characteristics.
Max Time (ms) The maximum amount of time the dynamic brake can be applied
before it is forced off to prevent overheating.
Cool Time (ms) The time at which the dynamic brake can be reapplied after reachingthe Maximum time. The brake is allowed to cool for the delta of Max
Time and Cool Time.
On Voltage The dynamic brake is applied when the DC bus voltage exceeds this
value.
Off Voltage Once applied, the dynamic brake is disengaged when the DC bus
voltage drops below this level.
1
2
3
http://-/?-http://-/?-7/22/2019 VF Control Stellaris
26/69
Graphical User Interface
26 November 4, 2009
7/22/2019 VF Control Stellaris
27/69
November 4, 2009 27
Hardware Description
Key components in the reference design include a Stellaris LM3S818 microcontroller with an ARM
Cortex-M3 core and a Fairchild Semiconductor FSBS10CH60 Power Module. Other
complementary components round out the design by providing protection, signal acquisition, and
power supply functions. The entire circuit is built on a simple two-layer printed circuit board. All
design files are provided in the RDK CD.
System DescriptionAs is typical for AC-powered motor controls, the microcontroller interfaces directly to the power
stage. This scheme allows the microcontroller to directly measure current in the power module, but
it also requires that the microcontroller be at high voltage potential with respect to Earth ground.
One set of opto-isolators provides electrical isolation for the serial and control signals. A
daughter-board, containing a second set of high-speed opto-isolators, isolates the Stellaris
microcontrollers JTAG port. Once software development is complete, the JTAG board can be
removed to reduce power consumption.
A custom-designed, off-line switching power supply (often called a housekeeping supply),
generates three power supply rails, one of which is isolated.
The RDK's line filter, heat sink, and DC bus capacitors are dependent on the end application and
are easily customizable. For operation above 0.25 HP, it may be necessary to mount the RDK on
an additional heat sink.
C H A P T E R 3
7/22/2019 VF Control Stellaris
28/69
Hardware Description
28 November 4, 2009
Block Diagram
Figure 3-1. Block Diagram
Functional Descript ionVariable frequency drives are often referred to as inverters, because they convert DC to a variable
frequency AC waveform. The key components in this conversion are the microcontroller and thepower switching stage, but a lot of peripheral circuitry is needed to make a complete drive. This
section describes drive operation in detail.
In-Rush ControlRectifier / Voltage
Doubler
DC LinkFlyback
Power Supply
LM3S818Stellaris
Microcontroller
FairchildFSBS10CH60
Smart Power Module
Control Inputs
Position andspeed input
B
AC Line Filter
Gate Ctrl (2)
Motor A
AC IN 115/230VAC 50/60Hz
Speed Pot
Dir/Mode
Isense A
+15V
+3.3V
A C
D
EF G
I
K
CurrentSenseCircuit
DC Current
TxD
RxD
Zero Crossing
DC Voltage Sense
Motor B
Motor C
ElectricalIsolation
/4
JTAG
USBto
Serial
USB
+5V
Status LEDs
/ CurrentSenseCircuit
Isense B
DC In
Fault
CurrentSenseCircuit
Isense C
L
Tach PFCC
ontrolPo
rt
Brake
DynamicBrake
High/Low SideGate Driver
High/Low SideGate Driver
J
J
High/Low SideGate Driver
J
Encoder
RXD
TXD
H
M
4
7/22/2019 VF Control Stellaris
29/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 29
Microcontroller(Schematic Pages 1-2)
At the core of the AC Induction Motor RDK is a Stellaris LM3S818 microcontroller. The LM3S818
contains a peripheral set that is optimized for three-phase motor control, including 6 high-speed
ADC channels, a motor control PWM block, and quadrature encoder inputs.
The RDK has three I/O headers (J6, J7, and J8) in close proximity to the microcontroller. J7 has
the JTAG port signals which are used for programming and debugging the microcontroller.
WARNING Risk of Electric Shock
The microcontroller in the RDK is not referenced to ground; it is at AC line potential. Do not
make direct connection to the JTAG header or any other microprocessor-related circuit. Read the
Quickstart Guide first for additional warnings.
To allow safe development using JTAG, the RDK includes an optical isolation board for JTAG
signals. This is described in detail in the Isolated JTAG Interface (Schematic Page 6) on page 31.
Header J8 contains signals for an external power factor correction (PFC) stage. PFC uses an
active switching stage to remove harmonics from the AC line current waveform. The LM3S818
microcontroller can eliminate a conventional PFC control chip in this circuit block. When PFC is notin use, a jumper must be installed between J8.3 and J8.4.
Unallocated GPIO signals from the microcontroller are routed to J6. This includes the SSI port
which can be connected to a SPI EEPROM or similar device.
NOTE: The GPIO signals are not isolated.
Finally, page 1 of the schematic contains five LEDs. These are also referenced to high voltage.
Output Power Stage(Schematic Page 3)
The most significant component on page 2 is the FSBS10CH60 Smart Power Module (SPM) from
Fairchild Semiconductor. This compact DIP-style device contains six low-loss IGBTs, HVIC gate
drivers, and protection circuitry, including under-voltage lock-out and short-circuit protection. The
SPM has three negative DC terminals allowing independent monitoring of each phase current.
The microcontroller provides the SPM with three pairs of complementary PWM signals, one pair
for each phase. A simple RC network on each digital PWM improves noise immunity. Dead-time,
the delay between PWM on states, is controlled by the PWM block inside the microcontroller and
can be set in software.
The SPM operates from a +15 VDCsupply which is carefully capacitor-decoupled to ensure
reliable operation during switching. To turn on the high-side IGBTs, the gate voltage must be driven
higher than the collector. This is achieved with the usual flying- or bootstrap-capacitor method.
Using Phase U as an example: When the low-side IGBT is ON, diode D10 is forward-biased and
capacitors C21 and C24 charge to almost 15 V. In turn, this charge allows the high-side IGBT to be
turned on by the high-side gate driver. As the high-side IGBT turns on, its emitter voltage rises,
taking the negative terminal of the flying capacitor along with it. The capacitor is sized to maintain
a high-side supply voltage of at least HVDC+ 12.5 V during the ON state. If the capacitor
discharges below 11.3 V (typ), the SPM's under-voltage lock-out circuit activates to prevent the
IGBT from moving outside its safe operating area (SOA).
7/22/2019 VF Control Stellaris
30/69
Hardware Description
30 November 4, 2009
Three 40 mresistive shunts provide 40 mV/A current sensing. The resultant voltage is fed to
three different circuits (see Table 3-1).
Isolated Control Interfaces(Schematic Page 4)
Page 4 of the schematics contains both high-voltage and isolated circuitry. Six opto-isolators safely
interface various control signals to the microprocessor. The speed control potentiometer forms a
simple variable frequency oscillator with U7. The microcontroller determines the potentiometer's
position by measuring the frequency on PD5/CCP2.
Three isolated digital inputs accommodate the Mode switch (can also be used for encoder index
pulse) and two quadrature encoder signals. The IN_A input has a Schmitt-trigger feature that
supports the speed sensor signal from the ATB Selni motor included in the RDK. This type of
speed sensor is known as a tacho-generator. A small permanent magnet moves inside a coil of
wire generates an AC voltage that is synchronized to the motor's speed. The Schmitt triggerensures the opto-isolator is fed with a digital signal.
UART0 signals from the microcontroller get isolated by U8 and U13. Jumper JP1 routes the
transmit and receive signals to either the USB device or to J4, the control interface terminal block.
RXD and TXD on J4 are CMOS level, not RS232 level, so may be directly connected to the UART
of an external microcontroller.
Table 3-1. Current Monitoring Circuits
SPM Current TripMicrocontroller
ComparatorMicrocontroller ADC
Function
Short-circuit (or
shoot-through)
protection
Software programmable
current trip
Measurement of phase
current amplitude
Amp li fier Gain n/a n/a 11
Resolution n/a 137.5 mV 10 bits
Scale 40 mV/A 0.15 V 40 mV/A 0.15 V 1 bit = 6.67 mA
Trip Thresho ld (typ.)15 Amps Programmable
reference
In software
Trip Speed (typ.)
7/22/2019 VF Control Stellaris
31/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 31
In the factory default mode, UART signals connect to the FT232RL USB device controller (U6)
which implements a Virtual COM Port. An isolated +3.3V rail is obtained from the unregulated +5V
rail by the FT232RK's internal regulator.
Power Supplies(Schematic Page 5)
The RDK can operate from either 115 VACor 230 VAC. In the case of 115 V operation, the input
diode bridge (D13) is used in conjunction with the bus capacitors (C44 and C45) to create a
voltage doubler.
For 115V operation: HVDC(nom) = 115 V x 2 x 1.414 = 325 Vdc
For 230V operation: HVDC(nom) = 230 V x 1.414 = 325 Vdc
The RMS output voltage of the motor control varies from 0 to 230Vrms under software control.
Two 200V capacitors, connected in series, provide filtering on the DC bus. Capacitor size and
selection is an important parameter when designing motor controls, so the RDK mounts the
capacitors off-board to make substitution easy. Double check polarity when changing capacitors.Capacitors are discussed further in the implementation section of this guide.
At power-up the bus capacitors charge through R84 to eliminate in-rush current. The
microcontroller monitors the HVDC voltage level and closes a relay (K1) once the capacitors are
almost fully charged. This method is a more reliable and efficient method than using a NTC
thermistor, though a thermistor may be suitable in some applications.
The RDK also includes a dynamic braking circuit that also operates under software control. If the
HVDCbus exceeds a programmable level, the braking circuit is activated to dump power from the
HVDCbus until it returns to a safe level. This condition typically occurs during motor deceleration,
where the rotor is turning faster than the stator field and regeneration occurs. Due to the size, cost
and specificity of braking circuits, the RDK design has a low power brake. Even at 20 Watts, the
brake allows the RDK to drastically increase deceleration rates.
The house-keeping power supply uses Fairchild's FSD200 Single-chip SMPS device. A custom
transformer has taps for +3.3 V, +15 V, and +5 V, so no linear voltage regulators are necessary. A
low-cost feedback circuit (Q5, Q6) replaces the usual optoisolator. Zener diodes on the
unregulated rails are installed simply as a precaution during development.
Isolated JTAG Interface(Schematic Page 6)
This section of the schematic is only used during software development. The isolated JTAG
interface board can be unplugged from the main board when development is complete. Four
high-speed opto-isolators provide electrical isolation for TDI, TDO, TMS, and TCK signals. A lower
speed isolator is sufficient for the reset circuit. The reset switch is isolated, but use caution as it is
in close proximity to high voltages.
As opto-isolators increase JTAG propagation delays, it may be necessary to reduce the speed ofsome high-speed JTAG debug interfaces when working with the RDK.
SoftwareThe software running on the Stellaris microcontroller is responsible for generating the waveforms
that drive the motor. The motor drive is capable of operation from 0 to 400 Hz with smooth
7 0V Common Ground for Isolated Control Interface
Table 3-2. Control Interface Functions (Continued)
7/22/2019 VF Control Stellaris
32/69
Hardware Description
32 November 4, 2009
acceleration and deceleration from 1 to 100 Hz/second. Additionally, it monitors the state of the
motor drive and handles fault conditions.
The software is written entirely in C. The RDK CD includes the full source code.
Modulation Methods
The waveforms that drive the motor can be generated using either the sine wave modulation or
space vector modulation technique. Sine wave modulation is an easy-to-generate modulation
technique, but does not provide full utilization of the DC bus voltage (it provides a peak voltage in
the motor of roughly 86% of the DC bus voltage before distortion occurs).
Space vector modulation, on the other hand, allows full utilization of the DC bus voltage but is
more complicated to compute. For either modulation technique, the rate at which new points on
the waveform is computed can be adjusted, allowing a trade-off between processor usage and
waveform quality (a slower update rate will have lower processor usage but also a lower quality
waveform).
Other Functions
Monitoring of the DC bus voltage, motor current, power module fault signal, and microcontroller
ambient temperature is performed during the operation of the motor drive. Several steps are takento manage the DC bus voltage; if the motor drive is decelerating and the DC bus voltage exceeds
a parameter value (due to regeneration), the rate of deceleration is temporarily decreased. If the
DC bus voltage exceeds another parameter value, a dynamic brake is applied to reduce the DC
bus voltage.
There are several fault conditions that result in the motor drive being turned off as a safety
measure:
DC bus voltage gets too high (from excessive regeneration)
DC bus voltage gets too low (usually from a loss of input power)
Motor current gets too high
Motor current gets too low
Power module signals a fault
Microcontroller ambient temperature gets too high
The fault condition must be manually cleared before the motor drive will operate again.
Motor Control ParametersThe AC induction motor control software has an extensive set of parameters which it stores in
on-chip Flash memory. The parameters define both high-level operation (for example, acceleration
rate) and low-level operation (for example, modulation algorithm). Because they are stored in flash
rather than hard-coded, the parameters can be modified using a serial control protocol. The RDK
GUI program provides a visual method for monitoring and adjusting control parameters over the
USB interface. An introduction to the RDK GUI can be found in the Quickstart guide.
Parameter Reference
SeeAppendix A, Parameters and Real-Time Data Items for detailed description of the RDKs
parameters.
7/22/2019 VF Control Stellaris
33/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 33
Implementation ConsiderationsThis section provides information on items to consider when implementing the ACIM RDK.
Motor Selection
For new designs, three-phase motors rather than their single-phase counterparts are
recommended for use with the RDK. This is due to three-phase motors having higher torque,better efficiency, and wider speed range.
Premium motor models are often qualified by the manufacturer as inverter duty. This implies that
the manufacturer has taken measures in the motor design to reduce failures due to the high
frequency switching inherent in a PWM-based motor control. Failure modes include insulation
breakdown in the stator and bearing pitting. At 230 V or less, the negative effects of high-speed
switching are less of a concern. In addition, because the end application may provide a discharge
path for any charge that accumulates in the shaft, a motor that is not necessarily inverter duty may
be suitable. Regardless, it is still important to address this with your motor supplier.
Bus Capacitors
The bus capacitors (C44, C45) are connected in series to achieve a 400 V rating and to enable the
voltage doubler option. For 230 V-only operation, a single capacitor would normally be used.
When electrolytic capacitors are used in a series configuration, it is important that neither capacitor
exceeds its individual voltage rating. Because internal impedances can vary, you should consider
placing a power resistor in parallel with each capacitor to ensure voltage sharing, especially during
power up. At least one manufacturer found that as long as capacitors were from the same batch,
voltage divider resistors were unnecessary and could be considered to have a negative effect on
overall reliability.
Capacitors are typically the most expensive and shortest-lived components in a motor control
system, therefore, selecting the correct part is critical. The ACIM RDK's design enables
experimentation with different values, sizes, and temperature ratings. Since heat directly affects
capacitor life, capacitor sizes with the greatest surface area are preferable.
Heat SinkingUnderwriters Laboratories (UL) standards generally require that surfaces that could be touched by
a user or service person must not exceed 70 C. The RDK control aluminum baseplate may
require additional heat sinking to keep it below this limit. Securely mount the control to a larger
aluminum heat sink using machine screws and thermal paste or sheet material.
Power Line Filtering
The power entry filter used in the RDK is for evaluation and is not expected to meet compliance
limits for conducted emissions. Inverter-based motor controls typically require a multi-stage power
line filter tailored to the end application.
Serial ProtocolSee theAC Induction Motor RDK Software Reference Manualfor more information.
7/22/2019 VF Control Stellaris
34/69
Hardware Description
34 November 4, 2009
7/22/2019 VF Control Stellaris
35/69
November 4, 2009 35
Parameters and Real-Time Data ItemsThis section provides detailed information for parameters and real-time data items (see Real-Time
Data Items on page 50).
ParametersTable A-1provides a summary of all configuration parameters. See Parameter Descriptions on
page 37for more information.
Table A-1. Parameter Configuration Summary
ID Units Range Default See
Informational Parameters
PARAM_FIRMWARE_VERSION number 0 to 65335 varies page 37
PARAM_MOTOR_STATUS enumeration n/a 0 page 38
PARAM_FAULT_STATUS flags n/a 0 page 38
Motor Configuration Parameters
PARAM_MOTOR_TYPE choice 0 to 1 0 page 39
PARAM_NUM_POLES count 0 to 255 1 page 39
PARAM_ENCODER_PRESENT Boolean 0 to 1 1 page 39
PARAM_NUM_LINES count 0 to 65535 7 page 39
PARAM_VF_RANGE choice 0 to 1 1 page 40
PARAM_VF_TABLE 1.15 fixed-point
integer scale factor
0 to 37837 4200, 5200,
6200, 7200,
8300, 9700,
11500, 13400,
15200, 17050,
18900, 20750,
22550, 24400,
26250, 28100,
29900, 31750,
31750, 31750,
31750
page 40
PARAM_MIN_SPEED 1/10thof a Hertz 0 to 4000 600 page 40
PARAM_MAX_SPEED 1/10thof a Hertz 0 to 4000 3400 page 41
PARAM_MIN_CURRENT 1/10thof an ampere 0 to 50 1 page 41
PARAM_MAX_CURRENT 1/10thof an ampere 0 to 50 48 page 41
A P P E N D I X A
http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-7/22/2019 VF Control Stellaris
36/69
Parameters
36 November 4, 2009
PWM Configuration Parameters
PARAM_PWM_FREQUENCY choice 0 to 3 3 page 42
PARAM_PWM_DEAD_TIME 20 nanoseconds 100 to 255 100 page 42
PARAM_PWM_UPDATE PWM periods 0 to 255 0 page 42
PARAM_PWM_MIN_PULSE 1/10thof a
microsecond
0 to 50 10 page 43
PARAM_PRECHARGE_TIME milliseconds 0 to 255 2 page 43
Motor Drive Configuration Parameters
PARAM_MODULATION choice 0 to 1 0 page 43
PARAM_DIRECTION Boolean 0 to 1 0 page 44
PARAM_ACCEL Hertz/second 1 to 100 40 page 44
PARAM_DECEL Hertz/second 1 to 100 40 page 44
PARAM_TARGET_SPEED 1/10thof a Hertz 0 to 4000 varies page 45
PARAM_CURRENT_SPEED 1/10thof a Hertz 0 to 4000 0 page 45
Dynamic Braking Parameters
PARAM_USE_DYNAM_BRAKE Boolean 0 to 1 1 page 45
PARAM_BRAKE_ON_VOLTAGE volts 1 to 400 360 page 45
PARAM_BRAKE_OFF_VOLTAGE volts 1 to 400 350 page 46
PARAM_MAX_BRAKE_TIME milliseconds 0 to 60000 60000 page 46
PARAM_BRAKE_COOL_TIME milliseconds 0 to 60000 55000 page 46
DC Injection Braking Configuration Parameters
PARAM_USE_DC_BRAKE Boolean 0 to 1 1 page 47
PARAM_DC_BRAKE_V volts 0 to 160 24 page 47
PARAM_DC_BRAKE_TIME milliseconds 0 to 65535 200 page 47
Closed-Loop Configuration Parameters
PARAM_CLOSED_LOOP Boolean 0 to 1 0 page 47
PARAM_SPEED_P 16.16 fixed-point
signed integer
-2,147,483,648 to
2,147,483,647
32768 page 48
PARAM_SPEED_I 16.16 fixed-point
signed integer
-2,147,483,648 to
2,147,483,647
128 page 48
Table A-1. Parameter Configuration Summary (Continued)
ID Units Range Default See
http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-7/22/2019 VF Control Stellaris
37/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 37
Parameter DescriptionsThis section describes parameter configuration in detail. The parameters are grouped into thefollowing areas:
Informational
Motor
PWM
Motor drive
Dynamic braking
DC injection braking
Closed-Loop
DC bus
Miscellaneous
Informational Parameters
Firmware Version
This read-only parameter provides the version number of the firmware. Changing the value of thisparameter in the source code makes it difficult for Texas Instruments support personnel to
determine the firmware in use when trying to provide assistance; this parameter should only be
changed after careful consideration.
DC Bus Configuration Parameters
PARAM_MIN_BUS_VOLTAGE volts 1 to 400 250 page 48
PARAM_MAX_BUS_VOLTAGE volts 1 to 400 390 page 49
PARAM_USE_BUS_COMP Boolean 0 to 1 1 page 49
PARAM_DECEL_VOLTAGE volts 1 to 400 350 page 49
Miscellaneous Configuration Parameters
PARAM_USE_ONBOARD_UI Boolean 0 to 1 1 page 50
PARAM_MAX_TEMPERATURE degrees Celsius 0 to 85 85 page 50
ID Units Range Default
PARAM_FIRMWARE_VERSION number 0 to 65535 varies
Table A-1. Parameter Configuration Summary (Continued)
ID Units Range Default See
http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-7/22/2019 VF Control Stellaris
38/69
Parameter Descriptions
38 November 4, 2009
Motor Drive Status
This parameter is a read-only value that provides the current operating status of the motor drive.The value will be one of the following:
Motor Drive Fault Status
This parameter is a read-only value that provides the current status of faults in the motor drive.
This value is a bit field, with each bit indicating a different fault condition as follows:
These fault conditions are sticky; any fault condition that has occurred will be indicated. A write of
any value to this parameter clears all fault conditions.
The motor drive will not operate while a fault condition is indicated in this parameter.
ID Units Range Default
PARAM_MOTOR_STATUS enumeration n/a 0
Value Meaning
0 The motor drive is stopped.
1 The motor drive is running.
2 The motor drive is accelerating.
3 The motor drive is decelerating.
ID Units Range Default
PARAM_FAULT_STATUS flags n/a 0
Bit Fault Condition
0 An emergency stop was requested.
1 The DC bus voltage dropped too low.
2 The DC bus voltage rose too high.
3 The motor current dropped too low.
4 The motor current rose too high.
5 The smart power module indicated a fault.
6 The ambient temperature rose too high.
7/22/2019 VF Control Stellaris
39/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 39
Motor Configuration Parameters
Motor Type
This parameter specifies whether a single-phase or a three-phase A/C induction motor will be
driven by the motor drive. A value of 0 indicates that a three-phase motor is being used and a
value of 1 indicates that a single-phase motor is being used.
The value of this parameter can be changed while the motor drive is stopped.
Number of Poles
This parameter specifies the number of poles in the motor, minus 1 (since it not possible to have a
zero pole motor). This is for information purposes only; it does not affect the behavior or operation
of the motor drive. The motor speed in rpm can be computed from this value with the equation:
RPM = 120 * PARAM_CURRENT_FREQUENCY / (NUMBER_OF_POLES + 1)
This information is obtained from the motor being used, either from the name plate on the motor or
from the data sheet for the motor.
Encoder Present
This parameter indicates the presence of an encoder on the rotor shaft. Closed-Loop mode is not
permitted if this parameter does not indicate the presence of an encoder.
A parameter value of 1 indicates that an encoder is present. When an encoder is present, the
Number of Encoder Linesparameter indicates the number of lines in the encoder.
Number of Encoder Lines
This parameter specifies the number of lines in the encoder, minus 1 (since it is not possible to
have a zero line encoder). A line corresponds to a rising edge and a falling edge produced by the
encoder. This information is used to convert edges from the encoder into the rotor frequency.
ID Units Range Default
PARAM_MOTOR_TYPE choice 0 to 1 0
ID Units Range Default
PARAM_NUM_POLES count 0 to 255 1
ID Units Range Default
PARAM_ENCODER_PRESENT Boolean 0 to 1 1
ID Units Range Default
PARAM_NUM_LINES count 0 to 65535 7
7/22/2019 VF Control Stellaris
40/69
Parameter Descriptions
40 November 4, 2009
V/f Table Range Select
This parameter specifies the range of the V/f table provided in the V/f Tableparameter. A value of0 specifies a V/f table range of 0 Hz to 100 Hz, and a value of 1 specifies a V/f table range of 0 Hz
to 400 Hz.
For 50/60 Hz motors, a V/f table range of 0 Hz to 100 Hz is the best choice, and also allows the
amplitude at 50 Hz to be specified (which is not directly possible with the other range). For high
frequency motors (such as 400 Hz aircraft motors), a V/f table range of 0 Hz to 400 Hz is the best
choice.
V/f Table
This table provides a mapping between the motor drive frequency and the amplitude (that is,
voltage) of the waveform produced by the motor drive. By increasing the amplitude of thewaveform as the frequency increases, the torque produced by the motor is held approximately
constant.
This table ranges from 0 Hz to either 100 Hz or 400 Hz, based on the setting of the V/F Range
Selectparameter. The 0-100 range provides an amplitude value every 5 Hz, and the 0-400 range
provides a value every 20 Hz. For the 0-100 range, frequencies above 100 Hz are produced at the
same amplitude as the 100 Hz entry of the table.
For any frequency, an amplitude that is too high can cause the motor to rotate in an erratic fashion
and an amplitude that is too low can cause the motor to fail to rotate.
Minimum Drive Frequency
This parameter specifies the minimum frequency at which the motor drive will operate. When
running, the output frequency will not go below this frequency. When stopping or reversing
ID Units Range Default
PARAM_VF_RANGE choice 0 to 1 1
ID Units Range Default
PARAM_VF_TABLE 1.15 fixed-point integerscale factor
0 to 37837 4200, 5200,6200, 7200,
8300, 9700,
11500, 13400,
15200, 17050,
18900, 20750,
22550, 24400,
26250, 28100,
29900, 31750,
31750, 31750,
31750
ID Units Range Default
PARAM_MIN_SPEED 1/10thof a Hertz 0 to 4000 600
7/22/2019 VF Control Stellaris
41/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 41
direction, this minimum frequency is ignored and the output frequency will slew all the way down to
0.
The minimum drive frequency should never be set lower than the slowest drive frequency that will
turn the motor; setting this parameter lower will result in effort being expended for no gain (the
motor simply will not spin).
Maximum Drive Frequency
This parameter specifies the maximum frequency at which the motor drive will operate. The output
frequency will never exceed this frequency, even if the target frequency matches the maximum
frequency and Closed-Loop mode is enabled (slip in the motor requires that the drive frequency
exceed the target frequency).
The maximum drive frequency should never be set higher than the maximum frequency that the
motor can handle; setting this parameter higher could result in permanent damage to the motor
(mechanical failure from excessive speed, melted winding insulation from excessive heating, andso on).
Minimum Motor Current
This parameter specifies the minimum RMS current that should be consumed by the motor while
operating. If the measured motor RMS current is less than this value, an under-current fault will be
triggered and the motor drive will immediately shut down. If this value is zero, the minimum motor
current check is disabled.
Maximum Motor Current
This parameter specifies the maximum RMS current that should be consumed by the motor while
operating. If the measured motor RMS current is greater than this value, an over-current fault will
be triggered and the motor drive will immediately shut down. If this value is zero, the maximum
motor current check is disabled.
ID Units Range Default
PARAM_MAX_SPEED 1/10thof a Hertz 0 to 4000 3400
ID Units Range Default
PARAM_MIN_CURRENT 1/10thof an ampere 0 to 50 1
ID Units Range Default
PARAM_MAX_CURRENT 1/10thof an ampere 0 to 50 48
7/22/2019 VF Control Stellaris
42/69
Parameter Descriptions
42 November 4, 2009
PWM Configuration Parameters
PWM Frequency
This parameter selects the frequency of the PWM signals used to drive the inverter bridge. The
PWM frequency can be 8 KHz (parameter value 0), 12.5 KHz (parameter value 1), 16 KHz
(parameter value 2), or 20 KHz (parameter value 3).
Higher PWM frequencies produce less audible noise in the motor windings (though there may be
little or no PWM frequency-induced audible noise in the windings of high quality motors). Higher
PWM frequencies also cause higher processor usage due to an increased interrupt rate.
PWM Dead Time
This parameter specifies the amount of time to delay between turning off one gate on a phase and
turning on the other gate. The dead time is required since the turn on and turn off times of the
gates do not always match, and the times for the high-side and low-side gates do not always
match. This time delay prevents shoot-through current that would occur if both gates were on at
the same time (which is a short between the DC bus and ground).
While the dead time prevents damage to the motor and motor drive, it also introduces harmonic
distortion into the drive waveforms.
The dead time required by the smart power module on the RDK-ACIM board is 2 uS; this
parameter can not be decreased. It can be increased in order to evaluate the performance of themotor with a larger dead time (before building a custom board with a different inverter that required
a longer dead time).
Waveform Update Rate
This parameter specifies the number of PWM periods that occur between recomputations of the
output waveforms. The parameter value is the number of periods minus 1; for example, a
parameter value of 4 means that the waveform is recomputed every 5 PWM periods.
Smaller update rates mean more frequent recomputation of the output waveform. This results in
higher quality waveforms (with less harmonic distortion) at the cost of increased processor usage.
There is an indirection relationship between this parameter, the PWM Frequencyparameter, and
the Maximum Drive Frequencyparameter. The PWM Frequencycombined with the Waveform
Update Ratedetermines the Maximum Drive Frequencythat can be produced by the motor drive
without aliasing in the output waveforms. The following equation must be true:
ID Units Range Default
PARAM_PWM_FREQUENCY choice 0 to 3 3
ID Units Range Default
PARAM_PWM_DEAD_TIME 20 nanoseconds 100 to 255 100
ID Units Range Default
PARAM_PWM_UPDATE PWM periods 0 to 255 0
7/22/2019 VF Control Stellaris
43/69
Stellaris AC Induction Motor RDK Users Manual
November 4, 2009 43
PWM Frequency / (PARAM_PWM_UPDATE + 1)
PARAM_MAX_FREQUENCY * 8
What this means is that there must be at least 8 computations of the waveform for every cycle of
the output waveform (that is, the angle step at each computation should be 45 degrees).
This relation is not enforced by the firmware.
Minimum PWM Pulse Width
This parameter provides the width of the smallest PWM pulse that will be generated by the motor
drive. If the motor drive attempts to produce a PWM pulse that is shorter than this value, it will
lengthen the PWM pulse to this value.
Small PWM pulses are removed since they do no useful work. By the time the gate has turned on
and is starting to let current flow, it is turned off again by the short pulse. In order to avoid switching
that performs no useful work, the pulse is lengthened.
Lengthening PWM pulses results in the introduction of harmonic distortion in the output
waveforms.
High-side Gate Driver Precharge Time
This parameter specifies the amount of time to precharge the high-side gate driver before starting
to drive waveforms to the inverter bridge. The high-side gate drivers have a charge pump that
generates the voltage required to drive the high-side gates; this charge pump only operates whenthere is switching on the corresponding low-side gate. The high-side gate drivers are precharged
by driving 50% duty cycle PWM signals to only the low-side gate drivers for the specified time
period.
Setting this value too low results in trying to drive PWM signal to the high-side gate drivers before
they can turn on the high-side gates. This results in PWM signals that do not make it to the motor.
This is a brief phenomenon, and it is typically harmless to bypass the precharge step. Setting this
value too high simply results in an increased delay before the motor starts spinning.
Motor Drive Configuration Parameters
Modulation Type
This parameter selects the modulation type to be used to drive the motor. A value of 0 indicates
that sine wave modulation will be used, and a value of 1 indicates that space vector modulation will
ID Units Range Default
PARAM_PWM_MIN_PULSE 1/10thof a microsecond 0 to 50 10
ID Units Range Default
PARAM_PRECHARGE_TIME milliseconds 0 to 255 2
ID Units Range Default
PARAM_MODULATION choice 0 to 1 0
7/22/2019 VF Control Stellaris
44/69
Parameter Descriptions
44 November 4, 2009
be used. Sine wave modulation is the only accepted modulation type when a single-phase motor
is being driven.
Sine wave modulation is easy to understand but only provides 86.6% utilization of the DC bus.
Space vector modulation is more complicated but provides 100% utilization of the DC bus. Better
utilization of the DC bus results in more output torque from the motor.
The value of this parameter can not be changed while the motor drive is running.
Motor Drive Direction
This parameter specifies the direction of rotation for the motor drive. Since the motor drive has no
knowledge of the connection of the windings to the drive, it can not be said that one particular
value means clockwise rotation and the other means counter-clockwise rotation. Changing the
value of this parameter reverses the direction of rotation.
The value of this parameter can only be changed for three-phase motors; this parameter is forcedto 0 for single-phase motors.
Acceleration Rate
This parameter is the rate at which the output frequency increases when it is less than the target
frequency. When in Closed-Loop mode, this is the maximum rate of acceleration that is allowed,
though lower acceleration rates can be utilized.
The rate of acceleration can also be viewed as the rate that slip is introduced into the motor drive.Slip causes an increase in the current through the motor, so setting the acceleration too high may
result in the over-current fault tripping due to excessive slip.
Deceleration Rate
This parameter is the rate at which the output frequency decreases when it is greater than the
target frequency. If the DC bus voltage exceeds the value of the DC Bus Deceleration Voltage
parameter, the value of this parameter will be temporarily scaled back to slow the rise in the DC
bus voltage. If the DC bus voltage is below the DC Bus Deceleration Voltageparameter and this
parameter was previously scaled back, it will be slewed back to the parameter value at a rate of
Hz/sec every millisecond. When in Closed-Loop mode, this is the maximum rate of deceleration
that is allowed, though lower deceleration rates can be utilized.
Setting this parameter value too high may result in DC bus voltage increases that can not be
handled by deceleration rate scaling and dynamic braking. In this case, a DC bus over-voltage
fault will occur.
ID Units Range Default
PARAM_DIRECTION Boolean 0 to 1 0
ID Units Range Default
PARAM_ACCEL Hertz/second 1 to 100 40
ID Units Range Default
PARAM_DECEL Hertz/second 1 to 100 40
7/22/2019 VF Control Stellaris
45/69
Stellaris AC Induction Motor RDK Users Manual
Novembe