MECHATRONIC DRIVE WITH STEPPER MOTOR
PANdrive
Hardware Version V1.4
HARDWARE MANUAL
+
+
PD28-1-1021
PD28-3-1021
Stepper Motor NEMA11 / 28mm
0.06 - 0.12Nm
with Controller / Driver
up-to 0.7A RMS / 24V DC
sensOstep™ Encoder
RS485 Interface
+
UNIQUE FEATURES:
TRINAMIC Motion Control GmbH & Co. KG
Hamburg, Germany
www.trinamic.com
+
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
Table of Contents
1
2
3
Features........................................................................................................................................................................... 3
Order Codes ................................................................................................................................................................... 5
Mechanical and Electrical Interfacing ..................................................................................................................... 6
3.1.1 Dimensions of PD28-1-1021 ....................................................................................................................... 6
3.1.2 Dimensions of PD28-3-1021 ....................................................................................................................... 7
3.2
Motor Characteristics .......................................................................................................................................... 8
3.3
Integrated sensOstep™ encoder .................................................................................................................... 9
3.4
Connectors ........................................................................................................................................................... 10
3.4.1 Power, Communication and I/O Connector ........................................................................................ 11
3.4.2 Motor Connector .......................................................................................................................................... 17
4
Motor driver current .................................................................................................................................................. 18
5
Reset to Factory Defaults ......................................................................................................................................... 21
6
On-board LED............................................................................................................................................................... 21
7
Operational Ratings ................................................................................................................................................... 22
8
Torque Curves ............................................................................................................................................................. 24
9
Functional description .............................................................................................................................................. 25
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
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
1
3
Features
The PANdrive™ PD28-1-1021 and PD28-3-1021 are small and compact full mechatronic solutions including
NEMA11 / 28mm flange size stepper motors, the TMCM-1021 controller/ driver electronics and TRINAMIC
sensOstep™ encoder for step-loss detection. The two PANdrives include stepper motor with different
lengths and different holding torques (PD28-1-1021: 0.06Nm, PD28-3-1021: 0.12Nm) but, same electronics
and encoder setup. The PANdrives support both, stand-alone operation e.g. using the on-board I/Os
together with the build-in TMCL scripting feature and remote control operation using the RS485 2-wire
communication bus interface and even a mixture of both.
MAIN CHARACTERISTICS
Highlights
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
For position movement applications, where larger motors do not fit and higher torques are not
required
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
Encoder
sensOstep magnetic encoder (max. 1024 increments per rotation) e.g. for step-loss detection under all
operating conditions and positioning supervision
Interfaces
Up to 4 multi-purpose inputs (2 shared with outputs)
2 general purpose outputs
RS485 2-wire communication interface
Software
TMCL: standalone operation or remote controlled operation,
program memory (non volatile) for up to 876 TMCL commands, and
PC-based application development software TMCL-IDE available for free.
Electrical and mechanical data
Supply voltage: +24V DC nominal (9… 28V DC)
Motor current: up to 0.7A RMS (programmable)
max. holding torque: 0.06Nm (PD28-1-1021) or 0.12Nm (PD28-3-1024)
Refer to separate TMCL Firmware Manual, too.
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
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
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
2
5
Order Codes
The combination of motor and motor mounted controller/driver electronic is currently available with two
stepper motors (different length and holding torque).
The length of the PANdrives™ is specified without the length of the axis. For the overall length of the
product please add 21 mm (see detailed drawings in chapter 3).
Order code
PD28-1-1021-option
PD28-3-1021-option
Description
PANdrive with NEMA11 stepper motor, 0.06Nm
holding torque, TMCM-1021 electronics, 0.7A RMS,
RS485, sensOstep™ encoder
PANdrive with NEMA11 stepper motor, 0.12Nm
holding torque, TMCM-1021 electronics, 0.7A RMS,
RS485, sensOstep™ encoder
Size of unit [mm3]
max. 28 x 28 x 43 max.
+24V,
max. 28 x 28 x 62 max.
+24V,
Table 2.1 Order codes
The following options are currently available:
Firmware option
-TMCL
Description
Module pre-programmed with TMCL firmware
Order code example:
PD28-1-1021-TMCL
Table 2.2 PD28-1-1021 / PD28-3-1021 firmware options
A cable loom set is available for this module:
Order code
TMCM-1021-CABLE
Description
Cable loom for TMCM-1021
1x cable loom for power, communication and I/O
(cable length approx. 200mm)
1x cable loom for motor connector (cable length ca. 200mm)
Table 2.5 Cable loom order code
www.trinamic.com
connector
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
3
6
Mechanical and Electrical Interfacing
The PD28-1-1021 consists of the NEMA11 / 28mm flange size stepper motor QSH2818-32-07-006 with
controller / driver electronics TMCM-1021 mounted on its backside and integrated sensOstep™ encoder. The
PD28-3-1021 uses the longer QSH2818-51-07-012 NEMA11 / 28mm stepper motor together with the same
electronics and encoder.
Please see also stepper motor manuals and TMCM-1021 hardware and firmware manuals for more details.
Note:
In order to make proper use of the integrated sensOstep™ encoder (the sensor IC is placed on the bottom
of the pcb) the TMCM-1021 electronics should not be removed/moved relative to the motor.
In case the integrated encoder feature is not used, the electronics may be moved or even removed from
the motor and placed somewhere else according to application requirements.
3.1.1 Dimensions of PD28-1-1021
The PD28-1-1021 consists of the stepper motor QSH2818-32-07-006, the TMCM-1021 controller / driver
electronics and integrated sensOstep™ encoder.
Figure 3.1 PD28-1-1021 dimensions (all dimensions in mm)
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
7
3.1.2 Dimensions of PD28-3-1021
The PD28-3-1021 consists of the stepper motor QSH2818-51-07-012, the TMCM-1021 controller / driver
electronics and integrated sensOstep™ encoder.
Figure 3.2 PD28-3-1021 dimensions (all dimensions in mm)
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
8
3.2 Motor Characteristics
Main characteristics of the two different motors available as part of the PD28-1-1021 (QSH2818-32-07-006)
and PD28-3-1021 (QSH2818-51-07-012):
Specification
Related PANdrive
Rated Voltage
Rated Phase Current
Phase Resistance at 20°C
Phase Inductance (typ.)
Paramete
Units
r
VRATED
IRMS_RATED
RCOIL
Holding Torque (typ.)
Detent Torque
Rotor Inertia
Weight (Mass)
Insulation Class
Insulation Resistance
Dialectic Strength (for one minute)
Connection Wires
Step Angle
Step angle Accuracy (max.)
Flange Size (max.)
Motor Length (max.)
LMAX
Axis Diameter
Axis Length (typ.)
Shaft Radial Play (450g load)
Shaft Axial Play (450g load)
Maximum Radial Force
(20 mm from front flange)
Maximum Axial Force
Ambient Temperature
Temp Rise (rated current, 2phase on)
Table 3.1 NEMA 11 / 28mm technical motor data
www.trinamic.com
QSH2818-32-07-006
QSH2818-51-07-012
PD28-1-1021
3.8
0.67
5.6
3.4
6
8.5
PD28-3-1021
6.2
0.67
9.2
7.2
12
17.0
9
0.11
B
100M
500
4
1.8
5
28.0
32
5.0
20.0
0.02
0.08
18
0.2
B
100M
500
4
1.8
5
28.0
51
5.0
20.0
0.02
0.08
N
28
28
N
°C
°C
10
-20…+50
max. 80
10
-20…+50
max. 80
V
A
Ω
mH
Ncm
oz in
Ncm
g cm2
Kg
Ω
VAC
N°
°
%
mm
mm
mm
mm
mm
mm
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
9
3.3 Integrated sensOstep™ encoder
The PD28-1-1021 and PD28-3-1021 PANdrive offer integrated sensOstep™ encoders based on hall sensor
technology. As the name “sensOstep™” already indicates intended use of this type of compact and highly
integrated encoder is step loss detection of motor movements. As soon as the motor has been moved to
a new location the position may be verified using this encoder feedback. In case the stepper motor has
lost one or multiple steps during movement e.g. due to overload / any obstacle encountered during
movement the motor axes will jump for at least one electrical period / 4 full steps. This can be detected
using the integrated encoder. In addition, step losses may be already detected during motor movements
using the “deviation” setting available as part of the TMCL firmware (see TMCM-1021 firmware manual for
more details).
While the encoder offers 10bit (1024 steps) resolution per motor revolution the absolute position
information is less accurate and depends on the displacement of the hall sensor based encoder IC relative
to the magnet and motor axis among other factors. Every PANdrive™ has been tested for maximum
deviation of +/- 5 encoder steps (static performance) relative to commanded microstep target position
during final tests after assembly at our factory. This will ensure more than adequate performance of the
integrated sensOstep™ encoder for step loss detection during motor movements.
Do not disassemble PANdrive™ when using integrated encoder
In order to make proper use of the integrated sensOstep™ encoder (the sensor IC is placed
on the bottom center of the pcb) the TMCM-1021 electronics should not be removed/moved
relative to the motor! Otherwise encoder performance might suffer / not work.
Note: In case the integrated encoder feature is not used, the TMCM-1021 electronics may
be moved or even removed from the motor and placed somewhere else according to
application requirements.
Keep the electronics free of (metal) particles!
The integrated sensOstep™ encoder uses a magnet at the end of the motor axis in order
to monitor position of the motor axis. The magnet naturally attracts especially tiny metal
particles. These particles might be held on the top side of the PCB and even worse – start
moving in accordance with the rotating magnetic field as soon as the motor starts moving.
This might lead to shorts of electronic contacts / wires on the board and totally erratic
behavior of the module! Use compressed air for cleaning the module if necessary
(especially in prototype setups).
In order to prevent shorts and better protect the electronics the TMCM-1021 printed circuit
board is coated after assembly of components since hardware version V1.4.
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
10
3.4 Connectors
The PD-1021 has two connectors, an 8-pin power and input/output connector and a 4-pin motor connector
(used to connect the attached motor).
Power / communication / I/Os
1
8
4
1
Motor
Figure 3.3 PD-1021 connectors
Overview of connector and mating connector types:
Label
Power,
communication
and I/O
Connector type
CI0108P1VK0-LF
CVIlux CI01 series, 8pins, 2mm
pitch
Mating connector types
Connector housing CVIlux: CI01085000-A
Contacts CVIlux: CI01T011PE0-A
or
Connector housing JST: PHR-8
Contacts JST: SPH-002T-P0.5S
Wire: 0.22mm2
Connector housing CVIlux: CI01045000-A
Contacts CVIlux: CI01T011PE0-A
Motor
CI0104P1VK0-LF
CVIlux CI01 series, 4 pins, 2mm
pitch
or
Connector housing JST: PHR-4
Contacts JST: SPH-002T-P0.5S
Wire: 0.22mm2
Table 3.2 Connectors and mating connectors, contacts and applicable wire
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
11
3.4.1 Power, Communication and I/O Connector
An 8-pin, 2mm pitch single row connector is used for power supply, RS485 serial communication and
additional multi-purpose inputs and outputs.
Pin
1
2
3
4
Label
GND
VDD
RS485+
RS485-
Direction
Power (GND)
Power (Supply)
Bidirectional
Bidirectional
5
IN_0
Input
6
IN_1
Input
7
OUT_0 / IN_2 Output / Input
8
OUT_1 / IN_3 Output / Input
Description
GND
VDD, typ. +24V (+9V…+28V max.)
RS485 interface, diff. signal (non-inverting)
RS485 interface, diff. signal (inverting)
General purpose digital input,
+24V compatible, internal 20k pull-down resistor
Alternate function 1: Step input,
+24V compatible, internal 20k pull-down resistor.
Please note: the bandwidth of the low-pass (noise rejection) filter at
the input is 16kHz (-3dB) which will limit the upper step frequency
Alternate function 2: Left stop switch,
+24V compatible, internal 20k pull-down resistor
General purpose digital input,
+24V compatible, internal 20k pull-down resistor
Alternate function 1: Direction input,
+24V compatible, internal 20k pull-down resistor
Please note: the bandwidth of the low-pass (noise rejection) filter at
the input is 16kHz (-3dB)
Alternate function 2: Right stop switch,
+24V compatible, internal 20k pull-down resistor
Open drain output with freewheeling diode (max. 100mA)
Please note: there is a 20k pull-down resistor of the input connected
in parallel
Alternate function 1: general purpose digital input,
+24V compatible, internal 20k pull-down resistor
Alternate function 2:
home switch, +24V compatible, internal 20k pull-down resistor
Open drain output with freewheeling diode (max. 100mA)
Please note: there is a 20k pull-down resistor of the input connected
in parallel
Alternate function 1:
digital input, +24V compatible, internal 20k pull-down resistor
Alternate function 2:
analog input, 0..6.6V range, +24V survival, internal 20k pull-down
resistor
Table 3.2 8pin power, communication and I/O connector
3.4.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 PD28-1-1021 / PD28-3-1021 includes just about 20µF/35V (TMCM-1021 V1.2) resp. 30µF/35V
(TMCM-1021 V1.4) 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.
Please take the following measures into account in order to avoid serious damage of the device:
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 PD28-1-1021 / PD28-3-1021!
Rule of thumb for size of electrolytic capacitor: c = 1000
www.trinamic.com
μF
A
× ISUPPLY
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
12
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.
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 chapter7, operating values.
There is no reverse polarity protection!
The module will short any reversed supply voltage due to internal diodes of the driver
transistors.
3.4.1.2 RS485
For remote control and communication with a host system the PD28-1-1021 / PD28-3-1021 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.4: 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 PD28-1-1021 /
PD28-3-1021 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 PD28-1-1021 / PD28-3-1021 units (TMCM-1021 hardware V1.2:
SN65HVD3082ED, since hardware V1.4: 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.
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
13
4.
COMMUNICATION SPEED:
The maximum RS485 communication speed supported by the PD28-1-1021 / PD28-3-1021 is 115200
bit/s (FW version 1.29 with TMCM-1021 hardware version 1.2 and 1.4). Factory default is 9600 bit/s.
Please see separate TMCM-1021 TMCL firmware manual for information regarding other possible
communication speeds below 115200 bit/s.
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):
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.5: 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)
GND
pull-down (390R)
GND
Figure 3.6: 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).
3.4.1.3 Digital Inputs IN_0 and IN_1
The eight pin connector of the PD28-1-1021 / PD28-3-1021 provides four general purpose inputs IN_0, IN_1,
IN_2 and IN_3. The first two inputs have dedicated connector pins while the other two share pins with
two general purpose outputs.
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
14
All four inputs are protected using voltage resistor dividers together with limiting diodes against voltages
below 0V (GND) and above +3.3V DC. Input circuit of the first two inputs IN_0 and IN_1 is shown below:
IN_0,
IN_1
+3.3V
10k
microcontroller
and stepper
motor driver
10k
1nF
GND
GND
GND
Figure 3.7 General purpose inputs IN_0 and IN_1
The two inputs have alternate functions depending on configuration in software. The following functions
are available:
Label
(connector pin)
IN_0 (5)
Default Function
Alternate function 1
Alternate function 2
Digital input
+24V compatible,
internal 20k pulldown resistor
Left stop switch
+24V
compatible,
internal 20k pulldown resistor
IN_1 (6)
Digital input
+24V compatible,
internal 20k pulldown resistor
Step signal input
(connected to stepper motor driver step
input)
+24V compatible, internal 20k pull-down
resistor.
Please note: the bandwidth of the low-pass
RC (10k / 1nF) filter at the input is 16kHz (3dB) which will limit the upper step
frequency
Direction signal input
(connected to stepper motor driver
direction input)
+24V compatible, internal 20k pull-down
resistor.
Please note: the bandwidth of the low-pass
RC (10k / 1nF) filter at the input is 16kHz (3dB)
Right stop switch
+24V
compatible,
internal 20k pulldown resistor
Table 3.3 Multipurpose inputs / alternate functions
All four inputs are connected to the on-board processor and can be used as general purpose digital inputs.
Using the alternate function 1 of IN_0 and IN_1 it is possible to control the on-board stepper motor driver
with the help of an external stepper motor controller using step and direction signals (Please see separate
TMCL firmware manual / axis parameter 254 for more details how to enable this mode). For the step and
direction signals the signal levels are the same as for the general purpose digital inputs. Please note that
the low-pass filter (for noise rejection) at the inputs offers a bandwidth of 16kHz (-3dB).
IN_3 can be used as analog input, also. A 12bit analog to digital converter integrated in the microcontroller
will convert any analog input voltage between 0 and +6.6V to a digital value between 0 and 4095 then.
3.4.1.4 Inputs IN_2, IN_3, Digital Outputs OUT_0, OUT_1
The eight pin connector of the PD28-1-1021 / PD28-3-1021 provides two general purpose outputs. These
two outputs are open-drain outputs and can sink up to 100mA each. Both outputs OUT_0 and OUT_1 share
pins with two of the four inputs (IN_2 resp. IN_3).
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
15
The inputs are protected using voltage resistor dividers together with limiting diodes against voltages
below 0V (GND) and above +3.3V DC. The circuit of the two outputs and the two inputs connected in
parallel to the inputs is shown below:
VDD
OUT_0 / IN_2
OUT_1 / IN_3
+3.3V
10k
microcontroller
10k
1nF
GND
GND
GND
microcontroller
since V1.4
1k
GND
GND
Figure 3.8 General purpose outputs OUT_0, OUT_1 and inputs IN_2, IN_3 connected in parallel
The outputs of the N-channel MOSFET transistors (Open-Drain) are connected to freewheeling diodes each
for protection against voltage spikes especially from inductive loads (relais etc.). Please take into account
the 20k (2x 10k in series) resistance to ground (transistor not active) of the input voltage divider (figure
4.8) when designing the external “load” circuit.
Since hardware version 1.4 the gate inputs of the MOSFETs are pulled-low during power-up and while the
processor might be still in reset / output pins not initialized. This way, the outputs will not briefly switch
on at power-up.
The two outputs OUT_0 / OUT_1 and inputs IN_2 / IN_3 have alternate functions depending on configuration
in software:
Label
(connector pin)
OUT_0 / IN_2 (7)
OUT_1 / IN_3 (8)
Default Function
Alternate function 1
Alternate function 2
Open drain output with
freewheeling diode (max.
100mA)
Please note: there is a 20k
pull-down resistor of the
input connected in parallel
Open drain output with
freewheeling diode (max.
100mA)
Please note: there is a 20k
pull-down resistor of the
input connected in parallel
Alternate function 1: general
purpose digital input,
+24V compatible, internal
20k pull-down resistor
Alternate function 2:
home
switch,
+24V
compatible, internal 20k
pull-down resistor
Alternate function 1:
digital
input,
+24V
compatible, internal 20k
pull-down resistor
Alternate function 2:
analog input, 0..6.6V range,
+24V survival, internal 20k
pull-down resistor
Table 3.4 Multipurpose outputs / inputs / alternate functions
Do not apply any voltage above supply voltage to inputs IN_2 and IN_3. Due to the
freewheeling diodes of the outputs connected in parallel they will be shorted to power supply
input voltage.
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
16
For hardware version 1.2: Do not connect either IN_2 or IN_3 directly to a low resistance
supply voltage (e.g. directly to any power supply voltage). As the output transistors connected
in parallel might briefly switch-on during power-up they might be damaged / destroyed if the
current through the transistors to ground exceeds 100mA.
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
17
3.4.2 Motor Connector
A 4-pin, 2mm pitch single row connector is used for connecting the four motor wires to the electronics.
Pin
1
2
3
4
Label
OB2
OB1
OA2
OA1
Direction
Output
Output
Output
Output
Pin
Pin
Pin
Pin
2
1
2
1
of
of
of
of
motor
motor
motor
motor
Description
coil B
coil B
coil A
coil A
Table 3.4 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 TMCM-1021 hardware version 1.4: please note the additional high current range
for motor currents up-to 1.4A 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 properly set. Also with hardware version 1.4 the low current range is set as
default. Do not use the high current range with the PD28-1-1021 and PD28-3-1021
PANdrives for prolonged time!
www.trinamic.com
black
M
A
green
blue
2
1
2
1
B
pin
pin
pin
pin
red
PD28-1-1021
QSH2818-32-07-006
PD28-3-1021
QSH2818-51-07-012
Motor connector pin Cable colour Coil
Description
1
Blue
BMotor coil B
2
Red
B
Motor coil B
3
Green
AMotor coil A
4
Black
A
Motor coil A
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
18
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 0.7A RMS and high current range up-to 1.4A RMS) with 32
effective scaling steps in hardware for each range. Please note: the high current range is available with
TMCM-1021 hardware revision V1.4, only – not with hardware revision V1.2!
Be careful when setting motor current!
The stepper motors used for the PD28-1-1021 and PD28-3-1021 PANdrives have a rated
current of 0.67A RMS. Therefore, it is not recommended to use any current setting
significantly above the rated motor current – especially, not for prolonged amount of time.
Usually, it is not recommended to use the high current range settings with the PD28-11021 and PD28-3-1021 PANdrives. Please carefully monitor motor temperature when
switching to high current settings.
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-1021 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.4. For earlier hardware revisions (incl. V1.2)
this parameter is set to the fixed value “1” (low current range).
(read-out value with GAP instead of SAP. Please see separate TMCM-1021 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
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
Current
scaling step
(CS)
0
1
2
3
4
5
6
7
8
9
Motor
current
ICOIL_PEAK [A]
0.034
0.069
0.103
0.138
0.172
0.206
0.241
0.275
0.309
0.344
Motor
current
ICOIL_RMS [A]
0.024
0.049
0.073
0.097
0.122
0.146
0.170
0.194
0.219
0.243
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
Motor current
setting in
software (TMCL)
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
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
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
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
Current
scaling step
(CS)
10
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
Motor
current
ICOIL_PEAK [A]
0.378
0.413
0.447
0.481
0.516
0.550
0.584
0.619
0.653
0.688
0.722
0.756
0.791
0.825
0.859
0.894
0.928
0.963
0.997
1.031
1.066
1.100
0.064
0.127
0.191
0.254
0.318
0.381
0.445
0.508
0.572
0.635
0.699
0.763
0.826
0.890
0.953
1.017
1.080
1.144
1.207
1.271
1.334
1.398
1.461
1.525
1.589
1.652
1.716
1.779
1.843
1.906
1.970
Motor
current
ICOIL_RMS [A]
0.267
0.292
0.316
0.340
0.365
0.389
0.413
0.438
0.462
0.486
0.510
0.535
0.559
0.583
0.608
0.632
0.656
0.681
0.705
0.729
0.754
0.778
0.045
0,090
0.135
0.180
0.225
0.270
0.315
0.359
0.404
0.449
0.494
0.539
0.584
0.629
0.674
0.719
0.764
0.809
0.854
0.899
0.944
0.988
1.033
1.078
1.123
1.168
1.213
1.258
1.303
1.348
1.393
19
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
Motor current
setting in
software (TMCL)
248..255
Range setting
in software
(TMCL)
0
Current
scaling step
(CS)
31
Motor
current
ICOIL_PEAK [A]
2.033
20
Motor
current
ICOIL_RMS [A]
1.438
Please note: these settings clearly exceed motor current rating for the PD28-1-1021 and PD28-3-1021
configurations!
In addition to the settings in the table the motor current may be switched off completely (free-wheeling)
using axis parameter 204 (see TMCM-1021 firmware manual).
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
5
21
Reset to Factory Defaults
It is possible to reset the PD28-1-1021 / PD28-3-1021 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 it is necessary to disassemble the PANdrive and shorten two pads on the bottom side
of the printed circuit board (see Figure 5.1).
Please perform the following steps:
1.
2.
3.
4.
5.
6.
7.
Power supply off
Short two pads as marked in Figure 5.1
Power up board
Wait until the on-board red and green LEDs start flashing fast (this might take a while)
Power-off board
Remove short between pads
After switching on power-supply all permanent settings have been restored to factory defaults
Short these two PADs on
the bottom of the PCB
Figure 5.1 Reset to factory default settings
6
On-board LED
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 flashes slowly during operation.
When there is no valid firmware programmed into the board or during firmware update the green LED is
permanently on.
Green LED
Figure 6.1 On-board LED
www.trinamic.com
PD28-1-1021 / PD28-3-1021 V1.4 Hardware Manual (Rev. 1.03 / 2018-JAN-25)
7
22
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!
Symbol
Parameter
Min
Typ
Max
Unit
VDD
Power supply voltage for operation
9
12… 24
28
V
ICOIL_PEAK_L
Motor coil current for sine wave peak
0
1
A
0
0.7
A
0
2*)
A
0
1.4*)
A
1.4 * ICOIL
A
+60
°C
(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
Power supply current
TENV
Environment temperature at rated current (no
forced cooling required)