Summary of Contents for Crossbow Technology CXM543
Page 1
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com CXM543 User’s Manual High Speed Orientation Sensor Revision 1.2, October 2001 PN 6001-0015 Crossbow Technology, Inc., 41 E. Daggett Dr., Sa n Jose, CA 95134 Tel: 408-965-3300, Fax: 408-324-4840 email: info@xbow.com, website: www.xbow.com SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:szss20@163.com...
Page 2
Crossbow and SoftSensor are registered trademarks and DMU is a trademark of Crossbow Technology, Inc. Other product and trade names are trademarks or registered trademarks of their respective holders. SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:szss20@163.com...
Electrical and Mechanical Interface........3 System Startup and Checkout..........5 Startup Using a Terminal Emulator Program........5 System Checkout..................6 CXM543 Configuration Options and Data Output Formats 9 Description of the CXM543 Orientation Angles....13 Appendix A. CXM543 Command and Data Format Specifications ................15 CXM543 command specification............15 Discussion of the CXM543 Data Transmission Modes ....16...
Page 4
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.co About this Manual The following annotations have been used to provide additional information. X NOTE Note provides additional information about the topic. þ EXAMPLE Examples are given throughout the manual to help the reader understand the terminology.
The CXM543 measures orientation by employing a 3-axes accelerometer to measure roll and pitch and a three-axis magnetometer to determine azimuth. The CXM543 can be configured to run in two modes viz. Vector and Angle. In vector mode, the unit transmits the accelerometer and magnetometer sensor outputs and transmission speeds up to 250 samples/sec are possible.
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com System Specifications Accuracy roll, pitch ±1° azimuth ±1.5° Range roll 0 to 360° pitch (inclination) 0 to 180° azimuth 0 to 360° Data levels RS232 and TTL Data output rate (Angle mode)
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com Electrical and Mechanical Interface The CXM543 is powered from a single input voltage that can range between +6 V and +15 V. Current consumption is 100 mA. Two serial interfaces are present; one that uses RS-232 levels and one that uses TTL levels.
AUTO option on the connection box switch. This connects pin 1 (CD) of the 9 pin serial interface connector to the configure port on the CXM543. Note that on the 9-pin computer connector, pins 1, 4 and 6 are shorted and pins 7 and 8 are shorted).
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com In run mode, most of the CXM543 parameters, e.g. baud rate, sample rate, etc. can be set by the user. The main differences between the system operation in run and configure mode are as follows: The CXM543 can only be calibrated in config mode (by issuing the l command).
Page 11
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com where, <CR> is a carriage return. These commands put the CXM543 in text (as opposed to binary) mode and angle (as opposed to vector) mode. Set the transmission speed to a slow value (about once per sec.) by issuing the command: F1 <CR>...
Page 12
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com Transmission speed can be changed from among 9 different values by issuing commands of the format where, # can be set between 1 (slowest speed) and 9 (highest speed). Different filter values corresponding to the f# command are as listed in the table below.
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com CXM543 Configuration Options and Data Output Formats The user can configure the CXM543 system in the following ways: 1. Mode 2. Autosend or command 3. Baud rate 4. Pacing The mode settings are used to change the format of the data output. The user can select the data output to be raw A/D counts (M=R) calibrated sensor (vector) output (M=V) or angles (M=A).
Page 14
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com composed of the sum of all of the digits in all the data values. Corrected data in a text decimal format without a checksum: 0.23456 0.78900 0.23997 0.98765 0.53210 0.12345 <CR><LF> The X,Y,& Z values are encoded as decimal values in Gauss.
Page 15
This is followed by a synchronization byte of 5 A, which represents the end of the data packet. To determine the mode of a CXM543, issue the command M? The autosend command (A) enables data to be sent continuously upon power on.
Page 16
0000 (fast) to FFFF (slow). The pacing value is set by issuing a command: P = #### The user can set the baud rate of the CXM543 to the standard values from 300 to 76800 baud. The baud rate command is of the form: B = XXXX <CR><LF>...
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com Description of the CXM543 Orientation Angles The roll angle of the CXM543 is zero when the Y-axis sensors are oriented horizontally. A drawing showing the CXM543 in a roll orientation of 90° (Y sensors down) is shown in Fig. 2.
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com Appendix A. CXM543 Command and Data Format Specifications CXM543 command specification All Commands must be followed by a return. All changes to the mode value are saved as the power-up mode. Send the current mode value All data is sent as raw A/D Counts in ASCII four digit hex values or binary values depending on the current mode.
Display help Discussion of the CXM543 Data Transmission Modes At the top level the CXM543 can be put in either raw (M = r) or corrected (M = c) mode. Raw mode is seldom used after a CXM543 system has been factory calibrated.
Page 21
For decimal mode, ASCII characters representing the data are transmitted. For binary mode the data is encoded in binary format. Decimal mode is ideal for use when the CXM543 is communicating with a PC because the ASCII characters display in intelligible form on a PC running a terminal emulation program (e.g., PROCOM or HyperTerminal).
Page 22
FF+EB+01+F8+3F+0C+02+EC+7C+EA+2B+CC+10+00 = 689 The checksum is 89, which is the least significant byte of the sum. When the CXM543 mode is selected to be raw, the transmitted data represents the raw Analog to Digital (A to D) count outputs for the various magnetometer and accelerometer sensors.
Page 23
M = b (binary mode) M = i (integer mode) Note that the above commands can be given individually or as a single combination of commands. For instance, to put the CXM543 in raw binary mode, M = r <CR>...
Page 24
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com To obtain the checksum, all of the data bytes in the transmission are added. The checksum is the least significant 8 bits (or 2 hex digits) of this summation. The <CR> and <LF> in the transmission represent ASCII characters for carriage return (0D Hex), and line feed (0A Hex).
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com ±MX is a 5-digit ASCII number representing the X magnetometer count output. This can range from –32768 to +32767. T represents the system temperature and is of the form: TT.T Where, the T’s are ASCII characters representing the system temperature in °C.
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com 1+7+1+9+5+1+1+2+1+4+9+5+4+3 = 53 decimal The number 53 decimal is 35 hex and this is the checksum. To calculate the checksum for binary transmissions, the data bytes are summed and the checksum is the least significant byte of the sum. For...
Page 27
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com Not Used CPU Clock Speed Divisor 1-7 Clock Divisor 8- 0=Run at full clock speed 1=Enable clock division CPU Speed = 4.9152Mhz/(129-ClockDivisor) This allows the use of lower UART baud rates and lower power consumption.
If the platform cannot be turned upside down then only the 2 dimensional hard iron correction will be possible. The CXM543 must be connected to a terminal emulator program on a PC to perform the correction. The Section 4.1 explains the procedure for setting the CXM543 up with a terminal emulator program.
The hard iron correction which uses this offset can be turned on or off. The CXM543 is described in the following text as having x, y, and z axis. These are a set of approximately orthogonal directions described by the label on the top of the sensor.
The hard iron correction is toggled on or off, if a correction is available. 2-dimensional data is to be collected, with the CXM543 prompting the user with a set of good orientations. These orientations do not need to be precisely met. If some data points have already been gathered then this data is lost and the process starts all over.
The CXM543 will then prescribe a set of 6 orientations. The prescribed orientations and their interpretation in up, down, front, back, left side and right side are as follows (replies from the CXM543 are enclosed in quotation marks “”): "Place the sensor z axis down to start a 3D correction then type HP...
Two dimensional Correction To determine a two dimensional correction, begin by typing “H2” followed by a carriage return. The CXM543 will then prescribe a set of 4 orientations. The top of the platform will always point up, so we only need to specify the direction of the front.
The forward direction should now face west. Type HP followed by a carriage return. At this time, the CXM543 will automatically calculate the hard iron offsets and display them. Also displayed is a set of parameters indicating the quality of the fit. If the residuals without correction are substantially larger than those with correction, this indicates that the hard iron correction would improve orientation accuracy.
2400 12.5 97.2 4800 1600 10.5 1260 104.9 7680 2560 1676 X NOTE CXM543 is limited by its CPU clock speed rather than either A/Ds or baud rate. SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:szss20@163.com Doc.# 6001-0015 Rev 1.2 Page 32...
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com 10 Appendix D. Warranty and Support Information 10.1 Customer Service As a Crossbow Technology customer you have access to product support services, which include: • Single-point return service • Web-based support service •...
CXM543 User’s Manual SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:szss20@163.com 10.3.2 Identification and Protection If the equipment is to be shipped to Crossbow for service or repair, please attach a tag TO THE EQUIPMENT, as well as the shipping container(s), identifying the owner. Also indicate the service or repair required, the...
Need help?
Do you have a question about the CXM543 and is the answer not in the manual?
Questions and answers