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

TMCM-035 Manual (V2.09 / February 27

th

, 2009) 

 

15/18 

 

 
Copyright © 2007-2009, TRINAMIC Motion Control GmbH & Co. KG 

4.6.3

 

64 Microstep resolution with SPI interface since TMCM-035 V2.0 

To get full 64 microsteps using the TMC428 with a user built electronics, please refer to the schematic 
example in [TMC239] or [TMC249] and [TMC236/239/246/249 FAQ] (Extending the microstep resolution).  
 
Please remark, that the 

lower two bits are inverted

, and the 

values from 0 to 3 give a zero current

This  effectively  results  in  a  60  level  current  resolution.  A  suitable  microstep  table  is  printed  below. 
The effect of this modified DAC behaviour is, that the TMC428 ramp-phase-dependent current scaling 
function does not lead to a good result and should not be used! This could be improved by inverting 
the additional DAC-Bits. Please be aware, that the module in 64 microstep mode can not be included 
in SPI busses with multiple /CS lines. 
 
For  best  microstep  performance  run  the  motors  with  mixed  decay  switched  on  continuously  and 
36kHz chopper.  
 
To program the TMCM-035 for 64  microstep  mode the pins 24 and 27 are used  (refer to  4.6.1). It is 
important to load the proper wave table as well as the proper SPI configuration. Both are available 
on the TRINAMIC technical library. The following table depicts the SPI bit ordering. The bits are to be 
shifted  into  the  SPI  chain  from  left  (19)  to  right  (0).  The  function  of  the  bits  is  described  in  the 
TMC239 / TMC249 manual and FAQ document. 
 

Standard

function

Bit

12

TMC239 control word

Additional 8 bits in 64 microstep mode

CB5

(MSB)

11

CB4

10

CB3

9

CB2

8

PHB

13

MXB

18

CA5

(MSB)

17

CA4

16

CA3

15

CA2

14

PHB

19

MXA

7

/CB1

6

/CB0

5

/CA1

4

/CA0

3

-

2

-

1

-

0

-

 

Figure 4.6: SPI word assignment in 64 microstep mode 

 
Required TMC428 driver chain configuration for each TMCM-035 in 64 microstep mode: 

0x11,0x05,0x04,0x03,0x02,0x06,0x11,0x0d,0x0c,0x0b,0x0a,0x0e,0x09,0x08,0x01,0x00, 
0x10,0x10,0x10,0x30  

 

// 4 unused bytes, last plus next motor bit

 

 
The suitable microstep table for 32 and 64 microstep with inverted LSBs (1/4 wave, like in TMC428): 
 

0x00,0x07,0x05,0x04,0x0a,0x09,0x0f,0x0e,0x0c,0x13,0x11,0x10,0x17,0x15,0x14,0x1a, 
0x19,0x18,0x1e,0x1d,0x1c,0x22,0x21,0x20,0x27,0x25,0x24,0x2b,0x2a,0x29,0x28,0x2f, 
0x2e,0x2d,0x2c,0x33,0x32,0x31,0x30,0x37,0x36,0x35,0x35,0x34,0x3b,0x3a,0x3a,0x39, 
0x39,0x38,0x38,0x3f,0x3f,0x3e,0x3e,0x3d,0x3d,0x3d,0x3d,0x3d,0x3c,0x3c,0x3c,0x3c 

 
Since  the  wave  table  is  modified  (lower  two  bits,  bit  0  and  bit  1,  are  inverted),  the  current  scaling 
function of the TMC428 (IS_AGTAT, IS_ALEAT, IS_V0) should be switched off, i.e. these registers should 
be set to zero (full current). 
 
Hint  for  operation  with  TMC428  based  controllers:  The  needs  to  read  back  the  TMC249  bits  for 
operation of the StallGuard or for driver diagnostics. While the TMC428 can control driver chains with 
up to 64 bits, it can read back a total of 48 bits only. Thus, when cascading three TMCM-035 in one 
TMC428 driver chain and all modules are set to 64 microstep mode, the first 12 bits sent back from 
the  60  bit  long  driver  chain  to  the  TMC428  can  not  be  read  back.  These  are  all  bits  from  the  last 
TMC249 in the chain, including its StallGuard bits. Thus, you should attach only two TMCM-035 in 64 
microstep mode to a TMC428 based module. This brings also an advantage for the reachable motor 
velocity.  If  you  need  all  StallGuard  bits  in  a  three  driver  chain,  switch  at  least  two  modules  in  the 
chain to 16 microstep mode. 
 

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

