RoboteQ AX3500 Running the Motors, Real-Time Strip Chart Recorder, Transmit and Receive Data

Page 193
4- Real-Time Strip Chart Recorder

Running the Motors

case the power level will be the one needed to keep the Amps within the limit. Note that the display value is not signed and thus does not provide rotation direction information.

The Ana fields contain the analog input values that are measured and reported by the con- troller. When the controller is in the position mode with Analog Feedback, the Ana1 and Ana2 fields will display the position sensed on the feedback potentiometer. When in speed mode, these fields display the measured speed by the tachometers. When the controller is in Analog command mode, the Ana 1 and Ana 2 show the vale of the command potentiom- eter, while the feedback is on Ana 3 and Ana 4.

In all other modes, this field will display the value at the analog input pin. A small button next to this field will toggle the display caption, and change the conversion algorithm from raw analog, to volts or temperature.

Note that in order to measure and display the external temperature or voltage, the proper external components must be added to the controller. See “Connecting External Ther- mistor to Analog Inputs” on page 65 and “Using the Analog Inputs to Monitor External Voltages” on page 66.

The Enc field contains the speed or position (depending on the selected operating mode) measured by the Optical Encoder if enabled.

The Temp field displays the temperature at the Output Power Transistors for each channel

The Bat Volt field displays the main battery’s voltage (voltage applied at the Vmot tabs).

The Ctrler Volt field displays the controller’s internal regulated 12V voltage.

4- Real-Time Strip Chart Recorder

This chart will plot the actual Amps consumption and other parameters as measured from the controller. When active, the chart will show measurement during the last five seconds.

Traces for most parameters can be displayed or hidden by clicking on the checkboxes found next to their numeric fields.

5- Transmit and Receive Data

These two fields show the data being exchanged between the PC and the controller. While these fields are updated too fast to be read by a person, they can be used to verify that a dialog is indeed taking place between the two units.

After the Start button is pressed, the Tx field will show a continuous string of commands and queries sent to the controller.

The Rx field will display the responses sent by the controller. If this field remains blank or is not changing even though the Tx field shows that data is being sent, then the controller is Off or possibly defective. Try resetting the controller and pressing the Run/Stop button.

These two fields are provided for quick diagnostic. Use the Console Tab for full visibility on the data exchange between the controller and the PC.

6- Input Status and Output Setting

This section includes two check boxes and three color squares. The check marks are used to activate either of the controller’s two outputs. The color blocks reflect the status of the

AX3500 Motor Controller User’s Manual

193

