RoboteQ user manual Running the Motors, AX3500 Motor Controller User’s Manual

Page 191
Running the Motors

Running the Motors

FIGURE 108. RC Output exercising screen

From this screen, moving the cursor on any of the 8 sliders will cause the PC to send RC positioning command to the controller via the RS232 port to its respective output.

Running the Motors

The Roborun utility will let you exercise and monitor the motors, sensors and actuators using a computer. This feature is particularly useful during development as you will be able to visualize, in real-time, the robot’s Amps consumption and other vital statistics during actual operating conditions.

Figure 109 shows the Run Screen and its numerous buttons and dials.

AX3500 Motor Controller User’s Manual

191

Image 191
Contents User’s Manual Dual Channel High Power Digital Motor ControllerAX3500 Version 1.9b. June 1 AX3500 Motor Controller User’s ManualVersion Revision HistoryRevision History DateVersion 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 Warnings Important SafetyAvoid Shorts when Mounting Board against Chassis Do not Connect to a RC Radio with a Battery AttachedImportant Safety Warnings What you will need Locating the Switches and ConnectorsAX3500 Quick StartAX3500 Quick Start Connecting to the Batteries and Motors Connecting to the Batteries and MotorsRC Mode Connecting to the 15-pin ConnectorImportant Warning SignalConnecting the R/C Radio Connecting the R/C RadioPowering On the Controller Function Button OperationProg and Set button status Parameter Default Controller ConfigurationDefault Controller Configuration Default ValuesConnecting 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 OverviewAX3500 Motor Controller Overview Technical featuresMultiple Command Modes Automatic Joystick Command CorrectionsOptical Encoder Inputs Technical featuresLow Power Consumption High Efficiency Motor Power OutputsCompact Open Frame PCB Design Advanced Safety FeaturesData Logging Capabilities Power Connections Connecting Power and Motors to the ControllerPower Connections Connecting Power and Motors to the Controller Controller Powermended Off Configuration Controller PowerPower Control input is And Main BatteryPowering the Controller from a single Battery Controller Powering SchemesController Powering Schemes Powering the Controller Using a Main and Backup BatteryConnecting the Motors Single Channel Operation Single Channel OperationConverting the AX3500 to Single Channel Power Fuses Wire Length Limits Wire Length LimitsPower Regeneration Considerations Electrical Noise Reduction TechniquesUndervoltage Protection Overvoltage ProtectionUsing the Controller with a Power Supply Using the Controller with a Power SupplyVersion 1.9b. June 1 Basic Operation Input Command ModesGeneral Operation Basic OperationGeneral Operation Selecting the Motor Control ModesOpen Loop, Separate Speed Control Open Loop, Mixed Speed ControlSelecting the Motor Control Modes Closed Loop Speed ControlClose Loop Position Control Setting User Selected Current Limit SettingsTemperature-Based Current Limitation Position Feedback Position Sensor Gear boxTemperature Battery Current vs. Motor CurrentBattery Current vs. Motor Current Motor Current = Battery Current / PWM ratioMotor Current = Battery Current / PWM Ratio Regeneration Current LimitingProgrammable Acceleration Programmable AccelerationSetting Using Switches0.089 second Command Control Curves15 Hex 17.97%Selected Curve Left / Right Tuning AdjustmentLeft / Right Tuning Adjustment Exponentiation Parameter ValueParameter Value Speed AdjustmentActivating Brake Release or Separate Motor Excitation Emergency Shut Down Using Controller SwitchesEmergency Stop using External Switch Activating Brake Release or Separate Motor ExcitationInverted Operation Special Use of Accessory Digital InputsUsing the Inputs to Activate the Buffered Output Using the Inputs to turn Off/On the Power MOSFET transistorsSelf-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 OutputsActivated AX3500’s Inputs and OutputsI/O type Input or Pin1I/O List and Pin Assignment Signal dependingConnecting 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 InputsOperating Mode Connecting Tachometer to Analog InputsConnecting Tachometer to Analog Inputs Ana2Ana 4 p8 Ana 1 p11Ana2 p10 Ana 3 p12Resistance kOhm Connecting External Thermistor to Analog InputsConnecting External Thermistor to Analog Inputs Temp oCUsing the Analog Inputs to Monitor External Voltages Connecting User Devices to Analog Inputs Connecting User Devices to Analog InputsInternal Voltage Monitoring Sensors Internal Heatsink Temperature SensorsAnalog Temperature Conversion C Source CodeValue HiTemp = LoTemp + 5 lobound = TempTablei hibound = TempTablei+1 Internal Heatsink Temperature Sensorselse LoTemp = i * 5Version 1.9b. June 1 RC Pulse Output Overview RC Pulses OutputRC Pulse Output Overview RC Pulses Output Connector Location and PinoutConnecting Servos to Controllers Servo Connection to RevA ControllersConnecting to Slave Controllers Connecting to Slave ControllersServo Connection to RevB Controllers 1.50ms Pulse Timing InformationCommand Value Pulse Width 1.00msRC Channel Testing Using the PC Utility RC Channel Testing Using the PC UtilityVersion 1.9b. June 1 Optical Incremental Encoders Overview Connecting and Using the Encoder FunctionOptical Incremental Encoders Overview Connecting and Using the Encoder Function Recommended Encoder TypesPulse Frequency in Hz = RPM / 60 * PPR Connecting the EncoderConnecting the Encoder Cable Color Cable Length and Noise ConsiderationsMotor - Encoder Polarity Matching NameVoltage Levels, Thresholds and Limit Switches Voltage Levels, Thresholds and Limit SwitchesWiring Optional Limit Switches Motor 1 Fwd Wiring Limit Switches Without EncodersEffect of Limit Switches Wiring Limit Switches Without EncodersMotor 2 Rev Using the Encoder Module to Measure DistanceUsing the Encoder to Measure Speed Motor 2 FwdUsing the Encoder to Track Position Using the Encoder to Track PositionImportant Notice 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 Version 1.9b. June 1 Mode Description Closed Loop Position ModeMode Description Selecting the Position ModeClosed Loop Position Mode Position Sensor SelectionSensor Mounting Position Feedback Position Sensor Gear boxFeedback Potentiometer wiring Feedback Potentiometer wiringFeedback Potentiometer wiring in RC or RS232 Mode Feedback Potentiometer wiring in Analog Mode Analog Feedback on Single Channel Controllers Feedback Wiring in RC or RS232 Mode on Single Channel ControllersFeedback Wiring in Analog Mode 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 WarningEncoder Error Detection and Protection Adding Safety Limit SwitchesFIGURE 62. Safety limit switches interrupting power to motors Using Current Limiting as Protection Using Current Limiting as ProtectionControl Loop Description PID tuning in Position Mode Applied Power = Command Value - Actual Position * Proportional Gain PID tuning in Position ModeVersion 1.9b. June 1 Selecting the Speed Mode Closed Loop Speed ModeClosed Loop Speed Mode Using Optical Encoder for Speed FeedbackDigital Optical EncodTachometer wiring Tachometer or Encoder MountingSpeed 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 Motor Motor Direction StatusNormal and Fault Condition LED Messages Possible DisplayRapidly Flashing Fault MessagesNo Control Fault MessagesSelf-Test Display Temporary FaultsPermanent Faults Self-Test Display = Software version 1.9bVersion 1.9b. June 1 SECTION 12 R/C Operation R/C Operation Connector I/O Pin Assignment R/C ModeSelecting the R/C Input Mode Pin1R/C Input Circuit Description R/C Input Circuit DescriptionSupplied Cable Description FIGURE 75. RC connection cable Powering the Radio from the controllerFIGURE 74. RC Cable wiring diagram 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 RadiosDeadband as Percent of full Joystick Travel Joystick Deadband ProgrammingJoystick Deadband Programming Deadband Parameter ValueJoystick Calibration Left/Right Tuning AdjustmentAutomatic Joystick Calibration Automatic Joystick CalibrationOn before entering joystick calibration Data Logging in R/C ModeTo Controller Data Logging in R/C ModeDB15 Male Version 1.9b. June 1 Analog Control and Operation Analog Control and Operation Connector I/O Pin Assignment Analog ModeConnecting to a Voltage Source Connecting to a Voltage SourceConnecting a Potentiometer Selecting the Potentiometer Value Analog Deadband Adjustment Motor Power at 0% Power-On SafetyUnder Voltage Safety Data Logging in Analog ModeData Logging in Analog Mode Version 1.9b. June 1 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 ModeCable configuration Cable configurationExtending the RS232 Cable Establishing Manual Communication with a PC Communication Settings9600 bits/s, 7-bit data, 1 Start bit, 1 Stop bit, Even Parity Roboteq v1.9b 06/01/07 s RS232 Communication with the Encoder ModuleEstablishing Manual Communication with a PC Data Logging String in R/C or Analog mode Entering RS232 from R/C or Analog modeCommand Error Commands Acknowledge and Error MessagesRS232 Mode if default Command AcknowledgementType Controller Commands and QueriesRS-232 Watchdog CommandController Commands and Queries Set Motor Command ValueSet Accessory Output Query Power Applied to MotorsSyntax Query Amps from Battery to each Motor Channel?m or ?M Query Analog InputsQuery Heatsink Temperatures ?r or ?RExamples Query Battery VoltagesReset Controller Query Digital InputsRead parameter Accessing & Changing Configuration Parameter in FlashApply Parameter Changes Accessing & Changing Configuration Parameter in FlashActive after Flash Configuration Parameters ListLocation After Reset Input Control ModeMotor Control Mode AccessDefinition Amps LimitAcceleration Input Switches Function 08 - Channel Left/Right AdjustRC Joystick or Analog Deadband Exponentiation on Channel 1 and Channel0C - Encoder Default Encoder Time Base 1 andDefault Encoder Distance Divider 0B - Encoder10 - Integral Gain Default PID GainsJoystick Min, Max and Center Values 0F - Proportional GainReading & Changing Operating Parameters at Runtime Reading & Changing Operating Parameters at Runtime80 - Channel Operating Modes RegistersRead/Change PID Values Access Read/Write Effective InstantlyFault Condition PWM Frequency RegisterController Status Register Address Access Read/Write Effective Instantly8B - Channel Controller Identification RegisterCurrent Amps Limit Registers Model or FunctionRS232 Encoder Command Set RS232 Encoder Command SetSet/Reset Encoder Counters and Destination Registers Read Encoder Counter8 Set Encoder 2 destination register with value in buffer Read Speedq or !Q n 7 Set Encoder 1 destination register with value in bufferRead Speed/Distance Read Encoder Limit Switch StatusRead Distance n Value Important NoteRead / Modify Encoder Module Registers and Parameters SwitchSize Parameter DescriptionAddress *84 Switch StatusRegister Description Encoder Hardware ID codeDestination Register 1 and Speed or Distance 1 orCounter Read/Write Mailbox Counter 1 andEncoder Threshold Distance 1 andSpeed 1 and Time Base 1 andCounter Read Data Format Counter Read Data FormatRC Pulse Outputs Activation Default ValueController Output Decimal32-bit Hex Automatic Switching from RS232 to RC Mode Automatic Switching from RS232 to RC ModeData Logging Cables 00 11 22 33 44 55 66 77 88 99 AA BB CCAnalog and R/C Modes Data Logging String Format 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 Methods SECTION 15 Configuring the Controller using the SwitchesProgramming using built-in Switches and Display Program Entering Programming ModeConfiguring the Controller using the Switches Programming using built-in Switches and Display Changing parametersThe Special Case of Joystick Calibration This manual is for software version 1.9b Restoring factory defaultsExiting the Parameter Setting Mode Programmable Parameters ListProgrammable Parameters List Possible Values defaultFor safety reasons, the modes below cannot be selected using the switchesLetter System Requirements SECTION 16 Using the Roborun Configuration UtilityDownloading and Installing the Utility Using the Roborun Configuration Utility Connecting the Controller to the PC2- Controller and Communication Link Information Roborun Frame, Tab and Menu DescriptionsRoborun Frame, Tab and Menu Descriptions 1- Program Revision Number5- View Controller Connector Pinout Getting On-Screen Help3- Parameter Selection and Setting and Special Functions 4- File and Program Management Commands1- Controller Input Control SettingsLoading, Changing Controller Parameters Loading, Changing Controller Parameters5- Effect of Digital Inputs Power Settings3- Input Command Adjustment 4- Emergency Stop or Invert Switch Select1- Deadband Analog or R/C Specific SettingsLoading, Changing Controller Parameters 2- Left/Right Adjust 3- Acceleration Setting Closed Loop Parameters Encoder Setting and TestingEncoder Setting and Testing Encoder Module Parameters SettingViewing Encoder Data RC Output TestingExercising the Motors Running the Motors Running the Motors3- Measurement 2- Motor Power setting1- Run/Stop Button 5- Transmit and Receive Data 4- Real-Time Strip Chart Recorder6- Input Status and Output Setting 4- Reset Timer button Logging Data to Disk7- Data Logging and Timer 8- Joystick EnableMeasured Parameter Connecting a JoystickParameter Header Data type/range1- Terminal Screen Using the Console2- Command Entry Viewing and Logging Data in Analog and R/C Modes Viewing and Logging Data in Analog and R/C ModesLoading and Saving Profiles to Disk 4- Send Reset StringOperating 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 Version 1.9b. June 1 Mechanical Dimensions Mechanical SpecificationsMechanical Dimensions Mechanical Specifications Mounting ConsiderationsThermal Considerations Attaching the Controller Directly to a Chassis Attaching the Controller Directly to a ChassisPrecautions to observe Wire Dimensions Wire DimensionsWeight Version 1.9b. June 1 Mechanical SpecificationsAX3500 Motor Controller User’s Manual
Related manuals
Manual 2 pages 10.03 Kb