MODULES FOR STEPPER MOTORS
MODULES
Hardware Version V1.3
HARDWARE MANUAL
+
+
TMCM-1141
1-Axis Stepper
Controller / Driver
24 V DC
up-to 1.1 A / 2A RMS
USB, RS485, and S/D Interface
+
UNIQUE FEATURES
TRINAMIC Motion Control GmbH & Co. KG
Hamburg, Germany
www.trinamic.com
+
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
Table of Contents
1
2
3
Features........................................................................................................................................................................... 3
Order Codes ................................................................................................................................................................... 5
Mechanical and Electrical Interfacing ..................................................................................................................... 6
3.1
Dimensions and Mounting Holes ................................................................................................................... 6
3.2
Connectors of TMCM-1141 ................................................................................................................................. 7
3.2.1 Power and RS485 Connector ..................................................................................................................... 8
3.2.2 Mini-USB Connector .................................................................................................................................... 10
3.2.3 Multipurpose I/O Connector ..................................................................................................................... 11
3.2.4 Step/Direction Connector .......................................................................................................................... 15
3.2.5 Motor Connector .......................................................................................................................................... 16
4
Motor driver current .................................................................................................................................................. 17
5
Reset to Factory Defaults ......................................................................................................................................... 20
6
On-Board LED .............................................................................................................................................................. 20
7
Operational Ratings ................................................................................................................................................... 21
8
Functional Description .............................................................................................................................................. 23
9
TMCM-1141 Operational Description ..................................................................................................................... 24
9.1
Calculation: Velocity and Acceleration vs. Microstep and Fullstep Frequency ................................ 24
10 Life Support Policy ..................................................................................................................................................... 26
11 Revision History .......................................................................................................................................................... 27
11.1 Document Revision ........................................................................................................................................... 27
11.2 Hardware Revision ............................................................................................................................................ 27
12 References .................................................................................................................................................................... 28
www.trinamic.com
2
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
3
1 Features
The TMCM-1141 is a single axis controller/driver module for 2-phase bipolar stepper motors with state of
the art feature set. It is highly integrated, offers a convenient handling and can be used in many
decentralized applications. The module can be mounted on the back of NEMA 17 (42mm flange size)
stepper motors and has been designed for coil currents up to 1.1 A RMS RMS (low current range,
programmable) or 2A RMS (high current range, programmable, new additional range since hardware
version 1.3) and 24V DC supply voltage. With its high energy efficiency from TRINAMIC’s coolStep™
technology cost for power consumption is kept down. The TMCL™ firmware supports remote control (direct
mode) and standalone operation (with TMCL program being executed on the TMCM-1141 itself).
MAIN CHARACTERISTICS
Motion controller
Motion profile calculation in real-time
On the fly alteration of motor parameters (e.g. position, velocity, acceleration)
High performance microcontroller for overall system control and serial communication protocol
handling
Bipolar stepper motor driver
Up to 256 microsteps per full step
High-efficient operation, low power dissipation
Dynamic current control
Integrated protection
stallGuard2 feature for stall detection
coolStep feature for reduced power consumption and heat dissipation
Interfaces
RS485 2-wire communication interface
USB full speed (12Mbit/s) device interface
Step/Direction/Enable interface (optically isolated) for external control of driver circuit
4 multipurpose inputs:
3x general-purpose digital inputs
(Alternate functions: STOP_L / STOP_R / HOME switch inputs)
1x dedicated analog input
2 general purpose outputs
2x open-drain 100 mA max.
Software
TMCL:
standalone operation or remote controlled operation,
program memory (non volatile) for up to 1024 TMCL commands, and
PC-based application development software TMCL-IDE available for free.
Electrical and mechanical data
Supply voltage: +24 V DC nominal (9… 28 V DC)
Motor current: up to 1.1 A RMS / 1.6 A peak (low current range, programmable) or 2A RMS / 2.8A
peak (high current range, programmable, new additional range since hardware version 1.3)
Refer to separate TMCL Firmware Manual, too.
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
4
TRINAMICS UNIQUE FEATURES – EASY TO USE WITH TMCL
stallGuard2™
stallGuard2 is a high-precision sensorless load measurement using the back EMF on the
coils. It can be used for stall detection as well as other uses at loads below those which
stall the motor. The stallGuard2 measurement value changes linearly over a wide range
of load, velocity, and current settings. At maximum motor load, the value goes to zero or
near to zero. This is the most energy-efficient point of operation for the motor.
Load
[Nm]
stallGuard2
Initial stallGuard2
(SG) value: 100%
Max. load
stallGuard2 (SG) value: 0
Maximum load reached.
Motor close to stall.
Motor stalls
Figure 1.1 stallGuard2 load measurement SG as a function of load
coolStep™
coolStep is a load-adaptive automatic current scaling based on the load measurement via
stallGuard2 adapting the required current to the load. Energy consumption can be
reduced by as much as 75%. coolStep allows substantial energy savings, especially for
motors which see varying loads or operate at a high duty cycle. Because a stepper motor
application needs to work with a torque reserve of 30% to 50%, even a constant-load
application allows significant energy savings because coolStep automatically enables
torque reserve when required. Reducing power consumption keeps the system cooler,
increases motor life, and allows reducing cost.
0,9
Efficiency with coolStep
0,8
Efficiency with 50% torque reserve
0,7
0,6
0,5
Efficiency
0,4
0,3
0,2
0,1
0
0
50
100
150
200
250
300
350
Velocity [RPM]
Figure 1.2 Energy efficiency example with coolStep
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
5
2 Order Codes
Order code
TMCM-1141-option
Size (mm3)
Description
Single axis bipolar stepper motor controller / driver electronics with 37 x 37 x 11.5
coolStep feature
Table 2.1 Order codes
The following options are available:
Firmware option
-TMCL
Description
Module pre-programmed with TMCL firmware
Order code example:
TMCM-1141-TMCL
Table 2.2 Firmware options
A cable loom set is available for this module:
Order code
TMCM-1141-CABLE
Description
Cable loom for TMCM-1141:
1x cable loom for power and RS485 connector (length 200mm)
1x cable loom for multi-purpose I/O connector (length 200mm)
1x cable loom for S/D connector (length 200mm)
1x cable loom for motor connector (length 200mm)
1x USB type A connector to mini-USB type B connector cable (length 1.5m)
Table 2.3 Cable loom order codes
Please note that the TMCM-1141 is available with NEMA17 stepper motors, too. Refer to the PD-1141
documents for more information about these products.
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
6
3 Mechanical and Electrical Interfacing
3.1 Dimensions and Mounting Holes
The dimensions of the controller/driver board are approx. 37 mm x 37 mm x 11.5 mm in order to fit on
the back of a 42 mm stepper motor. Maximum component height (height above PCB level) without
mating connectors is around 8mm above PCB level and 2 mm below PCB level. There are two mounting
holes for M3 screws for mounting to a NEMA17 stepper motor.
37
34
3
2xM3
37
3
34
Figure 3.1 Dimensions of TMCM-1141 and position of mounting holes
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
7
3.2 Connectors of TMCM-1141
The TMCM-1141 controller/driver board offers five connectors including the motor connector which is
used for attaching the motor coils to the electronics. Further, there is a connector for power and for the
RS485 interface. The USB interface and the step/direction interface have their own connectors. The 8pin
multipurpose I/O connector offers four multipurpose inputs and two general purpose outputs.
USB
Step /
Direction
4
1
1
Multipurpose
I/O
8
4
1
Motor
5
1
Power and
RS485
Figure 3.2 Overview connectors
Label
Connector type
Mating connector type
Connector housing CVIlux: CI01055000-A
Contacts CVIlux: CI01T011PE0-A
Power and
RS485
Connector
CI0105P1VK0-LF
CVIlux CI01 series, 5 pins, 2mm pitch
or
Connector housing JST: PHR-5
Contacts JST: SPH-002T-P0.5S
Wire: 0.22mm2
Connector housing CVIlux: CI01085000-A
Contacts CVIlux: CI01T011PE0-A
Multi-purpose
I/O Connector
CI0108P1VK0-LF
CVIlux CI01 series, 8 pins, 2mm pitch
or
Connector housing JST: PHR-8
Contacts JST: SPH-002T-P0.5S
Wire: 0.22mm2
Connector housing CVIlux: CI01045000-A
Contacts CVIlux: CI01T011PE0-A
Step/Direction
Connector
CI0104P1VK0-LF
CVIlux CI01 series, 4 pins, 2mm pitch
or
Connector housing JST: PHR-4
Contacts JST: SPH-002T-P0.5S
Wire: 0.22mm2
Connector housing CVIlux: CI01045000-A
Contacts CVIlux: CI01T011PE0-A
Motor
Connector
Mini-USB
Connector
CI0104P1VK0-LF
CVIlux CI01 series, 4 pins, 2mm pitch
Molex 500075-1517
Mini USB Type B vertical receptacle
or
Connector housing JST: PHR-4
Contacts JST: SPH-002T-P0.5S
Wire: 0.22mm2
Any standard mini-USB plug
Table 3.1 Connectors and mating connectors, contacts and applicable wire
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
8
3.2.1 Power and RS485 Connector
A 5pin single row connector is used for power supply and RS485 serial communication.
1
Pin
1
2
3
4
5
5
Label
GND
VDD
GND
RS485+
RS485-
Direction
Power (GND)
Power (Supply)
Power (GND)
Bidirectional
Bidirectional
Description
System and signal ground
VDD (+9 V… +28 V)
System and signal ground
RS485 interface, diff. signal (non-inverting)
RS485 interface, diff. signal (inverting)
Table 3.2 Connector for power supply and RS485
3.2.1.1 Power Supply
For proper operation care has to be taken with regard to power supply concept and design. Due to space
restrictions the TMCM-1141 includes about 40µF/35V of supply filter capacitors. These are ceramic
capacitors which have been selected for high reliability and long life time. The module includes a 24V
suppressor diode for over-voltage protection.
CAUTION!
Add external power supply capacitors!
It is recommended to connect an electrolytic capacitor of significant size (e.g. 1000µF/35V)
to the power supply lines next to the TMCM-1141 especially if the distance to the power
supply is large (i.e. more than 2-3m)! 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.
Rule of thumb for size of electrolytic capacitor: c = 1000
μF
A
× ISUPPLY
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 slewrate of power supply voltage at the module. The low ESR of ceramic-only filter capacitors
may cause stability problems with some switching power supplies.
Keep the power supply voltage below the upper limit of 28V!
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).
There is no reverse polarity protection!
The module will short any reversed supply voltage due to internal diodes of the driver
transistors.
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
9
3.2.1.2 RS485
For remote control and communication with a host system the TMCM-1141 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.
Host
c:>
Slave
Slave
Slave
node
1
node
n-1
node
n
}
termination
resistor
(120 Ohm)
RS485
termination
resistor
(120 Ohm)
keep distance as
short as possible
Figure 3.3: 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-1141
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 transceivers used on the TMCM-1141 units (hardware V1.2: SN65HVD3082ED,
since hardware V1.3: SN65HVD1781D) have 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-1141 is 115200 bit/s for
hardware version 1.2 and 1Mbit/s for hardware version 1.3. Factory default is 9600 bit/s. Please
see separate TMCM-1141 TMCL firmware manual for information regarding other possible
communication speeds.
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):
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
10
Slave
Slave
node
n- 1
node
n
+5V
pull-up (680R)
RS485+ / RS485A
termination
resistor
(220R)
termination
resistor
(120R)
RS485- / RS485B
pull-down (680R)
GND
Figure 3.4: Bus lines with resistor (Bias) network on one side, only
Or add resistor (Bias) network at both ends of the bus (like Profibus™ termination):
+5V
pull-up (390R)
Slave
Slave
node
n- 1
node
n
+5V
pull-up (390R)
RS485+ / RS485A
termination
resistor
(220R)
termination
resistor
(220R)
RS485- / RS485B
pull-down (390R)
pull-down (390R)
GND
GND
Figure 3.5: Bus lines with resistor (Bias) network at both ends
3.2.2 Mini-USB Connector
A 5pin mini-USB connector is available on-board for serial communication (as alternative to the RS485
interface). This module supports USB 2.0 Full-Speed (12Mbit/s) connections.
Pin
1
5
1
2
3
4
5
Label
VBUS
DD+
ID
GND
Direction
Power
(supply input)
Bidirectional
Bidirectional
Power (GND)
Power (GND)
Description
+5V supply from host
USB Data –
USB Data +
Connected to signal and system ground
Connected to signal and system ground
Table 3.3 Connector for USB
For remote control and communication with a host system the TMCM-1141 provides a USB 2.0 full-speed
(12Mbit/s) device interface (mini-USB connector). As soon as a USB host is connected the module will
accept commands via USB.
USB BUS POWERED OPERATION MODE
The TMCM-1141 supports both, USB self powered operation (when an external power is supplied via the
power supply connector) and USB bus powered operation, (no external power supply via power supply
connector).
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
11
During USB bus powered operation the on-board digital core logic will be powered, only. The digital core
logic consists of the microcontroller itself and also the EEPROM. The USB bus powered operation mode
has been implemented to enable configuration, parameter settings, read-outs, firmware updates, etc. by
just connecting an USB cable between module and host PC. No additional cabling or external devices
(e.g. power supply) are required.
Please note that the module might draw current from the USB +5V bus supply even in USB self powered
operation depending on the voltage level of this supply.
Motor movements are not possible during USB bus powered operation! Apply power to the power
connector (USB self powered operation) in order to be able to move the motor.
3.2.3 Multipurpose I/O Connector
An 8pin 2mm pitch single row connector is available for all multipurpose inputs and outputs.
Pin
1
1
8
Label
GND
Direction
Power (GND)
2
VDD
Power (Supply)
3
OUT_0
Output
4
OUT_1
Output
5
IN_0
Input
6
IN_1
Input
7
IN_2
Input
8
IN_3
Input
Description
System and signal ground
VDD, connected to VDD pin of the power and
RS485 connector
Open-drain output (max. 100 mA)
Integrated freewheeling diode to VDD
Open-drain output (max. 100 mA)
Integrated freewheeling diode to VDD
Dedicated analog input,
Input voltage range: 0… +10V
Resolution: 12bit (0… 4095)
General purpose digital input (+24 V compatible)
Alternate function: left stop switch input
General purpose digital input (+24 V compatible)
Alternate function: right stop switch input
General purpose digital input (+24 V compatible)
Alternate function: home switch input
Table 3.4 Multipurpose I/O connector
Note:
All inputs have resistor based voltage input dividers with protection diodes. These
also ensure a valid GND level when left unconnected.
For all digital inputs (IN_1, IN_2, IN_3) a 1k pull-up resistor to +5V can be activated. In
these inputs have a default (unconnected) logic level of 1 and an external switch to
be connected. This might be especially interesting in case these inputs are used as
STOP_R and HOME switch inputs (alternate function).
resistors
this case
GND can
STOP_L /
3.2.3.1 Digital Inputs IN_1, IN_2, IN_3
The eight pin connector of the TMCM-1141 provides three multipurpose digital inputs IN_1, IN_2 and
IN_3. All three inputs accept up to +24V (nom.) input signals and offer the same input circuit with voltage
resistor dividers, limiting diodes against over- and under-voltage and programmable 2k2 pull-up resistors.
The pull-ups can be switched on or off for all three inputs at once in software.
With TMCL firmware command SIO 0, 0, 0 will switch-off the pull-ups and command SIO 0, 0, 1
will switch them on (see separate TMCL firmware manual, command SIO for more detailed information).
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
12
common switch for all
three digital inputs
+5V
1k
+3.3V
IN_1
IN_2
IN_3
10k
microcontroller (all)
and TMC429 (IN_0, IN_1)
22k
1nf
GND
GND
GND
Figure 3.6 General purpose inputs (simplified input circuit)
The three digital inputs have alternate functionality depending on configuration in software. The
following functions are available:
Label
(pin)
IN_1 (6)
Default function
General purpose digital input
TMCL: GIO 1, 0 // get digital
value of input IN_1
IN_2 (7)
General purpose digital input
TMCL: GIO 2, 0 // get digital
value of input IN_2
IN_3 (8)
General purpose digital input
TMCL: GIO 3, 0 // get digital
value of input IN_3
Alternate function 1
STOP_L - left stop switch input
connected to processor and TMC429 REF
(supporting left stop functionality in hardware)
input
TMCL: GAP 11, 0 // get digital value of STOP_L input
STOP_R - right stop switch input
connected to processor and TMC429 REF input
(supporting right stop switch functionality in hardware)
TMCL: GAP 10, 0 // get digital value of STOP_R input
HOME - home switch input
(connected to processor)
TMCL: GAP 9, 0 // get digital value of HOME input
Table 3.5 Multipurpose inputs / alternate functions
-
All three digital inputs are connected to the on-board processor and can be used as general
purpose digital inputs.
In order to use IN_1 and IN_2 as STOP_L and STOP_R inputs, this function has to be enabled
explicitly in software (factory default: switched off). With TMCL firmware the stop switch
functionality can be enabled using SAP 12, 0, 0 (STOP_R / right limit switch) and SAP 13,
0, 0 (STOP_L / left limit switch). As the names already indicate: the status of the left limit
switch (STOP_L) will be significant during motor left turns and the status of the right limit switch
during motor right turns (positive direction), only. Reading out input values using the GAP
commands as listed in the table above is possible at any time. Please see separate TMCL
firmware manual for additional information.
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
13
3.2.3.2 Analog Input IN_0
The eight pin connector of the TMCM-1141 provides one dedicated analog input IN_0.
This dedicated analog input offers a full scale input range of 0… +10V (0..+10.56V nom.) with a resolution
of the internal analog-to-digital converter of the microcontroller of 12 bit (0… 4095).
The input is protected against higher voltages up-to +24 V using voltage resistor dividers together with
limiting diodes against voltages below 0 V (GND) and above +3.3 V DC (see figure below).
+3.3V
IN_0
22k
ADC input
(microcontroller)
10k
10nF
GND
GND
GND
Figure 3.7 General purpose inputs (simplified input circuit)
With TMCL firmware the analog value of this input may be read using command GIO 0, 1. The
command will return the raw value of the 12bit analog-to-digital converter between 0 .. 4095. It is also
possible to read the digital value of this input using TMCL command GIO 0, 0. The trip point (between
0 and 1) will be at approx. +5V input voltage (half the analog input range).
3.2.3.3 Outputs OUT_0, OUT_1
The eight pin connector of the TMCM-1141 offers two general purpose outputs OUT_0 and OUT_1. These
two outputs are open-drain outputs and can sink up to 100 mA each. The outputs of the N-channel
MOSFET transistors are connected to freewheeling diodes each for protection against voltage spikes
especially from inductive loads (relais etc.) above supply voltage (see figure below).
OUT_0 and OUT_1 should not be connected to any voltage above supply voltage of the module due to
the internal freewheeling diodes.
VDD
microcontroller
10k
GND
since V1.3
GND
Figure 3.8 General purpose outputs
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
14
Since hardware version 1.3 the gate inputs of the MOSFETs are pulled-low during power-up and while
the processor is still in reset / output pins not initialized. This way, the outputs will not briefly switch on
at power-up.
With TMCL firmware OUT_0 can be switched on (OUT_0 pulled low) using command SIO 0, 2, 1 and
off again (OUT_0 floating) using command SIO 0, 2, 0. Quite similar OUT_1 can be switched on
(OUT_1 pulled low) using command SIO 1, 2, 1 and off again (OUT_1 floating) using command SIO
1, 2, 0. Factory default setting for both outputs is off (floating). In case a floating output is not
desired in the application an external resistor to e.g. supply voltage may be added.
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
15
3.2.4 Step/Direction Connector
A 4pin 2mm pitch single row connector is available for the Step/Dir interface. This interface can be used
for connecting an external motion controller to the on-board driver stage instead of the integrated
motion controller.
All three Step/Dir/Enable signals are optically isolated. Therefore, an additional supply input (COMMON) is
available which has to be connected to a supply voltage between +5 V and +24 V for proper operation.
Pin
Label
COMMON
Direction
Power
(Supply input)
/ENABLE
Input
1
1
4
2
3
4
STEP
Input
DIRECTION Input
Description
Power supply input for the three Step / Direction
/ Enable signals. Accepts voltages between +5V
and +24V nom.
Enable input
(function depends on firmware)
Step pulse input
(connected to step input of TMC262 driver IC)
Direction input
(connected to direction input of TMC262 driver IC)
Table 3.6: Step/Direction connector
3.2.4.1 Step / Direction / Enable inputs
The inputs Step / Direction / Enable are electrically (optically) isolated from the power supply and all
other signals of the TMCM-1141 module. These inputs have one common reference input COMMON (see
Figure 3.). The COMMON input should be connected to a positive supply voltage between +5V and +24V.
Step / Direction / Enable signals might be driven either by open-collector / open-drain outputs or by
push-pull outputs. In case of push-pull outputs the COMMON supply voltage should be equal / similar to
the high signal voltage level of the push-pull drivers (otherwise the LEDs will not be turned off during
signal high-level). There is no need to add external resistors in line with the “Enable”, “Step” or
“Direction” inputs. The internal current sources (Figure 3.8) will adjust the current through the LEDs of
the optical isolation to approx. 8mA for signal input voltages between nom. +5V and +24V.
+3.3V
Common
(5..24V)
microcontroller
8mA
Enable
TMC262
8mA
Step
TMC262
8mA
Direction
GND
Figure 3.9 Step/Dir/Enable inputs
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
16
3.2.5 Motor Connector
As motor connector a 4pin 2mm 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.
1
4
Pin
1
2
3
4
Label
A1
A2
B1
B2
Direction
Output
Output
Output
Output
Pin
Pin
Pin
Pin
1
2
1
2
of
of
of
of
motor
motor
motor
motor
Description
coil A
coil A
coil B
coil B
Table 3.7 Motor connector
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.
For hardware version 1.3: please note the additional high current range for motor
currents up-to 2A RMS!
Setting motor current too high might lead to excessive power dissipation inside the
motor, overheating and even permanent damage of the motor. Therefore, make sure the
motor current is set properly. Also with hardware version 1.3 the low current range is
set as default.
Description
Motor coil A
Motor coil A
Motor coil B
Motor coil B
pin
pin
pin
pin
1
2
1
2
Please note: there are other possibilities of connecting the motor
that will lead to same direction of rotation. Exchanging connection
cables for one coil, only will invert motor direction. Please make
always sure that one coil is connected to motor connector pin 1+2
while the other is connected to 3+4 – do not mix them (e.g. one
coil to pin 1+3) as this might damage motor and driver electronics.
.
www.trinamic.com
M
A
black
red
Coil
A1
A2
B1
B2
B
Motor connector pin Cable color
1
Green
2
Black
3
Blue
4
Red
green
QS4218 Motor
blue
TMCM-1141
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
17
4 Motor driver current
The on-board stepper motor driver operates current controlled. The driver current may be programmed in
software in two ranges (low current range up-to 1.1A RMS and high current range up-to 2A RMS) with 32
effective scaling steps in hardware for each range.
Please note: the high current range is available with hardware revision V1.3, only and should not be
activated / used with hardware revision V1.2! The high current range should not be used with motor
currents above 2A RMS – this will violate specification of the module - please note limitations at the
end of this chapter!
Explanation of different columns in table below:
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, // set run current
SAP 7, 0, // set standby current
(read-out value with GAP instead of SAP. Please see separate TMCM-1141 firmware
manual for further information)
Range setting
in software
(TMCL)
This is the value for TMCL axis parameter 179 (Vsense). This value defines the current
range. This value can be set using the following TMCL command:
SAP 179, 0, // = 0 high current range
// = 1 low current range
For either 0 (high current range) or 1 (low current range) is supported (see
table) since hardware revision V1.3. For hardware revision V1.2 this parameter should
not be changed to any value other than “1” (low current range).
(read-out value with GAP instead of SAP. Please see separate TMCM-1141 firmware
manual for further information)
Motor current
IRMS [A]
Motor current
setting in
software (TMCL)
0..7
8..15
16..23
24..31
32..39
40..47
48..55
56..63
64..71
72..79
80..87
www.trinamic.com
Resulting motor current based on range and motor current setting
Range setting
in software
(TMCL)
1
1
1
1
1
1
1
1
1
1
1
Current
scaling step
(CS)
0
1
2
3
4
5
6
7
8
9
10
Motor
current
ICOIL_PEAK [A]
0.052
0.103
0.155
0.206
0.258
0.309
0.361
0.413
0.464
0.516
0.567
Motor
current
ICOIL_RMS [A]
0.036
0.073
0.109
0.146
0.182
0.219
0.255
0.292
0.328
0.365
0.401
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
Motor current
setting in
software (TMCL)
88..95
96..103
104..111
112..119
120..127
128..135
136..143
144..151
152..159
160..167
168..175
176..183
184..191
192..199
200..207
208..215
216..223
224..231
232..239
240..247
248..255
0..7
8..15
16..23
24..31
32..39
40..47
48..55
56..63
64..71
72..79
80..87
88..95
96..103
104..111
112..119
120..127
128..135
136..143
144..151
152..159
160..167
168..175
176..183
184..191
192..199
200..207
208..215
216..223
224..231
232..239
240..247
248..255
www.trinamic.com
Range setting
in software
(TMCL)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Current
scaling step
(CS)
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
18
Motor
current
ICOIL_PEAK [A]
0.619
0.670
0.722
0.773
0.825
0.877
0.928
0.980
1.031
1.083
1.134
1.186
1.238
1.289
1.341
1.392
1.444
1.495
1.547
1.598
1.650
0.095
0.191
0.286
0.381
0.477
0.572
0.667
0.763
0.858
0.953
1.048
1.144
1.239
1.334
1.430
1.525
1.620
1.716
1.811
1.906
2.002
2.097
2.192
2.288
2.383
2.478
2.573
2.669
2.764
2.859
2.955
3.050
Motor
current
ICOIL_RMS [A]
0.438
0.474
0.510
0.547
0.583
0.620
0.656
0.693
0.729
0.766
0.802
0.839
0.875
0.912
0.948
0.984
1.021
1.057
1.094
1.130
1.167
0.067
0,135
0.202
0.270
0.337
0.404
0.472
0.539
0.607
0.674
0.741
0.809
0.876
0.944
1.011
1.078
1.146
1.213
1.281
1.348
1.415
1.483
1.550
1.618
1.685
1.752
1.820
1.887
1.954
2.022
2.089
2.157
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
19
The settings marked red in the table above from the high current range (above 2A RMS motor current)
should not be used as they will violate specification of the module!
In addition to the settings in the table the motor current may be switched off completely (free-wheeling)
using axis parameter 204 (see TMCM-1141 firmware manual).
www.trinamic.com
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
20
5 Reset to Factory Defaults
It is possible to reset the TMCM-1141 to factory default settings without establishing a communication
link. This might be helpful in case communication parameters of the preferred interface have been set to
unknown values or got accidentally lost.
For this procedure two pads on the bottom side of the board have to be shortened.
Now, perform the following steps:
1.
2.
3.
4.
5.
6.
7.
Power supply off and USB cable disconnected
Short two pads as marked in Figure 5.1
Power up board (power via USB is sufficient for this purpose)
Wait until the on-board red and green LEDs start flashing fast (this might take a while)
Power-off board (disconnect USB cable)
Remove short between pads
After switching on power-supply / connecting USB cable all permanent settings have been
restored to factory defaults
Short these two pads
Figure 5.1 Reset to factory default settings
6 On-Board LED
The board offers an 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. When there is no valid firmware programmed into the board or during firmware update the
green LED is permanently on.
BEHAVIOR OF LEDS WITH STANDARD TMCL FIRMWARE
Status
Heartbeat
Green LED
Figure 6.1 On-board LED
www.trinamic.com
Label
Run
Description
This green LED flashes slowly during operation.
TMCM-1141 Hardware Manual (Rev. 1.07 / 2017-JUN-26)
21
7 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!
GENERAL OPERATIONAL RATINGS
Symbol
VDD
Parameter
Power supply voltage for operation
Min
9
ICOIL_PEAK_L
Motor coil current for sine wave peak
Typ
12… 24
Max
28
Unit
V
0
1.6
A
0
1.1
A
0
2.8*)
A
0
2*)
A
(low range setting, chopper regulated,
adjustable via software)
ICOIL_RMS_L
Continuous motor current (RMS)
(low current range setting, chopper
regulated, adjustable via software)
ICOIL_PEAK_H*)
Motor coil current for sine wave peak
(high current range setting, chopper
regulated, adjustable via software)
ICOIL_RMS_H*)
Continuous motor current (RMS)
(high current range setting, chopper
regulated, adjustable via software)
IDD
TENV
Power supply current
Environment temperature at rated current (no
forced cooling required)