Image 193
Contents AX3500 Dual Channel High Power Digital Motor ControllerUser’s Manual Version 1.9b. June 1 AX3500 Motor Controller User’s ManualRevision History Revision HistoryDate VersionVersion 1.9b. June 1 Revision History General Operation SECTION SECTIONSECTION SECTION SECTION SECTION Programming using built-in Switches and Display Version 1.9b. June 1 Avoid Shorts when Mounting Board against Chassis Important SafetyDo not Connect to a RC Radio with a Battery Attached WarningsImportant Safety Warnings AX3500 Locating the Switches and ConnectorsQuick Start What you will needAX3500 Quick Start Connecting to the Batteries and Motors Connecting to the Batteries and MotorsImportant Warning Connecting to the 15-pin ConnectorSignal RC ModePowering On the Controller Connecting the R/C RadioConnecting the R/C Radio Prog and Set button status Button OperationFunction Default Controller Configuration Default Controller ConfigurationDefault Values ParameterConnecting the controller to your PC using Roborun Obtaining the Controller’s Software Revision Number Obtaining the Controller’s Software Revision Number= Software version 1.9b Exploring furtherProduct Description SECTION 3AX3500 Motor Controller OverviewMultiple Command Modes Technical featuresAutomatic Joystick Command Corrections AX3500 Motor Controller OverviewLow Power Consumption Technical featuresHigh Efficiency Motor Power Outputs Optical Encoder InputsData Logging Capabilities Advanced Safety FeaturesCompact Open Frame PCB Design Power Connections Connecting Power and Motors to the ControllerPower Connections Connecting Power and Motors to the Controller Controller PowerPower Control input is Controller PowerAnd Main Battery mended Off ConfigurationPowering the Controller from a single Battery Controller Powering SchemesController Powering Schemes Powering the Controller Using a Main and Backup BatteryConnecting the Motors Converting the AX3500 to Single Channel Single Channel OperationSingle Channel Operation Power Fuses Power Regeneration Considerations Wire Length LimitsElectrical Noise Reduction Techniques Wire Length LimitsUndervoltage Protection Overvoltage ProtectionUsing the Controller with a Power Supply Using the Controller with a Power SupplyAX3500 Motor Controller User’s Manual General Operation Input Command ModesBasic Operation Basic OperationOpen Loop, Separate Speed Control Selecting the Motor Control ModesOpen Loop, Mixed Speed Control General OperationClose Loop Position Control Closed Loop Speed ControlSelecting the Motor Control Modes Temperature-Based Current Limitation User Selected Current Limit SettingsPosition Feedback Position Sensor Gear box SettingBattery Current vs. Motor Current Battery Current vs. Motor CurrentMotor Current = Battery Current / PWM ratio TemperatureMotor Current = Battery Current / PWM Ratio Regeneration Current LimitingSetting Using Programmable AccelerationSwitches Programmable Acceleration15 Hex Command Control Curves17.97% 0.089 secondLeft / Right Tuning Adjustment Left / Right Tuning AdjustmentExponentiation Parameter Value Selected CurveParameter Value Speed AdjustmentEmergency Stop using External Switch Emergency Shut Down Using Controller SwitchesActivating Brake Release or Separate Motor Excitation Activating Brake Release or Separate Motor ExcitationUsing the Inputs to Activate the Buffered Output Special Use of Accessory Digital InputsUsing the Inputs to turn Off/On the Power MOSFET transistors Inverted OperationSelf-Test Mode Self-Test ModeEncoder Speed or Position AX3500 Connections Connecting Sensors and Actuators to Input/OutputsAX3500 Connections Connecting Sensors and Actuators to Input/Outputs AX3500’s Inputs and OutputsI/O type AX3500’s Inputs and OutputsActivated I/O List and Pin Assignment Pin1Signal depending Input orConnecting devices to Output C Connecting devices to Output CImportant warning Connecting Switches or Devices to Input FConnecting Switches or Devices to EStop/Invert Input Connecting Switches or Devices to EStop/Invert InputAnalog Inputs Connecting Position Potentiometers to Analog InputsConnecting Tachometer to Analog Inputs Connecting Tachometer to Analog InputsAna2 Operating ModeAna2 p10 Ana 1 p11Ana 3 p12 Ana 4 p8Connecting External Thermistor to Analog Inputs Connecting External Thermistor to Analog InputsTemp oC Resistance kOhmUsing the Analog Inputs to Monitor External Voltages Internal Voltage Monitoring Sensors Connecting User Devices to Analog InputsInternal Heatsink Temperature Sensors Connecting User Devices to Analog InputsValue Temperature Conversion C Source CodeAnalog else Internal Heatsink Temperature SensorsLoTemp = i * 5 HiTemp = LoTemp + 5 lobound = TempTablei hibound = TempTablei+1AX3500 Motor Controller User’s Manual RC Pulse Output Overview RC Pulses OutputRC Pulse Output Overview Connecting Servos to Controllers Connector Location and PinoutServo Connection to RevA Controllers RC Pulses OutputServo Connection to RevB Controllers Connecting to Slave ControllersConnecting to Slave Controllers Command Value Pulse Timing InformationPulse Width 1.00ms 1.50msRC Channel Testing Using the PC Utility RC Channel Testing Using the PC UtilityAX3500 Motor Controller User’s Manual Optical Incremental Encoders Overview Connecting and Using the Encoder FunctionOptical Incremental Encoders Overview Connecting and Using the Encoder Function Recommended Encoder TypesConnecting the Encoder Connecting the EncoderPulse Frequency in Hz = RPM / 60 * PPR Motor - Encoder Polarity Matching Cable Length and Noise ConsiderationsName Cable ColorVoltage Levels, Thresholds and Limit Switches Voltage Levels, Thresholds and Limit SwitchesWiring Optional Limit Switches Effect of Limit Switches Wiring Limit Switches Without EncodersWiring Limit Switches Without Encoders Motor 1 FwdUsing the Encoder to Measure Speed Using the Encoder Module to Measure DistanceMotor 2 Fwd Motor 2 RevImportant Notice Using the Encoder to Track PositionUsing the Encoder to Track Position Distance = Destination - Counter value / Divider The actual formula is as followsRS232 Communication with the Encoder Module Encoder Testing and Setting Using the PC UtilityRS232 Communication with the Encoder Module AX3500 Motor Controller User’s Manual Mode Description Closed Loop Position ModeSelecting the Position Mode Mode DescriptionSensor Mounting Position Sensor SelectionPosition Feedback Position Sensor Gear box Closed Loop Position ModeFeedback Potentiometer wiring in RC or RS232 Mode Feedback Potentiometer wiringFeedback Potentiometer wiring Feedback Potentiometer wiring in Analog Mode Feedback Wiring in Analog Mode on Single Channel Controllers Feedback Wiring in RC or RS232 Mode on Single Channel ControllersAnalog Feedback on Single Channel Controllers Analog Feedback on Single Channel ControllersSensor and Motor Polarity Using Optical Encoders in Position ModeEncoder Error Detection and Protection Important Safety WarningAdding Safety Limit Switches Encoder Error Detection and ProtectionFIGURE 62. Safety limit switches interrupting power to motors Control Loop Description Using Current Limiting as ProtectionUsing Current Limiting as Protection PID tuning in Position Mode Applied Power = Command Value - Actual Position * Proportional Gain PID tuning in Position ModeAX3500 Motor Controller User’s Manual Selecting the Speed Mode Closed Loop Speed ModeTachometer wiring Using Optical Encoder for Speed FeedbackDigital Optical EncodTachometer or Encoder Mounting Closed Loop Speed ModeSpeed Sensor and Motor Polarity Speed Sensor and Motor PolarityAdjust Offset and Max Speed PID tuning in Speed Mode PID tuning in Speed ModeIn Speed Mode, the Integral component of the PID is the most important and must be set first. The Proportional and Differential component will help improve the response time and loop stability Use of the LED Display Normal and Fault Condition LED MessagesUse of the LED Display Normal and Fault Condition LED Messages Motor Direction StatusPossible Display MotorNo Control Fault MessagesFault Messages Rapidly FlashingPermanent Faults Temporary FaultsSelf-Test Display Self-Test Display = Software version 1.9bAX3500 Motor Controller User’s Manual SECTION 12 R/C Operation Selecting the R/C Input Mode Connector I/O Pin Assignment R/C ModePin1 R/C OperationSupplied Cable Description R/C Input Circuit DescriptionR/C Input Circuit Description FIGURE 74. RC Cable wiring diagram Powering the Radio from the controllerFIGURE 75. RC connection cable Powering the Radio from the controller Operating the Controller in R/C mode Connecting to a Separately Powered RadioReception Watchdog Reception WatchdogR/C Transmitter/Receiver Quality Considerations Important Notice about PCM RadiosJoystick Deadband Programming Joystick Deadband ProgrammingDeadband Parameter Value Deadband as Percent of full Joystick TravelJoystick Calibration Left/Right Tuning AdjustmentAutomatic Joystick Calibration Automatic Joystick CalibrationOn before entering joystick calibration Data Logging in R/C ModeDB15 Male Data Logging in R/C ModeTo Controller AX3500 Motor Controller User’s Manual Analog Control and Operation Analog Control and Operation Connector I/O Pin Assignment Analog ModeConnecting a Potentiometer Connecting to a Voltage SourceConnecting to a Voltage Source Selecting the Potentiometer Value Analog Deadband Adjustment Under Voltage Safety Power-On SafetyData Logging in Analog Mode Motor Power at 0%Data Logging in Analog Mode AX3500 Motor Controller User’s Manual Use and benefits of RS232 Serial RS-232 Controls and OperationUse and benefits of RS232 Serial RS-232 Controls and Operation Connector I/O Pin Assignment RS232 ModeExtending the RS232 Cable Cable configurationCable configuration 9600 bits/s, 7-bit data, 1 Start bit, 1 Stop bit, Even Parity Communication SettingsEstablishing Manual Communication with a PC Establishing Manual Communication with a PC RS232 Communication with the Encoder ModuleRoboteq v1.9b 06/01/07 s Data Logging String in R/C or Analog mode Entering RS232 from R/C or Analog modeRS232 Mode if default Commands Acknowledge and Error MessagesCommand Acknowledgement Command ErrorRS-232 Watchdog Controller Commands and QueriesCommand TypeSet Accessory Output Set Motor Command ValueQuery Power Applied to Motors Controller Commands and QueriesSyntax Query Amps from Battery to each Motor ChannelQuery Heatsink Temperatures Query Analog Inputs?r or ?R ?m or ?MReset Controller Query Battery VoltagesQuery Digital Inputs ExamplesApply Parameter Changes Accessing & Changing Configuration Parameter in FlashAccessing & Changing Configuration Parameter in Flash Read parameterLocation Flash Configuration Parameters ListActive after Motor Control Mode Input Control ModeAccess After ResetAcceleration Amps LimitDefinition Input Switches Function RC Joystick or Analog Deadband Left/Right AdjustExponentiation on Channel 1 and Channel 08 - ChannelDefault Encoder Distance Divider Default Encoder Time Base 1 and0B - Encoder 0C - EncoderJoystick Min, Max and Center Values Default PID Gains0F - Proportional Gain 10 - Integral GainReading & Changing Operating Parameters at Runtime Reading & Changing Operating Parameters at RuntimeRead/Change PID Values Operating Modes RegistersAccess Read/Write Effective Instantly 80 - ChannelController Status Register PWM Frequency RegisterAddress Access Read/Write Effective Instantly Fault ConditionCurrent Amps Limit Registers Controller Identification RegisterModel or Function 8B - ChannelSet/Reset Encoder Counters and Destination Registers RS232 Encoder Command SetRead Encoder Counter RS232 Encoder Command Setq or !Q n Read Speed7 Set Encoder 1 destination register with value in buffer 8 Set Encoder 2 destination register with value in bufferRead Distance Read Encoder Limit Switch StatusRead Speed/Distance Read / Modify Encoder Module Registers and Parameters Important NoteSwitch n ValueSize Parameter DescriptionRegister Description Switch StatusEncoder Hardware ID code Address *84Counter Read/Write Mailbox Speed or Distance 1 orCounter 1 and Destination Register 1 andSpeed 1 and Distance 1 andTime Base 1 and Encoder ThresholdRC Pulse Outputs Activation Counter Read Data FormatDefault Value Counter Read Data Format32-bit Hex DecimalController Output Automatic Switching from RS232 to RC Mode Automatic Switching from RS232 to RC ModeAnalog and R/C Modes Data Logging String Format 00 11 22 33 44 55 66 77 88 99 AA BB CCData Logging Cables Decimal to Hexadecimal Conversion Table Decimal to Hexadecimal Conversion TableAX3500 Motor Controller User’s Manual AX3500 Motor Controller User’s Manual Decimal to Hexadecimal Conversion TableVersion 1.9b. June 1 Programming using built-in Switches and Display SECTION 15 Configuring the Controller using the SwitchesProgramming Methods Configuring the Controller using the Switches Entering Programming ModeProgram The Special Case of Joystick Calibration Changing parametersProgramming using built-in Switches and Display Exiting the Parameter Setting Mode Restoring factory defaultsProgrammable Parameters List This manual is for software version 1.9bFor safety reasons, the modes below Possible Values defaultcannot be selected using the switches Programmable Parameters ListPossible Values default Downloading and Installing the Utility SECTION 16 Using the Roborun Configuration UtilitySystem Requirements Using the Roborun Configuration Utility Connecting the Controller to the PCRoborun Frame, Tab and Menu Descriptions Roborun Frame, Tab and Menu Descriptions1- Program Revision Number 2- Controller and Communication Link Information3- Parameter Selection and Setting and Special Functions Getting On-Screen Help4- File and Program Management Commands 5- View Controller Connector PinoutLoading, Changing Controller Parameters Control SettingsLoading, Changing Controller Parameters 1- Controller Input3- Input Command Adjustment Power Settings4- Emergency Stop or Invert Switch Select 5- Effect of Digital InputsLoading, Changing Controller Parameters 2- Left/Right Adjust Analog or R/C Specific Settings3- Acceleration Setting 1- DeadbandClosed Loop Parameters Encoder Setting and TestingEncoder Setting and Testing Encoder Module Parameters Setting Exercising the Motors RC Output Testing Viewing Encoder Data Running the Motors Running the Motors1- Run/Stop Button 2- Motor Power setting3- Measurement 6- Input Status and Output Setting 4- Real-Time Strip Chart Recorder5- Transmit and Receive Data 7- Data Logging and Timer Logging Data to Disk8- Joystick Enable 4- Reset Timer buttonParameter Header Connecting a JoystickData type/range Measured Parameter2- Command Entry Using the Console1- Terminal Screen Loading and Saving Profiles to Disk Viewing and Logging Data in Analog and R/C Modes4- Send Reset String Viewing and Logging Data in Analog and R/C ModesOperating the AX3500 over a Wired or Wireless LAN Updating the Controller’s Software Updating the Controller’s SoftwareUpdating the Encoder Software Creating Customized Object FilesCreating Customized Object Files AX3500 Motor Controller User’s Manual Mechanical Dimensions Mechanical SpecificationsMechanical Dimensions Thermal Considerations Mounting ConsiderationsMechanical Specifications Attaching the Controller Directly to a Chassis Attaching the Controller Directly to a ChassisPrecautions to observe Weight Wire DimensionsWire Dimensions AX3500 Motor Controller User’s Manual Mechanical SpecificationsVersion 1.9b. June 1
Related manuals
Manual 2 pages 10.03 Kb