Trinamic TMCM-343 Скачать руководство пользователя страница 16

TMCM-343 Hardware Manual (V1.07 / 2011-JUN-08)   

16 

 

 
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG 

7.5

 

stallGuard™ - sensorless motor stall detection 

The TMCM-343 modules are equipped with the stallGuard™ feature. The stallGuard™ feature makes it 
possible to detect if the mechanical load on a stepper motor is too high or if the traveler has been 
obstructed. The load value can be read using a TMCL™ command or the module can be programmed 
so that the motor will be stopped automatically when it has been obstructed or the load has been 
too high. 
 
stallGuard™  can  also  be  used  for  finding  the  reference  position  without  the  need  for  a  reference 
switch: Activate stallGuard™ and then let the traveler run against a mechanical obstacle that is placed 
at the end of the way. When the motor has stopped it is definitely at the end of its way, and this 
point can be used as the reference position. 
 
For using stallGuard™ in an actual application, some manual tests should be done first, because the 
stallGuard™ level depends upon the motor velocities and on the occurrence of resonances. 
 

Mixed decay should be switched off while stallGuard is in use in order to get usable results. 

 

Value 

Description 

stallGuard™ function is deactivated (default) 

1… 7  Motor stops when stallGuard™ value is reached and position is not set zero. 

Table 7.6: stallGuard™ parameter SAP 205 

 
To  activate  the  stallGuard™  feature  use  the  TMCL™  command  SAP  205  and  set  the  stallGuard™ 
threshold value according to Table 7.6. The actual load value is given by GAP 206. The TMCL-IDE has 
some tools which let you try out and adjust the  stallGuard™ function in an easy way. They can be 
found at 

stallGuard™

 in the 

Setup

 menu and are described in the following chapters. Please refer to 

the TMCM-341/342/343 TMCL™ Firmware Manual for further information about working with TMCL-IDE.  

7.5.1

 

stallGuard™ adjusting tool 

 

The  stallGuard™  adjusting  tool  helps  to  find  the  necessary  motor 
parameters when stallGuard™ is to be used. This function can only be 
used  when  a  module  is  connected  that  features  stallGuard™.  This  is 
checked when the stallGuard™ adjusting tool is selected in the 

Setup

 

menu.  After  this  has  been  successfully  checked  the  stallGuard™ 
adjusting tool is displayed. 
 
First, select the axis that is to be used in the 

Motor

 area. Now you can 

enter  a  velocity  and  an  acceleration  value  in  the 

Drive

  area  and  then 

click 

Rotate  Left 

or 

Rotate  Right

.  Clicking  one  of  these  buttons  will 

send the necessary commands to the module so that the motor starts 
running. The red bar in the 

stallGuard™

 area on the right side of the 

windows  displays  the  actual  load  value.  Use  the  slider  to  set  the 
stallGuard™  threshold  value.  If  the  load  value  reaches  this  value  the 
motor stops. Clicking the 

Stop

 button also stops the motor. 

 
 

Figure 7.6: stallGuard™ adjusting tool 

 
All commands necessary to set the values  entered in this dialogue are displayed in the 

Commands

 

area at the bottom of the window. There, they can be selected, copied and pasted into the TMCL™ 
editor. 

Содержание TMCM-343

Страница 1: ...R MOTORS MODULES TRINAMIC Motion Control GmbH Co KG Hamburg Germany www trinamic com V 1 07 HARDWARE MANUAL TMCM 343 3 axis stepper controller driver 300mA up to 1 1A RMS nominal supply 8V 34V DC TMCL...

Страница 2: ...5 7 4 3 RS485 15 7 5 stallGuard sensorless motor stall detection 16 7 5 1 stallGuard adjusting tool 16 7 5 2 stallGuard profiler 17 7 6 Reference switches 18 7 6 1 Left and right limit switches 18 7 6...

Страница 3: ...profiler 17 Figure 6 8 Left and right limit switches 18 Figure 6 9 Limit switch and reference switch 18 Figure 6 10 One reference switch 19 List of tables Table 3 1 Order codes 6 Table 4 1 Pinout of...

Страница 4: ...pment 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 TRIN...

Страница 5: ...of the module can be updated via the serial interface With the optional stallGuardTM feature it is possible to detect overload and stall of the motor Applications Controller driver board for control o...

Страница 6: ...river module 1 1A 34V 80 x 55 x 8 mm3 Products related to TMCM 343 BB 303 option Baseboard for TMCM 343 80 x 50 x 15 mm3 BB 323 03 Baseboard for TMCM 343 96 5 x 79 x 60 mm3 TMCM 323 3 axis encoder 80...

