Trinamic TMC5031-EVAL Скачать руководство пользователя страница 1

 

EVALUATION FOR ICs

 

    

  

                                     EVALUATION BOARD

 

  

 

 

 
 
 
TRINAMIC Motion Control GmbH & Co. KG 

 

Hamburg, Germany 

 

Firmware Version V1.00 

TMC5031-EVAL EVALUATION BOARD MANUAL 

 + 

+

 

TMC5031-EVAL

 

 

 

 

 
 
 
 
 
 
 
 
 

+    

 
 
 

U

NIQUE 

F

EATURES

 

 

 

 

 

 

Evaluation Board for TMC5031 
Motor Controller / Driver for 
Two Phase Stepper Motors 
Up to 2x 0.7A RMS/ +5.5V… 16V DC 
USB, RS232, and SPI 
2x Ref. Switch Input per Axis 
 

 

Содержание TMC5031-EVAL

Страница 1: ...o KG Hamburg Germany Firmware Version V1 00 TMC5031 EVAL EVALUATION BOARD MANUAL TMC5031 EVAL UNIQUE FEATURES Evaluation Board for TMC5031 Motor Controller Driver for Two Phase Stepper Motors Up to 2x 0 7A RMS 5 5V 16V DC USB RS232 and SPI 2x Ref Switch Input per Axis ...

Страница 2: ...tarting the Evaluation Software 13 6 2 Main Dialogues 14 6 2 1 The Jog Tab 14 6 2 2 The Ramp Generator Tab 14 6 3 Basic Functions 15 6 3 1 Load Save Export Settings 15 6 3 2 Options Menu 15 6 3 3 Get Firmware Version 15 6 3 4 Reset to Factory Defaults 15 6 4 Special Dialogues 16 6 4 1 Motor Current Settings Dialogue 16 6 4 2 Ramp Generator Features Dialogue 17 6 4 3 coolStep Dialogue 21 6 4 4 Chop...

Страница 3: ...tor driver for two motors Up to 256 microsteps per full step High efficient operation low power dissipation Dynamic current control stallGuard2 feature for stall detection coolStep feature for reduced power consumption and heat dissipation spreadCycle chopper or classic chopper Electrical data Motor current up to 2x 0 7A RMS nominal motor current Supply voltage 5 5V 16V DC operating voltage Interf...

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

Страница 5: ...echanical and Electrical Interfacing 3 1 1 Size of TM5031 EVAL and Mounting Holes The board dimensions are 85mm x 55mm Maximum component height above PCB level without mating connectors is 13 5mm There are four mounting holes suitable for M3 screws 85 55 4 4 Figure 3 1 TMC5031 EVAL dimensions ...

Страница 6: ...h header RIA 169 04 screw type terminal block pluggable centerline 3 5 mm 0 138 inches wire entry parallel to plug direction Reference switches X3 RIA 182 06 6 pol 3 5mm pitch header RIA 169 06 screw type terminal block pluggable centerline 3 5 mm 0 138 inches wire entry parallel to plug direction USB X11 Mini USB type B 4 pol female Mini USB type B 4 pol male RS232 X12 RIA 182 03 3 pol 3 5mm pitc...

Страница 7: ...ion board without reversing the motor direction Pin Label Description 1 O2B2 Motor coil B 2 O2B1 Motor coil B 3 O2A2 Motor coil A 4 O2A1 Motor coil A Table 3 5 Connector for Step Dir signals 3 1 2 5 USB Connector Pin Label Description 1 5V 5V supply from host 2 USB Differential USB bus 3 USB Differential USB bus 4 GND System and module ground Table 3 6 USB connector 3 1 2 6 RS232 Connector Pin Lab...

Страница 8: ... output for motor 1 of the TMC5031 5 CS Chip select input of SPI interface 6 INT Tristate interrupt output based on ramp generator flags 4 5 6 7 7 SCK Serial clock input of SPI interface 8 SPI_MISO Serial data input 9 DRV_ENN Enable not input for drivers tie to GND Switches off all motor outputs set high for disable 10 SPI_MOSI Serial data output Table 3 9 SPI and interrupt signals for measurement...

Страница 9: ... Description REF L M2 This button is connected to pin 26 REF_L2 of the TMC5031 REF R M2 This button is connected to pin 25 REF_R2 of the TMC5031 Table 3 10 Push buttons 3 1 4 LEDs The TMC5031 EVAL has three LEDs Two of them indicate the normal operation of the board the green LED1 glows to show that the 5V supply is available LED2 flashes constantly to indicate the 16MHz heartbeat of the board LED...

