ST PractiSPIN UM0696 Скачать руководство пользователя страница 7

UM0696

Stepper motor driver

Doc ID 15599 Rev 2

7/15

   

   

   

Stepper motor driver

After the system has established the connection to the control board, it initializes the 
settings to the last stored settings and open the PractiSPIN™.spmd GUI. For the stepper 
motor, the system can operate in either a constant speed or positioning (indexing) mode. 
The constant speed mode can easily be used to see that the system is working.

The stepper motor driving window, from which it is possible to select the motor working 
configuration, appears.

3.1 

Constant speed mode

Figure 4.

PractiSPIN™.spmd constant speed mode window

Speed control screen: a large blue button at the bottom of the screen should read, 
"switch to indexing mode". If the button reads, "switch to speed control mode", click the 
button once to go to speed control mode.

Stepping mode: in the stepping mode box, select either normal or half step. Micro 
stepping mode is only available when using the STEVAL-SPMD150STP.

Device selection: in the device selection box, select the device being evaluated

Direction: in the direction box, click the toggle switch to pick forward or reverse. This is 
somewhat arbitrary since the direction sense of the motor is unknown. Once the motor 
is running, toggle this switch to reverse the motor direction if desired. To reverse the 
meaning of the forward and reverse designations, disable the motor (orange disable 
button at bottom of screen) and then swap the motor wires at either CN3 or CN4.

Decay mode: set the toggle switch to slow decay

Acceleration rate: set the acceleration rate to about 1000 steps per sec

2

 (steps/sec

2

). 

In the PractiSPIN™.spmd system all motion parameters are given in terms of the basic 
units of steps and seconds: position in steps, velocity in steps/sec, and 
acceleration/deceleration in steps/sec

2

. In order to relate these settings to rotations, 

RPM, and RPM/second it is necessary to know the number of steps (or half steps) per 
rotation for the stepper motor being used. A common value is 200 steps or 400 half 
steps per rotation.

AM04222v1

 

Содержание PractiSPIN UM0696

Страница 1: ...communicates with the PC and the PractiSPIN spmd software via a serial COMM port and a module specific demonstration board target board that connects to the ST7 interface board via a standard 34 pin r...

Страница 2: ...Rev 2 Contents 1 System overview 4 2 Starting PractiSPIN spmd 5 3 Stepper motor driver 7 3 1 Constant speed mode 7 3 2 Indexing mode 9 4 STEVAL SPMD250V1 STEVAL SPMD250V2 10 5 STEVAL SPMD150V1 STEVAL...

Страница 3: ...bration window 6 Figure 4 PractiSPIN spmd constant speed mode window 7 Figure 5 PractiSPIN spmd indexing mode window 9 Figure 6 STEVAL SPMD250V1 STEVAL SPMD250V2 demonstration system 10 Figure 7 STEVA...

Страница 4: ...s and a stepper motor connected to the proper connectors Through the control board and friendly user interface the PractiSPIN spmd system supports the following measurements and demonstrations to driv...

Страница 5: ...vision code of the firmware currently stored in the Flash memory of the ST7 and determine if the correct version of firmware resides in the ST7 If the PractiSPIN spmd software detects that a firmware...

Страница 6: ...3 Calibration window To null out the offset click on calibrate zero for details please refer to the specific target board section To set the maximum current click on calibrate max for details please r...

Страница 7: ...ilable when using the STEVAL SPMD150STP Device selection in the device selection box select the device being evaluated Direction in the direction box click the toggle switch to pick forward or reverse...

Страница 8: ...ible to set the deceleration current lower Holding current set the holding current to 25 Whenever the motor is stopped after a run this level of current circulates in the motor so that it holds positi...

Страница 9: ...ou can enter up to twelve indexed movements in the box and the wait time between each movement When started the software executes each movement by accelerating up to the peak speed moving the required...

Страница 10: ...ctor Apply motor voltage VS to P2 connector Launch the PractiSPIN spmd program on the host PC Click on connect to ST7 hardware and perform calibration Click on calibrate zero and verify that VTP3 is z...

Страница 11: ...1 SPMD250STP GND 1 SYNC 2 RESET 3 HALF FULL 4 HOME 5 STEPCLOCK 6 CW CCW 7 OSC 8 Io_SET 9 CONTROL 10 ENABLE 11 VSS 12 GND 13 PHD 14 PHC 15 PHB 16 PHA 17 VS 18 P1 1 2 P2 1 2 P3 1 2 U2A 74HC14 1 2 DIAG E...

Страница 12: ...nnect to ST7 hardware and perform calibration Click on calibrate zero and trim R18 on control board until voltage on VREFA and VREFB is zero Click on calibrate max and set the maximum current correspo...

Страница 13: ...9 10 11 12 13 14 15 16 17 19 21 23 25 26 27 28 29 30 31 32 33 34 18 20 22 24 5V P1 1 2 P2 1 2 P3 1 2 C10 100nF RES C16 N M RV3 N M R6 22K JR5 GND C11 220nF 16V R5 2 2K VS U2 ST3232 C1 3 C2 4 C2 5 V 6...

Страница 14: ...Revision history UM0696 14 15 Doc ID 15599 Rev 2 6 Revision history Table 1 Document revision history Date Revision Changes 08 May 2009 1 Initial release 19 Oct 2009 2 Inserted new board part numbers...

Страница 15: ...ARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLE...

Отзывы: