Trinamic TMCM 142 Stepper motor controller Hardware Manual
Below you will find brief information for Stepper motor controller TMCM 142. The TMCM-142 is a high-performance single axis stepper motor controller/driver with encoder feedback. It offers an aluminum U-shaped profile for protection and easy mounting. The integrated TMC457 motion controller provides superior performance with regard to microstep resolution (up-to 1024), maximum velocity (integrated chopSync™), ramp calculation (S-shaped ramps, calculated in real-time) and encoder feedback support (closing the loop in hardware with PID regulator). The driver stage supports motors with up-to 5A RMS coil current and offers exceptional low power dissipation. Together with the TMCM-IF standard add-on interface/adapter board a large number of interface options is available.
advertisement
Assistant Bot
Need help? Our chatbot has already read the manual and is ready to assist you. Feel free to ask any questions about the device, but providing details will make the conversation more productive.
TMCM-142
Hardware Manual
Version: 1.00
February 10, 2009
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D - 20 357 Hamburg, Germany
Phone +49-40-51 48 06 - 0
FAX: +49-40-51 48 06 - 60 http://www.trinamic.com
TMCM-142 Manual (V1.00/February 10, 2009)
Table of Contents
1 Life support policy ....................................................................................................................................................... 3
2 Features........................................................................................................................................................................... 4
3 Order codes .................................................................................................................................................................... 5
4 Mechanical and electrical interfacing ..................................................................................................................... 6
4.1
Size of unit ........................................................................................................................................................... 6
4.2
Connectors ............................................................................................................................................................ 7
4.3
Connecting the module .................................................................................................................................... 7
4.4
Base connector 1: power supply and motor connection ....................................................................... 8
4.4.1
Base connector 2: USB, RS232, CAN and SPI ................................................................................... 8
4.4.2
Base connector 3: I/Os ............................................................................................................................ 9
5 Functional description .............................................................................................................................................. 10
5.1
TMCM-IF add-on board .................................................................................................................................... 10
5.2
System architecture (base) ............................................................................................................................. 10
5.2.1
Microcontroller (ARM7) .......................................................................................................................... 10
5.2.2
TMCL/configuration EEPROM ................................................................................................................ 11
5.2.3
TMC457 motion controller ................................................................................................................... 11
5.2.4
TMC239 motor driver ............................................................................................................................. 11
5.3
Power supply requirements........................................................................................................................... 11
5.4
Communication interfaces .............................................................................................................................. 12
5.5
Encoder interface .............................................................................................................................................. 12
5.6
Reference switches ........................................................................................................................................... 12
6 Operational ratings .................................................................................................................................................... 13
7 Revision history .......................................................................................................................................................... 14
7.1
Documentation revision .................................................................................................................................. 14
7.2
Hardware revision ............................................................................................................................................. 14
8 References .................................................................................................................................................................... 15
2
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009)
1 Life support policy
TRINAMIC Motion Control GmbH & Co. KG does not authorize or warrant any of its products for use in life support systems, without the specific written consent of TRINAMIC
Motion Control GmbH & Co. KG.
Life support systems are equipment intended to support or sustain life, and whose failure to perform, when properly used in accordance with instructions provided, can be reasonably expected to result in personal injury or death.
© TRINAMIC Motion Control GmbH & Co. KG 2009
Information given in this data sheet is believed to be accurate and reliable. However neither responsibility is assumed for the consequences of its use nor for any infringement of patents or other rights of third parties, which may result from its use.
Specifications are subject to change without notice.
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
3
TMCM-142 Manual (V1.00/February 10, 2009)
2 Features
The TMCM-142 is a high-performance single axis stepper motor controller/driver with encoder feedback. It offers an aluminum U-shaped profile for protection and easy mounting. The integrated
TMC457 motion controller provides superior performance with regard to microstep resolution (up-to
1024), maximum velocity (integrated chopSync™), ramp calculation (S-shaped ramps, calculated in realtime) and encoder feedback support (closing the loop in hardware with PID regulator). The driver stage supports motors with up-to 5A RMS coil current and offers exceptional low power dissipation.
Together with the TMCM-IF standard add-on interface/adapter board a large number of interface options is available.
Applications
Compact high-resolution/high-performance stepper motor controller/driver solutions
Smooth movements with high microstep resolution and S-shaped ramps
High precision and high repeatability with encoder feedback and PID position regulator
Electrical data
Supply voltage: +18V… +78.5V DC
Motor current: up-to 7A peak / 5A RMS (programmable)
Supported motors
Two phase bipolar motors with 1A to 5A RMS coil current
Incremental encoder (a/b + optional index channel, differential, open-collector or single ended signals)
Interfaces
Optically isolated inputs for home and stop switches
general purpose analogue and digital inputs and outputs
RS422, RS232, CAN and USB serial interfaces available
RS422, RS485, RS232, CAN or USB serial interfaces available on standard add-on interface board
TMCM-IF
Features
1024 times micro stepping
Automatic ramp generation (trapezoid and S-shaped) in real-time in hardware
On the fly alteration of motion parameters (e.g. position, velocity, acceleration)
Uses TMC457 high performance controller
chopSync™ for high speed
High-efficient operation, low power dissipation
Integrated protection: overtemperature/undervoltage
Software
Stand-alone operation using TMCL or remote controlled operation
Memory for 2048 TMCL commands
PC-based application development software TMCL-IDE included
CANopen ready
4
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009)
3 Order codes
The TMCM-142 is currently available with the standard adapter/interface add-on board TMCM-IF:
Order code Description Dimensions [mm 3 ]
TMCM-142-IF Single axis stepper motor controller/driver,
5A RMS, 75V, with encoder feedback and the standard adapter/interface board TMCM-IF
76x70x33
Table 3.1: Order codes
5
Figure 3.1: TMCM-142-IF: TMCM-142 baseboard with TMCM-IF standard adapter/interface board
Versions without the standard adapter/interface board TMCM-IF (just the baseboard) or custom interface boards are available on request.
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009)
4 Mechanical and electrical interfacing
4.1 Size of unit
Front view Side view
Adapter connector
Adapter connector
70,00
75,99
8,00
13,00
70,00
Top view
6
For base board screws
cir cu it b oa rd
:
4
(4 x)
Figure 4.1: Dimensions
The maximum height of the base board is 28mm including capacitors.
In combination with the standard add-on adapter/interface board TMCM-IF the overall height will increase to 33mm. Additional space might be required for connectors being attached.
For mounting the unit on a base plate use four M4 screws. Please avoid using screws with a head diameter of more than 7mm as this might damage the electronics on the base board.
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 7
4.2 Connectors
The following connectors are available:
Connector 1: 1x8 pin, 5mm pitch screw connector
Connector 2: 2x7 pin, 2.54mm pitch, two row female header connector
Connector 3: 2x17 pin, 2.54mm pitch, two row female header connector
For the TMCM-IF add-on board please check separate standard adapter/interface board
documentation [TMCM-IF].
4.3 Connecting the module
The TMCM-142-IF module consists of two PCBs, the TMCM-142 base board and the standard TMCM-IF adapter/interface add-on board.
Attention: Never connect or disconnect base and adapter board while the unit is powered on!
Connector 3
Connector 2
Pin 1
Base
Pin 1
USB
Pin 1
Standard adapter
Pin 1
Terminal 1
Connector 1
Terminal1
GND +V B2 B1 A2 A1
Figure 4.2: Connectors of the TMCM-142
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 8
4.4 Base connector 1: power supply and motor connection
Attention: Never connect or disconnect the motor while the unit is powered on!
1 Pin Label Description
8
1
2
3
4
5
6
7
8
NC
NC
GND
+V
B 2
B 1
A 2
A 1
Not connected
Not connected
Supply ground
Supply Voltage
Motor connection, Coil B
Motor connection, Coil B
Motor connection, Coil A
Motor connection, Coil A
Table 4.1: Base connector 1 - power supply and motor connection
4.4.1 Base connector 2: USB, RS232, CAN and SPI
2 1
Pin Label Description Pin Label Description
1
3
USB+
USB-
Positive USB line
Negative USB line
2 USB_MON
4 USB_PU
Input for monitoring USB
+5V supply
Output for activating USB pull-up resistor
14 13
5 RS232_RxD
7
9
11
13
CANH
CANL
GND
+5V
RS232 receive data input
Positive CAN line
Negative CAN line
Ground
+5V supply output
6 RS232_TxD RS232 transmit data output
8 SPI_MISO SPI input
10 SPI_MOSI SPI output
12 SPI_CLK
14 CS_EXT
Clock output
Chip select output line
External SPI
Interface for GPI/O
extensions
Table 4.2: Base connector 2 – USB, RS232, CAN and SPI
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 9
4.4.2 Base connector 3: I/Os
2
34
1
33
Pin Name
1 TX-
3 RX-
5
7 REF R
9 OUT_2
11 IN8
13 IN3_A/D
15 +5V
17 OUT_1
19 REF L
21 IN4
23 IN9
25 IN6
27 ALARM
29 ENC_N+
31 FS
33 ENC_B+
Function
RS422 transmit data out –
RS422 Receive data in –
Optically isolated, active low limit switch input “Right”
User controlled output #2.
No internal resistors.
PIN Name
2 TX+
4 RX+
6
8
IN1_A/D
STEP_
OUT/RXD
10
DIR_OUT/T
XD
Function
RS422 transmit data out +
RS422 Receive data in +
Analog user controlled input #1. No internal resistors.
Step clock output from indexer
RS232 option: RS232 receive
Direction output from indexer.
RS232 option: RS232 transmit
Digital user controlled input
#8. Optically isolated, active low (needs power supply on pin 15)
Analog user controlled input
#3. No internal resistors.
DC bias for input optocouplers
User controlled output #1.
No internal resistors.
Optically isolated, active low limit switch input “Left”
Digital user controlled input
#4. No internal resistors.
(TTL)
Digital user controlled input
#9. Optically isolated, active low
(power supply on pin 15)
Digital user controlled input
#6. No internal resistors.
(TTL)
High voltage open collector output indicating driver fault condition.
Encoder option:
Single ended: Channel N input
Differential: Channel N+ input
Active for one clock pulse at each on-pole fullstep position.
Encoder option:
Single ended: Channel B input
Differential: Channel B+ input
12 ENC_A-
14 ENC_B-
16 +5VDC
18 ENC_N-
20 GND
22 OUT_3
24
26 IN2_A/D
28
30 IN7
32 IN5
34 ENC_A+
Table 4.3: Base connector 3 - I/Os
Differential encoder:
Channel A- input
Differential encoder:
Channel B- input
Supply voltage output for encoder
Differential encoder:
Channel N- input
Logic supply ground connection
User controlled output #3.
No internal resistors.
Analog user controlled input #2. No internal resistors.
Digital user controlled input
#7. No internal resistors.
(TTL)
Digital user controlled input
#5. No internal resistors.
(TTL)
Encoder option:
Single ended: Channel A input
Differential: Channel A+ input
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 10
5 Functional description
In Figure 5.1 the main parts of the TMCM-142 module are shown. The module mainly consists of an
ARM7 microcontroller, the TMC457 motion controller, the TMC239 stepper motor driver, the configuration and TMCL program memory (EEPROM) and the host interfaces (CAN, USB, RS232 or
RS422).
Switch
RS422 RS232 RS485 USB
TMCM-IF add-on board
REF-Switches
ABN
CAN USB RS232 RS422
TMCM-142
I/Os
ARM7 progammable
Motion
Controller
TMC 457 high power
Driver
TMC239
Encoder
Interface
MOSFET
Driver
Stage
5V Power Supply
18… 78.5V DC
TMCL
Memory
Figure 5.1: Main parts of TMCM-142 with TMCM-IF
Encoder
Step
Motor
5.1 TMCM-IF add-on board
The TMCM-IF standard adapter/interface board supports easy access via standard connectors to many of the signals available on the two row female headers on the TMCM-142 baseboard. The standard adapter board provides four interface variants: RS422, RS232, CAN, RS485, and USB. All interfaces can be configured via on-board dip switches. Furthermore, it offers 14 easily accessible I/Os (limit switches, encoder interface, etc). Please refer to the documentation of the TMCM-IF for more information.
5.2 System architecture (base)
The TMCM-142 contains an ARM7 microcontroller for communication protocol handling and overall system control. All motion control real-time tasks are processed by the TMC457 in hardware.
5.2.1 Microcontroller (ARM7)
The flash memory of the ARM7 microcontroller contains a bootloader and the firmware itself. While the bootloader normally remains untouched throughout the lifetime of the unit, the firmware might be updated using one of the serial communication interfaces. The firmware might contain e.g. the
TMCL interpreter or the CANopen software.
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 11
5.2.2 TMCL/configuration EEPROM
For storing TMCL programs for stand-alone operation the TMCM-142 is equipped with a 16kByte
EEPROM attached to the microcontroller. The EEPROM can store TMCL programs consisting of up-to
2048 TMCL commands. In addition, the EEPROM might be used for storing configuration data (also with other firmware options e.g. CANopen).
5.2.3 TMC457 motion controller
The TMC457 is a high-end single axis micro stepping motion controller for 2-phase bipolar stepper motors. It is intended for applications, where a precise and fast, jerk-free motion profile is desired.
The TMC457 supports linear and S-shaped velocity ramps. Its chopSync™ feature allows high speed movement avoiding resonances. An encoder can be added for extremely quick and precise positioning
(using the internal hardware PID regulator easyPID™) and for increased reliability/fault detection. For a maximum flexibility you can change all motion control parameters (target position, target velocity, acceleration, deceleration and bow) on-the-fly at any time during motion.
Parameters for ramp generation
N nom
V nom
A nom
D nom
B
: number of steps
: max. velocity
: max. acceleration
: max. deceleration
: increase of acceleration (bow)
A nom reached
V nom reached
N nom reached
-bow v nom
-bow a nom
-d nom bow bow ramp phase 1 2 3 4 5 6 7 time t
Figure 5.2: Parameters for ramp generation
5.2.4 TMC239 motor driver
The stepper motor driver used on the TMCM-142 is the TMC239 smart high current microstepping driver for bipolar stepper motors. It offers diagnostics
5.3 Power supply requirements
The TMCM-142 is equipped with two switching voltage regulators and a number of linear regulators for generating the required on-board voltages of the module. Therefore, only one power supply voltage is required for this module. A supply voltage between 18 to 78.5V DC may be supplied to the module.
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 12
Please note, that there is no protection against reverse polarity or voltages above the upper maximum limit. The power supply typically should be within a range of 24 to 75V to achieve the
highest motor performance.
When using supply voltages near the upper limit, a regulated power supply is mandatory. Please ensure, that enough power filtering capacitors are available in the system (2200µF or more recommended) in order to absorb mechanical energy fed back by the motor in stalling conditions. In larger systems a zener diode circuitry might be required in order to limit the maximum voltage when the motor is operated at high velocities.
The power supply should be designed in a way, that it supplies the nominal motor voltage at the desired maximum motor power. In no case shall the supply value exceed the upper voltage limit.
To ensure reliable operation of the unit, the power supply has to have a sufficient output capacitor and the supply cables should have a low resistance, so that the chopper operation does not lead to an increased power supply ripple directly at the unit. Power supply ripple due to the chopper operation should be kept at a maximum of a few 100mV.
Guidelines for power supply: a) keep power supply cables as short as possible b) use large diameters for power supply cables c) add 2200µF or larger filter capacitors near the motor driver unit especially if the distance to the power supply is large (i.e. more than 2-3m)
5.4 Communication interfaces
The TMCM-142 offers the following serial communication interfaces: CAN, USB, RS232 and RS422. With the standard adapter/interface board an additional RS485 interface is provided. Please check the TMCM-
IF manual for additional information.
5.5 Encoder interface
The TMCM-142 provides an interface for single ended incremental encoders with TTL (+5V) outputs, open collector outputs and differential outputs (line termination resistors have to be added externally). Use the encoder inputs A+ ,B+ and (optional) N+ for single ended encoder signals. The other encoder input signals may be left unconnected in that case. The encoder counter can be read by software and can be used to control the exact positioning of the motor. Closed loop operation is possible via the internal PID regulator of the TMC457.
A +5V DC supply voltage is provided for the encoder.
5.6 Reference switches
Two digital reference/stop switch inputs are provided (REF L= stop left and REF R = stop right). They are used as an absolute position reference for homing and to set a hardware limit for the motion range. Also a step loss of the system can be detected, e.g. due to overloading or manual interaction, by using a travel-switch. The inputs are optically isolated, active low, and use TTL levels.
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009) 13
6 Operational ratings
The operational ratings show the intended or the characteristic range of values and should be used as design values.
In no case shall the maximum values be exceeded!
Symbol Parameter Min Type Max Unit
V
DC
18 24 ... 75 78.5 V
I
COIL
Power supply voltage for operation
Motor coil current for sine wave peak (chopper regulated, adjustable via software)
0 0.7 … 6.4 7.1 A
I
MC f
CHOP
I
S
U
+5V
V
ISO
Motor coil current for sine wave
RMS
Motor chopper frequency
Power supply current
+5V output (max. 150mA load)
Isolation voltage of optocoupler
0
4.8
0.5 … 4.5
36
<< I
COIL
5.0
± 42
5.0
1.4 * I
COIL
5.2
±100
A kHz
A
V
V
I
OPTON
Signal current for optocoupler
(internal 220Ohm resistor provided)
4 8 mA
V
ANA
V
INLO
INx_A/D analog measurement range
-2
0 ... 5 or
3.3
0 0.8
V
V
V
INHI
Input low level
Input high level (integrated pull-up to +5V)
2.4 5 30 V
T
ENV
Environment temperature at rated current (no forced cooling)
Environment temperature at 80 % of rated current or 50% duty cycle
(no forced cooling)
-25
-25
+70
+85
°C
°C
Table 6.1: Operational ratings
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009)
7 Revision history
7.1 Documentation revision
Version
1.00
Date Author
2009-02-10 SD
Description
First Version
Table 7.1: Documentation revision
7.2 Hardware revision
Version
1.00
1.10
Date Description
2008-09-22 First 10 prototypes manufactured
2009-02-10 Series version
Table 7.2: Hardware revision
14
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCM-142 Manual (V1.00/February 10, 2009)
8 References
[TMCM-IF] TMCM-IF manual (see http://www.trinamic.com
)
15
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
advertisement
Key Features
- High-performance stepper motor controller/driver
- Offers an aluminum U-shaped profile for protection and easy mounting
- Integrated TMC457 motion controller
- Supports motors with up-to 5A RMS coil current
- Supports encoder feedback
- Provides superior performance with regard to microstep resolution
- Offers exceptional low power dissipation
- Provides chopSync™ for high speed
- Provides S-shaped ramps
- Provides a large number of interface options
Frequently Answers and Questions
What is the maximum coil current for this stepper motor controller?
What is the maximum supply voltage of this stepper motor controller?
What is the maximum microstep resolution of this stepper motor controller?
Does this stepper motor controller support encoder feedback?
Related manuals
advertisement
Table of contents
- 3 Life support policy
- 4 Features
- 5 Order codes
- 6 Mechanical and electrical interfacing
- 6 Size of unit
- 7 Connectors
- 7 Connecting the module
- 8 Base connector 1: power supply and motor connection
- 8 Base connector 2: USB, RS232, CAN and SPI
- 9 Base connector 3: I/Os
- 10 Functional description
- 10 TMCM-IF add-on board
- 10 System architecture (base)
- 10 Microcontroller (ARM7)
- 11 TMCL/configuration EEPROM
- 11 TMC457 motion controller
- 11 TMC239 motor driver
- 11 Power supply requirements
- 12 Communication interfaces
- 12 Encoder interface
- 12 Reference switches
- 13 Operational ratings
- 14 Revision history
- 14 Documentation revision
- 14 Hardware revision
- 15 References