Delta Tau 5xx-603869-xUxx Ixx30 Motor xx Proportional Gain, Example, Ixx33 Motor xx Integral Gain

Page 39

Brick Motion Controller Hardware Reference Manual

Ixx30: Motor xx Proportional Gain

To create a closed loop position response with a natural frequency of approximately 25 Hz and a damping ratio of 1, use the following calculation:

Ixx30 =

660,000

Ixx08 * PFMCLK( MHz )

Example:

PFMCLK is set to default of 9.83 MHz, and Ixx08 is set to default of 96. Ixx30 = 660,000 / (96 * 9.83) = 700.

Ixx31 Motor x Derivative Gain

Derivative Gain is set to 0 because the motor system behaves like a velocity-loop servo drive. This parameter sets the system damping which should be unnecessary.

Ixx32 Motor xx Velocity Feedforward Gain

Use the following equation to establish a value for Ixx32:

Ixx32 = 6660 * ServoFreq (kHz)

where ServoFreq (kHz) is the frequency of the servo interrupt as established by I7m00, I7m01, and I7m02.

Example:

ServoFreq is set to default of 2.26 kHz (I7m00 = 6527, I7m01 = 0, I7m02 = 3). Ixx32 = 6660 * 2.26 = 15,050.

Note:

If Ixx30 were set differently from the above calculation, then Ixx32 would change inversely. For instance, if Ixx30 were twice the above calculation, then Ixx32 would be half its calculation.

Ixx33 Motor xx Integral Gain

Typically, This I-variable should be set to 0. The digital electronic loop does not present offsets or disturbances that need correction in the PMAC.

Ixx33 may be set to force zero steady-state errors, should they be present with electronic encoder feedback.

Ixx34 Motor xx Integration Mode

The default value of 1 is sufficient for this, since usually Ixx33 is set to zero. When Ixx33 is set to 0, this I-variable has no effect.

Ixx35 Motor xx Acceleration Feed-forward Gain

Start with this I-variable set to 0. Typically, this value does not need to be changed. However, Ixx35 might be adjusted to compensate for the small time delays created by the electronics when accelerating the stepper. The effect of adjusting Ixx35 will be to reduce a slight following error during motor acceleration.

Ixx36 - Ixx39 Motor xx Notch Filter Coefficients

These values should be set to their default value of 0. Since filter parameters adjust the way the gains operate due to physical resonance of a system, there is no need to set these I-variables.

System Wiring

31

Image 39
Contents 125 Delta Tau Data Systems, Inc. Technical Support Safety InstructionsCopyright Information Operating ConditionsPage Page Revision History Page Table of Contents Brick Motion Controller Hardware Reference Manual Introduction Brick Motion Controller FeaturesBrick Motion Controller Hardware Reference Manual Brick Motion Controller Options Part NumberAnalog I/O Options Communication OptionsMacro and Special Feedback Options Use of Equipment Receiving and UnpackingBrick Motion Controller Hardware Reference Manual Wiring Earth-Ground Noise ProblemsEarth Grounding Paths Connectors Pin Symbol FunctionX1-X8 Encoder Input 1 to X11-12 Analog I/O Ch7 X11 and Ch8 X12, Optional X9/10 Female DB-9 Connector Pin # SymbolX11/12 Female DB-9 Connector Pin # Symbol Function X9-10 Analog I/O Ch5 X9 and Ch6 X10, OptionalX15 Watchdog X13 USB 2.0 ConnectorX14 RJ45, Ethernet Connector Pin # SymbolTB1 Power Connector S1 Re-Initialization on Reset ControlS2 Firmware Reload Enable Description J4 Limit Inputs 1-4 AxisJ5 Limit Inputs 5-8 Axis Limit and Flag Circuit WiringGND Sample J4/J5, Flags Wiring DiagramsAMP1-AMP8 Amplifier connections 1 to Amplifier Fault / Amplifier Enable diagrams J6 General Purpose I/O J6 General Purpose I/O Female DB-37 Connector Pin # SymbolSourcing Sinking Suggested M-var. # AddressJ7 Extra General Purpose I/O Optional Symbol FunctionSuggested M-var. # Address J8 Extra General Purpose I/O Optional J8 General Purpose I/O Female DB-37 Connector Pin # SymbolSuggested M-var. # Address GBL Sample J6/J7, I/O Wiring DiagramsFunction Pin # Setting up Quadrature EncodersSignal Format Hardware SetupChannel# Address Description Encoder Loss SetupSetting up the Analog Inputs optional Filtered DAC Outputs Configuration optionalBipolar Parameters to Set up Global Hardware Signals Parameters to Set Up Per-Channel Hardware Signals Multi-Channel Servo IC I-Variables Setting up for Pulse and Direction OutputSoftware Setup I7m00 Servo IC m MaxPhase/PWM Frequency ControlI7mn0 Servo IC m Channel n Encoder Decode Control I7mn6 Servo IC m Channel n Output Mode SelectSingle-Channel I-Variables I7m04 PFM Pulse Width ControlIxx31 Motor x Derivative Gain Ixx34 Motor xx Integration ModeIxx30 Motor xx Proportional Gain ExampleBrick Motion Controller Hardware Reference Manual Watchdog Timer Actions on Watchdog Timer TripDiagnosing Cause of Watchdog Timer Trip Troubleshooting Screw Lock Size for all DB-connectors DB- Connector Spacing SpecificationsX1-8 DB-15 Connectors for encoder feedback X9-12 DB-9 Connectors for Analog I/OType of Cable for Encoder Wiring Appendix a Schematics J6 and J7 General Purpose I/OInputs Outputs Opto Gnd PlaneLimits 1,2,3,4 J4 Limit Inputs for AxisLimits 5,6,7,8 J5 Limit Inputs for AxisDimensional Layout and Connector location