Stellaris® Stepper Motor Reference Design Kit Overview Stellaris Reference Design Kits (RDKs) from Texas Instruments 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 Stepper Motor Control RDK (Stepper RDK).
Stellaris® Stepper Motor Reference Design Kit Overview Motor Technology Introduction to Stepper Motors Stepper motors are synchronous DC motors which rotate in precise increments as their coils are energized. Stepper motors typically have step angles of 0.9°, 1.8°, 7.5°, or 15°. The motor in the RDK has a step angle of 1.8°...
Stellaris® Stepper Motor RDK User’s Manual Figure 1-2. Stepper Speed-Torque Curve The Stepper RDK operates bipolar stepper motors with two coils—probably the most common class of stepper motor. Bipolar refers to the fact that the stepping sequence requires coil current to flow in alternating directions.
Stellaris® Stepper Motor Reference Design Kit Overview RDK Specifications This reference design meets the following specifications. Electrical Supported motor type: Bipolar stepper Motor current (rated current per coil): 3 Amps Motor voltage (continuous coil voltage): 1-80 V Supply Voltage: 9-80 V Mechanical 4.6"...
The Stepper RDK firmware provides control of the stepper motor. It makes use of many of the features of the Stellaris microcontroller to perform the stepping function, reducing the number of external parts needed. In addition, the stepping firmware can be integrated with the user’s application, eliminating the need for separate microcontrollers for the stepping and application functions.
User Interfaces The on-board user interface can operate in two modes: Speed mode and Position mode. In Speed mode, the motor runs continuously at a speed and direction that can be controlled by the user. In Position mode, the motor runs to a position controlled by the user. The starting mode is Speed mode.
Stellaris® Stepper Motor RDK User’s Manual Graphical User Interface The stepper motor RDK board can be controlled from a graphical user interface (GUI) program running on a PC. Using the GUI provides much greater control of the motor than the on-board interface.
User Interfaces Table 2-1. Description of GUI Main Window Controls Item No. Name Description Speed and Status Area Target Sets the motor running speed in steps per second. The desired speed can be typed into the box. If the motor is already running, it changes speed to match.
Page 17
Stellaris® Stepper Motor RDK User’s Manual Table 2-1. Description of GUI Main Window Controls (Continued) Item No. Name Description GUI Main Window Buttons Run button Enables the stepper motor for running. The stepper motor must be enabled before it can be used. The motor does not move immediately when the Run button is pressed.
User Interfaces File Menu The File menu can be used to help manage the parameters. The following menu items are available: 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.
Stellaris® Stepper Motor RDK User’s Manual Figure 2-3. Configuration Window Table 2-2. Description of Configuration Controls Item No. Name Description Control Mode Open-loop PWM In Open-loop PWM control mode, the firmware sets the PWM duty cycle to a value that corresponds to the desired current. The duty cycle is calculated based on the winding resistance and the bus voltage.
Page 20
User Interfaces Table 2-2. Description of Configuration Controls (Continued) Item No. Name Description Fixed Rise Time This value is used when Open-loop PWM control mode is chosen. (cont.) This value controls the amount of time that the winding is left turned on at the beginning of a step, before PWM is used to control the current in the winding.
C H A P T E R 3 Hardware Description Key components in the reference design include a Stellaris LM3S617 microcontroller with an ARM Cortex-M3 core and a power stage consisting of Fairchild Semiconductor’s gate drivers and MOSFETs. Other complementary components complete the design by providing protection, signal acquisition, and power supply functions.
See Appendix B, “Schematics” starting on page 33 for more details. Microcontroller (Schematic Pages 1-2) At the core of the Stepper Motor RDK is a Stellaris LM3S617 microcontroller. This part has a peripheral set optimized for motor control, including 6 high-speed ADC channels, a motor control PWM block, and an analog comparator.
Stellaris® Stepper Motor RDK User’s Manual Also on this page are several LED status indicators, a simple reset circuit, and on-board user interface. The speed/position potentiometer's value is read by the microcontroller's ADC. Because the ADC's input span is 0-3 V, a resistor (R14) is used to pad the potentiometer voltage.
Hardware Description Control Interfaces (Schematic Page 4) The Stepper RDK has three power supply rails. The input power source is used directly to provide motor power and has a wide operating range. The exact supply voltage is not critical because the chopper control maintains constant motor current.
Stellaris® Stepper Motor RDK User’s Manual Figure 3-3. Chopper Waveform Generation Blanking Blanking Time Time High-side MOSFET ON Control Signal to Gate Driver Low-side MOSFET ON Sampling Current Threshold Motor Winding Current (Amps) Start of step Chopping continues to end of step A summary of the current control software is shown in Figure 3-4.
Hardware Description In addition to eliminating a dedicated chopper control IC, software-based chopper control makes it possible to easily change the current set-point. As an example, the RDK GUI has several parameters that change chopper control behavior for motors and loads that have differing characteristics.
A P P E N D I X A Parameters Table A-1 provides a summary of all configuration parameters. See “Parameter Descriptions” on page 27 for more information. Table A-1. Parameter Configuration Summary Parameter Name Units Range Default Motor Running Configuration Parameters Target Position PARAM_TARGET_POS whole...
Motor Running Configuration Target Position Units Range Default PARAM_TARGET_POS whole steps -8388608–8388607 This parameter indicates the target position which is represented internally as a signed 24-bit number. It starts at position 0 and can run to the positive maximum or negative minimum of the range.
Stellaris® Stepper Motor RDK User’s Manual Deceleration Units Range Default PARAM_DECEL steps/sec 100–60000 60000 This parameter is the rate at which the motor decelerates from the target speed to stop at the target position. Typically, the motor can decelerate faster than accelerate since the load and friction are working to help decelerate the motor.
Drive Current Units Range Default PARAM_DRIVE_CURRENT 100–3000 1500 This parameter sets the current level in the winding when the motor is running. If the Chopper mode is used, then the chopper switches the voltage to the winding off and on in order to maintain this current level.
Stellaris® Stepper Motor RDK User’s Manual Closed-loop PWM mode combines the features of Chopper and Open-loop PWM modes. Closed loop PWM mode uses a programmed PWM duty cycle to set the current. However, the current is also measured each time a PWM pulse is applied, and the duty cycle is adjusted to compensate for variation in the measured current compared to desired drive current.
Page 33
A P P E N D I X B Schematics This section contains the schematics for the LM3S1968 Evaluation Board: Contents Page on page 34 Microcontroller on page 35 Driver - Coil A on page 36 Driver - Coil B on page 37 Power Supplies and USB on page 38 November 4, 2009...
Page 34
Contents Page History Revision Date Description U_Stepper Microcontroller U_Stepper Ph A Drive Jan 17, 07 First Full Release Stepper Microcontroller.SchDoc Stepper Ph A Drive.SchDoc Feb 07, 07 Change USB device to bus power. Feb 09, 07 First Production Revision Jul 10, 07 Change C18, C19, C31, C32 to no-populate U_Stepper Ph B Drive U_Stepper Power Supplies...
Page 45
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
Need help?
Do you have a question about the Stellaris and is the answer not in the manual?
Questions and answers