RoboteQ user manual Connecting the controller to your PC using Roborun, AX3500 Quick Start

Page 22
Connecting the controller to your PC using Roborun

AX3500 Quick Start

Restart

Press & hold Prog

Program mode entered after 10 seconds

Press Prog to select next parameter

Press Set to select next value for parameter

Press Prog to store change and select next parameter

Reset controller to exit

Press and hold the Prog button for 10 seconds while resetting or powering on the controller

After 10 seconds, the controller will enter the program- ming mode and flash alternatively the current parame- ter (I= Input Mode) and its value (0= R/C mode).

Press the Prog button to move to the next parameter (C= Motor Control Mode) and its value (0= Separate)

Press the Set button to change the parameter’s value (1= Combined)

Press the Prog button record the change and move to the next parameter (A= Amps limit) and it’s value (2= 75A)

Press the Reset button or power off/on the control to restart the controller using the new parameters.

Connecting the controller to your PC using Roborun

Connecting the controller to your PC is not necessary for basic R/C operation. However, it is a very simple procedure that is useful for the following purposes:

to Read and Set the programmable parameters with a user-friendly graphical inter- face

to obtain the controller’s software revision and date

to send precise commands to the motors

to read and plot real-time current consumption value

Save captured parameters onto disk for later analysis

to update the controller’s software

22

AX3500 Motor Controller User’s Manual

Version 1.9b. June 1, 2007

