Delta Tau 5xx-603869-xUxx manual Setting up the Analog Inputs optional, Bipolar

Page 34

Brick Motion Controller Hardware Reference Manual

For more details about Encoder Loss look into the Turbo USERs Manual chapter: Making Your Application Safe.

Setting up the Analog Inputs (optional)

The Brick Motion Controller can be ordered with two or four 16-bit hi-resolution analog to digital converters.

The Brick Motion Controller uses the Burr Brown ADS8361. See Appendix B for partial Schematics

When selected for bipolar mode, differential inputs allow the user to apply input voltages to ±5 volts (10Vp-p).

To read the A/D data, the user needs to set the ADC strobe word for the second gate array to I7106 = $1FFFFF. Also, the user needs to create M-variable definitions that point to the ADC inputs (M-variables that are used are suggested ones) for channels 5 to 8.

Bipolar

The data received is a signed 16-bit number scaled from –5V to +5V (-32768cts to 32767cts).

M5061->Y:$78105,8,116,s ;ch5 A-D channel

M5062->Y:$7810D,8,16,s ;ch6 A-D channel

M5063->Y:$78115,8,16,s ;ch7 A-D channel

M5064->Y:$7811D,8,16,s ;ch8 A-D channel

Filtered DAC Outputs Configuration (optional)

The Brick Motion Controller analog +/-10V outputs are produced by filtering a PWM signal. This technique has been used for some time now by some other DeltaTau products (PMAC2A-PC/104) and many of our competitors. Although this technique does not contain the same levels of performance as a true Digital to Analog converter (DAC), for most servo applications it is more than adequate. Passing the PWM signal through a 10KHz low pass filter creates the +/-10V signal output. The duty cycle of the PWM signal is what generates the magnitude the voltage output. The frequency of the PWM signal determines the magnitude and frequency of ripple on that +/-10V signal. As you lower the PWM frequency and subsequently increase your output resolution, you increase the magnitude of the ripple as well as slow down the frequency of the ripple as well. Depending on the system, this ripple can effect performance at different levels.

Both the resolution and the frequency of the Filtered PWM outputs are configured in software on the Brick Motion Controller through the variable I7m00. This I7m00 variable also effects the phase and servo interrupts. Therefore as we change I7m00 we will also have to change I7m01 (phase clock divider), I7m02 (servo clock divider), and I10 (servo interrupt time). These four variables are all related and must be understood before adjusting parameters. I7mn6 (m=1, n=1-4) needs to be set for PWM output.

When the analog I/O option is ordered the Brick Motion Controller comes with 2 or 4 analog (+/10VDC) output signals. These analog output signals are filtered PWM signals, 12-bit analog outputs. These outputs can be either single-ended or differential. For a single-ended analog output use the DACn+ side of the signal and leave the DACn- floating; do not ground it. For a differential command output, connect the positive side of the DACn+, and the negative side DACn-.

To limit the range of each signal to ±5V, use parameter Ixx69. Any analog output not used for dedicated servo purposes may be utilized as a general-purpose analog output. Usually this is done by defining an M-variable to the digital-to-analog-converter register (suggested M-variable definitions M502, M602,

26

System Wiring

Image 34
Contents 125 Operating Conditions Safety InstructionsCopyright Information Delta Tau Data Systems, Inc. Technical SupportPage Page Revision History Page Table of Contents Brick Motion Controller Hardware Reference Manual Brick Motion Controller Features IntroductionBrick Motion Controller Hardware Reference Manual Part Number Brick Motion Controller OptionsCommunication Options Analog I/O OptionsMacro and Special Feedback Options Receiving and Unpacking Use of EquipmentBrick Motion Controller Hardware Reference Manual Noise Problems Wiring Earth-GroundEarth Grounding Paths Pin Symbol Function ConnectorsX1-X8 Encoder Input 1 to X9-10 Analog I/O Ch5 X9 and Ch6 X10, Optional X9/10 Female DB-9 Connector Pin # SymbolX11/12 Female DB-9 Connector Pin # Symbol Function X11-12 Analog I/O Ch7 X11 and Ch8 X12, OptionalPin # Symbol X13 USB 2.0 ConnectorX14 RJ45, Ethernet Connector X15 WatchdogS1 Re-Initialization on Reset Control TB1 Power ConnectorS2 Firmware Reload Enable J4 Limit Inputs 1-4 Axis DescriptionLimit and Flag Circuit Wiring J5 Limit Inputs 5-8 AxisSample J4/J5, Flags Wiring Diagrams GNDAMP1-AMP8 Amplifier connections 1 to Amplifier Fault / Amplifier Enable diagrams J6 General Purpose I/O Female DB-37 Connector Pin # Symbol J6 General Purpose I/OSuggested M-var. # Address Sourcing SinkingSymbol Function J7 Extra General Purpose I/O OptionalSuggested M-var. # Address J8 General Purpose I/O Female DB-37 Connector Pin # Symbol J8 Extra General Purpose I/O OptionalSuggested M-var. # Address Sample J6/J7, I/O Wiring Diagrams GBLHardware Setup Setting up Quadrature EncodersSignal Format Function Pin #Encoder Loss Setup Channel# Address DescriptionFiltered DAC Outputs Configuration optional Setting up the Analog Inputs optionalBipolar Parameters to Set up Global Hardware Signals Parameters to Set Up Per-Channel Hardware Signals I7m00 Servo IC m MaxPhase/PWM Frequency Control Setting up for Pulse and Direction OutputSoftware Setup Multi-Channel Servo IC I-VariablesI7m04 PFM Pulse Width Control I7mn6 Servo IC m Channel n Output Mode SelectSingle-Channel I-Variables I7mn0 Servo IC m Channel n Encoder Decode ControlExample Ixx34 Motor xx Integration ModeIxx30 Motor xx Proportional Gain Ixx31 Motor x Derivative GainBrick Motion Controller Hardware Reference Manual Actions on Watchdog Timer Trip Watchdog TimerDiagnosing Cause of Watchdog Timer Trip Troubleshooting X9-12 DB-9 Connectors for Analog I/O DB- Connector Spacing SpecificationsX1-8 DB-15 Connectors for encoder feedback Screw Lock Size for all DB-connectorsType of Cable for Encoder Wiring Appendix a J6 and J7 General Purpose I/O SchematicsInputs Opto Gnd Plane OutputsJ4 Limit Inputs for Axis Limits 1,2,3,4J5 Limit Inputs for Axis Limits 5,6,7,8Dimensional Layout and Connector location