Страница 1: ...t 2007 2009 TRINAMIC Motion Control GmbH Co KG TMCM 035 Manual 1 Axis stepper driver module 3 5A RMS 5A peak 50V Trinamic Motion Control GmbH Co KG Sternstra e 67 D 20357 Hamburg Germany http www trin...

Страница 2: ...ion Revision 18 7 References 18 List of Figures Figure 2 1 Dimensions 5 Figure 2 2 Pin order of the connector 5 Figure 4 1 Main parts of the TMCM 035 7 Figure 4 2 How to connect the motor 8 Figure 4 3...

Страница 3: ...via external inputs Since the new Version V2 0 of the board the module has been extended from maximum 16 to 32 and 64 microsteps Applications Driver module for a highly dynamic or high torque axis Ea...

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

Страница 5: ...1 Figure 2 1 Dimensions The size of the module 80x50mm is the same as of the other Trinamic motion control modules It also uses the same connector The 68 pin connector has a 2 0mm pitch Bord outline...

Страница 6: ...ave open 18 In Step In 19 In SPE 0 Analog mode 1 SPI or Step Dir mode 20 In Dir In 21 In INA 22 In SDEN must be to 1 for Step Dir mode or 0 for SPI or Analog mode 23 In INB 24 In STEP16 Step Dir mode...

Страница 7: ...per motor ICOIL 1 4 ICOIL A fSTEP Step frequency 245 kHz tSPulse Step pulse length 0 1 s tS2D Direction hold time 2 s tD2S Direction to step delay 0 s VANA INx analog measurement range 0 3 V fSPI SPI...

Страница 8: ...er hand has all the diagnostics but is limited to 16x microstep resolution Refer to 4 6 2 for the possibility to increase microstep resolution to up to 64x for SPI 4 3 1 SPI The SPI interface pins of...

Страница 9: ...nly to be used to connect the TMCM 035 to a TMC453 chip or to a TMCM 100 module that contains a TMCM453 stepper motor controller chip The following pins are to be used in analogue mode Signal name Pin...

Страница 10: ...he LED shows the status of the module The LED is on when the motor is enabled and the supply voltage is high enough The LED is off when the motor is disabled due to pin 11 Enable set high or supply vo...

Страница 11: ...able 4 5 Step Direction interface connections Note Pins 12 13 14 16 and 25 must not be connected in this mode The Step Direction interface can also be used to connect the TMCM 035 module to a TMCM 100...

Страница 12: ...g inputs INA and INB In this case the ANN input pin 25 must be pulled low The INA and INB inputs supporting a voltage range of 0 to 3V can be used Use a simple voltage divider on the 5V supply to acco...

Страница 13: ...ue Value from Table 4 7 INA INB Voltage 2V 4 4 3 Continuous Current restrictions Thermal conditions The module is designed as a microstepping module with sine wave currents sine and cosine driving bot...

Страница 14: ...nce depends on the motor and mechanics For supply voltages above 24V and for low inductivity motors best microstep behavior is reached when mixed decay setting is continuously on Mixed decay should be...

Страница 15: ...6 CA3 15 CA2 14 PHB 19 MXA 7 CB1 6 CB0 5 CA1 4 CA0 3 2 1 0 Figure 4 6 SPI word assignment in 64 microstep mode Required TMC428 driver chain configuration for each TMCM 035 in 64 microstep mode 0x11 0x...

Страница 16: ...1 OUTA2 OUTB1 OUTB2 TMC249 TMC249 TMC249 3x TMCM 035 driver Figure 4 7 Application with 3 TMCM 035 controlled by a TMCM 301 The microstep configuration of the three TMCM 035 drivers digital pins 24 an...

Страница 17: ...to program the TMCM 301 with the following microstep table Figure 4 9 by pressing Set Please use the 64 microstep table to get the smoothest operation Figure 4 9 Microstep table for 64 microsteps in...

Страница 18: ...13 Feb 04 OK Ordering information added 2 00 20 Jun 06 BD 64 microstep version info added 2 01 14 Jul 06 HC Major revision 2 02 21 Aug 06 HC Additions to 64 microstep version info 2 03 29 Nov 06 BD Co...

Отзывы: