RS485 + USB interface
hall sensor interface
hallFX™ encoder interface
+ +
TMCM-1640
TRINAMIC Motion Control GmbH & Co. KG
Hamburg, Germany
www.trinamic.com
TMCM-1640 Hardware Manual (V1.04 / 2011-NOV-16) 2
Table of Contents
1 Life support policy ....................................................................................................................................................... 3
2 Features ........................................................................................................................................................................... 4
3 Order codes .................................................................................................................................................................... 5
4 Mechanical and electrical interfacing ..................................................................................................................... 6
4.1 Controller/driver board size and mounting holes ..................................................................................... 6
4.2.1 Power connector ............................................................................................................................................ 8
4.2.2 Motor connector............................................................................................................................................. 8
4.2.3 Hall sensor connector .................................................................................................................................. 9
4.2.5 USB connector ................................................................................................................................................ 9
4.2.6 GPIOs and RS485 connector ..................................................................................................................... 10
8 Revision history .......................................................................................................................................................... 16
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.
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.
The TMCM-1640 is a highly compact controller/driver module for brushless DC (BLDC) motors with up to 5A
coil current, optional encoder and/or hall sensor feedback. For communication the module offers RS485 and
(mini-)USB interfaces.
Applications
Compact single-axis brushless DC motor solutions
Electrical data
Supply voltage: +24VDC nom. (+12V… +28.5V DC)
Motor current: up to 5A RMS (programmable)
Integrated motion controller
High performance ARM Cortex™-M3 microcontroller for system control and communication protocol
handling
Integrated driver
High performance integrated pre-driver (TMC603)
Support for sensorless back EMF commutation (hallFX™)
High-efficient operation, low power dissipation (MOSFETs with low R
Dynamic current control
Integrated protection
Interfaces
USB: mini-USB connector, full speed (12Mbit/s) serial communication interface
RS485 serial communication interface
Hall sensor interface (+5V TTL or open-collector signals)
Encoder interface (+5V TTL or open-collector signals)
3 general purpose inputs: 2x digital (+5V / +24V compatible), 1x analogue (0… 10V)
1 general purpose output (open-drain)
Software
Available with TMCL™
stand-alone operation or remote controlled operation
program memory (non volatile) for up to 2048 TMCL™ commands
PC-based application development software TMCL-IDE
PC-based application development software TMCL-BLDC for initial settings
Please refer to separate TMCM-1640 TMCL™ Firmware Manual for further information
4.1 Controller/driver board size and mounting holes
The dimensions of the controller/driver board (TMCM-164) are approx. 42mm x 42mm in order to fit on the
back side of a 42mm NEMA 17 brushless DC motor. Maximum component height (height above PCB level)
without mating connectors is around 10mm and about 3mm below PCB level. There are two mounting
holes for M3 screws for mounting the board directly to a NEMA 17/42mm flange size brushless DC motor.
Figure 4.1: Module dimension and position of mounting holes
The controller/driver board offers 6 connectors including the motor connector which is used for attaching
the motor coils to the electronics. In addition to the power connector there is one connector for (optional)
motor hall sensor signals and one connector for (optional) incremental encoder signals. For serial
communication a mini-USB connector has been integrated on-board. There is an additional connector for
RS485 serial communication, 3 general purpose inputs and one output. General purpose inputs and output
may have dedicated functionality depending on firmware.
A 2-pin Tyco electronics (formerly AMP) MTA-100 series connector (3-640456-2) is used as power connector
on-board.
Mating connector: Tycos electronics (formerly AMP) MTA-100 series (3-640440-2)
Table 4.1: Connector for power supply
Please note, that there is no protection against reverse polarity and only limited protection against
voltages above the upper maximum limit. The power supply typically should be within a range of +9 to
+28.5V.
When using supply voltages near the upper limit, a regulated power supply is mandatory. Please ensure
that enough power filtering capacitors are available in the system (2200µF or more recommended) in order
to absorb mechanical energy fed back by the motor in stalling conditions and in order to prevent any
voltage surge e.g. during power-on (especially with longer power supply cables as there are only ceramic
filter capacitors on-board). In larger systems a zener diode circuitry might be required in order to limit the
maximum voltage when the motor is operated at high velocities.
The power supply should be designed in a way that it supplies the nominal motor voltage at the desired
maximum motor power. In no case shall the supply value exceed the upper voltage limit.
To ensure reliable operation of the unit, the power supply has to have a sufficient output capacitor and the
supply cables should have a low resistance, so that the chopper operation does not lead to an increased
power supply ripple directly at the unit. Power supply ripple due to the chopper operation should be kept at
a maximum of a few 100mV.
Guidelines for power supply:
a) keep power supply cables as short as possible
b) use large diameters for power supply cables
c) add 2200µF or larger filter capacitors near the motor driver unit especially if the distance to the
power supply is large (i.e. more than 2-3m)
4.2.2 Motor connector
A 3-pin Tyco electronics (formerly AMP) MTA-100 series connector (3-640456-3) is used as motor connector
on-board.
Mating connector: Tycos electronics (formerly AMP) MTA-100 series (3-640440-3)
The hall sensor input circuit supports +5V push-pull (TTL) and open-collector hall sensor signals. In order to
support open-collector signals the input circuit offers 2k7 pull-up resistors to +5V (generated on-board from
power supply voltage).
Figure 4.3: Hall sensor input circuit
4.3.2 Encoder input
The encoder input circuit supports +5V push-pull (TTL) and open-collector hall sensor signals. In order to
support open-collector signals the input circuit offers 2k7 pull-up resistors to +5V (+5V generated on-board
from power supply voltage).
In Figure 6.1 the main parts of the TMCM-1640 module are shown. The module mainly consists of the
Cortex™-M3 CPU, TRINAMICs TMC603A 3-phase pre-driver, the MOSFET driver-stage, and the USB 2.0 interface.
Figure 6.1: Main parts of the TMCM-1640
6.1 System architecture
The TMCM-1640 integrates a microcontroller with the TMCL™ (Trinamic Motion Control Language) operating
system. The motion control real-time tasks are realized by the TMC603A.
6.1.1 Microcontroller
On this module, the ARM Cortex™-M3 CPU 32-bit processor is used to run the TMCL™ operating system and
to control the TMC603A. The flash ROM of the microcontroller holds the TMCL™ operating system. The
EEPROM memory is used to permanently store configuration data. The microcontroller runs the TMCL™
operating system which makes it possible to execute TMCL™ commands that are sent to the module from the host via the interface. The microcontroller interprets the TMCL™ commands and controls the TMC603A
which executes the motion commands.
The TMCL™ operating system can be updated via the host interface. Please use the latest version of the
TMCL-IDE to do this.
6.1.2 TMC603 3-phase pre-driver
The TMC603A is a three phase motor driver for highly compact and energy efficient drive solutions. It
contains all power and analog circuitry required for a high performance BLDC motor system. The TMC603A is
designed to provide the frontend for a microcontroller doing motor commutation and control algorithms. It
integrates shunt less current measurement, by using the MOSFETs channel resistance for sensing. Integrated
hallFX™ (pat.) allows for sensorless commutation. Protection and diagnostic features as well as a step down
switching regulator further reduce system cost and increase reliability.
hallFX™ provides emulated hall sensor signals. The emulated hall sensor signals are available without a
phase shift and there is no error-prone PLL necessary, like with many other systems, nor is the knowledge
of special motor parameters required. Since it is based on the motors’ back-EMF, a minimum motor velocity
is required to get a valid signal. Therefore, the motor needs to be started without feedback, until the
velocity is high enough to generate a reliable hallFX™ signal.
Please refer to the TMCM-1640 Firmware Manual for further information about parameterizing the PIDregulator for using hallFX™.
Figure 7.1: hallFX™ block diagram and timing
A switched capacitor filter for each coil supplies the measured effective coil voltages. Its filter frequency can
be adapted to the chopper frequency and the desired maximum motor velocity. An induction pulse
suppressor unit gates the commutation spikes which result from the inductive behavior of the motor coils
after switching off the current. The gating time can be adapted by an external capacitor to fit the motor
inductivity and its (maximum) velocity.