Image 22
Contents AX3500 Dual Channel High Power Digital Motor ControllerUser’s Manual AX3500 Motor Controller User’s Manual Version 1.9b. June 1Date Revision HistoryRevision History VersionAX3500 Motor Controller User’s Manual Revision History General Operation SECTION SECTIONSECTION SECTION SECTION SECTION Programming using built-in Switches and Display AX3500 Motor Controller User’s Manual Do not Connect to a RC Radio with a Battery Attached Important SafetyAvoid Shorts when Mounting Board against Chassis WarningsImportant Safety Warnings Quick Start Locating the Switches and ConnectorsAX3500 What you will needAX3500 Quick Start Connecting to the Batteries and Motors Connecting to the Batteries and MotorsSignal Connecting to the 15-pin ConnectorImportant Warning RC Mode Powering On the Controller Connecting the R/C Radio Connecting the R/C Radio Prog and Set button status Button OperationFunction Default Values Default Controller ConfigurationDefault Controller Configuration ParameterConnecting the controller to your PC using Roborun Obtaining the Controller’s Software Revision Number Obtaining the Controller’s Software Revision NumberExploring further = Software version 1.9bSECTION 3AX3500 Motor Controller Overview Product DescriptionAutomatic Joystick Command Corrections Technical featuresMultiple Command Modes AX3500 Motor Controller OverviewHigh Efficiency Motor Power Outputs Technical featuresLow Power Consumption Optical Encoder InputsData Logging Capabilities Advanced Safety FeaturesCompact Open Frame PCB Design Power Connections Connecting Power and Motors to the ControllerPower Connections Controller Power Connecting Power and Motors to the ControllerAnd Main Battery Controller PowerPower Control input is mended Off ConfigurationController Powering Schemes Powering the Controller from a single BatteryPowering the Controller Using a Main and Backup Battery Controller Powering SchemesConnecting the Motors Converting the AX3500 to Single Channel Single Channel OperationSingle Channel Operation Power Fuses Electrical Noise Reduction Techniques Wire Length LimitsPower Regeneration Considerations Wire Length LimitsOvervoltage Protection Undervoltage ProtectionUsing the Controller with a Power Supply Using the Controller with a Power SupplyAX3500 Motor Controller User’s Manual Basic Operation Input Command ModesGeneral Operation Basic OperationOpen Loop, Mixed Speed Control Selecting the Motor Control ModesOpen Loop, Separate Speed Control General OperationClose Loop Position Control Closed Loop Speed ControlSelecting the Motor Control Modes Position Feedback Position Sensor Gear box User Selected Current Limit SettingsTemperature-Based Current Limitation SettingMotor Current = Battery Current / PWM ratio Battery Current vs. Motor CurrentBattery Current vs. Motor Current TemperatureRegeneration Current Limiting Motor Current = Battery Current / PWM RatioSwitches Programmable AccelerationSetting Using Programmable Acceleration17.97% Command Control Curves15 Hex 0.089 secondExponentiation Parameter Value Left / Right Tuning AdjustmentLeft / Right Tuning Adjustment Selected CurveSpeed Adjustment Parameter ValueActivating Brake Release or Separate Motor Excitation Emergency Shut Down Using Controller SwitchesEmergency Stop using External Switch Activating Brake Release or Separate Motor ExcitationUsing the Inputs to turn Off/On the Power MOSFET transistors Special Use of Accessory Digital InputsUsing the Inputs to Activate the Buffered Output Inverted OperationSelf-Test Mode Self-Test ModeEncoder Speed or Position AX3500 Connections Connecting Sensors and Actuators to Input/OutputsAX3500 Connections AX3500’s Inputs and Outputs Connecting Sensors and Actuators to Input/OutputsI/O type AX3500’s Inputs and OutputsActivated Signal depending Pin1I/O List and Pin Assignment Input orConnecting devices to Output C Connecting devices to Output CConnecting Switches or Devices to Input F Important warningConnecting Switches or Devices to EStop/Invert Input Connecting Switches or Devices to EStop/Invert InputConnecting Position Potentiometers to Analog Inputs Analog InputsAna2 Connecting Tachometer to Analog InputsConnecting Tachometer to Analog Inputs Operating ModeAna 3 p12 Ana 1 p11Ana2 p10 Ana 4 p8Temp oC Connecting External Thermistor to Analog InputsConnecting External Thermistor to Analog Inputs Resistance kOhmUsing the Analog Inputs to Monitor External Voltages Internal Heatsink Temperature Sensors Connecting User Devices to Analog InputsInternal Voltage Monitoring Sensors Connecting User Devices to Analog InputsValue Temperature Conversion C Source CodeAnalog LoTemp = i * 5 Internal Heatsink Temperature Sensorselse HiTemp = LoTemp + 5 lobound = TempTablei hibound = TempTablei+1AX3500 Motor Controller User’s Manual RC Pulse Output Overview RC Pulses OutputRC Pulse Output Overview Servo Connection to RevA Controllers Connector Location and PinoutConnecting Servos to Controllers RC Pulses OutputServo Connection to RevB Controllers Connecting to Slave ControllersConnecting to Slave Controllers Pulse Width 1.00ms Pulse Timing InformationCommand Value 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 Recommended Encoder Types Connecting and Using the Encoder FunctionConnecting the Encoder Connecting the EncoderPulse Frequency in Hz = RPM / 60 * PPR Name Cable Length and Noise ConsiderationsMotor - Encoder Polarity Matching Cable ColorVoltage Levels, Thresholds and Limit Switches Voltage Levels, Thresholds and Limit SwitchesWiring Optional Limit Switches Wiring Limit Switches Without Encoders Wiring Limit Switches Without EncodersEffect of Limit Switches Motor 1 FwdMotor 2 Fwd Using the Encoder Module to Measure DistanceUsing the Encoder to Measure Speed Motor 2 RevImportant Notice Using the Encoder to Track PositionUsing the Encoder to Track Position The actual formula is as follows Distance = Destination - Counter value / DividerRS232 Communication with the Encoder Module Encoder Testing and Setting Using the PC UtilityRS232 Communication with the Encoder Module AX3500 Motor Controller User’s Manual Selecting the Position Mode Closed Loop Position ModeMode Description Mode DescriptionPosition Feedback Position Sensor Gear box Position Sensor SelectionSensor Mounting Closed Loop Position ModeFeedback Potentiometer wiring in RC or RS232 Mode Feedback Potentiometer wiringFeedback Potentiometer wiring 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 ControllersUsing Optical Encoders in Position Mode Sensor and Motor PolarityAdding Safety Limit Switches Important Safety WarningEncoder Error Detection and Protection 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 PID tuning in Position Mode Applied Power = Command Value - Actual Position * Proportional GainAX3500 Motor Controller User’s Manual Closed Loop Speed Mode Selecting the Speed ModeTachometer or Encoder Mounting Using Optical Encoder for Speed FeedbackDigital Optical EncodTachometer wiring 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 Possible Display Motor Direction StatusNormal and Fault Condition LED Messages MotorFault Messages Fault MessagesNo Control Rapidly FlashingPermanent Faults Temporary FaultsSelf-Test Display = Software version 1.9b Self-Test DisplayAX3500 Motor Controller User’s Manual SECTION 12 R/C Operation Pin1 Connector I/O Pin Assignment R/C ModeSelecting the R/C Input Mode 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 Connecting to a Separately Powered Radio Operating the Controller in R/C modeReception Watchdog Reception WatchdogImportant Notice about PCM Radios R/C Transmitter/Receiver Quality ConsiderationsDeadband Parameter Value Joystick Deadband ProgrammingJoystick Deadband Programming Deadband as Percent of full Joystick TravelLeft/Right Tuning Adjustment Joystick CalibrationAutomatic Joystick Calibration Automatic Joystick CalibrationData Logging in R/C Mode On before entering joystick calibrationDB15 Male Data Logging in R/C ModeTo Controller AX3500 Motor Controller User’s Manual Analog Control and Operation Connector I/O Pin Assignment Analog Mode Analog Control and OperationConnecting a Potentiometer Connecting to a Voltage SourceConnecting to a Voltage Source Selecting the Potentiometer Value Analog Deadband Adjustment Data Logging in Analog Mode Power-On SafetyUnder Voltage Safety 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 Connector I/O Pin Assignment RS232 Mode Serial RS-232 Controls and OperationExtending 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 Entering RS232 from R/C or Analog mode Data Logging String in R/C or Analog modeCommand Acknowledgement Commands Acknowledge and Error MessagesRS232 Mode if default Command ErrorCommand Controller Commands and QueriesRS-232 Watchdog TypeQuery Power Applied to Motors Set Motor Command ValueSet Accessory Output Controller Commands and QueriesQuery Amps from Battery to each Motor Channel Syntax?r or ?R Query Analog InputsQuery Heatsink Temperatures ?m or ?MQuery Digital Inputs Query Battery VoltagesReset Controller ExamplesAccessing & Changing Configuration Parameter in Flash Accessing & Changing Configuration Parameter in FlashApply Parameter Changes Read parameterLocation Flash Configuration Parameters ListActive after Access Input Control ModeMotor Control Mode After ResetAcceleration Amps LimitDefinition Input Switches Function Exponentiation on Channel 1 and Channel Left/Right AdjustRC Joystick or Analog Deadband 08 - Channel0B - Encoder Default Encoder Time Base 1 andDefault Encoder Distance Divider 0C - Encoder0F - Proportional Gain Default PID GainsJoystick Min, Max and Center Values 10 - Integral GainReading & Changing Operating Parameters at Runtime Reading & Changing Operating Parameters at RuntimeAccess Read/Write Effective Instantly Operating Modes RegistersRead/Change PID Values 80 - ChannelAddress Access Read/Write Effective Instantly PWM Frequency RegisterController Status Register Fault ConditionModel or Function Controller Identification RegisterCurrent Amps Limit Registers 8B - ChannelRead Encoder Counter RS232 Encoder Command SetSet/Reset Encoder Counters and Destination Registers RS232 Encoder Command Set7 Set Encoder 1 destination register with value in buffer Read Speedq or !Q n 8 Set Encoder 2 destination register with value in bufferRead Distance Read Encoder Limit Switch StatusRead Speed/Distance Switch Important NoteRead / Modify Encoder Module Registers and Parameters n ValueParameter Description SizeEncoder Hardware ID code Switch StatusRegister Description Address *84Counter 1 and Speed or Distance 1 orCounter Read/Write Mailbox Destination Register 1 andTime Base 1 and Distance 1 andSpeed 1 and Encoder ThresholdDefault Value Counter Read Data FormatRC Pulse Outputs Activation 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 Decimal to Hexadecimal Conversion Table AX3500 Motor Controller User’s ManualAX3500 Motor Controller User’s Manual 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 Programmable Parameters List Restoring factory defaultsExiting the Parameter Setting Mode This manual is for software version 1.9bcannot be selected using the switches Possible Values defaultFor safety reasons, the modes below Programmable Parameters ListOrder Downloading and Installing the Utility SECTION 16 Using the Roborun Configuration UtilitySystem Requirements Connecting the Controller to the PC Using the Roborun Configuration Utility1- Program Revision Number Roborun Frame, Tab and Menu DescriptionsRoborun Frame, Tab and Menu Descriptions 2- Controller and Communication Link Information4- File and Program Management Commands Getting On-Screen Help3- Parameter Selection and Setting and Special Functions 5- View Controller Connector PinoutLoading, Changing Controller Parameters Control SettingsLoading, Changing Controller Parameters 1- Controller Input4- Emergency Stop or Invert Switch Select Power Settings3- Input Command Adjustment 5- Effect of Digital Inputs3- Acceleration Setting Analog or R/C Specific SettingsLoading, Changing Controller Parameters 2- Left/Right Adjust 1- DeadbandEncoder Setting and Testing Closed Loop ParametersEncoder Module Parameters Setting Encoder Setting and TestingExercising the Motors RC Output TestingViewing 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 8- Joystick Enable Logging Data to Disk7- Data Logging and Timer 4- Reset Timer buttonData type/range Connecting a JoystickParameter Header Measured Parameter2- Command Entry Using the Console1- Terminal Screen 4- Send Reset String Viewing and Logging Data in Analog and R/C ModesLoading and Saving Profiles to Disk 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 SoftwareCreating Customized Object Files Updating the Encoder SoftwareCreating 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