background image

TMC262-EVAL MANUAL (V. 1.0 / 2011-Sep-07) 

 

11 

 
 
Copyright © 2010 TRINAMIC Motion Control GmbH & Co. KG 

Hint: 

For  first  tests,  we  recommend  setting  SEIMIN  to  ½,  as  the  ¼  setting  might  not  work  stable  with 
increasing load without adapting the SGT value to the actual motor current. 
 

6.1.6 

Optimizing the chopper settings 

In  principle,  you  can  run  the  motor  with  default  settings,  but  you  might  want  to  try  improving  or 
modifying the chopper setting for smoothest performance of the motor and for low chopper noise. You 
can try both chopper modes over your full velocity range and decide afterwards, which one fits best. In 
order to tune the chopper settings,  you can follow the following instructions which are based on  your 
evaluation of motor behavior: 
 

1.  Start the motor at the desired velocity: For tuning of const t

OFF

 mode fast decay time, a 

medium velocity is preferred, e.g. 1-2 rotations per second. In order to tune chopper 
hysteresis setting for standard chopper mode (spreadCycle), or sine wave offset in const t

OFF

 

mode, a low velocity should be preferred, e.g. 0.1-1 rotations per second.  

2.  Go to the tab CHOPCONF to choose the chopper mode and its settings. Now, you can select 

standard chopper (spreadCycle) or classical const t

OFF

 chopper.  

3.  For both modes, the off time t

OFF

 is a major component. A setting between 2 and 7 fits most 

motors for spread cycle, choose 4 to 15 for const t

OFF

 chopper. A lower setting increases the 

chopper frequency.  

4.  Now, you can tune the zero crossing behavior:  

In the standard chopper mode, you can check behavior for different HSTART settings to 
improve motor behavior: Start with a low HSTART setting and increase HSTART, until the 
motor turns smoothest. If you reach maximum HSTART value, you might need to increase 
HEND also. Further increasing the value will not bring further benefit.  
In constant  t

OFF

 mode, a positive sine wave offset improves zero transition performance and 

fast decay time influences motor resonance. You might try pure slow decay operation if fastest 
motor velocity is desired. First, optimize fast decay time, starting from a low value, until the 
motor turns smoothest. Further increasing fast decay time might be necessary for higher 
velocity settings. As a second step, increase the sine wave offset starting from 0, until 
smoothest motor operation is yielded. There will be an optimum setting at a certain value. A 
higher setting causes a jump in the coil current sine wave zero crossing, a lower value causes 
a flattening. 

5.  There is no need to modify the blank time, unless you change the MOSFETs on the board. 

 

6.2  Writing the settings to a .C file 

You can  load and store  all settings made in the evaluation board. They are stored in a .262 text file, 
which is user readable. 
 

 

figure 6: .262 file opened in text editor 

 
In order to transfer the settings into your own software, there is a C language export function. This will 
write out the initialization values for the TMC262 in a C syntax form, which allows easy sending via a 
microcontroller SPI interface.  
 

Summary of Contents for TMC262-EVAL

Page 1: ...ion interface both using an external source and using the integrated microcontroller as a step generator Highlights Evaluate all features of the TMC262 Use stallGuard2 with your motor Use coolStep wit...

Page 2: ...er K15 6 4 1 5 USB K17 and RS232 K16 6 4 2 JUMPERS 6 4 2 1 Clock selection J1 6 4 2 2 VCC_IO J6 6 4 2 3 VSENSE J8 J11 J15 J16 6 4 2 4 Gate jumpers LA1 HA1 J22 J18 etc 7 4 2 5 Bridge center sense jumpe...

Page 3: ...1 application block diagram as realized on TMC262 EVAL The TMC262 EVAL board features the TMC262 plus a microcontroller which realizes an interface to a PC 3 1 Power driver stage The power MOSFETs on...

Page 4: ...5 1 2 0 84 220m 1 4 0 9 0 7 0 51 220m 220m 2 7 1 9 1 5 1 0 150m 2 0 1 4 1 1 0 8 150m 150m 4 0 2 8 2 1 1 5 100m 3 0 2 1 1 5 1 1 100m 100m 5 9 4 2 2 9 2 3 50m 50m 6 4 4 5 In a practical application esp...

Page 5: ...y voltage Provide sufficient current capability for driving the motor 4 1 2 Stepper motor connector K14 or K13 Pin Number Level Description A1 1 VS Motor coil A connection 1 A2 2 VS Motor coil A conne...

Page 6: ...ed for debugging of CPU software and for programming via JTAG 4 1 5 USB K17 and RS232 K16 PC interface for operation with the demonstration software The USB port is handled as a virtual COM port 4 2 J...

Page 7: ...vailable at test load output C24 C20 etc 4 2 5 Bridge center sense jumpers BRA1 BRA2 BRB1 BRB2 J9 12 J10 J13 Connects the bridge outputs to TMC262 BM pins Setting Function Description 1 2 normal TMC26...

Page 8: ...al Range Parameter Symbol Min Max Unit Ambient temperature TA 25 85 C Supply voltage with the original 40V MOSFETs soldered on the board VVS 9 40 V Supply voltage with 60V MOSFETs SI4559ADY VVS 9 60 V...

Page 9: ...st motor performance with a high value between 16 and 31 If your calculation shows that you need a value below 16 please go to the tab DRVCONF and select VREF 1 36 instead of 1 18 If you cannot reach...

Page 10: ...ue in the Graph tab Now apply slowly increasing mechanical load to the motor If the motor stalls before the stallGuard value reaches zero go to the SGSCONF tab and decrease the stallGuard threshold va...

Page 11: ...g increases the chopper frequency 4 Now you can tune the zero crossing behavior In the standard chopper mode you can check behavior for different HSTART settings to improve motor behavior Start with a...

Page 12: ...e unit of Position is in microsteps velocity in steps second and acceleration in steps s 0 target position normally set via MVP 1 actual position 2 target velocity normally set via ROL ROR MST command...

Page 13: ...with GAP 180 actual current setting Bits RD9 RD0 of TMC262 read back data with RDSEL 10 182 actual microstep position Bits RD9 RD0 of read back data with RDSEL 00 206 actual load value Bits RD9 RD0 of...

Page 14: ...Added notes on first hand labeled TMC262 prototypes 0 13 BD Comments on power supply components 0 14 BD New sense resistor value 150m new photo more details in getting started 0 15 BD New software wi...

Reviews: