TRINAMIC TMCM-1210 Instructions

Page 1
MODULES FOR STEPPER MOTORS MODULES
Hardware Version V 1.10
HARDWARE MANUAL
+ +
1-Axis stepper
controller/driver max. 0.6A RMS / 24V DC STOP / HOME switch input hall sensor RS485
+ +
TMCM-1210
TRINAMIC Motion Control GmbH & Co. KG Hamburg, Germany
www.trinamic.com
Page 2
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 2
Table of contents
1 Life support policy ....................................................................................................................................................... 3
2 Features ........................................................................................................................................................................... 4
3 Order codes .................................................................................................................................................................... 5
4 Mechanical and Electrical Interfacing ..................................................................................................................... 6
4.1 Dimensions and Mounting Holes ................................................................................................................... 6
4.2 Board mounting considerations ...................................................................................................................... 6
4.3 Connectors ............................................................................................................................................................. 7
4.3.1 Power, RS485 + HOME connector .............................................................................................................. 8
4.3.2 Motor connector............................................................................................................................................. 9
4.4 Power supply ........................................................................................................................................................ 9
4.5 RS485 ..................................................................................................................................................................... 10
5 Motor driver current .................................................................................................................................................. 12
6 On-Board LEDs ............................................................................................................................................................. 13
7 Reset to Factory Default Values ............................................................................................................................. 13
8 EMC considerations .................................................................................................................................................... 14
9 Operational Ratings ................................................................................................................................................... 15
10 Functional Description .............................................................................................................................................. 16
11 Revision History .......................................................................................................................................................... 17
11.1 Document revision ............................................................................................................................................ 17
11.2 Hardware revision ............................................................................................................................................. 17
12 References..................................................................................................................................................................... 17
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 3
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 3
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 2015, 2016, 2017
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 © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 4
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 4
2 Features
The TMCM-1210 is a highly compact 20mm x 20mm single axis stepper motor controller and driver board with RS485 interface. It has been designed in order to be mounted on the rear side of a NEMA8 (20mm flange size) stepper motor and offers an integrated hall-sensor based encoder IC in addition to a reference switch input for easy homing / search of reference position. The module supports motor currents up to 0.6A RMS and supply voltages up to 24V DC nominal. It is available with standard TMCL firmware and supports stand-alone operation (TMCL programs with auto-start stored on-board) and remote control via RS485 interface.
MAIN CHARACTERISTICS
Motion controller
Motion profile calculation in hardware in real-time Motion controller supports linear and sixPoint™ ramps On the fly alteration of motor parameters (e.g. position, velocity, acceleration) High performance microcontroller (Cortex-M0+) for overall system control and serial communication protocol
handling
Bipolar stepper motor driver
Up to 256 microsteps per full step Highly integrated and highly-efficient operation Dynamic current control stallGuard2™ feature for stall detection
Interfaces
RS485 2-wire communication interface Digital input IN0 (+24V compatible), can be used as reference switch or left and/or right stop switch input,
also
On board hall sensor
Absolute sensor within one motor rotation 12bit / 4096 steps / revolution max. Low-cost sensor - suitable for low velocity applications (few hundred rpm) – e.g. initial reference search
(together with HOME sensor input) after power-up
Software
TMCL™ remote (direct mode) and standalone operation with memory for up to 876 TMCL commands Fully supported by TMCL-IDE (PC based integrated development environment)
Electrical data
Supply voltage: +7V… +30V DC Motor current: up to 0.7A RMS (programmable)
Mechanical data
Board size: 20mm x 20mm, overall height 9mm max. (without mating connectors and cables) Mounting holes compatible with NEMA 8 stepper motors (for mounting the board to the rear side of a NEMA
8 stepper motor using two of the four existing screw)
Please see separate TMCM-1210 Firmware Manual for additional information regarding firmware functionality and TMCL programming.
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 5
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 5
Order code
Description
Size of unit
TMCM-1210
1-Axis stepper controller / driver, 0.6A RMS, 24V DC
20mm x 20mm x 9mm
Order code
Description
TMCM-1210-CABLE
Cable loom for TMCM-1210. Contains (see chapter 4.3, also):
- 1x cable loom for Power, RS485 and HOME connector
- 1x cable loom for Motor connector
3 Order codes
The TMCM-1210 is available as:
A cable loom set is available for this module, also:
Table 3.2: Cable loom order code
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 6
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 6
20mm
18mm
2mm
PCB
20mm
2mm
18mm
2.1mm
2x
4 Mechanical and Electrical Interfacing
4.1 Dimensions and Mounting Holes
The dimensions of the board are approx. 20mm x 20mm x 9 mm in order to fit on the back side of a 20mm (NEMA8) stepper motor. Maximum component height (height above PCB level) without mating connectors is around 6mm above PCB level and 2 mm below PCB level. There are two mounting holes for M2 screws for mounting to a NEMA8 stepper motor.
Figure 4.1 Dimensions of TMCM-1210 and position of mounting holes (with comparison of size)
4.2 Board mounting considerations
The TMCM-1210 offers two metal plated mounting holes. Both mounting holes are connected to power supply ground. Please keep this in mind when mounting the board to the rear side of a motor.
Figure 4.2: Example of TMCM-1210 mounted to NEMA 8 stepper motor
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 7
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 7
4
1
1 5
Power, RS485 + HOME connector
HOME5
RS485+
RS485-3
4
VDD
GND1
2
IN0STOP_L / STOP_R
Motor connector
OA1
OA23
4
OB1
OB21
2
Label
Connector type
Mating connector type
Power, RS485 + HOME connector
JST B5B-PH-K-S (JST PH series, 5pins, 2mm pitch)
Connector housing: JST PHR-5 Contacts: JST SPH-002T-P0.5S Wire: 0.22mm2, AWG 24
Motor connector
JST B4B-PH-K-S (JST PH series, 4pins, 2mm pitch)
Connector housing: JST PHR-4 Contacts: JST SPH-002T-P0.5S Wire: 0.22mm2, AWG 24
4.3 Connectors
The TMCM-1210 offers two connectors including the motor connector which is used for attaching the motor coils to the electronics. The Power, RS485 and HOME connector is used for power supply, RS485 serial wire communication and offers one digital input.
Figure 4.2 Overview connectors
Overview of connectors and mating connectors types:
Table 4.1: Connectors and mating connectors, contacts and applicable wire
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 8
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 8
5 1
Pin
Label
Direction
Description
1
GND
Power (GND)
Supply and signal ground
2
VCC
Power (Supply in)
Power supply input
3
RS485-
Bi-directional
RS485 2-wire bus interface, diff. signal (inverting)
4
RS485+
Bi-directional
RS485 2-wire bus interface, diff. signal (non­inverting)
5
HOME
Input
Digital input (accepts +24V signals), internal 10k pull­down resistor Can be used as:
HOME switch input
GAP 9, 0 // home switch status
STOP_L / STOP_R input
GAP 10, 0 // right limit switch status GAP 11, 0 // left limit switch status
General purpose digital input 0 (IN0)
GIO 0, 0 // IN0
CAUTION
Always keep the power supply voltage (VDD) below the upper limit of 30V! Otherwise the driver electronics will be seriously damaged. Especially, when the selected operating voltage is near the upper limit a regulated power supply is highly recommended.
4.3.1 Power, RS485 + HOME connector
The module offers one combined power, RS485 2-wire serial communication and digital input (HOME) connector (JST PH series).
Table 4.2: Power, RS485 + IN0 connector
Please note:
- RS485: there is no line termination etc. on-board. Please ensure proper RS485 cabling and line
termination.
- HOME / digital input IN0: input offers pull-down resistor, input series resistor and protection diodes.
This way input is protected for voltages up-to nom. +24V. The pull-down resistors also ensure a valid (low) level when left unconnected.
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 9
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 9
14
Pin
Label
Direction
Description
1
OA1
Output
Pin 1 of motor coil A
2
OA2
Output
Pin 2 of motor coil A
3
OB1
Output
Pin 1 of motor coil B
4
OB2
Output
Pin 2 of motor coil B
CAUTION
Do not connect or disconnect motor while driver stage is active and supplies current to the motor as this might permanently damage the driver stage!
CAUTION
Add external power supply capacitors!
It is recommended to connect an electrolytic capacitor of significant size (e.g. 470µF/35V) to the power supply lines next to the TMCM-1210!
Rule of thumb for size of electrolytic capacitor: c = 1000
μF
A
× I
SUPPLY
In addition to power stabilization (buffer) and filtering this added capacitor will also reduce any voltage spikes which might otherwise occur from a combination of high inductance power supply wires and the ceramic capacitors. In addition it will limit slew-rate of power supply voltage at the module. The low ESR of ceramic­only filter capacitors may cause stability problems with some switching power supplies.
Do not connect or disconnect motor during operation!
Motor cable and motor inductivity might lead to voltage spikes when the motor is disconnected / connected while energized. These voltage spikes might exceed voltage limits of the driver MOSFETs and might permanently damage them. Therefore, always disconnect power supply before connecting / disconnecting the motor.
Keep the power supply voltage below the upper limit of 30V!
Otherwise the driver electronics will seriously be damaged! Especially, when the selected operating voltage is near the upper limit a regulated power supply is highly recommended. Please see also chapter 7, operating values.
No reverse polarity protection! The module will short any reversed supply voltage due to internal diodes of the driver transistors.
4.3.2 Motor connector
As motor connector a 4pin JST EH-series 2.5mm pitch single row connector is available. The motor connector is used for connecting the four motor wires of the two motor coils of the bipolar stepper motor to the electronics.
Table 4.4: Motor connector
4.4 Power supply
For proper operation care has to be taken with regard to power supply concept and design. Due to space restrictions the TMCM-1210 includes just about 20µF/35V of supply filter capacitors. These are ceramic capacitors which have been selected for high reliability and long life time.
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 10
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 10
c:>
node
1
node
n
- 1
node
n
Host
Slave Slave Slave
RS485
termination
resistor
(120 Ohm)
termination
resistor
(120 Ohm)
}
keep distance as short as possible
4.5 RS485
For remote control and communication with a host system the TMCM-1210 provides a two wire RS485 bus interface. For proper operation the following items should be taken into account when setting up an RS485 network:
1. BUS STRUCTURE:
The network topology should follow a bus structure as closely as possible. That is, the connection between each node and the bus itself should be as short as possible. Basically, it should be short compared to the length of the bus.
Figure 4.6: Bus structure
2. BUS TERMINATION:
Especially for longer busses and/or multiple nodes connected to the bus and/or high communication speeds, the bus should be properly terminated at both ends. The TMCM-1210 does not integrate any termination resistor. Therefore, 120 Ohm termination resistors at both ends of the bus have to be added externally.
3. NUMBER OF NODES:
The RS485 electrical interface standard (EIA-485) allows up to 32 nodes to be connected to a single bus. The bus transceiver used on the TMCM-1210 unit (SN65HVD3085E) has a significantly reduced bus load and allow a maximum of 255 units to be connected to a single RS485 bus using TMCL firmware. Please
note: usually it cannot be expected to get reliable communication with the maximum number of nodes connected to one bus and maximum supported communication speed at the same time. Instead, a compromise has to be found between bus cable length, communication speed and number of nodes.
4. COMMUNICATION SPEED:
The maximum RS485 communication speed supported by the TMCM-1210 hardware is 1Mbit/s. Factory default is 9600 bit/s. Please see separate TMCM-1210 TMCL firmware manual for information regarding other possible communication speeds below the upper limit in hardware.
5. NO FLOATING BUS LINES:
Avoid floating bus lines while neither the host/master nor one of the slaves along the bus line is transmitting data (all bus nodes switched to receive mode). Floating bus lines may lead to communication errors. In order to ensure valid signals on the bus it is recommended to use a resistor network connecting both bus lines to well defined logic levels.
There are actually two options which can be recommended: Add resistor (Bias) network on one side of the bus, only (120R termination resistor still at both ends):
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 11
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 11
node
n - 1
node
n
Slave Slave
termination
resistor
(120R)
+5V
GND
pull-up (680R)
pull-down (680R)
RS485- / RS485B
termination
resistor
(120R)
RS485+ / RS485A
node
n - 1
node
n
Slave Slave
termination
resistor
(220R)
+5V
GND
pull-up (390R)
pull-down (390R)
RS485- / RS485B
RS485+ / RS485A
termination
resistor
(220R)
+5V
GND
pull-up (390R)
pull-down (390R)
Figure 4.7: Bus lines with resistor (Bias) network on one side, only
Or add resistor (Bias) network at both ends of the bus (like Profibus™ termination):
Figure 4.8: Bus lines with resistor (Bias) network at both ends
Certain RS485 interface converters available for PCs already include these additional resistors (e.g. USB-2­485 with bias network at one end of the bus).
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 12
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 12
Motor current setting in software (TMCL)
These are the values for TMCL axis parameter 6 (motor run current) and 7 (motor standby current). They are used to set the run / standby current using the following TMCL commands:
SAP 6, 0, <value> // set run current
SAP 7, 0, <value> // set standby current
(read-out value with GAP instead of SAP. Please see separate TMCM-1210 firmware manual for further information)
Motor current I
RMS
[A]
Resulting motor current based on motor current setting
Motor current
setting in
software (TMCL)
Motor
current
I
COIL_PEAK
[A]
Motor
current
I
COIL_RMS
[A]
0..7
0.033
0.023
8..15
0.066
0.047
16..23
0.099
0.070
24..31
0.132
0.094
32..39
0.165
0.117
40..47
0.199
0.140
48..55
0.232
0.164
56..63
0.265
0.187
64..71
0.298
0.211
72..79
0.331
0.234
80..87
0.364
0.257
88..95
0.397
0.281
96..103
0.430
0.304
104..111
0.463
0.328
112..119
0.496
0.351
120..127
0.529
0.374
128..135
0.563
0.398
136..143
0.596
0.421
144..151
0.629
0.445
152..159
0.662
0.468
160..167
0.695
0.491
168..175
0.728
0.515
176..183
0.761
0.538
184..191
0.794
0.562
192..199
0.827
0.585
200..207
0.860
0.608
208..215
0.893
0.632
216..223
0.926
0.655
224..231
0.960
0.679
232..239
0.993
0.702
240..247
1.026
0.725
248..255
1.059
0.749
5 Motor driver current
The on-board stepper motor driver operates current controlled. The driver current may be programmed in software with 32 effective scaling steps in hardware.
Explanation of different columns in table below:
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 13
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 13
Status
Label
Description
Heartbeat
Run
This green LED flashes slowly during operation.
GREEN LED
6 On-Board LEDs
The board offers one LED in order to indicate board status. The function of the LED is dependent on the firmware version. With standard TMCL firmware the green LED should be flashing slowly during operation.
BEHAVIOR OF LEDS WITH STANDARD TMCL FIRMWARE
Figure 6.1 On-board LED
7 Reset to Factory Default Values
In order to reset all settings (e.g. incl. address and RS485 baud rate) to factory default values please follow instruction sequence below:
1. Switch OFF power supply.
2. Short programming pads on bottom of PCB as shown in figure 7.1.
3. Switch ON power supply (on-board LED should start flashing fast).
4. Switch OFF power supply.
5. Remove short circuit.
Figure 7.1 Reset to factory default values (bottom view of pcb)
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 14
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 14
8 EMC considerations
The TMCM-1210 contains ferrite beads on-board in line with the positive supply input and all 4 motor windings connections in addition to filter capacitors.
Tests have shown that it is possible to meet Class B emission standards using the bare TMCM-1210 (motor and power connected) with the motor running slowly at maximum current (0.7A RMS) and +24V supply voltage without additional / external filters.
Figure 8.1: Setup with TMCM-1210 and attached motor (motor rotating slowly @ 0.7A RMS / 24V supply, stand­alone mode using on-board TMCL-autostart-program)
Figure 8.2: measurement results (example)
Please note that these measurement results using a bare TMCM-1210 unit with only motor and power supply connected do not imply any guarantee for a complete system with one or more integrated TMCM-1210 with meeting any emission limits.
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 15
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 15
Symbol
Parameter
Min
Typ
Max
Unit
VDD
Power supply voltage for operation
6
12…24
30
V
I
COIL_peak
Motor coil current for sine wave peak (chopper regulated, adjustable via software)
0 1
A I
COIL_RMS
Continuous motor current (RMS)
0 0.7
A
IDD
Power supply current
<< I
COIL
1.4 * I
COIL
A
T
ENV
Environment temperature at rated current (0.6A RMS) and rated voltage (+24V) (no forced cooling required)
-30 +40
°C
Symbol
Parameter
Min
Typ
Max
Unit
V
HOME
Input voltage for HOME/STOP_L/STOP_R/IN0
0 +30
V
V
HOME_LOW
Low level voltage for HOME/STOP_L/STOP_R/IN0 (digital input)
0 2 V V
HOME_HIGH
High level voltage for HOME/STOP_L/STOP_R/IN0 (digital input)
4.6 +30
V
Symbol
Parameter
Min
Typ
Max
Unit
N
RS485
Number of nodes connected to single RS485 network
255
f
RS485
Maximum bit rate supported on RS485 connection
9600
1000000
bit/s
9 Operational Ratings
The operational ratings show the intended or the characteristic ranges and should be used as design values.
In no case shall the maximum values be exceeded!
Table 9.1 General operational ratings of module
OPERATIONAL RATINGS OF HOME SWITCH
Table 9.2 Operational ratings of HOME + STOP switches / IN0 inputs
OPERATIONAL RATINGS OF RS485 INTERFACE
Table 9.3: Operational ratings of RS485 interface
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 16
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 16
728.5V DC
ARM
Cortex-M0+
TM
microcontroller
TMCL™
Memory
Step
Motor
RS485
Energy Efficient
Driver
TMC262
TMC2130
Bipolar
stepper
motor
controller +
driver
TMCM-1210
I2C
VREG
+5V
SPI
Input
Hall
Encoder
I2C
A/B
+3V3
10 Functional Description
The TMCM-1210 is a highly integrated controller/driver module which can be controlled via several serial interfaces. Communication traffic is kept low since all time critical operations (e.g. ramp calculations) are performed on board. The nominal supply voltage of the unit is 12V or 24V DC. The module is designed for both, standalone operation and direct mode. Full remote control of device with feedback is possible. The firmware of the module can be updated via the RS485 serial interfaces.
In Figure 10.1 the main parts of the TMCM-1210 are shown:
microprocessor, which runs the TMCL operating system (connected to TMCL memory), motion controller (part of TMC2130), which calculates ramps and speed profiles internally by hardware, driver (part of TMC2130) with stallGuard2 and its energy efficient coolStep™ feature and stealthChop™
for extremely quiet operation
hall sensor based encoder which delivers position feedback at low speed (few 100rpm max.) – can be
used for reference search e.g. after power-up
Figure 10.1 Main parts of the TMCM-1210
The TMCM-1210 comes with the PC based software development environment TMCL-IDE for the Trinamic Motion Control Language (TMCL). Using predefined TMCL high level commands like move to position a rapid and fast development of motion control applications is guaranteed.
Please refer to the TMCM-1210 TMCL Firmware Manual for more information about TMCL commands.
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Page 17
TMCM-1210 Hardware Manual (V0.91 / 2017-SEP-04) 17
Version
Date
Author
Description
0.90
2016-APR-14
GE
Initial version
0.91
2017-SEP-04
GE
Typos corrected
Version
Date
Description
TMCM-1210_V10
2014-DEC-17
Initial version
TMCM-1210_V11
2015-JUN-25
External digital input connected to REFL/REFR of TMC2130.
/RESET input of processor not connected (used for programming, only)
/CS and SCK connection between processor and TMC2130
corrected (signals exchanged)
Footprint of protection diode for external digital input
corrected
11 Revision History
11.1 Document revision
Table 11.1: Document revision
11.2 Hardware revision
Table 11.2: Hardware revision
12 References
[JST] JST connector http://www.jst.com [TMC2130] TMC2130 datasheet Manual available on http://www.trinamic.com [TMCL-IDE] TMCL-IDE User Manual Manual available on http://www.trinamic.com.
Copyright © 2015, 2016, 2017 TRINAMIC Motion Control GmbH & Co. KG
Loading...