RoboteQ AX3500 Connecting User Devices to Analog Inputs, Internal Voltage Monitoring Sensors

Page 67
Connecting User Devices to Analog Inputs

Connecting User Devices to Analog Inputs

Measured volts = ((controller reading + 128) * 0.255) -5

Note: The A/D converter’s reading is returned by the ?p command and is a signed 8-bit hexadecimal value. You must add 128 to bring its range from -127/+127 to 0/255.

Connecting User Devices to Analog Inputs

The two analog inputs can be used for any other purpose. The equivalent circuit for each input is shown in Figure 37. The converter operates with an 8-bit resolution, reporting a value of 0 at 0V and 255 at +5V. Care should be taken that the input voltage is always posi- tive and does not exceed 5V. The converter’s intrinsic diodes will clip any negative voltage or voltage above 5V, thus providing limited protection. The value of the analog inputs can be read through the controller’s RS232 port.

 

+5V 14

 

Ana 1: 11

47kOhm

Ana 2: 10

A/D

Ana 3: 12

Ana 4:

8

10kOhm

 

 

47kOhm

Ground 5

 

FIGURE 37. AX3500 Analog Input equivalent circuit

Internal Voltage Monitoring Sensors

The AX3500 incorporates voltage sensors that monitor the Main Battery voltage and the Internal 12V supply. This information is used by the controller to protect it against overvolt- age and undervoltage conditions (see “Overvoltage Protection” on page 38 and “Under- voltage Protection” on page 38). These voltages can also be read from the RS232 serial port using the ?e query.

The returned value are numbers ranging from 0 to 255. To convert these numbers into a Voltage figure, the following formulas must be used:

Measured Main Battery Volts = 55 * Read Value / 256

Measured Internal Volts = 28.5 * Read Value / 256

Internal Heatsink Temperature Sensors

The AX3500 includes temperature sensors near the transistor of each of the two output stages.

AX3500 Motor Controller User’s Manual

67

Image 67
Contents AX3500 Dual Channel High Power Digital Motor ControllerUser’s Manual 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 SignalPowering On the Controller Connecting the R/C RadioConnecting the R/C Radio Prog and Set button status Button OperationFunction 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 OutputsData 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 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 Converting the AX3500 to Single Channel Single Channel OperationSingle Channel Operation 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 SupplyAX3500 Motor Controller User’s Manual Basic Operation Input Command ModesGeneral Operation Basic OperationGeneral Operation Selecting the Motor Control ModesOpen Loop, Separate Speed Control Open Loop, Mixed Speed ControlClose Loop Position Control Closed Loop Speed ControlSelecting the Motor Control Modes 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 OutputsI/O type AX3500’s Inputs and OutputsActivated 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 Ana2 Ana 4 p8 Ana 1 p11 Ana2 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 SensorsValue Temperature Conversion C Source CodeAnalog HiTemp = LoTemp + 5 lobound = TempTablei hibound = TempTablei+1 Internal Heatsink Temperature Sensorselse LoTemp = i * 5AX3500 Motor Controller User’s Manual RC Pulse Output Overview RC Pulses OutputRC Pulse Output Overview RC Pulses Output Connector Location and PinoutConnecting Servos to Controllers Servo Connection to RevA ControllersServo Connection to RevB Controllers Connecting to Slave ControllersConnecting to Slave Controllers 1.50ms Pulse Timing InformationCommand Value Pulse Width 1.00msRC 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 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 FwdImportant 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 ModeMode Description Selecting the Position ModeClosed Loop Position Mode Position Sensor SelectionSensor Mounting Position Feedback Position Sensor Gear boxFeedback 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 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 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 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 MessagesPermanent Faults Temporary FaultsSelf-Test Display Self-Test Display = Software version 1.9bAX3500 Motor Controller User’s Manual SECTION 12 R/C Operation R/C Operation Connector I/O Pin Assignment R/C ModeSelecting the R/C Input Mode Pin1Supplied 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 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 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 Motor Power at 0% Power-On SafetyUnder Voltage Safety Data Logging in Analog ModeData 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 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 FlashLocation Flash Configuration Parameters ListActive after After Reset Input Control ModeMotor Control Mode AccessAcceleration Amps LimitDefinition 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 Distance Read Encoder Limit Switch StatusRead Speed/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 Value32-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 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 Downloading and Installing the Utility SECTION 16 Using the Roborun Configuration UtilitySystem Requirements 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 SettingExercising 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 4- Reset Timer button Logging Data to Disk7- Data Logging and Timer 8- Joystick EnableMeasured Parameter Connecting a JoystickParameter Header Data type/range2- Command Entry Using the Console1- Terminal Screen 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 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