Brick Motion Controller Hardware Reference Manual
I7m04: PFM Pulse Width Control
The pulse width is specified in PFM clock cycles and has a range of 1 to 255 cycles. The default value is
15.Since the default value of PFM clock is actually set to 9.8304 MHz, the default output pulse width will be 15/9,830400 = 1.5258 µS. Note that when the PFM clock values are changed, the PFM pulse
width values must be evaluated for proper stepper drive operation.
The user of a typical stepper drive should not need to modify these control variables. However, PFM pulse width should be increased if the stepper drive’s input cannot handle the speed of the pulse output. This often occurs with slow
Single-Channel I-Variables
Each Servo IC has four channels n, numbered 1 to 4. For the first (standard) Servo IC on the Brick Motion Controller, the channel numbers 1 – 4 on the Servo IC are the same as the channel numbers 1 – 4 on the board. For the second (optional) Servo IC on the Brick Motion Controller, the channel numbers 1 – 4 on the Servo IC correspond to board channel numbers 5 – 8. The most important variables are:
I7mn0: Servo IC m Channel n Encoder Decode Control
Typically, I7mn0 is set to 3 or 7 for x4 quadrature decode, depending on which way is up. If the channel is used for
Caution:
If I7mn0 and I7mn8 are not matched properly, motor runaway will occur.
I7mn6: Servo IC m Channel n Output Mode Select
I7mn6 determines whether the A and B outputs are DAC or PWM, and whether the C output is PFM
Set the output mode for the Brick Motion Controller for Pulse Frequency Modulation output (PFM), I7mn6 equal to 2.
I7mn8: Servo IC m Channel n PFM Direction Signal Invert Control
The polarity of the direction output is controlled by this
This
Caution:
If I7mn0 and I7mn8 are not matched properly, motor runaway will occur.
The Brick Motion Controller applies its gain formulas the same way it does for a classic servo system. The basic difference with a stepper system is that most of the times, the typical encoder feedback interface is handled using electronic circuitry rather than a physical encoder.
When the stepper output interface is selected, it allows the use of an electronic encoder feedback or a physical encoder feedback. When used with an actual physical encoder, the axis should be tuned as if it were a typical servomotor.
The process of tuning the simulated feedback loop is identical to tuning a servomotor with the exception that some of the parameters become more predictable.
30 | System Wiring |