RoboteQ AX3500 Changing parameters, The Special Case of Joystick Calibration, Important Warning

Page 177
Programming using built-in Switches and Display

Programming using built-in Switches and Display

Important Warning

Be careful not to confuse the Set and Program button when entering the Program- ming Mode. Pressing and holding the Set button alone for 10 seconds after reset will cause the controller to enter in self-test mode. This will cause the motors to be turned On and Off according the test sequence described in the Self Test section of this manual. See“Self-Test Mode” on page 53.

Changing parameters

Pressing the Set button while in Programming Mode will cause the value of the parameter being inspected to be incremented by one. When the maximum valid value is reached, pressing Set again will cause the value to restart at 0.

When the desired value is displayed, press the Program button to store it in the control- ler’s non-volatile memory. This will also cause the controller to display the next parameter and its current value.

Note that a new parameter value will ONLY be saved if the Program button is pressed after the value has been changed with the Set button.

Additionally, once you have pressed the Set button and begin changing a parameter’s value, it is not possible to cancel the change. If you wish to leave a parameter value unchanged after you have started changing it, you must press the Set button again several times until it goes back to its original value. Alternatively, you can reset or power Off the controller to prevent the new value to be recorded.

The Special Case of Joystick Calibration

When the Joystick parameter is selected (“J” and - flashing), pressing the Set key again will cause the controller to enter the Radio Control Joystick calibration sequence.

Once the joystick calibration mode is entered, the display will flash “J” and “o”. With the R/ C receiver and transmitter On, move both joysticks to their full forward, full back, full left and full right positions a few times. This will cause the controller to capture the min. and max. joystick position values.

Then move the joysticks to their central (rest) positions. Press the Program button to save these values in the controller’s Flash memory. The min. and max. values saved are these captured when the joystick was moved around. The center values saved are the position of the joystick as it was when Program was pressed.

Note that once the Joystick calibration mode is entered, you must go through the com- plete calibration sequence described above. If the joysticks are not moved, incoherent data may be saved in the Flash causing the controller to malfunction in the R/C mode. If bad cal- ibration data is saved in the Flash, try calibrating again by repeating the entire Joystick Pro- gramming sequence, otherwise you may restore the factory defaults (this will cause all parameters you have changed to be restored to their default values as well)

The Joystick calibration operation is fully described in the R/C mode chapter. See “Left / Right Tuning Adjustment” on page 49.

AX3500 Motor Controller User’s Manual

177

Image 177
Contents Dual Channel High Power Digital Motor Controller AX3500User’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 ModeConnecting the R/C Radio Powering On the ControllerConnecting the R/C Radio Button Operation Prog and Set button statusFunction 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 InputsAdvanced Safety Features Data Logging CapabilitiesCompact Open Frame PCB Design Connecting Power and Motors to the Controller Power ConnectionsPower 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 Single Channel Operation Converting the AX3500 to Single ChannelSingle 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 SupplyConnecting Power and Motors to the Controller General Operation Input Command ModesBasic Operation Basic OperationOpen Loop, Separate Speed Control Selecting the Motor Control ModesOpen Loop, Mixed Speed Control General OperationClosed Loop Speed Control Close Loop Position 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 Connecting Sensors and Actuators to Input/Outputs AX3500 ConnectionsAX3500 Connections Connecting Sensors and Actuators to Input/Outputs AX3500’s Inputs and OutputsAX3500’s Inputs and Outputs I/O typeActivated 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 InputsTemperature Conversion C Source Code ValueAnalog else Internal Heatsink Temperature SensorsLoTemp = i * 5 HiTemp = LoTemp + 5 lobound = TempTablei hibound = TempTablei+1Connecting Sensors and Actuators to Input/Outputs RC Pulses Output RC Pulse Output OverviewRC Pulse Output Overview Connecting Servos to Controllers Connector Location and PinoutServo Connection to RevA Controllers RC Pulses OutputConnecting to Slave Controllers Servo Connection to RevB 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 UtilityRC Pulses Output Connecting and Using the Encoder Function Optical Incremental Encoders OverviewOptical 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 RevUsing the Encoder to Track Position Important NoticeUsing the Encoder to Track Position Distance = Destination - Counter value / Divider The actual formula is as followsEncoder Testing and Setting Using the PC Utility RS232 Communication with the Encoder ModuleRS232 Communication with the Encoder Module Connecting and Using the Encoder Function 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 Feedback Potentiometer wiring in RC or RS232 ModeFeedback 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 Using Current Limiting as Protection Control Loop DescriptionUsing Current Limiting as Protection PID tuning in Position Mode Applied Power = Command Value - Actual Position * Proportional Gain PID tuning in Position ModeClosed Loop Position Mode 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 Normal and Fault Condition LED Messages Use of the LED DisplayUse of the LED Display Normal and Fault Condition LED Messages Motor Direction StatusPossible Display MotorNo Control Fault MessagesFault Messages Rapidly FlashingTemporary Faults Permanent FaultsSelf-Test Display Self-Test Display = Software version 1.9bNormal and Fault Condition LED Messages SECTION 12 R/C Operation Selecting the R/C Input Mode Connector I/O Pin Assignment R/C ModePin1 R/C OperationR/C Input Circuit Description Supplied Cable DescriptionR/C Input Circuit Description Powering the Radio from the controller FIGURE 74. RC Cable wiring diagramFIGURE 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 ModeData Logging in R/C Mode DB15 MaleTo Controller R/C Operation Analog Control and Operation Analog Control and Operation Connector I/O Pin Assignment Analog ModeConnecting to a Voltage Source Connecting a PotentiometerConnecting 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 Analog Control and Operation Serial RS-232 Controls and Operation Use and benefits of RS232Use and benefits of RS232 Serial RS-232 Controls and Operation Connector I/O Pin Assignment RS232 ModeCable configuration Extending the RS232 CableCable configuration Communication Settings 9600 bits/s, 7-bit data, 1 Start bit, 1 Stop bit, Even ParityEstablishing Manual Communication with a PC RS232 Communication with the Encoder Module Establishing Manual Communication with a PCRoboteq 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 parameterFlash Configuration Parameters List LocationActive after Motor Control Mode Input Control ModeAccess After ResetAmps Limit AccelerationDefinition 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 Encoder Limit Switch Status Read DistanceRead 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 FormatDecimal 32-bit HexController Output Automatic Switching from RS232 to RC Mode Automatic Switching from RS232 to RC Mode00 11 22 33 44 55 66 77 88 99 AA BB CC Analog and R/C Modes Data Logging String FormatData 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 SECTION 15 Configuring the Controller using the Switches Programming using built-in Switches and DisplayProgramming Methods Entering Programming Mode Configuring the Controller using the SwitchesProgram Changing parameters The Special Case of Joystick CalibrationProgramming 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 SECTION 16 Using the Roborun Configuration Utility Downloading and Installing the 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 SettingRC Output Testing Exercising the MotorsViewing Encoder Data Running the Motors Running the Motors2- Motor Power setting 1- Run/Stop Button3- Measurement 4- Real-Time Strip Chart Recorder 6- Input Status and Output Setting5- 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 ParameterUsing the Console 2- Command Entry1- 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 Using the Roborun Configuration Utility Mechanical Specifications Mechanical DimensionsMechanical Dimensions Mounting Considerations Thermal ConsiderationsMechanical Specifications Attaching the Controller Directly to a Chassis Attaching the Controller Directly to a ChassisPrecautions to observe Wire Dimensions WeightWire Dimensions Mechanical Specifications AX3500 Motor Controller User’s ManualVersion 1.9b. June 1
Related manuals
Manual 2 pages 10.03 Kb