Page 1
Honeywell Magnetic Sensor Products HMR3000 Digital Compass Solution User’s Guide...
Page 2
How to Set Up and Install HMR3000 Demo Unit Software 1) Connect the interface cable between the HMR3000 and serial port of a PC. Check and select the line voltage input (110 or 220 V), turn the voltage selector to 9 volt DC mark with positive polarity, and plug in the adapter to an electrical outlet.
Page 3
Microsoft Excel (5.0 or greater) for capture and export of data (if desired) Note: The Graphical output of the HMR3000 on PC Demo software may become sluggish if the PC has slow graphic capability or if other applications are running in the background.
Page 4
Power should only be connected to either pin 9 or pin 8. It is sufficient to connect the pins listed in Table 1 for most applications. However, pins 1, 4, 6 and 7 serve specific purposes in the operation of HMR3000 and should be kept open (high logic state) in normal operation (see Table 2 for complete pin out description).
Page 5
Connect the cable between HMR3000 and the serial port of the IBM compatible computer. Connect AC adapter or alternate power source to supply power to the HMR3000 (6 to 15V at the unregulated power input, or 5V regulated). If you purchased a theHMR3000 Demonstration Kit, use the power and interface cable to connect between HMR3000 and your computer’s serial port.
Page 6
The HMR3000 output can be changed to include all or any of the six NMEA sentences each with its own rate. Users can capture the output messages to a file using the Capture Mode by selecting the message to be captured.
Page 7
Location—Install the HMR3000 as far as possible from any source generating a magnetic field and far from ferrous metal objects. Honeywell magnetic sensors used in HMR3000 have a large field range of 2 gauss ( 2 00 µT), compared to 0.65 gauss (65 µT);...
Page 8
360 degrees or driving in a circle (in the case of a vehicle) will enable the compass to sample its magnetic environment and derive the magnetic offset and scaling numbers to null out the hard-iron effects. The HMR3000 can be calibrated by either using the built in calibration method or by using the PC Demo Interface software program.
Page 9
A microprocessor controls the measurement sequence of the sensors, and all the parameters that control the operation are stored in an EEPROM. The output sentences of the HMR3000 conform to the NMEA 0813 standard for Marine communication (NMEA = National Marine Electronics Association).
Page 10
Calibrate Mode Enter the compass in to user Hard Iron calibration mode 3.2 HMR3000 ELECTRICAL BLOCK DIAGRAM 3.3 HMR3000 PROCESS CONTROL BLOCK DIAGRAM User configurable parameters that control the measurement and heading calculation process are denoted in the figure below.
Page 11
In this case, when pin 1 is low the Calibrate function is selected. 3.6 HMR3000 Serial Data Communication The HMR3000 serial communications are governed by a simple, asynchronous, ASCII protocol modeled after the NMEA 0183 standard. Either an RS-232 or an RS-485 electrical interface can be used. ASCII characters are transmitted and received using 1 start bit, 8 data bits (LSB first), no parity (MSB always 0), and 1 stop bit;...
Page 12
NMEA 0183 Standard, and is outlined in section 3.11. 3.7 HMR3000 Input Data There are two kinds of serial data input to the HMR3000; either a request for output sentence, or a setting of a configuration parameter.
Page 13
HMR3000 User’s Guide 3.10 Format of NMEA Sentence Outputs Heading, Deviation, & Variation $HCHDG,x.x,x.x,a,x.x,a*hh<cr><lf> If either the deviation or variation parameter has not been programmed, the corresponding field will be null (per NMEA 0183 version 2.1, section 5.2.2.3). Parameters have not been programmed if their absolute values are greater than 3200 mils or 180.0 degrees.
Page 14
Heading, Pitch, & Roll $PTNTHPR,x.x,a,x.x,a,x.x,a*hh<cr><lf> This sentence combines HMR3000’s three significant measurements with useful status information. Data fields represent, in order: heading, magnetic field status, pitch, pitch status, roll, and roll status. Heading, pitch, and roll measurements are presented in degrees or mils depending on the setting in EEPROM. The heading measurement is corrected for deviation and variation when these factors are programmed in the EEPROM.
Page 15
HMR3000 User’s Guide Conditioned Compass Data $PTNTCCD,x.x,x.x,x.x,x.x,x.x,x.x,x.x*hh<cr><lf> This sentence provides conditioned tilt and magnetic measurements for diagnostic use. The fields are, in order: TiltX 32768 times tangent of angle, between compass board north-south axis and level plane. This value is the difference between the raw tilt measurements normalized, linearized, and filtered according to parameter settings.
Page 16
HMR3000 User’s Guide 3.12 HMR3000 Warning and Alarm Settings Tilt and magnetometer limits can be programmed in to the EERROM to generate Warning and Alarm conditions in the status fields of the HPR sentence output. Tilt Settings When the tilt measured is below the warning level, the status fields will indicate ‘N’.
Page 17
This section describes the configuration parameters that can be set on the HMR3000. 4.1 HMR3000 Operational Parameters Using the serial protocol described in the previous section, an external host can direct operation of the HMR3000 with the following commands: Command...
Page 18
4.3 HMR3000 Measurement Parameters Parameters in this section affect the measurement functions of the HMR3000 digital compass. “Mag sample rate” is a key setting that affects both continuous and strobe mode measurements. In continuous mode, either 1, 2, 4, or 8 magnetometer measurements are averaged per tilt measurement depending on the “Mag sample rate”...
Page 19
HMR3000 User’s Guide Set / Reset Controls the magnetometer Set/Reset #FA0.6=1*23<CR><lf> operation. #FA0.6=0*22<CR><lf> Set / Reset ON (Set/Reset at 13.75 Hz) Set/Reset OFF Query #FA0.6?*10<CR><lf> #1*31<CR><lf> Response #0*30<CR><lf> Set / Reset interval Time interval between magnetometer #BA9=ddd*hh<CR><lf> (ddd) Set/Reset calibrations in seconds:...
Page 20
HMR3000 User’s Guide Mag high warn Sets the magnetometer Over Range #WB8=nnnn*hh<CR><lf> Warning level in magnetometer counts. Issues a Warning condition (O) in the magnetic field status of the HPR output sentence when the total mag field value (Mag T) exceeds the parameter setting.
Page 21
HMR3000 User’s Guide TC1 time constant Sets the filter constant. #BA2=T*hh<CR><lf> Normalized time constant for IIR filter 1 T=0 (disable), T=1 (= 72 msec), T=255 (= 18.4 sec) Query #BA2?*0E<CR><lf> Normalized time constant, T, #T*hh<CR><lf> Response S smoothing factor Sets the parameter (S) for the non-linear #WB2=m*hh<CR><lf>...
Page 22
HMR3000 User’s Guide HDT Update Rate Same as above, for HDT sentence #BAB=I*hh<CR><lf> Query #BAB?*7E<CR><lf> Response Returns the Index value, I, for HDT rate #I*hh<CR><lf> XDR Update Rate Same as previous for XDR sentence #BAC=I*hh<CR><lf> I= Index value Query #BAC?*7F<CR><lf>...
Page 23
HMR3000 User’s Guide XDR has MagY Include MAGY in XDR sentence #FA1.3=0*26<CR><lf> m=1 (include), m=0 (exclude) #FA1.3=1*27<CR><lf> Query Response #FA1.3?*14 <CR><lf> #m*hh<CR><lf> XDR has MagZ Include MAGZ in XDR sentence #FA1.4=0*21<CR><lf> #FA1.4=1*20<CR><lf> Query #FA1.4?*13 <CR><lf> Response m=1 (include), m=0 (exclude) #m*hh<CR><lf>...
Page 24
The order of precedence for operation of the switch input pins is as follows: 1. Setting "Cont. / Reset" low unconditionally holds the HMR3000 processor in its reset state. No other functions can be performed until the switch is returned to the "Continue" position.