Страница 7: ...hanical interfacing 5 1 Dimensions The 68 pin connector has a 2 0mm pitch 80 76 4 2 2 1 2 50 46 39 1 36 9 24 4 21 9 4 4 10 R1 25 R1 1 R1 6 5 4 9 2 Figure 5 1 Front view of TMCM 343 all values in mm 53...

Страница 8: ...t 1 14 In SPI MISO 48 out General Purpose output 1 15 Out SPI Select 2 49 in General Purpose input 2 16 Out SPI MOSI 50 out General Purpose output 2 17 In Reset active low 51 in General Purpose input...

Страница 9: ...ound potential of all modules The stepper driver modules draw peak currents of some ampere from the power supply It has to be made sure that this current does not cause a substantial voltage differenc...

Страница 10: ..._Motor 7 34V GND C L CAN_GND CAN_GND CAN_GND Figure 5 5 Power supply requirements for TRINAMIC modules in a bus system In large systems it may make sense to use an optically decoupled CAN bus for each...

Страница 11: ...r coil current for sine wave peak chopper regulated adjustable via software 0 0 3 1 5 1 5 A fCHOP Motor chopper frequency 36 8 kHz IS Power supply current per motor ICOIL 1 4 ICOIL A VINPROT Input vol...

Страница 12: ...uage operating system The motion control real time tasks are realized by the TMC428 7 1 1 Microcontroller On this module the Atmel AT91SAM7X256 is used to run the TMCL operating system and to control...

Страница 13: ...rostepping The maximum peak coil current of each stepper motor driver chip is 1500mA 7 2 Power supply Two different power supplies have to be provided for the TMCM 343 5VDC for the module functionalit...

Страница 14: ...The communication to a host takes place via one or more of the onboard interfaces The module provides a range of different interfaces like CAN RS232 and RS485 The following chapters explain how the i...

Страница 15: ...AX 202 TTL Figure 7 4 Connecting RS232 7 4 3 RS485 Pin Number Direction Name Limits Description 64 Out RS485_DIR TTL Driver receiver enable for RS485 transceiver 0 receiver enable 1 driver enable 66 I...

Страница 16: ...L command SAP 205 and set the stallGuard threshold value according to Table 7 6 The actual load value is given by GAP 206 The TMCL IDE has some tools which let you try out and adjust the stallGuard fu...

Страница 17: ...lGuard profiler The result is shown as a graphic in the stallGuard profiler window After the profile recording has finished you can scroll through the profile graphic using the scroll bar below it The...

Страница 18: ...re included on the module 7 6 1 Left and right limit switches The TMCM 343 can be configured so that a motor has a left and a right limit switch Figure 7 8 The motor stops when the traveler has reache...

Страница 19: ...able 7 8 Pinout SPI 7 8 Additional inputs and outputs The module is equipped with eight TTL input pins and eight TTL output pins which are accessible via the 68 pin connector The input pins can also b...

Страница 20: ...341 342 343 TMCL Firmware Manual for information on this 7 10Microstep resolution The TMCM 343 supports a true 64 microstep resolution To meet your needs the microstep resolution can be set using the...

Страница 21: ...ect the motor supply voltage 10 to 30 VDC to pins 5 7 9 Step 5 Switch on the power supply and the motor supply An on board LED should start to flash This indicates the correct configuration of the mic...

Страница 22: ...n on the TMCM 303 module In general the developer of a TMCL program should not make assumptions about command execution times Axis parameters 6 and 7 run current and stand by current The range of thes...

Страница 23: ...e 0 0 13 ramp_div divider for the acceleration The higher the value is the less is the maximum acceleration default value 0 0 13 Usrs microstep resolution microsteps per fullstep 2usrs 0 7 a value of...

Страница 24: ..._div 1 ramp_div 1 usrs 6 Hz 31 122070 32 2048 2 1000 MHz 16 msf 1 Hz 34 1907 2 31 122070 Hz fsf 6 s MHz 21 119 2 1000 Mhz 16 a 29 1 1 2 s MHz 863 1 2 s MHz 21 119 af 6 Calculation of the number of rot...

Страница 25: ...uation boards software of evaluation boards source code examples parameter calculation spreadsheets tools and more 12 CANopen The TMCM 343 module can also be used with the CANopen protocol For this pu...

Страница 26: ...orrected 1 05 2010 FEB 24 SD Dimensions corrected minor changes 1 06 2010 MAR 02 SD New front page analog measurement range in chapter 6 completed 1 07 2011 JUN 08 SD Minor changes Table 13 1 Document...

Страница 27: ...1 TRINAMIC Motion Control GmbH Co KG 14 References TMCM 343 TMCM 343 Hardware Manual on www trinamic com QSH 4218 QSH 4218 Manual on www trinamic com TMCM 323 TMCM 323 Hardware Manual on www trinamic...

Отзывы: