RoboteQ AX3500 Programmable Acceleration, Setting Using, Acceleration per, Time from 0 to, RS232

Page 47
Programmable Acceleration

Programmable Acceleration

Programmable Acceleration

When changing speed command, the AX3500 will go from the present speed to the desired one at a user selectable acceleration. This feature is necessary in order to minimize the surge current and mechanical stress during abrupt speed changes.

This parameter can be changed by using the controller’s front switches or using serial com- mands. When configuring the controller using the switches (see “Configuring the Control- ler using the Switches” on page 175), acceleration can be one of 6 available preset values, from very soft(0) to very quick (6). The AX3500’s factory default value is medium soft (2).

When using the serial port, acceleration can be one of 24 possible values, selectable using the Roborun utility or entering directly a value in the MCU’s configuration EEPROM.

Table 6 shows the corresponding acceleration for all Switch and RS232 settings.

Numerically speaking, each acceleration value corresponds to a fixed percentage speed increment, applied every 16 milliseconds. The value for each setting is shown in the table below.

TABLE 6. Acceleration setting table

Acceleration

Acceleration

 

 

Setting Using

Setting Using

%Acceleration per

Time from 0 to

RS232

Switches

16ms

max speed

 

 

 

 

30 Hex

 

0.78%

2.05 seconds

 

 

 

 

20 Hex

 

1.56%

1.02 seconds

 

 

 

 

10 Hex

 

2.34%

0.68 second

 

 

 

 

00 Hex

0

3.13%

0.51 second

 

 

 

 

31 Hex

 

3.91%

0.41 second

 

 

 

 

21 Hex

 

4.69%

0.34 second

 

 

 

 

11 Hex

 

5.47%

0.29 second

 

 

 

 

01 Hex

1

6.25%

0.26 second

 

 

 

 

32 Hex

-

7.03%

0.23 second

 

 

 

 

22 Hex

-

7.81%

0.20 second

 

 

 

 

12 Hex

-

8.59%

0.19 second

 

 

 

 

02 Hex

2 (default)

9.38%

0.17 second

 

 

 

 

33 Hex

-

10.16%

0.16 second

 

 

 

 

23 Hex

-

10.94%

0.15 second

 

 

 

 

13 Hex

-

11.72%

0.14 second

 

 

 

 

03 Hex

3

12.50%

0.128 second

 

 

 

 

34 Hex

-

13.28%

0.120 second

 

 

 

 

24 Hex

-

14.06%

0.113 second

 

 

 

 

14 Hex

-

14.84%

0.107 second

 

 

 

 

04 Hex

4

15.63%

0.102 second

 

 

 

 

35 Hex

-

16.41%

0.097 second

 

 

 

 

25 Hex

-

17.19%

0.093 second

 

 

 

 

AX3500 Motor Controller User’s Manual

47

Image 47
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 SettingClosed 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