Intelligent Motion Systems Motion Detector Motor Settings Screen PWM Current Control, PWM Mask

Models: Motion Detector

1 74
Download 74 pages 21.4 Kb
Page 58
Image 58
Motor Settings Screen (PWM Current Control)

Motor Settings Screen (PWM Current Control)

The Motor settings screen allows the user to fine tune the settings of the PWM to optimize the current output for a variety of stepping motors.

There are four parameters that may be set:

1.PWM Mask

2.PWM Period (Duty Cycle)

3.PWM Frequency Range

4.PWM Control

PWM Mask

PWM Period

 

(Duty Cycle)

PWM Frequency Range

Control Bits

Figure 2.6.13: Motor Settings Screen

PWM Mask

The PWM mask parameter prevents the premature end of the forward period caused by switching transients when the motor phase current is at low levels. Adjusting this value can impact the zero-crossing performance of the motor. If experiencing the “tick” which is inherit in stepper motor systems, this may be minimized or eliminated by adjusting this value. The range of this value is 0 to 255d and will be entered as a decimal value.

The Mask will act as a filter on the PWM signal to allow time for any ringing in the output circuitry to settle.

This range represents a 8-bit Hex value that specifies the Bridge Reverse Measure Time (REVTM) and the Minimum Bridge Forward On Time (FORTM) ranging from 600 nS to 3.4 µS each (see table and diagram below). Typically these values would be balanced. The table below shows the decimal value for each time.

Note that these are typical values and the currents may be unbalanced to fine tune the motor performance.

The default value for this parameter is 204 (0xCC), which represents a Reverse Measure Time and Minimum Forward On Time of 2.5 µS.

Reverse Measure Time/Minimum Forward On Time

Hex

Time

0x0

600 ns

0x1

700 ns

0x2

800 ns

0x3

900 ns

Hex

Time

0x4

1.0 µs

0x5

1.1 µs

0x6

1.2 µs

0x7

1.4 µs

Hex

Time

0x8

1.6 µs

0x9

1.8 µs

0xA

2.0 µs

0xB

2.2 µs

Hex

Time

0xC

2.5 µs

0xD

2.8 µs

0xE

3.1 µs

0xF

3.4 µs

Table 2.6.6: PWM Mask Settings

Reverse Measure Time

Min. Forward On Time

1

1

0

1

1

1

0

1

 

0xD (2.8 µS)

 

 

0xD (2.8 µS)

 

Convert to Decimal

0xDD

PWM Mask Value = 221

Figure 2.6.14: PWM Mask Bits

38

Microstepping MForce PowerDrive Manual Revision R032008

Page 58
Image 58
Intelligent Motion Systems Motion Detector operating instructions Motor Settings Screen PWM Current Control, PWM Mask