Страница 10: ... not exceed the maximum values during operation Otherwise the driver will be damaged Symbol Parameter Min Typ Max Unit VCC Power supply voltage for operation 0 5 12 18 V VCCIO Digital power supply for external microcontroller 3 3 V 5V Output of internal switch regulator 5 5 1 V ISUPPLY Power supply current 0 2 0 7 1 1 A TENV Environment temperature at rated current no forced cooling required 20 C ...

Страница 11: ...ce RS232 Pin 1 GND Pin 2 TXD Pin 3 RXD Figure 5 1 Getting started STARTING UP 1 USB interface the evaluation board software TMC50xx EVAL is designed to guide you through the installation of a virtual com port for the USB interface Refer to chapter 5 1 for further information RS232 interface connect RS232 interface to interface converter and afterwards to your PC or connect it directly to your PC i...

Страница 12: ...pear on the screen If the module is not already connected plug it power it on and click OK 4 Now the software will search and install the configuration file Figure 5 3 Install USB driver 5 You will be asked if you really like to install the unknown file Answer yes to install it 6 As soon as the installation of the virtual com port is completed start your tests In case this does not work install th...

Страница 13: ...e stored and exported 6 1 Starting the Evaluation Software Download the file TMC50xx EVAL exe from our website www trinamic com The software is a PC application running under Windows XP Vista Windows 7 and Windows 8 Windows 3 x is not supported Double click the file TMC50xx EVAL exe If you are testing just one module type click Remember me This way the software will skip this part of the program n...

Страница 14: ...adequate to your settings or default settings which can be read out using the all registers dialogue Rotate left constantly Stop Rotate left if pressed Rotate right if pressed Rotate right constantly Figure 6 4 Jog tab keys for moving a motor 6 2 2 The Ramp Generator Tab The design of the ramp generator tab correlates to the jog tab Ramp generator settings for each motor can be done independently ...

Страница 15: ...software tool If you choose Extra Style the software surface will be colored differently Remember Module can be set if you are always working with the same module If you intend to test another IC evaluation board it is necessary to remove the remember module command Table 6 1 Options menu 6 3 3 Get Firmware Version To read out the firmware version click Help on top menu and afterwards About Now th...

Страница 16: ... FOLLOWING SPECIAL DIALOGUES ARE PROVIDED Motor current settings Ramp generator features coolStep Chopper Motor driver Microstep waves Global configuration All registers Figure 6 9 View dialogues 6 4 1 Motor Current Settings Dialogue This dialogue makes the evaluation of the TMC5031 more comfortable Motor current settings can be tried out by using rotary control switches Figure 6 10 Motor current ...

Страница 17: ...ls that the automatic ramp requires moving back in the opposite direction e g due to on the fly parameter change Flag is cleared upon reading R 11 t_zerowait_ active 1 Signals that T_ZEROWAIT is active after a motor stop During this time the motor is in standstill R 10 vzero 1 Signals that the actual velocity is 0 R 9 position_ reached 1 Signals that the target position is reached This flag become...

Страница 18: ...tch right ready enable position latching using SWITCH_MODE settings latch_r_active or latch_r_inactive This bit is ORed to the interrupt output signal Flag is cleared upon reading 2 status_latch_l 1 Latch left ready enable position latching using SWITCH_MODE settings latch_l_active or latch_l_inactive This bit is ORed to the interrupt output signal Flag is cleared upon reading R 1 status_stop_r Re...

Страница 19: ...or velocity exceeds a certain value where stallGuard2 delivers a stable result 9 Reserved set to 0 8 latch_r_inactive 1 Activates latching of the position to XLATCH upon an inactive going edge on the right reference switch input REFR 7 latch_r_active 1 Activates latching of the position to XLATCH upon an active going edge on the right reference switch input REFR Hint Activate latch_r_active to det...

Страница 20: ...h input 0 neg 1 pos 2 pol_stop_l Sets the polarity of the left reference switch input 0 neg 1 pos 1 stop_r_enable 1 Enables automatic motor stop during active right reference switch input Hint The motor restarts in case the stop switch becomes released 0 stop_l_enable 1 Enables automatic motor stop during active left reference switch input Hint The motor restarts in case the stop switch becomes re...

Страница 21: ...e working with most motors 64 to 63 A higher value makes stallGuard2 less sensitive and requires more torque to indicate a stall 21 sgt5 20 sgt4 19 sgt3 18 sgt2 17 sgt1 16 sgt0 15 seimin minimum current for smart current control 0 1 2 of current setting IRUN 1 1 4 of current setting IRUN 14 sedn1 current down step speed 00 For each 32 stallGuard2 values decrease by one 01 For each 8 stallGuard2 va...

Страница 22: ...ing them Please refer to the chopper configuration register below for detailed information Figure 6 15 Chopper configuration dialogue spreadCycle or classic 0X6C 0X7C CHOPCONF CHOPPER CONFIGURATION Bit Name Function Comment 30 diss2g short to GND protection disable 0 Short to GND protection is on 1 Short to GND protection is disabled 23 sync3 SYNC PWM synchronization clock This register allows syn...

Страница 23: ... is after on time 13 rndtf random TOFF time 0 Chopper off time is fixed as set by TOFF 1 Random mode TOFF is random modulated by dNCLK 12 3 clocks 12 disfdcc fast decay mode chm 1 disfdcc 1 disables current comparator usage for termi nation of the fast decay cycle 11 fd3 TFD 3 chm 1 MSB of fast decay time setting TFD 10 hend3 HEND hysteresis low value OFFSET sine wave offset chm 0 0000 1111 Hyster...

Страница 24: ... load indicator phase A 28 s2gb short to ground indicator phase B 1 Short to GND detected on phase A or B The driver becomes disabled The flags stay active until the driver is disabled by software or by the ENN input 27 s2ga short to ground indicator phase A 26 otpw overtemperature pre warning flag 1 Overtemperature pre warning threshold is exceeded The overtemperature pre warning flag is common f...

Страница 25: ... data to be programmed only a quarter of the wave becomes stored The internal microstep table maps the microstep wave from 0 to 90 It becomes symmetrically extended to 360 The microstep wave dialogue for each motor has four input fields a1 a3 a5 and a7 for amplitude settings These values are used for the microstep wave calculation All amplitude values normally should meet the condition a1 a3 a5 a7...

Страница 26: ...iangular curve enter the following formula into the expression evaluator Figure 6 18 Triangular curve EXAMPLE 2 MICROSTEP WAVE WITH LINEAR SCALED SINE WAVE AMPLITUDE For a wave with linear scaled sine wave amplitude the following formula may fit Figure 6 19 Example for microstep wave with linear scaled sine wave amplitude ...

Страница 27: ...T2 1 7 microstep table entries 32 255 7x 32x 0 or 1 reset default sine wave table W 0x68 0x78 32 MSLUTSEL1 MSLUTSEL2 This register defines four segments within each quarter MSLUT wave Four 2 bit entries determine the meaning of a 0 and a 1 bit in the corresponding segment of MSLUT See separate table in TMC5031 datasheet 0 X1 X2 X3 reset default sine wave table W 0x69 0x79 8 8 MSLUTSTART bit 7 0 ST...

Страница 28: ...tion bit names RW 0x00 11 GCONF Bit GCONF Global configuration flags 3 poscmp_enable 0 Outputs INT and PP are tristated 1 Position compare pulse PP and interrupt output INT are available Attention do not leave the ouputs floating in tristate condition provide an external pull up or set this bit 1 8 shaft1 1 Inverse motor 1 direction 9 shaft2 1 Inverse motor 2 direction 10 lock_gconf 1 GCONF is loc...

Страница 29: ...returns to a low state if the positions mismatch Table 6 8 Abridgement of general configuration registers 6 4 8 All Registers Dialogue This dialogue shows all registers which can be set and or read out with the TMC50xx EVAL software tool Addresses register names and actual values can be read New values can be written in the specific data input fields To copy an actual value into a new value field ...

Страница 30: ...ife and whose failure to perform when properly used in accordance with instructions provided can be reasonably expected to result in personal injury or death TRINAMIC Motion Control GmbH Co KG 2013 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...

Страница 31: ...ble 8 1 Firmware revision 8 2 Document Revision Version Date Author SD Sonja Dwersteg Description 1 00 2013 FEB 22 SD Initial version 1 01 2013 MAR 26 SD Information about the installation of a virtual com port for USB interface updated chapter 5 and chapter 5 1 Photo of the module new Table 8 2 Document revision 9 References TMC5031 TMC5031 Datasheet please refer to http www trinamic com ...

Отзывы: