Home
linear magnetic field sensors - SP
Contents
1. Magnetic Sensor Vb y 7 LM324b Vref Vb O Sel 1 t O Sel2 TP LM324c WE Vref AB M V VJ 0 1 uF OX 1X X V L o Output W Vref 2X NU SIR straps 0 1uF 3x 4052 Vref Vref Vb MIS o S R Control A 7 LM324d NZ HmMc 1001 Vref M jamg S R strap 0 1 uF Xe 200 5V iuF NA SIR NDC7001 or equiv Figure 21 Three Axis Low Cost Magnetic Sensor 13 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS PACKAGE OUTLINES HMC1002 Package Outline A1 D 20 11 I HMC1001 8 Pin SIP and HMC1021Z 8 Pin SIP e B I 1 HMC1021D 8 Pin Ceramic DIP at P Yo zm h x 45 I a 14 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com Millimeters Inches Symbol 2 489 2 642 0 127 0 279 0 457 0 483 12 675 12 929 7 264 7 417 1 270 ref 1 270 10 566 0 381 ref 098 104 005 011 014 019 499 509 286 292 050 ref 396 416 015 030 Millimeters Inches 1 371 1 728 0 101 0 249 0 355 0 483 9 829 11 253 3 810 3 988 1
2. 1 3 0 11 25 1 6 85 8 OFFSET Field 1 Field applied in sensitive direction 40 46 60 Set Reset Strap Measured from S R to S R 55 77 9 Set Reset Current 2us current pulse 196 duty cycle Set Reset Q Tempco 1 TA 40 to 125 C dom Disturbing Field 1 Sensitivity starts to degrade Use S R 20 pulse to restore sensitivity 0 32 0 3 0 28 0 06 0 05 0 001 Resistance Tempco 1 Vbridge 5V TA 40 to 125 C oa Sensitivity Tempco 1 TA 40 to 125 C Vbridge 5V Ibridge 5mA Bridge Offset Tempco 1 TA 40 to 125 C noSet Reset Vbridge 5V with Set Reset Cross Axis Effect 1 Cross field 1 gauss see AN 205 Happlied 1 gauss Max Exposed Field 1 No perming effect on zero reading ws 10000 SevRese SR curent 05 Amps lw Please reference data sheet HTMC1021D for specifications 1 Not tested in production guaranteed by characterization Units 1 gauss G 1 Oersted in air 1G 79 58 A m 1G 10E 4 Tesla 1G 10E5 gamma Tested at 25 C except otherwise stated 3 Unit Volts Q C C gauss FS FS FS mV mV V gauss nV VHz ugauss MHz Q 2o C mA gauss I C I C FS gauss uV Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS KEY PERFORMANCE DATA S
3. Seated height is approximately 0 275 See Figure 1 for further mechanical details USART Communication Protocol HMR3100 module communicates through binary data and ASCII characters at four selectable baud rates of 2400 4800 9600 or 19200 The default data bit format is USART 9600 N 8 1 The baud rate selection is determined by the position of jumpers J1 and J3 These jumpers are zero ohm SMT resistors jumpers and are normally high logic 1 when removed and grounded logic 0 when in place At 2400 baud no jumpers are present for a 1 1 logic presentation At 4800 baud J3 is present for a 1 0 logic presentation The factory default setting of 9600 baud is created by a jumper present on J1 for a 0 1 logic presentation With J1 and J3 jumpers present for a 0 0 logic presentation the compass module works at 19200 baud See Figure 1 for jumper locations Jumper J2 is for factory testing and J4 is for Y axis inversion should the end item mount of the HMR3100 module be upside down pins up Pin 8 Pin 5 J1 J2 J3 J4 0 77 Top Side Figure 1 HMR3100 Pinout Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS The HMR3100 sends data via the TXD line Pin 5 in standard serial bus form at logic leve
4. msec dd 50 60 50 60 63 75 75 90 100 120 125 150 150 180 250 300 B 308 369 385 462 Parameter Selections verses Output Sample Rate Table 3 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300r COMMAND INPUTS Table 4 A simple command set is used to communicate with the HMR These commands can be typed in through a standard keyboard while running any communications software such as HyperTerminal in Windows sania daWE ddA ASCII ON 9 ASCII Output readings in BCD ASCII format ddWE ddB BINARY ON 10 Binary Output signed 16 bit binary format default x y z reading 9 or 28 P Polled Output a single sample Output ddC X y z stream stream stops C Continuous Output readings at sample rate default 0 Escape key Stop continuous readings P Set sample rate to nnn where nnn 10 20 25 30 40 a idle GONE Soest 50 60 100 123 or 154 samples sec default 30 sps ddWE ddTN S R ON 7 S R mode TN gt ON automatic S R pulses default Set Reset Mode ddWE ddTF S R OFF 8 TF OFF manual S R pulses ddWE ddT Toggle 7ors character single S R JS gt SET set pulse Set Reset Pulse dd Toggle alternates between SET and RESET pulse Device ID ID nn e Read device ID default ID 00 ddWE
5. Bits 1 and 0 Operational Mode Value Bit4 Bito Description 0 O Standby Mode 0 X 1 Query Mode 1 O Continuous Mode Not Allowed The total bit format for the Operational Mode Byte is shown below Bit 7 MSB Bit 0 LSB 0 M Rate H M Rate L Pe SR 0 0 OpModeH Op Mode L Output Data Modes The read response bytes after an A command will cause the HMC6352 will return two bytes with binary formatted data Either heading or magnetometer data can be retrieved depending on the output data selection byte value Negative signed magnetometer data will be returned in two s complement form This output data control byte is located in RAM register location 4E hex and defaults to value zero heading at power up The following is the byte format Bits 7 through 3 0 Bits 0 1 2 Output Mode Value Heading Mode Raw Magnetometer X Mode 0 231 O JRawMagnetometer Y Mode 0 1 J 34 1 Magnetometer X Mode 1 0 J O JMagnetometer Y Mode The total bit format for the Output Mode Byte is shown below Bit 7 MSB Bit 0 LSB 0 0 0 0 0 j Moe Mod Mode Heading Mode The heading output data will be the value in tenths of degrees from zero to 3599 and provided in binary format over the two bytes Raw Magnetometer Modes These X and Y raw magnetometer data readings are the internal sensor values measured at the output of amplifiers A and B respectivel
6. CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS HMC1001 1002 SPECIFICATIONS Characteristics Bridge Resistance Field Range 4 Full scale FS total applied field NO Linearity Error 4 Best fit straight line 1 gauss 2 gauss Hysteresis Error 4 3 sweeps across 2 gauss Repeatability Error 4 3 sweeps across 2 gauss S R Repeatability 1 Output variation after alternate S R pulses S R Repeatability 2 Bridge Offset Offset OUT OUT Field 0 gauss after Set pulse Voridge 8V Sensitivity S R Current 3A Noise Density 4 Noise at 1 Hz Vbridge 5V Resolution 4 Bandwidth 10Hz Vbridge 5V Bandwidth 4 Magnetic signal lower limit DC mE na OFFSET Strap Measured from OFFSET to OFFSET po OFFSET Strap amp Tempco 4 TA 40 to 125 C fos OFFSET Field 4 Field applied in sensitive direction Set Reset Strap Measured from S R to S R MEME Set Reset Current 2 3 4 2 us current pulse 1 duty cycle Set Reset Q Tempco 4 T A 40 to 125 C po a NEM Disturbing Field 4 Sensitivity starts to degrade Use S R pulse to restore sensitivity Sensitivity Tempco 4 T A 40to 125 C Vbridge 8V Ibridge 5mA Bridge Offset Tempco 4 TA 40to 125 C noSet Reset Vbridge 5V with Set Reset 4 TA 40to 125 C Cross field21gauss no Set Reset see AN 205 with Set Reset Max Expose
7. CASE DIMENSIONS Figure 5 3 81 2 23 5 e i i 250 0 64 7 jos e 420 10 67 3 825 9 72 Extended Base 1 00 Option 2 54 inches centimeters RS 232 UNBALANCED I O INTERCONNECTS Figure 6 HOST PC HMR2300 TD RD RD TD GD GD Nw NZ Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS RS 485 BALANCED I O INTERCONNECTS Figure 7 HOST PC EN ie Z 120 ohms TD HMR2300 HMR2300 ID 01 ID 02 DATA COMMUNICATIONS The RS 232 signals are single ended undirectional levels that are sent received simultaneously full duplex One signal is from the host personal computer PC transmit TD to the HMR2300 receive RD data line and the other is from the HMR2300 TD to the PC RD data line When a logic one is sent either the TD or RD line will drive to about 6 Volts referenced to ground For a logic zero the TD or RD line will drive to about 6 Volts below ground Since the signals are transmitted and dependent on an absolute voltage level this limits the distance of transmission due to line noise and signal to about 60 feet When using RS 485 the signals are balanced differential transmissions sharing the same lines half du
8. Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS NOISE CHARACTERISTICS The noise density curve for a typical MR sensor is shown in Figure 3 The 1 f slope has a corner frequency near 10 Hz and flattens out to 3 8 nV VHz This is approximately equivalent to the Johnson noise or white noise for an 8500 resistor the typical bridge resistance To relate the noise density voltage in Figure 3 to the magnetic fields use the following expressions For Vsupply 5V and Sensitivity 3 2mV V gauss Bridge output response 16 mV gauss Or 16 nV ugauss The noise density at 1Hz 30nV VHz and corresponds to 1 8 ugauss VHz For the noise components use the following expressions 1 f noise 0 1 10Hz 30 V In 10 1 nV 64 nV rms 4 ugauss rms 27 ugauss p p 3 8 VBW nV 120 nV rms 50 ugauss p p white noise BW 1KHz 1000 1001 1002 100 Noise Density nV VHz 10 Frequency Hz 100 1000 Figure 3 Typical Noise Density Curve WHAT IS OFFSET STRAP Any ambient magnetic field can be canceled by driving a defined current through the OFFSET strap This is useful for eliminating the effects of stray hard iron distortion of the earth s magnetic field For example reducing the effects of a car body on the earth s magnetic field in an au
9. Zoff Zoff D Xoff SR Yoff A Me Symbol Millimeters Inches Yout Min Max Min Max Vilas 0 43 Vbridge Vsense D 2591 2730 Ordering Information Ordering Number Product HMC2003 Three Axis Magnetic Sensor Hybrid Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC2003 Offset Strap Sensitivity Distribution 180 200 160 180 140 160 a 2 2 100 120 o 9 400 o 90 o f 60 E Se E 5 60 z 40 40 20 20 0 0 46 46 5 47 47 5 48 48 5 49 Strap Sensitivity mA gauss Null Field Distribution 250 350 300 gre a i 5 190 200 5 E 100 g 150 3 z 400 50 50 0 2 29 2 36 2 43 25 2 57 2 64 2 71 2 78 Null Field Voltage V Bandwidth Gain dB Output Voltage 1 10 100 1000 10000 100000 Frequency Hz Honeywell SENSOR PRODUCTS Field Sensitivity Distribution 0 990 0 994 0 998 1 002 1 006 1 010 1 014 1 018 Field Sensitivity V gauss Vref Distribution 2 485 2 490 2 495 2 500 2 505 2 510 2 515 2 520 Vref V Temperature Effects 2 1 0 1 2 Applied Field gauss Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any pro
10. and loaded to RAM on the power up These offsets are in ADC counts applied to the 10 bit ADC raw magnetometer data Most offset MSB values will likely be zero filled or complemented Time Delay The EEPROM time delay byte is the binary value of the number of milliseconds from the time a measurement request was commanded and the time the actual measurements are made The default value is O1 hex for no delay Extra measurement delays maybe desired to allow for amplifier stabilization from immediate HMC6352 power up or for external filter capacitor selection that limits the bandwidth and time response of the amplifier stages This value is written into EEPROM address O5 hex and loaded to RAM on the power up Measurement Summing This EEPROM summed measurement byte permits designers users to back average or data smooth the output data heading magnetometer values to reduce the amount of jitter in the data presentation The default value is 04 hex which is four measurements summed A value of O0 hex would be no summing Up to 16 sets of magnetometer data may be selected for averaging This slave address is written into EEPROM address O6 hex and loaded to RAM on the power up Software Version This EEPROM software version number byte contains the binary value of the programmed software Values of 01 hex and beyond are considered production software Solid State Electronics Center www magneticsensors com 800 323 8295 Page 8 Courtesy of
11. ddlD nn OK Set device ID where nn 00 to 98 OK 99IBR S BAUD 9600 99IBR F OK BAUD 19 200 ZERO ON ZERO OFF Toggle OK 3 OK 3 see Description 62 72 6 OK BAUD 19 200 OK BAUD 9600 or Set baud rate to 9600 bps Baud Rate Set baud rate to 19 200 bps default 8 bits no parity 1 stop bit Zero Reading will store and use current reading as a negative offset so that the output reads zero field ddZR toggles command default OFF The average reading for the current sample X N is Xavg X N 2 X N 1 4 X N 2 8 X N 3 16 ddV toggles command default OFF Zero Reading Turn the Re enter error response ON ddY or OFF ddN OFF is recommended for RS 485 defaultZON Head setup parameters default binary Continuous S R ON ZERO OFF AVG OFF RON ID200 30 sps Change all command parameter settings to factory default values Change all command parameter settings to the last Query Setup Default Settings ddWE ddD Restore Settings ddWE ddRST user stored values in the EEPROM BAUD _ 19 200 Serial Number dd SER nnnn 2 2 2 4 DONE Missina WE Entry Write Enable Off WE OFF This error response indicates that this instruction g y requires a write enable command immediately before it 1 All inputs must be followed by a cr carriage return or Enter key Either
12. mV Theta degree a A A Linear Position z 9 Valve ca J Actuator Stem o e S xs oo S a Moving Direction 3 Reference Direction 0 5 to 1 5 inches Rotary Position HMC1501 1512 MR Sensor Rotating Shaft PACKAGE DRAWING 8 Pin SOIC S N K Magnet N S Rotating Shaft Millimeters Inches Symbo Min Max Min Max 1 371 1 728 054 068 0 101 0 249 004 010 0 355 0 483 014 019 4 800 4 979 189 196 3 810 3 988 150 157 1 270 ref 050 ref 5 816 6 198 229 244 0 381 0 762 015 030 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1501 HMC1512 SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions HMC1501 HMC1512 Units Typ Max Bridge supply Vbridge referenced to GND 1 V Bridge resistance Bridge current 1 mA 2 1 KQ Angle range gt Saturation field 90 deg Vbridge 5V field 80 Oe 1 zero crossing Sensitivity mV 2 Zero crossing averaged in the range of 45 T i CO I oO nO e Peak to peak Voltage Vbridge 5V field 80 Oe Field 80 Oe 0 Bridge Aj Saturation field Repeatability 0 0396 FS mV h NO s A k O O mV V Bandwidth Magnetic signal MHz o Resolution Bandwidth 10Hz Vbridge 5V Magnetic field gt saturation fi
13. z o UJ D R1 or R2 used to trim offest R3 4510 for 1 axis 921 for 2 axis or 14110 for 3 axis S R provides 1KHz rolloff Pulse Figure 18 One Axis Sensor With Constant Bridge Current and Digital Interface 5V 5V O_ V OUT 1 VBRIDGE2 S R 3 GND4 S R 5 OFFSET 6 OFFSET 7 OUT 8 10K SW1 Sensitive Direction O Vout 4 7uF 5V tantalum 1M 25K 2 5V HMC1021Z SN LM404 2 5 O Gnd 1 Momentarily close switch SW1 This creates a SET pulse 2 Measure bridge output OUT OUT NOTE Bridge output signal will be 5mV gauss 3 Measure Vout after AD623 amplifier G 500 NOTE Vout signal will be 2 5V gauss Figure 19 One Axis Low Cost Sensor 12 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS Magnetic Sensors TLC2543 12 bit A D 45V 0D D OD HMC1002 I 45V O e o R1 R4 used to trim offest provides 1KHz rolloff 0 22uF 0 22uF G2 C1 Vcc 5V 4 7uF Vout SHDN tantalum x 4 7uF GND 0 2uF Rst Set Rst Signal input Signal should be in Rst state when idle Manual Switch Figure 20 Two Axis Sensor With Set Reset Circuit and Digital Interface 5V E 100K Vref lt 4 LM324a 1 100K F oiuF vV
14. 270 ref 6 850 7 300 0 381 0 762 054 068 004 010 014 019 387 443 150 157 050 ref 0 270 0 287 015 030 Millimeters Inches 2 718 ref 0 229 0 305 0 406 0 508 10 287 7 163 7 569 7 366 7 874 2 54 ref 0 381 1 524 3 175 4 445 1 371 1 728 0 101 0 249 0 355 0 483 4 800 4 979 3 810 3 988 1 270 ref 5 816 6 198 0 381 0 762 0 107 ref 0 009 0 012 0 016 0 020 0 405 0 282 0 298 0 290 0 310 0 100 ref 0 015 0 060 0 125 0 175 Inches Min Max 054 068 004 010 014 019 189 196 150 157 050 ref 229 244 015 030 Millimeters Mn Me Mn Me 0 381 0 762 Min Max 054 068 004 010 014 019 387 443 150 157 050 ref 229 244 015 030 LINEAR MAGNETIC FIELD SENSORS DESIGN PACKAGE OPTIONS Honeywell offers a range of magnetic microcircuit products Two different sensor designs and five package configurations are available HMC1001 1002 series offers a higher sensitivity and lower field resolution HMC1021 1022 series offers a wider field range lower set reset current and has a lower cost for higher volume Two axis parts contain two sensors for the x and y field measurements Single axis variations include a SIP package for mounting through the circuit board to create a 3 axis solution a SOIC for direct surface mount and a ceramic DIP for high performance military and high temperature applications applications Sensitivity mVNIG R
15. 485 standard allows connection of up to 32 devices on a single wire pair up to 4 000 feet in length An HMR address can be stored in the on board EEPROM to assign one of thirty two unique ID codes to allow direct line access An internal microcontrol ler handles the magnetic sensing digital filtering and all output communications eliminating the need for external trims and adjustments Standard RS 422 or RS 485 driv ers provide compliant electrical signalling hed oi us p 1 lle ux x cL UE FANT datis m j j 4 Ear Ru EL ei an x es s DEES N ETT da mE e 800 323 8295 http www ssec honeywell com HMR2300r 1 Gauss G 1 Oersted in air 1G 79 58 A m OPERATING SPECIFICATIONS Table 1 1G 10E 4 Tesla 1G 10E5 gamma ppm parts per million Cheers Coon mn Te wex Unt Sovana Pnois 88 S vote Sins Garant Weit n zomea m m Ow s Aer 4 m 8 Sage Tapes faremos 3 ww OO Full scale FS total applied field 2 s Gauss Best fit straight line 1 Gauss P TY OP ws Offset Error Applied field for zero reading o0 008 FS Accuracy RSS of all errors 1 Gauss s o FS Gain Error Applied field for zero reading 2 Resolution Applied field to change output 67 muGass Axis Alignment Variation to 90 degrees ra degree Noise level Output variation in fixed field O07 40 13 mGauss Coefficient of gain 0 06 ye Temperature Effects
16. 6 connected to J1 pin 7 416 5 to 15VDC return 3 O 0 4 Chassis ground nc 1 O 9 2 connected to J1 pin 6 P1 Pin Pin Assignment no connect connected to J1 pin 6 6 5 to 15VDC return Chassis ground 6 5 to 15VDC power connected to J1 pin 7 no connect for manufacturers use only for manufacturers use only for manufacturers use only OONDoORWDND O Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300r BOARD DIMENSIONS FIGURE 7 2 X 0 120 THRU 150 All Dimensions in inches 340 440 1 597 My 3 X 0 250 GND RING SURFACE MOUNT PLATED PAD FOR HARNESS SHIELD TERMINATION X 0 120 THRU 1 662 TOP SIDE OF CIRCUIT BOARD ASSEMBLY J1 SAMTEC TSW 105 06 T D 10 PIN HEADER P1 SAMTEC SSQ 105 01 S D 1 322 10 SOCKET HEADER 150 Z axis Down 39 MAX COMPONENT HEIGHT LUE mi 060 HEIGHT BACK SIDE OF CIRCUIT BOARD ASSEMBLY 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300r QUALITY AND ENVIRONMENTAL CONDITIONS TABLE 6 Parameter Method and Test Levels Printed Circuit Board Conforms to IPC 6011 and IPC 6012 Class 3 using FR 4 laminates and prepreg per IPC 4101 21 Assembly and Workmanship Conforms to
17. Advance Information SENSOR PRODUCTS COMPASS CALIBRATION In the paragraphs describing raw magnetic sensor data the count values of X Y and Z are found from inputs ANO to AN3 A firmware calibration routine will create Xoff Yoff and Xsf and Ysf for calibration factors for hard iron distortions of the earth s magnetic field at the sensors Typically these distortions come from nearby magnetized components Soft iron distortions are more complex to factor out of heading values and are generally left out for low cost compassing applications Soft iron distortion arises from magnetic fields bent by un magnetized ferrous materials either very close to the sensors or large in size Locating the compass away from ferrous materials provides the best error reduction The amount of benefit is dependant on the amount of ferrous material and its proximity to the compass platform To derive the calibration factors the sensor assembly platform and its affixed end platform e g watch human boat auto etc are turned at least one complete rotation as the compass electronics collects many continuous readings The speed and rate of turn are based on how quickly the microcontroller can collect and process X Y and Z data during the calibration routine A good rule of thumb is to collect readings every few degrees by either asking the user to make a couple rotations or by keeping in the rotation s slow enough to collect readings of the correct rate of turn Th
18. Area 800 258 9200 www stevenengineering com HMR3200 HMR3300 Honeywell SENSOR PRODUCTS provided then the linear voltage regulator integrated circuit drops the excess supply voltage to a stable 5 volts The power supply is a dual ground analog and digital system to control internal noise and maximize measurment accuracy PHYSICAL CHARACTERISTICS The circuit board for the HMR3200 HMR3300 Digital Compassing Solutions is approximately 1 45 by 1 inches An 8 Pin header protrudes down on one edge of the board for the user interface or the demo board The header pins extend 5 16 below the board plane with the bottom side mounted magnetic sensor integrated circuits HMC1021 and HMC1022 extending 3 16 below the board plane Components on the top side have a maximum height of 1 8 Figure 1 shows a typical circuit board with dimensions 037 i A 6 e 8 PIN 100 2 HEADER e 4 0 1 SPACING e 3 2 037 y TULLE 1 Rev A mH REF PINS 2 1 22 Figure 1 Application Notes UART COMMUNICATION PROTOCOL HMR3200 HMR3300 modules communicate through ASCII characters The data bit format is 1 Start 8 Data 1 Stop and No parity bits Asynchronous communication has the complete menu of commands OPERATIONAL COMMANDS Syntax X lt cr gt lt lf gt Sends command for an operational mode change Heading Output Command H lt cr gt lt lf gt Selects the Heading output mode factory set default This configuration is save
19. Binary Binary a LLL Address m RI ome rer Address Lm mL LL ER Address g 67 RAM Data Read from RAM Register por 53 Enter Sleep Mode Sleep 57 S S Exit Sleep Mode Wakeup Update Bridge Offsets S R Now Exit User Calibration Mode C Save Op Mode to EEPROM 41 Eis A 4 MSB Data LSB Data Get Data Compensate and BENNEENNL ILLA Operational Controls HMC6352 has two parameters Operational Mode and Output Mode which control its operation The Operational Mode control byte is located at RAM register byte 74 hex and is shadowed in EEPROM location O8 hex This byte can be used to control the continuous measurement rate set reset function and to command the HMC6352 into the three allowed operating modes Standby Query and Continuous The Output Mode control byte is located at RAM register byte 4E hex and is not shadowed in the EEPROM and upon power up the device is in the Heading output mode This byte can be changed to get magnetometer data if necessary but is typically left in a default heading data mode Non Volatile Memory The HMC6352 contains non volatile memory capability in the form of EEPROM that retains key operational parameters and settings for electronic compassing Table 2 shows the balance of the EEPROM locations that the user can read and write to Details on the features of these location bytes will be discussed in the following paragraph
20. EIE Field O gauss after Set pulse VCC 5V mie ee senstviy SelRestCuren 20A 08 10 12 mVNigauss Noise Density GiimVoczv 48 Vist Hz Resin 50Hz Bandwidth voczsv 85 weus Disturbing Field Sensitivity starts to degrade 20 gauss Sensitivity Ta 40 to 125 C VCC 5V 2800 3000 3200 ppm C 500 ppm C wo e 2500 ppm C S 0 3 F 00 1 0 Tempco Bridge Offset Tempco Ta 40 to 125 C No Set Reset Ta 40 to 125 C With Set Reset Bridge Ohmic VCC 5V Ta 40 to 125 C 2100 Tempco Cross Axis Effect Cross field 1 gauss Happlied 1 gauss Max Exposed No perming effect on zero reading Sensitivity Ratio of Ta 40 to 125 C X Y Z sensor Sensitive direction in X Y and Z sensors 100 5 u Orthogonality Tested at 25 C except stated otherwise Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS SPECIFICATIONS Set Reset iris Current 0 1 duty cycle or less Amp 2usec current pulse Resistance Ta 40 to 125 C 3300 3700 4100 ppm C Tempco Offset mi e Measured from OFFSET to OFFSET ohms Offset DC Current 4 0 4 6 mA gauss oum E Resistance Ta 40 to 125 C 3500 3900 4300 pp
21. Lo millimeters Minimum Nomina Maximum 650BSC NENNEN Ls D 4 00 BSC E 650BSC Et f 400B C 5 e OB8Baic Solid State Electronics Center www magneticsensors com 800 323 8295 Page 12 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS SOLDERING GUIDELINES The HMC6352 shall follow the guidelines set by JEDEC J STD 020B for handling and solder reflow for this surface mount device It is recommended to follow the guidelines for Sn Pb Eutectic Large Body profile parts Most LCC packages have no special requirements beyond normal procedures for attaching SMT components to printed circuit boards The exception to this process is the Honeywell HMC6352 that has a FR4 substrate package with epoxy top encapsulation This package design use two solder types with differing reflow temperatures Inside this package a high temp reflow solder is used that reflows at 225 C and above to make internal circuit connections On the package outside low temp solder is recommended with a reflow temp range from 180 to 210 C Three heating zones are defined in SMT reflow soldering process the preheating zone the soaking zone and the reflow zone The preheating zone includes the soaking zone and nomin
22. Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS Simple Circuit Application The circuit in Figure 16 shows a simple application of a magnetic sensor This circuit acts as a proximity sensor and will turn on the LED when a magnetis brought within 0 25 to 0 5 inch of the sensor The amplifier acts as a simple comparator and switches low when the HMC1001 bridge output exceeds 30mV The magnet must be strong 200 gauss and have one of its magnetic poles point along the sensitive direction of the sensor This circuit can be used to detect a door open closed status or the presence or absence of an item Figures 17 18 19 20 and 21 show other circuit examples Magnetic Magnetic Sensor 45V 45V Sensor 7 7 H 650 CS5509 100 5V 1 5nF 16 bit A D 0 1 DuF a o R44 1 magnet SS o 8 T 45V movemen o 1 O 7 e 8 4o0 LED r E AMPO4 B Vout gt ee 5 an 1 6Q Gain 1000 BW 10Hz Y Y p R1 is used to trim switchpoint LM440 e c provides 10Hz rolloff 3 1 2 5V i Calibrate 1 Trim R1 for V V 30mV 2 Apply signal 30mV LED should be off PUE mate ta offest 3 Apply signal gt 30mV LED should be on S R P Pulse Figure 16 Magnetic Proximity Switch Figure 17 0One Axis Sensor With Digital Interface Magnetic Sensor CS5509 16 bit A D 0 01 e E z 5V Vref 5 gt 22 1K rH I So H3 10 5m O 3
23. Mode Calibration Mode MODE into EEPROM and Calculate Heading Honeyw ell Honeywell Proprietary ujoo BuueeuiDueuaAe1sMWw 0026 8S82 009 eeJy e207 APISINO 00Z6 88S 099 991JO UIeI 0Z 9 08076 VO o9sioueJ4 ues ynos Aem UeAY ogz ouj GuueeuiBu4 ueAelS jo saunoo HMC6352 2 Axis Digital Compass Module Command and Operation Mode Interactions All commands are acceptable in the Standby Mode Honeywell strongly recommends using this mode during initial setup stage setting up of the HMC6352 operation mode and its slave address are set up examples Although execution of all commands in the Query and Continuous Modes 1s acceptable the outcome is not guaranteed How to Read Data from HMC6352 1 In Standby Mode Use A command 2 In Query Mode Send 0x43 and clock out data See Example 5 3 In Continuous Mode Send 0x43 and clock out data See Example 5 A 1s not allowed Honeyw ell Honeywell Proprietary uloo BuueeuiDueueAe1s M Ww 0026 8S82 009 eeJy e207 episino 0026 8989 099 991JO UIeI 0Z 9 08076 VO o9sioueJJ ues YINOS Aem UeAY Oec ouj GuueeuiBu4 ueAelS Jo saeunoo HMC6352 2 Axis Digital Compass Module Waveform Examples Red This is what actually happens on the SDA line Green This is what actually happens on the SCL line Blue This is what the Master tries to make happen on the SDA line Black This 1s what the senso Slave tries to make happen on the SDA line Example 1 This example shows h
24. PRODUCTS HMC1052 Pinout HMC1052L Pinout BOTTOM VIEW OUT NC B S R NC GND1 SIR 8 A OUT GND2 7 B A GND1 OFF 6 B OUT 4 3 2 1 vB OUT grr GND2 A A HMC1053 Pinout BOTTOM VIEW OUT OUT GND OUT C A A B 9 10 11 1 SIR A B C OFF C 7 SR 6 C GND 5 B 4 3 2 1 Ba OUT S R OFF VB B AB AB Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS PACKAGE OUTLINES PACKAGE DRAWING HMC1051Z 8 PIN SIP Symbol Millimeters Inches x 10E 3 Min Max Min Max n A 1 371 1 728 54 68 hx45 pu Al 0 101 0 249 4 10 ae B 0 355 0 483 14 19 D 9 829 11 253 387 443 E fa E 3 810 3 988 150 157 e 1 270 ref 50 ref ol at H 6 850 7 300 270 287 h 0 381 0 762 15 30 0 0800 33 et e X etete Vcc ot OFF Gnd Wvo S R i Dff 0 0 25 0 mE 00847 i 0 0057 BOTTOM VIEW SIDE VIEW PACKAGE DRAWING HMC1052 10 PIN MSOP I D gt Symbol Millimeters Inches x 10E 3 Min gt A1 T 0 05 be A 0 15 E El 2 90 1 2 90 Se d 0 50 BSC 4 75 0 95 BSC e c l l p E Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 Courtesy of Steven Engineering Inc 230 Ry
25. SAMPLE RATE Sample ASCII fug Notch Command Input Sp oen 19 200 9600 nee sps 9600 9600 Hz Hz EE E cem 25 ye ye yes yes 2 63 75 10 40 no ye yes ye 34 J 100 20 10 50 no ye yes yes 4242 125150 8 60 no no ye yes 325 150180 7 J 100 no no ye yes 85 25030 4 no yes 104 308369 35 no yes 131 38542 3 DEVICE ID The Device ID command ddID nn will change the HMR2300 ID number A Write Enable ddWE command is required before the device ID can be changed This is required for RS 485 operation when more than one HMR2300 is on a network A Device ID 99 is universal and will simultaneously talk to all units on a network BAUD RATE COMMAND The Baud Rate command dd BR F or S will change the HMR2300 baud rate to either fast 19 200 baud or slow 9600 baud A Write Enable ddWE command is required before the baud rate can be changed The last response after this command has been accepted will be either BAUD 9600 or BAUD 19 200 This will indicate to the user to change to the identified new baud rate before communications can resume ZERO READING COMMAND The Zero Reading command ddZN will take a magnetic reading and store it in the HMR2300 s microcontroller This value will be subtracted from subsequent readings as an offset The zero reading will be terminated with another c
26. San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS CONFIGURATION COMMANDS Syntax Dev xxxx lt cr gt lt lf gt Sets parameter value Dev lt cr gt lt lf gt Queries for the parameter value Variation Input Declination Angle Correction V ar nnnn lt cr gt lt lf gt where the variation is nnn n degrees Sets the angle between magnetic north and geographic north Eg ZVar 203 cr If sets the declination angle to 20 3 degrees Eg Var lt cr gt lt lf gt returns the declination angle 20 3 Deviation Input Platform Angle Correction Dev t nnnn lt cr gt lt lf gt where the angle is nnn n degrees Sets or returns the angle between compass forward direction and that of the mounting platform Eg Dev 23 lt cr gt lt lf gt sets the deviation angle to 2 3 degrees Eg Dev lt cr gt lt lf gt returns the deviation angle 2 3 User Magnetic offset values X Y and Z Xof Yof Zof Sets or returns the user offset values for each magnetic axis Eg Xof 47 lt cr gt lt lf gt sets the x offset value to 47 Eg Xof lt cr gt lt lf gt returns the x offset value 47 Baud Rate Bau Sets the compass baud rate 19200 9600 4800 and 2400 are the only allowed values Baud rate can not be queried System Filter SFL Sets and reads the system IIR filter setting When the Split Filter bit is cleared th
27. Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS Timing Requirements Table 3 contains the time delays required by HMC6352 upon receipt of the command to either perform the commanded task or to have the response available on the C bus Table 3 Interface Command Delays Command Byte asci hex Description Time M 1 sec aa Enter User Calibration Mode 10 41 Get Data Compensate and Calculate 6000 New Heading Command and Operation Mode Interactions All commands are accepted in the standby mode Honeywell strongly recommends using this mode during the initial setup stage Setting up of the HMC6352 operation mode and its slave address are typical set up examples Although execution of all commands in the Query and Continuous Modes is acceptable the completion outcome is not guaranteed Q How to Read Data from HMC6352 A In Standby Mode Use A command In Query Mode Send 43 hex slave address to read data and clock out the two register data bytes for heading An initial A command is needed to update the heading after each read In Continuous Mode Send 43 hex slave address to read data and clock out the register data bytes for heading The A command is not allowed or required Waveform Examples Example 1 This example shows
28. Typically a reset pulse is sent first followed by a set pulse a few milliseconds later By shoving the magnetic domains R1 AREE in completely opposite directions any prior magnetic 220 disturbances are likely to be completely erased by the duet of pulses For simpler circuits with less critical requirements for noise and accuracy a single polarity pulse circuit may be employed all sets or all resets With ave these uni polar pulses several pulses together become close in performance to a set reset pulse circuit Figure 1 7 shows a quick and dirty manual pulse circuit for uni polar application of pulses to the set reset strap Vdd Rsr Figure 1 Set Pulse Circuit Application Notes Three Axis Compassing with Tilt Compensation For full three axis compassing the circuit depicted in Figure 2 shows HMC1023 used for sensing the magnetic field in three axes A two axis accelerometer with digital PWM outputs is also shown to provide pitch and roll tilt sensing to correct the three axis magnetic sensors outputs into to the tilt compensated two axis heading The accelerometer can be substituted with a fluidic 2 axis tilt sensor if desired For lower voltage operation with Lithium battery supplies 2 5 to 3 6Vdc the Set Reset circuit should be upgraded from a single IRF7509 to the dual IRF7509 implementation H bridge to permit a minimum 1 5 ampere pulse 500mA per set reset strap resistance to the Sensors 3 310 5 0v Vcc
29. are as follows Power Supply 12VDC Ambient Temp 25 C Set Reset switching is active 2 Units 1 gauss 1 Oersted in air 79 58 A m 10E5 gamma 3 Transient protection circuitry should be added across V and Gnd if an unregulated power supply is used Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC2003 Honeywell SENSOR PRODUCTS General Description Honeywell s three axis magnetic sensor hybrid uses three permalloy magneto resistive sensors and custom interface electronics to measure the strength and direction of an incident magnetic field These sensors are sensitive to magnetic fields along the length width and height X Y Z axis of the 20 pin dual in line hybrid Fields can be detected less than 40 microgauss and up to 2 gauss Analog outputs are available for each X Y and Z axis from the hybrid With the sensitivity and linearity of this hybrid changes can be detected in the earth s magnetic field to provide compass headings or attitude sensing The high bandwidth of this hybrid allows for anomaly detection of vehicles planes and other ferrous objects at high speeds The hybrid is packaged on a small printed circuit board 1 by 0 75 and has an on chip 2 5 voltage reference that operates from a si
30. based on the final displacement of the sensed conductor to the measuring bridge Typically an optimally oriented measurement conductor can be placed about one centimeter away from the bridge and have reasonable capability of measuring from tens of milliamperes to beyond 20 amperes of alternating or direct currents See application note AN 209 for the basic principles of current sensing using AMR bridges t standoff distance Rp ile Ra network VI A qv Vcc 9Vdc Auf 500k 5 00k ILS RC4458 AM Ress i output 5 00k U2 500k Vcc 2 4 5Vde Figure 6 Current Sensor Vcc 9Vdc Low ESR Tantalum 1uf v 2000 1uf set reset Si1553DL U3 Conductor to be Current Measured Solid State Electronics Center www magneticsensors com 800 323 8295 Page 10 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS Three Axis Compassing with Tilt Compensation For full three axis compassing the circuit depicted in Figure 7 shows both a HMC1051 and a HMC1052 used for sensing the magnetic field in three axes Alternatively a single HMC1053 could be used for a single sensor package design A two axis accelerometer with digital PWM outputs is also shown to provide pitch and roll tilt sensing to correct the three axis magnetic sensors outputs
31. into to the tilt compensated two axis heading The accelerometer can be substituted with a fluidic 2 axis tilt sensor if desired For lower voltage operation with Lithium battery supplies 2 5 to 3 6Vdc the Set Reset circuit should be upgraded from a single IRF7507 to the dual IRF7507 implementation per Figure 2 to permit a minimum 1 ampere pulse 500mA per set reset strap resistance to both the HMC1052 and HMC1051 sensors Vcc 2 set reset Multiplexed A D Conv Two axis accelerometer Figure 7 Three Axis Compass Solid State Electronics Center www magneticsensors com 800 323 8295 Page 11 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS Duty Cycling for Lower Energy Consumption For battery powered and other applications needing limited energy consumption the sensor bridge and support electronics can be switched off between magnetic field measurements The HMC105X family of magnetic sensors are very low capacitance Bandwidth gt 5MHz sensor bridges and can stabilize quickly typically before the support electronics can Other energy saving ideas would be to minimize the quantity of set reset pulses which saves energy over the battery life Figure 8 shows a simple supply switching circuit that can be microprocessor controlled to duty cycle to
32. lt cr gt lt lf gt Allows the user to zero the pitch output This command should only be used when the pitch axis is leveled 0 3 Averaged Output A lt cr gt lt lf gt Same result as the query command except that the data is the result of an averaging of the last 20 readings Allowed only in Stop data mode Split Filter Toggle F lt cr gt lt lf gt Toggles the split filter bit The parameter setting is saved in the EEPROM immediately Requires power cycling or a reset command to activate Reset R lt cr gt lt lf gt Resets compass to power up condition User Calibration C lt cr gt lt lf gt Command to be issued to enter and exit the calibration mode Once in the calibration mode the device will send magnetometer data appended by a C character to indicate the Calibration Mode operation Eg 123 834 1489 C During the calibration procedure the compass and the platform to which the compass is attached is rotated at a reasonably steady speed through 360 degrees This process should at least take one minute for best accuracy In case of HMR3200 the rotation should be in the horizontal flat plane For HMR3300 the rotation should include as much pitch and roll orientations possible At the completion of the rotations issue another C lt cr gt lt lf gt to exit the calibration mode Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 Courtesy of Steven Engineering Inc 230 Ryan Way South
33. magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS COMMAND INPUTS A simple command set is used to communicate with the HMR2300 These commands can be automated or typed in real time while running communication software programs such a windows hyperterminal Format ddWE ddA ASCII ON ASCII Output Readings in BCD ASCII Format Default ddWE ddB BINARY ON 7 10 Binary Output Readings in Signed 16 bit Bianary Format Output ddP x y z reading 7 or 28 P Polled Output a Single Sample Default ddC x y Z stream C Continuous Output Readings at Sample Rate Esc stream stops 0 Escape Key Stops Continuous Readings Sample Rate ddWE ddR nnn OK 3 Set Sample Rate to nnn Where Nnn 10 20 25 30 40 50 60 100 123 or 154 Samples sec Default 20 Set Reset ddWE ddTN S R ON 7 S R Mode TN ON Auto S R Pulses Default Mode ddWE ddTF S R OFF 8 TF OFF Manual S R Pulses ddWE ddT Toggle 7 or 8 ddT Toggles Command Default On Set Reset dd S SET 4 Character Single S R S gt SET Set Pulse Pulse dd R RST 4 R gt RST Reset Pulse dd Toggle 4 Toggle Alternates Between Set and Reset Pulse Device ID 99ID ID nn Read Device ID Default 00 ddWE ddlD2nn OK 3
34. many other uses forthe OFFSET strapthan those described here The key point is that ambient field and the OFFSET field simply add to one another and are measured by the MR sensor as a single field Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS WHAT IS SET RESET STRAP Most low field magnetic sensors will be affected by large magnetic disturbing fields gt 4 20 gauss that may lead to output signal degradation In orderto reduce this effect and maximize the signal output a magnetic switching technique can be applied to the MR bridge that eliminates the effect of past magnetic history The purpose of the Set Reset S R strap is to restore the MR sensor to its high sensitivity state for measuring magnetic fields This is done by pulsing a large current through the S R strap The Set Reset S R strap looks like a resistance between the SR and SR pins This strap differs from the OFFSET strap in that it is magnetically coupled to the MR sensor in the cross axis or insensitive direction Once the sensor is set or reset low noise and high sensitivity field measurement can occur In the discussion that follows the term set refers to either a Set or reset current When MR sensors exposed to a magnetic disturbing field the sensor elements are broken up into ramdonly oriented m
35. max 180 Time sec Solid State Electronics Center www magneticsensors com 800 323 8295 Page 13 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS REFERENCE DESIGN The schematic diagram in Figure 1 shows the basic HMC6352 application circuit with a minimum of external components From Figure 1 the host microprocessor uP controls the HMC6352 via I C serial data interface lines for data SDA and clock SCL Two external 10k ohm pull up resistors to the nominal 3 volt DC supply create normally high logic states when the interface lines are not in use The host initiates use of the interface by creating the 100kHz clock and pulling low the data line to indicate the start condition The data line logic state transitions are only allowed during the clock low states and require the data line to be stable in the high states with the exception of the start and stop conditions Vdd 3Vde 0 01 pF I C Data c Clad HMlbso2 Figure 1 Reference Design Schematic The 0 01uF supply decoupling capacitor in this reference can be omitted if another supply filter capacitor is already included in the overall circuit design If the supply traces extend beyond a couple inches to the HMC6352 it is advisable to add a local supply decoupling capacitor near the HMC6352 t
36. of the bridge output voltage and 3 Periodically used to improve linearity lower cross axis effects and temperature effects Noise Characteristics The noise density for the HMR105X series is around 50nV sqrt Hz at the 1 Hz corner and quickly drops below 10nV sqrt Hz at 5Hz and begins to fit the Johnson Noise value at just below 5nV sqrt Hz beyond 50Hz The 10Hz noise voltage averages around 1 4 micro volts with a 0 8 micro volts standard deviation Honeywell SENSOR PRODUCTS Cross Axis Effect Cross Axis effect for the HMR105X series is typically specified at 3 of full scale to 1 gauss See application note AN215 regarding this effect and methods for nulling Offset Strap The offset strap is a spiral of metalization that couples in the sensor elements sensitive axis In two axis designs the strap is common to both bridges and must be multiplexed if each bridge requires a different strap current In three axis designs the A and B bridges are together with the C bridge sharing a common node for series driving all three bridges offset straps Each offset strap measures nominally 15 ohms and requires 10mA for each gauss of induced field The straps will easily handle currents to buck or boost fields through the 6 gauss linear measurement range but designers should note the extreme thermal heating on the die when doing so With most applications the offset strap is not utilized and can be ignored Designers can leave on
37. rate of 20 sps has a bandwidth of 17Hz The digital filter inside the HMR2300 is the combination of a comb filter and a low pass filter This provides a linear phase response with a transfer function that has zeros in it When the 10 or 20 sps rate is used the zeros are at the line frequencies of 50 and 60 Hz These zeros provide better than 125 dB rejection All multiples of the zeros extend throughout the transfer function For example the 10 and 20 sps rate has zeros at 50 60 100 120 150 180 Hz The multiples of the zeros apply to all the sample rates against the stated notch frequencies in the above Table COMMAND INPUT RATE The HMR2300 limits how fast the command bytes can be recieved based on the sample rate selected The above Table shows the minimum time between command bytes for the HMR2300 to correctly read them This is usually not a problem when the user is typing the commands from the host computer The problem could arise from an application program outputting command bytes too quickly Solid State Electronics Center www magneticsensors com 800 323 8295 Page 10 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS CIRCUIT DESCRIPTION The HMR2200 Smart Digital Magnetometer contains all the basic sensors and electronics to provide digital indication of magn
38. sensors magnetometers compute the compensated magnetometer and heading data and wait for the next read or command No new measurements are done until another A command is sent This mode is useful to get data on demand or at random intervals as long as the application can withstand the time delay in getting the data Query Mode Operational Mode 1 In this mode the internal processor waits for A commands get data makes the measurements and computations and waits for the next read command to output the data After each read command the HMC6352 automatically performs another get data routine and updates the data registers This mode is designed to get data on demand without repeating A commands and with the master device controlling the timing and data throughput The tradeoff in this mode is the previous query latency for the advantage of an immediate read of data The above two modes are the most power conserving readout modes Continuous Mode Operational Mode 2 The HMC6352 performs continuous sensor measurements and data computations at selectable rates of 1Hz 5Hz 10Hz or 20Hz and updates the output data bytes Subsequent A commands are un necessary unless re synchronization to the command is desired Data reads automatically get the most recent updates This mode is useful for data demanding applications The continuous mode measurement rate is selected by two bits in the operational mode selection byte along with t
39. senstviy SeURestCuren 05A 08 10 12 mVNigauss NoeDeniy QikMzVoidge iV 50 nist Hz Resolution SHzBondwdm Vordgezsv 170 woes Bandwidth Magnetic signal ower imt D s me Disturbing Field Sensitivity starts to degrade 20 gauss MU asemmewemeemens o TT Sensitivity Ta 40 to 125 C Vbridge 5V 3000 2700 2400 ppm C Bridge Offset Ta 40 to 125 C No Set Reset 500 ppm C Bridge Ohmic Vbridge 5V Ta 40 to 125 C 2100 2500 2900 ppm C ind Cross Axis Effect Cross field 1 gauss Happlied 1 gauss 3 P FS Max Exposed No perming effect on zero reading 10000 gauss Field Sensitivity Ratio of Ta 40 to 125 C X Y Sensors HMC1052 Only X Y sensor Sensitive direction in X and Y sensors 95 1 O1 d dei 0 01 degree Orthogonality HMC1052 Tested at 25 C except stated otherwise Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions mn Typ Max Umts Set Reset Strap Resistance MexuedfomSReioSR 3 48 6 ohms Current 0 1 duty cycle or less 0 4 0 5 4 Amp 2usec current pulse Resistance Ta 40 to 125 C
40. than 2 5 degrees C per second The soak zone should last from 60 to 90 seconds 2 minutes maximum and ramp up in temperature from 150 to 180 C at 0 5 to 0 6 C sec The reflow zone should last for 30 to 90 seconds maximum 40 to 60 seconds is ideal and peak in temperature between 200 and 210 C with a ramp of 1 3 to 1 6 C sec The reflow parameters can vary significantly and excellent reflow results can still be achieved A thin layer of paste flux or a 2 to 3 mil layer of solder paste applied to the mother board prior to placing the HMC1023 is helpful The profile can be verified by placing a thermocouple between the HMC1023 and motherboard Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS Basic Device Operation The Honeywell HMC1023 magneto resistive sensor is composed of three Wheatstone bridge elements to measure magnetic fields for both field strength and direction With power applied to the bridges the sensors elements convert any incident magnetic field in each element s sensitive axis direction to a differential voltage output In addition to the bridge elements these sensors have two types of on chip magnetically coupled straps the offset straps and the set reset strap These straps are H
41. upper or lower case letters may be used The device ID dd is a decimal number between 00 and 99 Device ID 99 is a global address for all units 2 The symbol is a carriage return hex OD The _ symbol is a space hex 20 The output response will be delayed from the end of the carriage return of the input string by 2 msec typ unless the command was sent as a global device ID 99 see TDELAY Output the HMR2300r serial number Output the HMR2300r software version number Output the HMR2300r hardware version number Software Version ek Oo AR Hardware Version Activate a write enable This is required before commands like Set Device ID Baud Rate and others 1 Write Enable 3 shown in table This writes all parameter settings to EEPROM These Store Parameters values will be automatically restored upon power up Too Many Characters A command was not entered properly or 10 characters were typed after an asterisk and before a cr mmy 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com DATA FORMATS The HMR2300 transmits each x y and z axis as a 16 bit value The output data format can either be 16 bit signed binary sign 15 bits or binary coded decimal BCD ASCII characters The command ddA will select the ASCII format and daB will select the binary f
42. 1 Published Jun 2001 Page 4 Plymouth Minnesota 55441 4799 1 800 323 8295 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com
43. 10 5V Clock For any magnetic sensor application if temperature drift is notan issue then the reset pulse need only be occasionally applied This will save power and enable the use of digital filtering techniques as shown in Figure 12 Circumstances for a reset pulse would be 1 power on or 2 field over under range condition Any other time the sensor should perform normally 200 5V 0 1uF Clock FMMT617 1 Tantalum low R Figure 12 5V Circuit for SET RESET 1021 1022 The circuit in Figure 13 generates a strong set reset pulse under a microprocessor clock driven control A free running 555 timer can also be used to clock the circuit The SET current pulse is drawn from the 1 uF capacitor and a 200 ohm dropping resistor should be placed in series with the supply to reduce noise 10 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS 200 1uF 1 5 to 6V 5V Clock 4 to14V IRF7105 DI9952 2 2 set TPW 2 usec S R reset 4 to 14V Clock o 1 Tantalum low R set rst set 2 Rds 0 2 ohm Figure 13 Set Reset Pulse With Clock Control 1021 1022 Low Power For low power application down to 3 3 volt supply the circuit shown in Figure 15 can be used These low threshold FETs provide low on
44. 1055 Honeywell Advance Information SENSOR PRODUCTS 3 AXIS COMPASS SENSOR SET Features e 3 Precision Sensor Components e 2 Axis Magnetoresistive Sensor for X Y Axis Earth s Field Detection e 1 Axis Magnetoresistive Sensor for Z Axis Earth s Field Detection e 2 Axis Accelerometer for 60 Tilt Compensation e 2 7 to 5 5 volt Supply Range e 3 Axis Compass Reference Design Included Product Description The Honeywell HMC1055 3 Axis Compass Sensor Set combines the popular HMC1051Z one axis and the HMC1052 two axis magneto resistive sensors plus a 2 e axis MEMSIC MXS3334UL accelerometer in a single kit By combining these three sensor packages OEM compass system designers will have the building blocks needed to create their own tilt compensated compass designs using these proven components The HMC1055 chip set includes the three sensor integrated circuits and an application note describing sensor function a reference design and design tips for integrating the compass feature into other product platforms DIAGRAMS Pinouts top view HONEYWELL HMC1051Z Solid State Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS SPECIFICATIONS MAGNETIC SENSORS HMC105
45. 1Z HMC1052 Bridge Elements Senivy SeWesetCurent 08A 08 10 12 mViVipauss 1 25 Bridge Offset Offset OUT OUT 0 5 1 25 mV V Field O gauss after Set pulse o5 Me Bandwidth Magnetic signal lower limit DC nV sqrt Hz Disturbing Field Sensitivity starts to degrade EN ro Max Exposed No perming effect on zero reading 10000 gauss Field Operating Ambient 125 Temperature Storage Ambient unbiased 150 Temperature 05 01 2 40 Ke j i Sensitivity T 40 to 125 C Vbridge 5V 3000 2700 2400 ppm C Tempco T 40 to 125 C Ibridge 5mA 600 Bridge Offset TA7 40 to 125 C No Set Reset 500 ppm C Tempco TA7 40 to 125 C With Set Reset 10 Bridge Ohmic Vbridge 5V T 40 to 125 C 2100 2500 2900 ppm C Tempco Sensitivity Ratio of Ta 40 to 125 C 95 101 1 X Y Sensors Ni u HMC1052 Only Orthogonality HMC1052 Linearity Error Best fit straight line 1 gauss 3 gauss 0 1 0 5 t 6 gauss 1 8 Hysteresis Error 3 sweeps across 3 gauss Repeatability Error 3 sweeps across 3 gauss Tested at 25 C except stated otherwise X Y sensor Sensitive direction in X and Y sensors FS 0 1 WFS Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Hon
46. 2 Typ TBviE 9600 1 04 msec 19 200 0 52 TSTARTUP Power Applied to End of Start Up msec Message RS 232 COMMUNICATIONS Figure1 Timing is Not to Scale Last Byte of Command Magnetometer Response A 12V __ TD B 12V XH XL YH YL ZH ZL lt cr gt 0D hex cr of Command HMR2300 Response oo a Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS GLOBAL ADDRESS 99 DELAY Figure 3 Timing is Not to Scale Eu sE a Command HMR IDz01 Bytes Response 01P lt er gt XXYYZZ cr a A DELAY TDELAY Command HMR ID 00 HMR ID 01 HMR IDz02 Bytes Response Response Response 99P cr XXYY ZZ cr XXYYZZ cr XXYYZZ cr7 PIN CONFIGURATION PmName Description en meswmas REA UA after SET pulse 5 9 Fd GD eV RDe Toe e Y 5 i E zn 1 ater RESET a M d 2 75 6 99 J2 2 95 7 49 O RD A inches V GD TD B centimeters Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS
47. 2 or RS 485 Serial Data Interfaces PCB or Aluminum Enclosure Options 6 15 volt DC Unregulated Power Supply Interface General Description The Honeywell HMR2300 is a three axis smart digital magnetometer to detect the strength and direction of an incident magnetic field The three of Honeywell s magneto resistive sensors are oriented in orthogonal directions to measure the X Y and Z vector components of a magnetic field These sensor outputs are converted to 16 bit digital values using an internal delta sigma A D converter An onboard EEPROM stores the magnetometer s configuration for consistent operation The data output is serial full duplex RS 232 or half duplex RS 485 with 9600 or 19 200 data rates A RS 232 development kit version is available that includes a windows compatible demo program interface cable AC adapter and carrying case APPLICATIONS Block Diagram Attitude Reference Compassing amp Navigation Traffic and Vehicle Detection Anomaly Detection Laboratory Instrumentation Security Systems Solid State Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions Typ Power Supply Supply Voltage Pin 9 referenced to Pin 5 Groun
48. 258 9200 www stevenengineering com Honeywell SENSOR PRODUCTS APPLICATIONS Linear Angular Rotary rw niae Displacement Sensors HMC1501 HMC1512 igh resolution low power MR sensor H capable of measuring the angle direction of a magnetic field from a magnet with 0 07 resolution Advantages of measuring field direction versus field strength include insensitivity to the tempco of the magnet less sensitivity to shock and vibration and the ability to withstand large variations in the gap between the sensor and magnet These sensors may be operated on 3 volts with bandwidth response of 0 5 MHz Output is typical Wheatstone bridge FEATURES AND BENEFITS Angular Displacement Motor Control Valve Position Proximity Detection Current Spike Detection Not actual size No Rare Earth Magnets Unlike Hall effect devices which may require samarium cobalt or similar rare earth magnets the HMC1501 and HMC1512 can function with Alnico or ceramic type magnets Wide Angular Range HMC1501 Angular range of 45 with 0 07 resolution HMC1512 Angular range of X90 with 0 05 resolution Effective Linear Range Linear range of 8mm with two sensors mounted on two ends range may be increased through multiple sensor arrays operating together Absolute Sensing Unlike incremental encoding devices sensors know the exact position and require no indexing for proper positional output Non Contact Sensing No moving pa
49. 3300 3700 4100 ppm C Tempco Offset Straps Offset DC Current 10 mA gauss Constant Field applied in sensitive direction Resistance Ta 40 to 125 C 3500 3900 4300 ppm C Tempco Tested at 25 C except stated otherwise PIN CON FIGURATIONS Arrow indicates direction of applied field that generates a positive output voltage after a SET pulse HMC1051 Vcc 3 i HMC1051Z Pinout HMC1051 BRIDGE B O Vo A GND Plane V9 A GND1 B GND2 B 2 4 8 1 5 Set Reset Strap S R S R 6 7 HMC1051ZL VB 8 HMC1051ZL Pinout o VO 4 VO 7 8 7 6 5 4 3 2 1 enm VB VO OFF GND VO S R S R OFF Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 HMC1052 Vcc S O HMC 1052 BRIDGE A BRIDGE B O O O OUT GND2 GND1 OUT OUT GND OUT 10 9 3 4 7 1 2 Set Reset Strap S R O J O S R 6 8 HMC1052L VB OUT OUT OUT A A B B GND1 GND2 GND1 GND2 A A B B OFF OFF SIR SIR AB A B A B A B HMC1053 GND GND GND A Bi c OFF S R o OFF A B IR OFF A B C SiR A B C C C Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Honeywell SENSOR
50. 5 i 12 m O mss Qus d n O mse Qus 01H ASH 018 A5H RX Normal High Figure 2 Normal Mode Timing Diagram Continuous Mode When the host processor external to the HMR3100 holds the RTS input low the HMR3100 will continuously send heading data via the TXD pin The host shall hold the RXD pin high during this mode The HMR3100 shall output the three byte status heading data packet at about a 2Hz rate The HMR3100 will return to sleep mode when RTS is returned high Figure 3 shows the continuous mode timing diagram Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS RX 7 Example 1 l TX l t I3 i SER Oss Ous T4 TT Ouse Oise pe 02H 658 02H 85H TX i i M i ij ij i M i i i d j T3 Pene OQ mse Biss 14 gem Ouse Oss RX Normal High GOH OI ASH 0D pm sm ormal High Figure 3 Continuous Mode Timing Diagram Calibration Mode When the host processor pulses low the RTS pin and sends the RXD pin to a low logic level the HMR3100 is in hard iron calibration mode This calibration is only for nearby magnetized metals hard iron that are fixed in position with the HMR3100 At a moderate rate 5 seconds or
51. 5 optional O Oscillator Sensor Y OUT v Voltage A Heater Control i Continous Self Test 7 Low Pass Filter Factory Adjust Offset amp Gain ML n T P TN NA TUE Dour 2 Vop Gnd Voa 8 3 4 Pin Descriptions HMC1051Z 6 SR Set Reset Strap Positive SSS p Set Reset Strap Negative 8 Vo A Bridge Output Negative Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS HMC1052 6 SR JjJSetRestStapPosiive 8 SR jSetReetStapNegaive 9 GN2 JjBrdgeAGrund2 o MXD3334UL Tour Temperature Analog Voltage 0 2 Dogry YAxis Acceleration Digital Signal 3 Gnd Ground J 0 5 Dourx X Axiis Acceleration Digital Signal 6 Ve SV Reference O o 8 V Digital Supply Voltage Package Dimensions HMC1051Z Symbol Millimeters Inches x 10E 3 Min Max Min Max A 1 371 1 728 54 68 Al 0 101 0 249 4 10 B 0 355 0 483 14 19 D 9 829 11 253 387 443 E 3 810 3 988 150 157 e 1 270 ref 50 ref H 6
52. 850 7 300 270 287 h 0 381 0 762 15 30 HMC1052 Symbol Millimeters Inches x 10E 3 Min Max Min Max 1 10 0 05 0 15 0 15 0 30 2 90 3 10 2 90 3 10 0 50 BSC 4 75 5 05 0 95 BSC Solid State Electronics Center www magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS MXS3334UL 5 007918 4030 002 ea4 0 13T YP m LI amp TYP METALLIZED Application Notes The HMC1055 Chipset is composed of three sensors packaged as integrated circuits for tilt compensated electronic compass development These three sensors are composed of a Honeywell HMC1052 two axis magnetic field sensor a Honeywell HMC1051Z one axis magnetic sensor and the Memsic MXS3334UL two axis accelerometer Traditionally compassing is done with a two axis magnetic sensor held level perpendicular to the gravitational axis to sense the horizontal vector components of the earth s magnetic field from the south pole to the north pole By incorporating a third axis magnetic sensor and the two axis accelerometer to measure pitch and roll tilt the compass is able to be electronically gimbaled and can point to the north pole regardless of level The HMC1052 two axis magnetic sensor contains two Anisotropic Magneto Resistive AMR sensor
53. Coefficient of offset with S R ON laa o Power Supply Effect From 6 to 15V with 1 Gauss applied o 85 ppm V 5 to 10Hz for 2 hrs 1 mm Vibration operating 10Hz to 2KHz for 30 min Pf ae g force Max Exposed Field No perming effect on zero reading eee Gauss TIMING SPECIFICATIONS Table 2 Timing Diagrams Figs 1 2 dd command dd Device ID 2 2 ddP 2 2 ddRST 6 ddC 40 99 command exceptions below 2 dd x 40 ddQ 2 dd x 80 99Q 2 dd x 120 Timing Diagram Fig 2 TABER 99 comand dd Device ID ud edeey Timing Diagrams Fig 1 9600 TBYTE 19200 TSTARTUP Power Applied to start of Start Up message 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300r RS 485 and RS 422 COMMUNICATIONS Figure 1 Timing is not to scale E LSB MSB Stop 4V Hi 2V 1V 4V Lo 3 IV eer of Command HMR2300r Response TBYTE TRESP GLOBAL ADDRESS 99 DELAY Figure 2 TRESP RO RAN Timing is not to scale Command HMR ID 01 Bytes Response 01P lt cr gt XXYYZZVC lt cr gt TDELAY ID 02 TDELAY ID 01 TRESP BSS WS DBS SW Command HMR ID 00 HMR ID 01 HMR ID 02 Bytes Response Response Response 99P cr XXYYZZVC lt cr gt XXYYZZVC lt cr gt XXYYZZVC lt cr gt ASCII f3dB Continuous Reading Period 9600 19200 9600 19200 Hz
54. Honeywell SENSOR PRODUCTS APPLICATIONS 1 and 2 Axis Magnetic Compassing Navigation Systems Se n SO rs Attitude Reference HMC1 001 1 002 Traffic Detection HMC1 021 1 022 Medical Devices seats as a 4 element wheatstone bridge these magnetoresistive sensors convert magnetic fields to a differential output volt age capable of sensing magnetic fields as low as 30 ugauss These MRs offer a small low cost high sensitivity and high reliability solution for low field magnetic sensing Non Contact Switch amp Not actual size FEATURES AND BENEFITS Wide Field Range Field range up to 6 gauss earth s field 0 5 gauss Small Package Designed for 1 and 2 axis to work together to provide 3 axis x y z sensing 1 axis part in an 8 pin SIP or an 8 pin SOIC or a ceramic 8 pin DIP package 2 axis part in a 16 pin or 20 pin SOIC package Solid State These small devices reduce board assembly costs improve reliability and ruggedness com pared to mechanical fluxgates On Chip Coils Patented on chip set reset straps to reduce effects of temperature drift non linearity errors and loss of signal output due to the presence of high magnetic fields Patented on chip offset straps for elimination of the effects of hard iron distortion Cost Effective The sensors were specifically designed to be affordable for high volume OEM applications Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco
55. J STD 001 Class 3 and IPC A 610 Class 3 respectively Electrostatic Sensitive Devices handling and marking shall apply The HMR2300r shall be treated as an Electrostatic Sensitive Device ESD and precautionary Mean Time Between Failure MTBF The MTBF of the HMR2300r is 25 000 hours minimum under the environmental conditions specified Altitude The HMR2300r is capable of withstanding altitudes per MIL STD 810E Method 520 1 Procedure III Fungus The HMR2300r is constructed with non nutrient materials and will withstand in both operation and storage conditions exposure to fungus growth per MIL STD 810E Method 508 4 The HMR2300r will perform as specified following exposure to shock IAW MIL STD 810E Method Shock 513 4 Table 516 4 Procedure l V and VI Functional shock 20g 11ms 3 shocks in both directions of 3 axes and crash hazard shock 40g 11ms 2 shocks in both directions of 3 axes The HMR2300r will perform as specified during exposure to random vibration per MIL STD 810E Vibration Method 514 4 Category 10 Figure 514 4 random vibration 4 Hz 2000 Hz 0 04g 2 Hz to 0 0015 g 2 Hz 3 hr axis operating The HMR2300r when clear coated will operate as specified after 48 hrs exposure to a salt Salt Fog atmosphere environment per MIL STD 810E Method 509 3 Procedure User must provide polyurethane clear coat to board Explosive Atmosphere n MM SRL not ignite an explosive atmosphere when tested IAW MIL STD 810E
56. LSB first MSB HCHDG Heading Deviation Variation always 0 no parity and 1 Stop bit Baud rate is user HCHDG 85 5 0 0 E 0 0 E 77 configurable to 1200 2400 4800 9600 19 200 or HCHDT Heading True 38 400 HMR3000 responds to all valid inputs received HCHDT 271 1 T 2C with correct checksum value PTNTHPR Heading Pitch and Roll PTNTHPR Heading Heading Status Pitch Pitch Compass Output Status Roll Roll Status hh lt cr gt lt lf gt HMR3000 can output three NMEA standard sentences PTNTHPR 85 9 N 0 9 N 0 8 N 2C HDG HDT and XDR three proprietary sentences The table shows pin assignments for the 9 pin D shell connector Power input can be either regulated 5V dc or unregulated 6V to 15V Only one of the two power pins 9 or 8 should be connected in a given installation ao m s Powerandemalsommon J Oper Calib 2 yf in ot Operate Calibrate 3 input open Operate COENEN V dc Run Stop 2 n 6 Run Stop 3 input open Run 0 5 20 20 V dc Ready Sleep 2 Ready Sleep 3 input open Ready V dc Cont Reset 2 Continue Reset 3 input open Continue V dc 1 Absolute maximum ratings 2 Sink current requirement 200 Typ 400 Max uA 3 Open input high logic state 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3000 SENSOR PRODUCTS Comments R
57. MS 2 Dip lt 50 Tilt 20 RMS Dip 75 Tilt lt 20 User selectable Tilt 20 Tilt gt 20 mils User selectable 0 5 Gauss range Normal operation STOP Mode SLEEP Mode Circuit card only Circuit card Housed compass SPECIFICATIONS Parameter vawe HO ug lt 0 5 Accuracy 1 2159 Repeatabily 9 EOS Resolution o Aich and Aon Rm s4 ne e 0 Repay 9 OR Reo 0r Magnete Field 3 FlecitiCcal 2 5 0 Vdc regulated SUPPI MOIS 6 15 Vdc unregulated 35 mA 6 Vdc nierace Serial dide RS 485 Half Duplex Baud Rate 1200 to 38400 bps Standard NMEA 0183 Continuous 1 min to 20 Hz per sentence pede Meg Strobed selectable averaging FL YSICA 4 0 75 oz 22 g Welgnt 3 25 oz 92 g Housed Dimensions 1 2 x 2 95 x 0 760 1 5 x 4 2 x 0 88 Ernvionment 5 Operating Temp 20 to 70 C Storage Temperature 35 to 100 C 30 inch drop MIL STD 810E TM 516 4 Vibration sl ciui l MIL STD 810E TM 514 4 Random 2 hrs axis Manmnuaectumg PCB IPC 6012 Assembly 1 Heading accuracy assumes the Earth s magnetic field is only disturbed by hard iron fields and has been compensated through calibration 2 Calculated values 3 Guaranteed by characterization or design IPC 610 Class ll or better 4 Typical 5 Meet or exceed Device orientation not to exceed 75 during operation or storage may cause temporary loss of accuracy Courtesy of Steven Engineering Inc 230 Ryan Way Sou
58. Method Humidity Method 507 3 Procedure Ill Temperature 10 cycles at 54 C to 71 degC operating approx 4 hours cycle including stabilization time EMI The HMR2300r will meet the requirements of MIL STD 461C Notice 2 and MIL STD 462 Notice 5 APPLICATIONS PRECAUTIONS Several precautions should be observed when using mag netometers in general e The presence of ferrous materials such as nickel iron steel cobalt near the magnetometer will create dis turbances in the earth s magnetic field that will distort x y and z field measurements The presence of the earth s magnetic field must be taken into account when measuring other x y and z fields e he variance of the earth s magnetic field must be ac counted for in different parts of the world Differences in ORDERING INFORMATION HMR2300r 422 RS 422 Communication Standard HMR2300r 485 RS 485 Communication Standard the earth s magnetic field are quite dramatic between North America South America and the Equator region Perming effects on the HMR board need to be taken into account If the HMR board is exposed to fields greater than 10 Gauss or 10 Oersted then the board must be degaussed The result of perming is a high zero field output code that may exceed specification limits Degaussing devices are readily available from local elec tronics outlets and are inexpensive If the HMR board is not degaussed zero field offset values may result Custom
59. Mode the HMC6352 will make a fresh measurement after it 1s read by the host processor In this mode the data are available for immediate read The above two modes are the most power efficient readout modes In the Continuous Mode the user can choose 1 5 10 or 20 Hz output rate and the HMC6352 will make continuous measurements and update the output registers This mode is useful for data demanding applications In this mode the output can be read by writing 0x43 to the HMC6352 I2C bus Honeyw ell Honeywell Proprietary ujoo BuueeuiDueueAe1s M MWw 0026 8S82 009 eeJy 29071 episino 0026 8989 099 991JO UIeI 0Z 9 08076 VO o9sioueJJ ues YINOS Aem UeAY Oege ouj GuueeuiBu4 ueAelS Jo saunoo HMC6352 2 Axis Digital Compass Module EC Bus Overview HMC6352 employs the 2 wire I C bus protocol http www semiconductors philips com acrobat literature 9398 3934001 1 pdf in the 100 Kb s data rate 7 bit addressing mode There is a clock line SCL and a data SDA line in this bus specification and a host of devices can be connected The bus can be a single Master multi Slave or it can be a Multi Master configuration All data transfers are initiated by the Master device which is responsible for generating the clock signal and the transfers are 8 bit long All devices are addressed by its unique 7 bit Address After each 8 bit transfer the Master generates a 9 clock pulse and the transmitting device releases the SDA line The receiving d
60. PUT SAMPLE RATES The sample rate can be varied from 10 samples per second sps to 154 sps using the ddR nnn command Each sample contains an X Y and Z reading and can be outputted in either 16 bit signed binary or binary coded decimal BCD ASCII The ASCII format shows the standard numeric characters displayed on the host computer display Some sample rates may have restrictions on the format and baud rate used due to transmission time constraints There are 7 Bytes transmitted for every reading binary format and 28 Bytes per reading in ASCII format Transmission times for 9600 baud are about 1 msec Byte and for 19 200 baud are about 0 5msec Byte The combinations of format and and baud rate selections are shown in the above Table The default setting of ASCII format and 9600 baud will only transmit correctly up to 30 sps Note the HMR2300 will output a higher data settings but the readings may be incorrect and will be at alower output rate than selected For higher sample rates gt 60 sps it is advised that host computer settings for the terminal preferences be set so a line feed lt lf gt is not appended to the sent commands This slows down the reception of data and it will not be able to keep up with the incoming data stream INPUT SIGNAL ATTENUATION Magnetic signals being measured will be attenuated based on the sample rate selected The bandwidth defined by the 3dB point is shown in the above Table for each sample rate The default
61. Set Device ID Where nn 00 to 98 Baud Rate 99WE 99 BR S OK 7 14 Set Baud Rate to 9600 bps Default BAUD 96007 99WE 99IBR F OK 14 Set Baud Rate to 19 200 bps BAUD 19 2007 8 bits no parity 1 stop bit Zero ddWE ddZN ZERO ON 8 Zero Reading Will Store and Use Current as a Negative Reading ddWE ddZF ZERO OFF 9 Offset so That the Output Reads Zero Field ddWE ddZR Toggle 8 or 9 ddZR Toggles Command Average ddWE ddVN AVG ON T The Average Reading for the Current Sample X N is Readings ddWE ddVF AVG OFF 8 Xavg X N 2 X N 1 4 X N 2 8 X N 3 16 ddWE ddV Toggle 7ors ddV Toggles Command Re Enter ddWE ddY 3 Turn the Re Enter Error Response ON ddY or OFF Response ddWE ddN OK 3 ddN OFF is Recommended for RS 485 Default ON Query Setup 62 72 Read Setup Parameters Default ASCII POLLED S R ON ZERO OFF AVG OFF R ON ID 00 20 sps Default OK 14 Change All Command Parameter Settings to Factory Settings BAUD 96007 Default Values Change All Command Parameter Settings to the Last User Stored Values in the EEPROM Restore ddWE ddRST OK or BAUD _ 19 2007 Number Version nnnn Version nnnn T Output the HMR2300 Serial Number Output the HMR2300 Software Version Number Output the HMR2300 Hardware Version Number Activate a Write Enable This is required before commands Set Device ID Baud Rate and Store Parameters This writes all parameter settings to EEPROM These
62. UCTS Advance Information SPECIFICATIONS Characteristics Conditions HMR4001 Typ Linear Position mme 9wmesew 9 m Accuracy gt 80 gauss at sensor Angular Position a Q D Q Range gt 80 gauss at sensor Magnetic Field Strength Repeatabiity 003 FS 9 oas Electrical Voltage Unregulated Current Active Mode SLEEP pin 5V or open Sleep Mode SLEEP pin OV PWM Output Frequency FS 5V or open Frequency Ambient Temperature 23 C Accuracy 1 Level Duty Cycle PWM 1 Level at any Position 4 5 5 5 Volts Amplitude pk pk Analog Output Rane AmbenTemprre 2yC 40 vws Physical Dimensions circuit board only 15x48 5x12 wem oreutboardonty s om Environment Temperature Operating 40 85 C Storage 55 125 C Web Site www magneticsensors com Honeywell Email ssec customer service honeywell com Solid State Electronics Center 12001 State Highway 55 2001 HMR4001 Published Jun 2001 Page 2 Plymouth Minnesota 55441 4799 1 800 323 8295 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR4001 Honeywell SENSOR PRODUCTS Advance Information Pin Configuration Description o oo ao o eo ANALOG OUTPUT Analog Version of the PWM Output Using a Low Pass Filter PWM OUTPUT Digital Sign
63. Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300r DATA COMMUNICATIONS The RS 422 signals are balanced differential signals that can send and receive simultaneously full duplex The RS 485 signals are also balanced differential levels but the transmit and receive signals share the same two wires This means that only one end of the transmission line can transmit data at a time and the other end must be in a receive mode half duplex The RS 422 and RS 485 lines must be terminated at both ends with a 120 ohm resistor to reduce transmission errors There are termination resistors built into the HMR2300r as shown in Figures 4 and 5 The signals being transmitted are not dependent on the absolute voltage level on either Lo or Hi but rather a difference voltage That is when a logic one is being transmitted the Tx line will drive about 1 5 volts higher than the Rx line For a logic zero the Lo line will drive about 1 5 volts lower than the Hi line This allows signals to be transmitted in a high noise environment or over very long distances where line loss may otherwise be a problem typically 4 000 feet These signals are also slew rate limited for error free transmission The receiver has a common mode input range of 7 to 12 volts The signal connections are shown in Figure 6 Note When the HMR2300r is in a continuous read mode on the RS 485 b
64. XFET drivers IRF7105 The purpose of creating the TRS and the TSR delays are to make sure that one HEXFET is off before the other one turns on Basically a break before make switching pattern The current pulse is drawn from the 4 7 uF capacitor If the 5V to 20V converter is used as shown in Figure 7 then the resultant noise and droop on the 16 20V supply is not an issue But if the 16 20V supply is used elsewhere in the system then a series dropping resistor 500Q should be placed between the 4 7uF capacitor and the supply MAX662A Use tantalum capacitors Figure 7 5V to 20V Converter 16 to 20V 4 7uF 3 S R strap 4 50 typ 3A peak min HMC2003 S R 1 HEXFETs with 0 20 Ron 2 0 22uF Tantalum or a 0 68 uF Ceramic CK06 3 Tantalum low R Figure 8 Single Clock Set Reset Pulse Circuit 1001 1002 5V SET S R XS TPW 16ev reset TRS 2 5 usec TSR 25 usec TPW 2 usec 16 to 20V 4 7yF 1 S R strap 4 50 typ 3A peak min HMC2003 0 22uF 2N3904 S R 1 Tantalum low R 2 HEXFETs with 0 20 Ron HMC2003 contains one HMC1001 and one HMC1002 together they make the 3 axis sensor Three S R straps are in serial the total resistance is 4 5Q Figure 9 Set Reset Circuit With Microprocessor Control 1001 1002 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Out
65. Xoff 11 J Rx Xtrim Xoff Y off Yoff Zoff Zoff V Vbridge Vsense Gnd Solid State Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC2003 Honeywell SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions Typ Magnetic Field SmsWy 08 3 18 Vgmss NaFedOdp 23 Z8 27 V Reoon 49 s Field Range Maximum Magnetic Flux Density 2 2 gass Output Voltage Each Magnetometer Axis Output 05 45 Errors Linearity Error 1 gauss Applied Field Sweep FS BE OO O e Hysteresis Error Hysteresis Error 3 3 Sweeps across 2 gauss across 2 gauss a a 1799 Power Supply Effect PS Varied from 6 to 15V 0 1 FS With 1 gauss Applied Field Sweep Offset Strap Resaxe S 95 os Sewy 495 4 5 485 moas Omm O 23 m Set Reset Strap Resexe o T 45 8 9m A T Null Field Set Reset Not Used 400 ppm BENE lel i Environments Temperature Operating 40 85 C BRUNNEN ee a Shock ft Vibration 22 l gms Electrical SuppyVotage 5 we Supply Curent 2 m 1 Unless otherwise stated test conditions
66. Zhi Zlo The binary format is more efficient for a computer to interpret since only 7 bytes are transmitted The BCD ASCII format is easiest for user interpretation but requires 28 bytes per reading There are limitations on the output sample rate see table below based on the format and baud rate selected Examples of both binary and BCD ASCII outputs are shown below for field values between 2 gauss Field BCD ASCII Binary Value Hex gauss Value e Byte Low o 2 42 00 30000 000 22 500 Lm or 8 1 0 15 000 80 310 46 v 9 99 98 780 E B 18 swo C 74 48 80 588 16 39 309 8 amp 09 Binary Format 7 Bytes Xu Xt Yu Y Zu Z cr Xu Signed Byte X axis X Low Byte X axis cr Carriage Return Enter key Hex Code OD ASCII Format 28 Bytes SN X1 X2 CM X3 X4 X5 SP SP SN Y1 Y2 CM Y3 Y4 Y5 SP SP SN Z1 Z2 CM Z3 Z4 Z5 SP SP lt cr gt The ASCII characters will be readable on a monitor as sign decimal numbers This format is best when the user is interpreting the readings Solid State Electronics Center www magneticsensors com 800 323 8295 Page 8 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS PARAMETER SELECTION VERSUS OUTPUT
67. a century ago by the motion picture industry Movies at 20 updates or more per second While there is still some value in creating off periods in between these frequent updates some users may choose to only switch power on the sensor bridges exclusively and optimize the remainder of the circuitry for low power consumption Compass Firmware Development To implement an electronic compass with tilt compensation the microcontroller firmware must be developed to gather the sensor inputs and to interpret them into meaningful data to the end user system Typically the firmware can be broken into logical routines such as initialization sensor output collection and raw data manipulation heading computation calibration routines and output formatting For the sensor output data collection the analog voltages at microcontroller inputs ANO through AN3 are digitized and a count number representing the measured voltage is the result For compassing the absolute meaning of the ADC counts scaled back to the sensor s milli gauss measurement is not necessary however it is important to reference the zero gauss ADC count level For example an 8 bit ADC has 512 counts 0 to 511 binary then count 255 would be the zero offset and zero gauss value In reality errors will creep in due to the tolerances of the sensor bridge bridge offset voltage multiplied by the amplifier gain stages plus any offset errors the amplifiers contribute and magnetic errors from h
68. a qualified BGA rework technician do the work for you The reflow profile show below is the recommended profile for HMC1023 package attachment Kester Reflow Profile Alloy Sn63Pb37 or Sn62Pb36Ag02 eA 220 eak Temp _ n 210 225 C 200 1 3 1 6 GiSec 130 a oe ET MR COMER SNPs A o 160 140 d 120 2 Soaking Zone 1 Reflow Zone 100 3 2 0 min max 30 90 sec max 2 30 80 90 sec typical 30 60 sec typical xd Fre heating Zone 404 y 2 0 4 0 min max 204 30 60 90 120 150 180 210 240 270 300 Time sec Melting temperature for the HMC1023 balls is at 180 C The recommended rise and fall temperatures should be no greater than 3 C sec to prevent mechnical stresses or popcorning Peak external temperature the part should be exposed to is between 200 to 210 C When exposed a high temperature such as the solder reflow process the internal connections in the package could sustain permanent damage leaving open connections 225 C is the melting point of solder inside the HMC1023 Ball Grid Array package Do not expose the part to this level of temperature If using solder paste we recommend Kester SN62 solder paste with water soluble flux R560 This has a melting point around 180 C Kester recommends a pre heating zone from ambient temperature to 180 C for 2 to 4 minutes maximum The first part of this pre heating zone ramps up from ambient to 150 C in 90 seconds with a ramp rate of less
69. adily available from local electronics tool suppliers and are inexpensive Severe field offset values could result if not degaussed NON FERROUS MATERIALS Materials that do not affect surrounding magnetic fields are copper brass gold aluminum some stainless steels silver tin silicon and most non metals HANDLING PRECAUTIONS The HMR2300 Smart Digital Magnetometer measures fields within 2 gauss in magnitude with better than 0 1 milli gauss resolution Computer floppy disks diskettes store data with field strengths of approximately 10 gauss This means that the HMR2300 is many times more sensitive than common floppy disks Please treat the magnetometer with at least the same caution as your diskettes by avoiding motors CRT video monitors and magnets Even though the loss of performance is recoverable these magnetic sources will interfere with measurements Solid State Electronics Center www magneticsensors com 800 323 8295 Page 11 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS DEMONSTRATION PCB MODULE KIT The HMR2300 Demonstration Kit includes additional hardware and Windows software to form a development kit for with the smart digital magnetometer This kit includes the HMR2300 PCB and enclosure serial port cable with attached AC adapter power supply and de
70. agnetic domains Figure 4A that leads to sensitivity degrading A current pulse set with a peak current above minimum current in spec through the Set Reset strap will generate a strong magnetic field that realigns the magnetic domains in one direction Figure 4B This will ensure a high sensitivity and repeatable reading A negative pulse Reset will rotate the magnetic domain orientation in the opposite direction Figure 4C and change the polarity of the sensor outputs The state of these magnetic domains can retain for years as long as there is no magnetic disturbing field present Permalloy NiFe Resistor Random Domain Orientations Fig 4A After a Set Pulse Fig 4B After a Reset Pulse Fig 4C Figure 4 The on chip S R should be pulsed with a current to realign or flip the magnetic domains in the sensor This pulse can be as short as two microsecond and on average consumes less than 1 mA dc when pulsing continuously The duty cycle can be selected for a 2 usec pulse every 50 msec or 8 longer to conserve power The only requirement is that each pulse only drive in one direction That is if a 3 5 amp pulse is used to set the sensor the pulse decay should not drop below zero current Any undershoot of the current pulse will tend to un set the sensor and the sensitivity will not be optimum Using the S R strap many effects can be eliminated or reduced that include temperature drift non lin
71. al With the 1 Level Equivalent to the a ee Position of the Magnet Period at 250 or 350 Hz Selects the Pulse Width Modulation Frequency 1 350Hz 0 250Hz onboard pullup Selects the Wake or Sleep Mode 1 Wake 0 Sleep Onboard Pullup Resistor to Keep Board in Wake Mode GROUND Ground Reference for Supply and I O Circuit Board Layout osooooo G2 18 gs 540 Application Notes Very high precision position measurements using weak magnetic fields should note the influence of the earth s magnetic field 0 6 gauss bias on the sensed magnet position The center line of HMC1512 sensor integrated circuit U1 is determined to be midpoint 50 Pulse Width 2 5v Analog for position sensing Only one of the two sensor bridges in the HMC1512 is used for sensing the external magnetic field The other magneto resistive bridge network is used as temperature compensation network to retain precise positioning over a broad temperature range Thus the single bridge provides its linearity over a 90 sweep 45 as opposed to when both HMC1512 bridges are working together for a 180 90 sweep For best performance a magnetic field of at least 80 gauss measured at the sensor location should be maintained A simple dipole magnet usually has the strongest field near its poles and the field decreases with the distance For example An AINiCo cylindrical magnet with a 0 25 diameter has field strength of 700 gauss at its surface Wit
72. ally ranges from 2 to 4 minutes depending on temperature rise to arrive in the 160 C to 180 C soaking plateau to active the flux and remove any remaining moisture in the assembly Preheat rise times must not exceed 3 C per second to avoid moisture and mechanical stresses that result in popcorning the package encapsulation The soaking zone is a one to two minute temperature stabilization time to bring the all the PCB assembly to an even temperature Typically this zone has a 0 5 to 0 6 C rise in temperature heading towards the main reflow heating elements The reflow zone is 30 to 90 second bump in temperature over the 180 C point to reflow the screened solder paste before a gradual cooling The peak temperature is typically in the 210 C to 225 C range In dual temp solder parts it is recommended that peak temperatures remain at least 5 C below the internal reflow solder temperature i e 220 C The figure below shows a typical reflow profile It should be noted that lead free solders tend to require higher peak reflow temperatures and longer reflow times Cooling zone temperature fall should decrease not more than 6 C per second to avoid mechanical stresses in the PCB assembly Kester Reflow Profile Alloy Sn63Pb37 or Sn62Pb36Ag02 Peak Temp 210 225 C 1 3 1 6 Sec soaking Zona q_heflow Zone 2 0 min max 30 90 5ec max 50 90 sec typical 30 50 sec typical a 2 2 mi d D E a F Fre heating Zone _ 2 0 4 0 min
73. an Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1002 Two Axis MR Microcircuit mm 18 GND PLN mm 17 OFFSET A mm 16 S R A mm 15 OFFSET B mm 14 S R B mm 13 GND2 B mm 12 OUT B mm 11 Vbridge B HMC1022 Two Axis MR Circuit OFFSET A 1 OFFSET A OUT A 2 S R A VBRIDGE A 3 S R A OUT A 4 GND B OUT B 5 OUT B VBRIDGE B 6 OFFSET B GND A 7 OFFSET B S R B 8 S R B HMC1021D One Axis MR Circuit OUT 1 Die 8 OFFSET VBRIDGE 2 7 OFFSET GND 3 6 S R OUT 4 5 S R Arrow indicates direction of applied field that generates a LINEAR MAGNETIC FIELD SENSORS PACKAGE PINOUT SPECIFICATIONS HMC1001 One Axis MR Microcircuit S R 1 OFFSET 2 S R 3 GND 4 Out 5 OFFSET 6 Vbridge 7 Out 8 HMC1021S One Axis MR Circuit OUT 1 8 OFFSET VBRIDGE 2 7 OFFSET GND 3 6 S R OUT 4 5 S R HMC1021S HMC1021Z One Axis MR Circuit OUT VBRIDGE S R GND S R OFFSET OFFSET OUT positive output voltage after a SET pulse CON OOF WD Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS BASIC DEVICE OPERATION Honeywell magnetoresistive sensors are simple resistive bridge devices Figure 1 that only require a sup
74. an Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS PACKAGE DRAWING HMC1052L 16 PIN LCC Symbol Millimeters min max A 0 80 1 00 Al 0 0 05 A3 0 20 REF Jeaa c 2x b 0 18 0 30 D 3 00 BSC D2 1 55 1 80 E 3 00 BSC E2 1 55 1 80 e 0 50 BSC 16 4 B min2 aa S bb J JOl0 JJ qe jho aaea amp pee G C a 8 Bm x g CHAHFER 225x45 PACKAGE DRAWING HMC1053 16 PIN LCC qu i p 0 1100 fend 0 050 0 290 BOTTOM VIEW SIDE VIEW Solid State Electronics Center www magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Basic Device Operation The Honeywell HMC105X family of magnetoresistive sensors are Wheatstone bridge devices to measure magnetic fields With power supply applied to a bridge the sensor converts any incident magnetic field in the sensitive axis direction to a differential voltage output In addition to the bridge circuit the sensor has two on chip magnetically coupled straps the offset strap and the set reset strap These straps are Honeywell patented features for inci
75. ancisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC2003 Honeywell SENSOR PRODUCTS THREE AXIS MAGNETIC SENSOR HYBRID Features 20 pin Wide DIP Footprint 1 by 0 75 Precision 3 axis Capability Factory Calibrated Analog Outputs 40 micro gauss to 2 gauss Dynamic Range Analog Output at 1 Volt gauss 2 5V 0 gauss Onboard 2 5 Volt Reference 6 to 15 Volt DC Single Supply Operation Very Low Magnetic Material Content 40 to 85 C Operating Temperature Range General Description The Honeywell HMC2003 is a high sensitivity three axis magnetic sensor hybrid assembly used to measure low magnetic field strengths Honeywell s most sensitive magneto resistive sensors HMC1001 and HMC1002 are utilized to provide the reliability and precision of this magnetometer design The HMC2003 interface is all analog with critical nodes brought out to the pin interfaces for maximum user flexibility The internal excitation current source and selected gain and offset resistors reduces temperature errors plus gain and offset drift Three precision low noise instrumentation amplifiers with 1kHz low pass filters provide accurate measurements while rejecting unwanted noise APPLICATIONS Et ee 1 233 Precision Compassing Navigation Systems Attitude Reference Traffic Detection Proximity Detection Medical Devices BLOCK DIAGRAM Magnetic Sensors
76. anually requesting a compass heading negligible battery life impact could be expected From a common sense standpoint the set pulse interval should be chosen as the shortest time a user could withstand an inaccurate compass heading after exposing the compass circuit to nearby large magnetic sources Typical automatic set intervals for low cost compasses could be once per 10 seconds to one per hour depending on battery energy capacity Provision for a user commanded set function may be a handy alternative to periodic or automatic set routines In portable consumer electronic applications like compass watches PDAs and wireless phones choosing the appropriate compass heading data flow has a large impact on circuit energy consumption For example a one heading per second update rate on a sport watch could permit the compass circuit to remain off to nearly 99 percent of the life of the watch with just 10 millisecond measurement snapshots per second and a one per minute set pulses for perming correction The HMC1052 and HMC1051Z sensors have a 5 MHz bandwidth in magnetic field sensing so the minimum snapshot measurement time is derived principally by the settling time of the op amps plus the sample and hold time of the microcontroller s ADCs In some gaming applications in wireless phones and PDAs more frequent heading updates permits virtual reality sensor inputs for software reaction Typically these update rates follow the precedent set more than
77. ard iron effects nearby magnetized materials Usually a factory or user calibration routine in a clean magnetic environment will obtain a correction value of counts from mid ADC scale Further tweaking of the correction value for each magnetic sensor axis once the compass assembly is in its final user location is highly desired to remove the magnetic environment offsets For example the result of measuring ANO Vref is about count 255 and the measuring of AN1 AN2 and AN3 results in 331 262 and 205 counts respectively Next calibration values of 31 5 and 20 counts would be subtracted to result in corrected values of 301 267 and 205 respectively If the pitch and roll were known to be zero then the AN3 Z axis output value could be ignored and the tilt corrected X and Y axis values would be the corrected values of AN1 and AN2 minus the voltage reference value of ANO Doing the math yields arctan y x or arctan 267 255 301 255 or 14 6 degrees east of magnetic north Solid State Electronics Center www magneticsensors com 800 323 8295 Page 10 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS Heading Computation Once the magnetic sensor axis outputs are gathered and the calibration corrections subtracted the next step toward heading computation
78. cal Area 800 258 9200 www stevenengineering com Magnetic Products THREE AXIS STRAPDOWN MAGNETOMETER FEATURES e Strapdown Magnetometer Replaces Bulky Fluxvalves Microprocessor Based Smart Sensor e Range of 2 Gauss 70 uGauss Resolution e Readings can Achieve Heading Resolution of 0 02 Rate Selectable 10 to 154 Samples Sec e Small Size 2 83 in Fits in ML 1 Style Enclosure e Repeatable and Reliable MTBF 250 000 hours Honeywell Preliminary HMR2300r APPLICATIONS Navigation Systems Avionics and Marine Fluxvalve Replacement Can be Slaved to AHRS System e GPS Backup Systems e Remote Vehicle Monitoring Unpiloted Air Vehicles UAVs Navigation Attitude for Satellites GENERAL DESCRIPTION Honeywell s three axis strapdown magnetometer detects the strength and direction of the earth s magnetic field and communicates the x y and z component directly via serial bus The HMR2300r is compliant with applicable MIL STD 810E requirements for military and commercial flight sys tems see Table 6 Itwas designed to be a replacement for bulky fluxvalve magnetic sensors commonly used in avia tion systems The HMR2300r strapdown magnetometer provides an excellent replacement of conventional fluxvalve sensors commonly used in aviation systems today The HMR2300r offers higher reliability MTBF 250 000 hours that reduces maintenance and repair cost Since the design is strapdown as oppos
79. d 65 15 Volts Temperature Operating Ambient Storage Ambient Unbiased Magnetic Field Range Full Scale FS Total Field Applied Applied Field to Change Output Accuracy RSS of All Errors 25 C micro gauss JoFS JoFS 0 1 0 5 JoFS 1 2 FS 3 Sweeps Across 2 gauss 25 C 0 01 FS 3 Sweeps Across 2 gauss 25 C FS EE EN u NEN NNNM Applied Field for Zero Reading 005 040 FS NEM 1 gauss 2 gauss Linearity Error Best Fit Straight Line 25 C 1 gauss 2 gauss Hysterisis Error Repeatability Error Gain Error Offset Error Temperature Effect Power Supply Effect Mechanical Applied Field for Zero Reading FS Coefficient of Gain ppm C From 6 to 15V with 1 gauss Applied Field ppm V PCB Only PCB and Non Flanged Enclosure PCB and Flanged Enclosure Vibration Operating 5 to 10Hz for 2 Hours 10Hz to 2kHz for 30 Minutes Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS Digital l O Timing See Timing Diagrams TREsP dd Commands dd Device ID l l msec ddP ddR ddS ddT ddC ddQ 2 ddx80 99 Commands 2 ddx40 99Q 2 ddx120 TpeLayY dd Commands dd Device ID 39 40 41 msec 99 Commands ddx40
80. d Field 4 No perming effect on zero reading Weight HMC1001 HMC1002 VBridge 4 3V IS R 3 2A VOUT VsET VRESET If VBridge 8 0V Ig R 2 0A lower S R current leads to greater output variation Effective current from power supply is less than 1mA Resistance Tempco Cross Axis Effect 4 Ner 0 14 gram 0 53 Tested at 25 C except otherwise stated Units 1 gauss g 1 Oersted in air 79 58 A m 1G 10E 4 Tesla 1G 10E5 gamma 2 Unit Volts ohm C C gauss FS FS FS uV mV mV V gauss nV Hz ugauss MHz ohm 2o C mA gauss ohm Amp 2o C gauss I C e C 2o C FS gauss Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS HMC1021 1022 SPECIFICATIONS Characteristic Conditions Bridge Supply Vbridge referenced to GND Bridge Resistance Bridge current 5mA Operating Temperature 1 HMC10218 1021Z 1022 HMC1021D Field Range 1 Full scale FS total applied field Best fit straight line 1 gauss Linearity Error 1 3 gauss 6 gauss Hysteresis Error 1 3 sweeps across 3 gauss Repeatability Error 1 3 sweeps across 3 gauss Bridge Offset Offset OUT OUT Field 0 gauss After Set pulse Vbridge 5V Mi 80 o C1 n Typ Max p s 55 300 s 9 0 05 0 4
81. d be a process of clock cycle counting For example a 1MHz clocked microcontroller should count about 10 000 cycles per rising edge and 5 000 cycle counts from rising to falling edge would represent a 50 duty cycle or zero degree pitch or roll Once the duty cycle is measured for each axis output and mathematically converted to a gravitational value these values can be compared to a memory mapped table if the user desires the true pitch and roll angles For example if the pitch and roll data is to be known in one degree increments a 91 point map can be created to match up gravitational values sign independent with corresponding degree indications Because tilt compensated compassing requires sine and cosine of the pitch and roll angles the gravitational data is already formatted between zero and one and does not require further memory maps of trigonometric functions The gravity angles for pitch and roll already fit the sine of the angles and the cosines are just one minus the sine values cosine 1 sine The equations X X cos Y sin 0 sin Z cos 0 sin o Y Y cos 0 Z sin 0 Create tilt compensated X and Y magnetic vectors X Y from the raw X Y and Y magnetic sensor inputs plus the pitch and roll 0 angles Once X and Y are computed the compass heading can be computed by equation Azimuth Heading arctan Y X To perform the arc tangent trigonometric function a memory map nee
82. d in non volatile memory Format Heading Pitch Roll Heading Only for HMR3200 in degrees Eg 235 6 0 3 2 8 HMR3300 Eg 127 5 HMR3200 Magnetometer Output Command M lt cr gt lt lf gt Selects the magnetometer output mode This configuration is saved in non volatile memory Format MagX MagY MagZ in counts Eg 1256 234 1894 Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS Compass Orientation HMR3200 only L lt cr gt lt lf gt Heading calculation is done assuming the compass is level U lt cr gt lt lf gt Heading calculation is done assuming the compass is upright connector end down These orientation commands are saved in non volatile memory Starting and Stopping Data Output S lt cr gt lt lf gt The data output will toggle between Start and Stop each time this command is issued factory set default is Start first Start Stop command will stop data output Query Q lt cr gt lt lf gt Query for an output in the currently selected mode Mag Head Allowed only in Stop data mode Roll Axis Re Zero O lt cr gt lt lf gt Allows the user to zero the roll output This command should only be issued when the roll axis is leveled 0 3 Pitch Axis Re Zero P
83. dent field adjustment and magnetic domain alignment and eliminate the need for external coils positioned around the sensors The magnetoresistive sensors are made of a nickel iron Permalloy thin film deposited on a silicon wafer and patterned as a resistive strip element In the presence of a magnetic field a change in the bridge resistive elements causes a corresponding change in voltage across the bridge outputs These resistive elements are aligned together to have a common sensitive axis indicated by arrows on the pinouts that will provide positive voltage change with magnetic fields increasing in the sensitive direction Because the output only is in proportion to the one dimensional axis the principle of anisotropy and its magnitude additional sensor bridges placed at orthogonal directions permit accurate measurement of arbitrary field direction The combination of sensor bridges in two and three orthogonal axis permit applications such as compassing and magnetometry The offset strap allows for several modes of operation when a direct current is driven through it These modes are 1 Subtraction bucking of an unwanted external magnetic field 2 null ing of the bridge offset voltage 3 Closed loop field cancellation and 4 Auto calibration of bridge gain The set reset strap can be pulsed with high currents for the following benefits 1 Enable the sensor to perform high sensitivity measurements 2 Flip the polarity
84. ds to be implemented Thankfully the pattern repeats in each 90 quadrant so with a one degree compass resolution requirement 90 mapped quotients of the arc tangent function can be used If 0 1 resolution is needed then 900 locations are needed and only 180 locations with 0 5 resolution Also special case quotient detections are needed for the zero and inifinity situations at 0 90 180 and 270 prior to the quotient computation After the heading is computed two heading correction factors may be added to handle declination angle and platform angle error Declination angle is the difference between the magnetic north pole and the geometric north pole and varies depending on the latitude and longitude global location of the user compass platform If you have access to Global Positioning Satellite GPS information resulting in a latitude and longitude computation then the declination angle can be computed or memory mapped for heading correction Platform angle error may occur if the sensors are not aligned perfectly with the mechanical characteristics of the user platform These angular errors can be inserted in firmware development and or in factory calibration Solid State Electronics Center www magneticsensors com 800 323 8295 Page 11 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell
85. duct or circuit described herein neither does it convey any license under its patent rights nor the rights of others 900151 02 04 Rev E Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS DIGITAL COMPASS SOLUTION Features e Fully Integrated Compass Module e 2 Axis Magnetic Sensors with Electronics Miniature 6 5 by 6 5 by 1 5mm 24 Pin LCC Package 2 7 to 5 2 volt Supply Range Accurate Compassing Capability C Digital Interface User Selectable Slave Address Product Description The Honeywell HMC6352 2 Axis Digital Integrated Compass Solution combines a two axis MR magnetic field sensor design with the required analog and digital support circuits for heading computation By combining the sensor elements and all the processing electronics into a 6 5mm square LCC package designers will have the simplest solution to integrate low cost and space efficient electronic compasses for wireless phones consumer electronics BOTTOM VIEW vehicle compassing and antenna positioning DIAGRAMS PINOUT BLOCK DIAGRAM TOP VIEW HONEY WELL HMC 6392 KAKA HMC6352 ee wwe eww wwe ww wee www o o o o o www ww www www ww ooo o oom I Solid S
86. e Byte Tb 50usec SPI Heading Output Demonstration PCB Module Kit The HMR3200 HMR3300 Demo Module includes additional hardware and Windows software to form a development kit for electronic compassing This kit includes the HMR3200 HMR3300 Printed Circuit Board PCB module an RS 232 motherboard with D9 serial port connector serial port cable with attached AC adapter power supply interface software and documentation Ordering Information Ordering Number 1 Product HMR3200 PCB Module Only HMR3200 Demo 232 PCB Module with Development Kit HMR3300 PCB Module Only HMR3300 D00 232 PCB Module and RS 232 Motherboard HMR3300 Demo 232 PCB Module with Development Kit Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others 900266 02 03 Rev D Solid State Electronics Center www magneticsensors com 800 323 8295 Page 8 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR4001 Honeywell SENSOR PRODUCTS Advance Information LINEAR POSITION SENSOR MODULE 0 10 mm Magnetic Travel Magnet Dependent Continuous PWM and Analog Voltag
87. e Outputs 0 2mm Accuracy Magnet Dependent 0 05mm Repeatability 40 to 85 C Operating Temperature Range 1 100 C Temperature Effect Small PCB Package 6 to 20 volt DC Single Supply Required General Description The Honeywell HMR4001 is a high resolution single sensor module capable of measuring linear or angular position Advantages include high sensitivity so lower cost magnets such as alnico or ceramic can be used insensitivity to shock and vibration and ability to withstand large variations in the gap between the sensor and the magnet The HMR4001 is manufactured with Honeywell s HMC1512 Magnetic Displacement Sensor IC which provides better performance than Hall Effect devices and only needs a magnetic field source greater than 80 gauss Dual frequency PWM and analog outputs plus a sleep mode function are included on board APPLICATIONS Block Diagram e Linear Displacement mgn o V e Shaft Position PWR o SL o GD e Angular Displacement PVM 5 FS e Proximity Detection o VA U3 Web Site www magneticsensors com Honeywell Email ssec customer service honeywell com Solid State Electronics Center 12001 State Highway 55 2001 HMR4001 Published Jun 2001 Page 1 Plymouth Minnesota 55441 4799 1 800 323 8295 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR4001 Honeywell SENSOR PROD
88. e Xh and Yh readings during calibration are done with Xoff and Yoff at zero values and axis scale factors Xsf and Ysf at unity values The collected calibration X and Y values are then tabulated to find the min and max of both X and Y At the end of the calibration session the Xmax Ymax Xmin and Ymin values are converted to the following Xsf 1 or Ymax Ymin Xmax Xmin whichever is greater Ysf 1 or Xmax Xmin Ymax Ymin whichever is greater Xoff Xmax Xmin 2 Xmax Xsf Yoff Ymax Ymin 2 Ymax Ysf Z axis data is generally not corrected if the end platform can not turned upside down In portable or hand held applications then the compass assembly can be tipped upside down and Zoff can be computed like Xoff and Yoff but with only two reference points upright and upside down Factory values for Zoff maybe the only values possible Creating corrected X Y and Z count values are done as previously mentioned by subtracting the offsets The scale factor values are used only after the Vref counts are subtracted form the offset corrected axis counts For more details on calibration for iron effects see the white paper Applications of Magnetoresistive Sensors in Navigation Systems located on the magneticsensors com website Offsets due to sensor bridge offset voltage of each sensor axis are part of the Xoff Yoff and Zoff computation These offsets are present even with no magnetic field disturba
89. e a single master to multiple slaves or it can be a multiple master configuration All data transfers are initiated by the master device which IS responsible for generating the clock signal and the data transfers are 8 bit long All devices are addressed by I C s unique 7 bit address After each 8 bit transfer the master device generates a 9 clock pulse and releases the SDA line The receiving device addressed slave will pull the SDA line low to acknowledge ACK the successful transfer or leave the SDA high to negative acknowledge NACK Per the IC spec all transitions in the SDA line must occur when SCL is low This requirement leads to two unique conditions on the bus associated with the SDA transitions when SCL is high Master device pulling the SDA line low while the SCL line is high indicates the otart S condition and the Stop P condition is when the SDA line is pulled high while the SCL line is high The I C protocol also allows for the Restart condition in which the master device issues a second start condition without issuing a stop Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS All bus transactions begin with the master device issuing the start sequence followed by the slave addres
90. e onboard RS 232 converter integrated circuit and the HMR3100 daughter board A nine volt battery clip is included but other DC input voltages between 7 and 15 volts may be used Supply currents are nominally around 8mA plus the HMR3100 current draw The RS 232 motherboard also contains a six contact modular jack RJ 11 for a compact RS 232 interface to a personal computer serial port Ground RTS RXD and TXD data lines are brought out to the jack with two contacts left open The demo software stimulates the RTS and RXD lines and reads the data from the TXD line for graphical display on the host computer No other support software is available Figure 5 shows the kit board assemblies is 4414 IA LIITT e Se p fii n rd al f x T P Bx Figure 5 HMR3100 Kit Hardware Solid State Electronics Center www magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS Ordering Information Ordering Number 1 Product HMR3100 PCB Module Only HMR3100 Demo 232 PCB Module with Development Kit Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herei
91. e or both strap connections Off and Off open circuited or ground one connection node Do not tie both strap connections together to avoid shorted turn magnetic circuits Set Reset Strap The set reset strap is another spiral of metalization that couples to the sensor elements easy axis perpendicular to the sensitive axis on the sensor die Like the offset strap the set reset strap runs through a pair of bridge elements to keep the overall die size compact Each set reset strap has a nominal resistance of 3 to 6 ohms with a minimum required peak current of 400mA for reset or set pulses With rare exception the set reset strap must be used to periodically condition the magnetic domains of the magneto resistive elements for best and reliable performance A set pulse is defined as a positive pulse current entering the S R strap connection The successful result would be the magnetic domains aligned in a forward easy axis direction so that the sensor bridge s polarity is a positive slope with positive fields on the sensitive axis result in positive voltages across the bridge output connections A reset pulse is defined as a negative pulse current entering the S R strap connection The successful Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stev
92. e positive slope When a RESET current pulse Ireset is driven into the SR pin the output response follow the curve with the negative slope These curves are mirror images about the origin except for two offset effects In the vertical direction the bridge offset shown in Figure 2 is around 25mV This is due to the resistor mismatch during the manufacture process This offset can be trimmed to zero by one of several techniques The most straight forward technique is to add a shunt parallel resistor across one leg of the bridge to force both outputs to the same voltage This must be done in a zero magnetic field environment usually in a zero gauss chamber The offset of Figure 2 in the horizontal direction is referred to here asthe external offset This may be dueto a nearby ferrous object or an unwanted magnetic field that is interfering with the applied field being measured A dc current in the OFFSET strap can adjust this offset to zero Other methods such as shielding the unwanted field can also be used to zero the external offset The output response curves due to the SET and RESET pulses are reflected about these two offsets 40 Vcc28V 1001 1002 response after lreset response after Iset 4 bridge offset external offset Output Voltage mV e Ke eo LO e re A o A o e e e e eo 1 50 1 25 1 00 0 75 0 75 1 00 1 25 1 50 Applied Field Gauss Figure 2 Output Voltage vs Applied Magnetic Field
93. eans magnetic distortion maybe present and a hard iron calibration should be performed Many end users may choose to ignore this indication in portable applications The remaining two bytes are the heading in degrees in MSB to LSB format There is some data interpretation needed to derive the heading For example the 80 02 85 hex Byte pattern correlates to 322 5 degrees This is done by taking the MSB hex value converting it to decimal base ten representation e g 02 decimal and multiplying it by 256 Then the LSB is decimalized e g 85 hex to 133 decimal and added to the 512 decimal MSB The total 5121332645 is then divided by two to arrive at a 322 5 degree heading This data format permits the 0 5 resolution in two bytes by doing the binary to decimal conversion and division by two Development Kit The HMR3100 Development Kit includes additional hardware and Windows demo program software to form a development kit for electronic compassing This kit includes the appropriate HMR3100 Printed Circuit Board PCB module soldered to an intermediate circuit board using a 0 8 spacing pin arrangement The intermediate board assembly plugs into an RS 232 motherboard with a serial port connector In addition a four foot serial port cable RJ 11 to D 9F nine volt battery clip demo program software and user s guide is included The RS 232 motherboard incorporates a 5 volt regulator integrated circuit to provide the necessary voltages to th
94. earity errors cross axis effects and loss of signal output due to the presence of a high magnetic fields This can be accom plished by the following process e A current pulse Iset can be driven from the S R to the S R pins to perform a SET condition The bridge output can then be measured and stored as Vout set Another pulse of equal and opposite current should be driven through the S R pins to perform a RESET condi tion The bridge output can then be measured and stored as Vout reset e The bridge output Vout can be expressed as Vout Vout set Vout reset 2 This technique cancels out offset and temperature effects introduced by the electron ics as well as the bridge temperature drift There are many ways to design the set reset pulsing circuit though budgets and ultimate field resolution will determine which approach will be best for a given application A simple set reset circuit is shown in Figure 5 6 9V 25K RESET SET RESET Signal should be in RESET state when idle IRF7105 S R o Signal input S R Manual Switch Figure 5 Single Axis Set Reset Pulse Circuit 1001 The magnitude of the set reset current pulse depends on the magnetic noise sensitivity of the system If the minimum detectable field for a given application is roughly 500 ugauss in HMC1001 2 then a3 amp pulse min is adequate If the minimum detectable field is less than 100 ugauss then a 4 amp pulse min i
95. ed to a gimballed fluxvalve it has no moving parts to damage or wear out during severe flight conditions Low cost high sensitivity fast response small size and reliabil ity are advantages over mechanical or other magnetom eter alternatives With an extremely low magnetic field sensitivity and a user configurable command set these sensors solve a variety of problems in custom applications A command set is provided see Table 4 to configure the data sample rate output format averaging and zero offset An on board EEPROM stores any configuration changes for next time power up In addition the user has 55 bytes of EEPROM locations available for data storage Other commands perform utility functions like baud rate device ID and serial number Also included in the HMR magne tometer is a digital filter with 50 60 Hz rejection to reduce ambient magnetic interference Solid State Electronics Center 12001 State Highway 55 Plymouth MN 55441 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com A unique switching technique is applied to the solid state magnetic sensors to eliminate the effects of past magnetic history This technique cancels out the bridge offset as well as any offset introduced by the electronics The data is serially output at either 9 600 or 19 200 baud using the RS 422 or RS 485 standard The RS
96. egister 7F Read From This Data I2C Address Application Notes The HMC6352 Integrated Compass Sensor circuit is composed of two magneto resistive MR sensors with orthogonal orientation for sensing the horizontal components of the earth s magnetic field 0 to 630 milli gauss plus two amplifiers a set reset drive circuit and a microprocessor uP Best accuracy is obtained in clean magnetic environments free air and held level or perpendicular to the gravitational direction At worst case each degree of tilt from a level orientation could add two degrees of compass heading error Magnetic errors can be introduced if operated near strong magnetic sources such as microphone or speaker magnets transformers in test equipment and CRT deflection yokes in video displays monitors These magnetic errors can typically be reduced or eliminated by performing the calibration routine When locating the HMC6352 in dense printed circuit board designs take precautions in location of this magnetic field sensing device for soft iron effects that bend the earth s magnetic field These soft iron effects are from ferrous materials without residual magnetization and tend to be items like nickel plating on SMT component contacts and RFI EMI shielding materials The amount of stand off of the HMC6352 from these soft irons is heuristic and dependant on the amount of material material shape and proximity A user calibration mode is available in the HMC6352 to dim
97. eld Vbridge 5V Bridge Q tempco T 40 C to 125 C T 40 C to 125 C Vbridge 5V Bridge offset tempco T 40 C to 125 C uV deg C Hysteresis error 1 7x10 30 1 7x10 Sensitivity tempco C O1 O71 A Q I 001 C FS Noise Density Noise at 1Hz Vbridge 5V Power Consumption Vbridge 5V Tested at 25 C except stated otherwise Offset tempco Co Vo t Vo o 0 01 C VP P t Sensitivity tempco Cs St So 0 32 C Where Vo o bridge offset at zero temperature So t VP P peak to peak voltage Where So sensitivity at zero temperature t temperature in the range 40 C to 125 C t temperature in the range 40 C to 125 C Vo t offset at temperature t St sensitivity at temperature t 2 Power consumption P bs 1 KA m 12 5 Gauss R 1 Tesla 10 Gauss Where V Bridge supply voltage H Bridge resistance Honeywell reserves the right to make changes to any products or technology herein to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others Honeywell oolid State Electronics Center 12001 State Highway 55 Plymouth MN 55441 1 800 323 8295 http www ssec honeywell com 900246 8 00 Rev B Courtesy of Steven Engineering Inc 230 Ryan Way South San Fr
98. elements in a single MSOP 10 package Each element is a full wheatstone bridge sensor that varies the resistance of the bridge magneto resistors in proportion to the vector magnetic field component on its sensitive axis The two bridges on the HMC1052 are orientated orthogonal to each other so that a two dimensional representation of an magnetic field can be measured The bridges have a common positive bridge power supply connection Vb and with all the bridge ground connections tied together form the complete two axis magnetic sensor Each bridge has about an 1100 ohm load resistance so each bridge will draw several milli amperes of current from typical digital power supplies The bridge output pins will present a differential output voltage in proportion to the exposed magnetic field strength and the amount of voltage supply across the bridge Because the total earth s magnetic field strength is very small 0 6 gauss each bridge s vector component of the earth s field will even be smaller and yield only a couple milli volts with nominal bridge supply values An instrumentation amplifier circuit to interface with the differential bridge outputs and to amplify the sensor signal by hundreds of times will then follow each bridge voltage output The HMC1051Z is an additional magnetic sensor in an 8 pin SIP package to place the sensor silicon die in a vertical orientation relative to a Printed Circuit Board PCB position By having the HMC1052 placed fla
99. ence mE o Over 0 1 mV C Temperature Current Drive Source me 0 77 d Self Test Continuous Vdd 5 0 volts Doutx and Douty Voltage Under Vdd 2 7 volts Doutx and Douty Failure Digital Outputs Dourx and Dourv Normal Range Vdd 5 00 volts 0 1 4 9 volts Cee tml EUENLM Riseal Time vaa 271050vots 90 100 110 msc Turn On Time Vdd 5 0 volts 100 msec Vdd 2 7 volts 40 Power Supply Operating Voltage Range Supply Current Vdd 5 0 volts Vdd 2 7 volts Temperature Tested at 25 C except stated otherwise Pin Configurations Arrow indicates direction of applied field that generates a positive output voltage after a SET pulse HMC1051 Vcc 3 Q HMC1051Z Pinout HMC1051 HONEYWELL HMC1051Z BRIDGE A BRIDGE B Vot A GND Plane VO A GND1 B GND2 B 4 8 1 5 Set Reset Strap S R o o S R 6 7 Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS HMC1052 HMC1052 Pinout Vcc 5 HMC1052 BRIDGE B BRIDGE A O O O Q O OUT GND2 GND1 OUT OUT GND OUT 0 9 3 4 7 1 2 Set Reset Strap S R S R 6 8 MXD3334UL O wl tom fell d
100. enengineering com HMC1051 HMC1052 HMC1053 result would be the magnetic domains aligned in a reverse easy axis direction so that sensor bridge s polarity is a negative slope with positive fields on the sensitive axis result in negative voltages across the bridge output connections Honeywell SENSOR PRODUCTS accuracy a single polarity pulse circuit may be employed all sets or all resets With these uni polar pulses several pulses together become close in performance to a set reset pulse circuit Figure 1 shows a quick and dirty manual pulse circuit for uni polar application of pulses to the set reset strap Typically a reset pulse is sent first followed by a set pulse a few milliseconds later By shoving the R1 magnetic domains in completely opposite directions 220 any prior magnetic disturbances are likely to be completely erased by the duet of pulses For simpler circuits with less critical requirements for noise and X1 SWITCH Vdd 5 volts Application Notes Figure 1 Low Cost 2 Axis Compass Set Pulse Circuit Very high precision measurements can be made using the HMC105X family of sensors when interfaced with low noise amplifiers and 12 to 16 bit Analog to Digital A D converters For lower resolution 3 accuracy or more or low cost compass applications 8 or 10 bit A D converters may be used with general purpose operational amplifiers Figure 2 shows a typical 2 axis compassing application using readily availab
101. ensor output vs magnetic field after being set or reset Output Voltage mV Noise Density nV rt Hz Resistance ohm NS 1021 1022 ra 10 ae S Vb 5V P y N n 5 Ni u N u N A 0 N a a nw 1 Set aw E NS 10 p 2Sweeps N 15 man N K A PEE PUPA 2 1 0 1 2 Field Oe Sensor noise vs frequency 1000 1021 1022 Vb 5V 100 10 1 0 1 1 10 100 1000 Frequency Hz Bridge resistance vs temperature 1400 All types 1300 Vb 5V 1200 1100 1000 900 90 25 0 20 90 15 100 125 Temperature C Voltage Output mV Sensitivity mV V Oe 0 94 0 8 0 7 50 25 0 25 50 75 Sensor output vs magnetic field Output is repeatable in field range 20 Oe 1021 1022 20 15 10 D 0 5 10 15 20 Field Oe Sensitivity vs temperature Constant voltage power supply 1021 1022 Vb 5V 100 125 Temperature C Effects of set reset pulse variation 2u sec pulse duration S R voltage gt 4V is recommended 1 Nonrepeatability 1021 1022 Null Voltage mV Set E Null Voltage mV Reset k Sensitivity mV V Oe Set M no set reset in this region X Sensitivity mV V Oe Reset Set Reset Voltage V Courtesy of Steven Engineering Inc 230 Ryan Way South S
102. er Service Representative 1 800 238 1502 fax 612 954 2257 E Mail clr mn14 ssec honeywell com Honeywell reserves the right to make changes to any products or technology herein to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others 900232 Rev B 1 99 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com Honeywell Honeywell SENSOR PRODUCTS APPLICATIONS Digital Compass Module Oceanographic Marine Compassing H M R3000 Positioning of Buoys Underwater Structures lectronic compass module that Drilling Da LE heading pitch and roll Down Hole and Directional mm output for navigation and guid Attitude Reference ance systems Honeywell s Heading solid state magnetoresistive Navigation of Unmanned sensors make this strapdown Vehicles compass both rugged and reli Avionic Compassing able This compass provides Integration with GPS fast response time up to 20 Dead Reckoning Hertz and high heading accu Satellite Antenna Positioning racy of 0 5 with 0 1 resolution Laser Range Finders Surveying Applications FEATURES AND BENEFITS Fast Response Time Built with solid
103. esolution ligauss Set Rst Current 3 0 Amps Cost Lower in high volume ORDERING INFORMATION Part Number Axis Number Sensitivity Package Style HMC1001 8 Pin SIP HMC1002 20 Pin SOIC HMC1021D 8 Pin Ceramic DIP HMC1021Z 8 Pin SIP HMC1021S 8 Pin SOIC HMC1022 Two 16 Pin SOIC Solid State Electronics Center 12001 State Highway 55 Plymouth MN 55441 800 323 8295 www magneticsensors com Additional Product Details Customer Service Representative 612 954 2888 fax 612 954 2257 E Mail clr mn14 ssec honeywell com Honeywell reserves the right to make changes to any products or technology herein to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others 900248 Rev B 4 00 Honeywell Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS 3 AXIS MAGNETIC SENSOR Features Ball Grid Array BGA Surface Mount Package Three Orthogonal Magneto Resistive Sensors Wide Field Range of x 6 Gauss 1 0 mV V gauss Sensitivity Minimum Detectable Field to 85ugauss Patented On Chip Set Reset and Offset Straps Product Description The Honeywell HMC1023 is a high performance three axis magnet
104. etic field strength and direction The HMR2300 has all three axis of magnetic sensors on the far end of the printed circuit board away from the J1 and J2 connector interfaces The HMR2300 uses the circuit board mounting holes or the enclosure surfaces as the reference mechanical directions The complete HMR2300 PCB assembly consists of a mother board daughter board and the 9 pin D connector J1 The HMR2300 circuit starts with Honeywell HMC2003 3 Axis Magnetic Sensor Hybrid to provide X Y and Z axis magnetic sensing of the earth s field The HMC2003 contains the AMR sensing bridge elements a constant current source bridge supply three precision instrumentation amplifiers and factory hand selected trim resistors optimized for performance for magnetic field gain and offset The HMC2003 is a daughter board that plugs into the HMC2300 motherboard and the hybrid analog voltages from each axis is into analog multiplexors and then into three 16 bit Analog to Digital Converters ADCs for digitization No calibration is necessary as the HMC2003 hybrid contains all the compensation for the sensors and the set reset routine handles the temperature drift corrections A microcontroller integrated circuit receives the digitized magnetic field values readings by periodically querying the ADOCs and performs any offset corrections This microcontroller also performs the external serial data interface and other housekeeping functions An onboard EEPROM integrated c
105. evice will pull the SDA line low to acknowledge ACK the successful transfer or leave the SDA high to NACK All transitions in the SDA line must occur when SCL 1s low This requirement leads to two unique conditions on the bus associated with the SDA transitions when SCL is high Master device pulling the SDA low while SCL high is the Start S condition and the Stop P condition when the SDA is pulled high while SCL is high The IC protocol also allows for the Restart condition in which the master device issues a second Start condition without issuing a Stop All bus transactions begin with the Master issuing the Start sequence followed by the slave address byte The address byte contains the slave address the upper 7 bits bits7 1 and the LSb The LSb of the address byte designates if the operation is read LSb 1 or write LSb 0 At the 9 th clock pulse the transmitting device will issue the ACK or NACK Following these bus events the master will send data bytes for a write operation and the slave will transmit data for a read operation All bus transactions are terminated with the Master issuing a Stop sequence Honeyw ell Honeywell Proprietary uloo BuueeuiDueueAe1 sMMWw 0026 8S82 009 eeJy e207 SPISINO 00Z6 88S 099 991JO UIeI 0Z 9 08076 VO o9sioueJJ ues YINOS Aem UeAY ogz ouj Guueeui u4 ueAelS jo saunoo HMC6352 2 Axis Digital Compass Module IC Implementation I2C bus can be implemented with either a hardware module or
106. eywell Advance Information SENSOR PRODUCTS SPECIFICATIONS MAGNETIC SENSORS HMC1051Z HMC1052 Set Reset iris Current 0 1 duty cycle or less mp 2usec current pulse Resistance Ta 40 to 125 C 3700 ppm C Tempco Offset la available on die Offset DC Current mA gauss metum Resistance Ta 40 to 125 C 3900 ppm ae TwI T Tested at 25 C except stated otherwise SPECIFICATIONS ACCELEROMETER MXS3334UL Characteristics Condtons Mm Typ Max Units Sensor Input me Ts fe a Tn iu dem Alignement Error Error 10 degree degree Transverse 2 0 E D DITLI Sensitivity Each Axis Digital Outputs Vdd 5 0 volts 19 00 20 00 21 00 JoDuty Cycle g Change Over 40 C Uncompensated 100 Temperature 105 C Uncompensated 50 Compensated 40 C to 105 C lt 3 0 A from 25 C Zero g Bias Level Each Axis Lomo C E E E 3 0g 28 Duy Ce Over A from 25 C 0 75 bol Performance ims f e o rossi Frequency 3dB Bandwidth Response Tested at 25 C except stated otherwise Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS MXS3334UL SPECIFICATIONS EL COMMA Refer
107. ggle the electronics in moderate current lt 25mA applications MMBT2907ALT 1 To Sensor Circuits Used when Vcc 5 0 volts jumper when using Vcc 3 3 volts or less MMBD7001LT1 Figure 8 Duty Cycling ORDERING INFORMATION HMC1051Z One Axis Magnetic Sensor SIP8 HMC1051ZL One Axis Magnetic Sensor 8 PIN IN LINE LCC HMC1052 Two Axis Magnetic Sensors MSOP10 HMC1052L Two Axis Magnetic Sensors 16 PIN LCC HMC1053 Three Axis Magnetic Sensors 16 PIN LCC The application circuits herein constitute typical usage and interface of Honeywell product Honeywell does not warrant or assume liability for customer designed circuits derived from this description or depiction Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others This product may be covered by one or more of the following U S Patents 4569742 4681812 4847584 4857418 4945397 5019461 5247278 5820924 5952825 and 6529114 900308 10 03 Rev Solid State Electronics Center www magneticsensors com 800 323 8295 Page 12 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC
108. h a 0 25 gap between the sensor and the magnet the field at the sensor is about 170 gauss This is enough field strength to maintain the sensor in the saturation condition for most applications Web Site www magneticsensors com Honeywell Email ssec customer service honeywell com Solid State Electronics Center 12001 State Highway 55 2001 HMR4001 Published Jun 2001 Page 3 Plymouth Minnesota 55441 4799 1 800 323 8295 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR4001 Honeywell SENSOR PRODUCTS Advance Information Moving Shaft Magnet HMC1512 Sensor Demonstration PCB Module The HMR4001 Demo Module includes an attached magnet and slide assembly for evaluating the performance of the module Ordering Information Ordering Number Product HMR4001 D00 DEMO PCB Module with Attached Magnet Assembly HMR4001 D00 PCB Module Only Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others Web Site www magneticsensors com Honeywell Email ssec customer service honeywell com Solid State Electronics Center 12001 State Highway 55 2001 HMR400
109. he mode selection and the periodic Set Reset bit The periodic Set Reset function performs a re alignment of the sensors magnetic domains in case of sensor perming magnetic upset event operating temperature shifts and normal thermal agitation of the domains Exposure of the HMC6352 to magnetic fields above 20 gauss disturbing field threshold leads to possible measurement inaccuracy or stuck sensor readings until the set reset function is performed With the periodic Set Reset bit set the set reset function occurs every few minutes Operational Mode Control Byte Syntax As described above the HMC6352 operation mode measurement rate and periodic set reset are selected and stored both in a processor RAM register and in EEPROM Upon power up the EEPROM will transfer the saved operational mode control byte into register address 74 hex The following is the byte format Bit 7 20 Bits 6 and 5 Continuous Mode Measurement Rate 1 Hz Measurement Rate 10 Hz Measurement Rate 20 Hz Measurement Rate Bit 4 Periodic Set Reset 0 Off 1 On Bite 0 0 9 0 21 5 Hz Measurement Rate 1 0 p Bit 3 2 0 Bit 2 0 Solid State Electronics Center www magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS
110. how to read a single byte from the HMC6352 The Slave HMC6352 continues to hold the SDA line low after the acknowledge ACK bit because the first bit of the data byte is a zero Remember that the data read is last command sensitive SDA L Tiii Li SCL CLASSA LL LL LI LI 0 LJ M SDA S SDA 43 hex 55 hex Read From This I2C Address Data Solid State Electronics Center www magneticsensors com 800 323 8295 Page 9 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS Example 2 This example shows how to read two bytes from the HMC6352 slave The slave continues to hold the SDA line low after the acknowledge bit because the first bit of the data bytes is zero ni rt LI LJ LIA sce LLLP UU UL UU UU UU UL UL UL EL M_SDA S SDA 43 hex 55 hex OO hex Read From This I2C Address Data Data 17 5 Example 3 This example shows how to command HMC6352 to read a RAM register by sending the g command and the register address 7F hex Note that this example does not show the process of reading the answer See example 1 for reading a byte wh Tj LL PLP 0d 1 rI SCL M SDA EM _ S SDA 42 hex g 7F hex Write to Thi
111. ial schematic of the amplifier feedback loop Rext D ext Rext are Optonal components Cet 22 23 CAS CAd Figure 2 Amplifier Filter Connections HMC 6352 Vi An optional gain reducing resistor Rext could also place across the feedback loop of the amplifier stages With the amplifier set with the internal 1200 k ohm feedback for 750 milli gauss maximum magnetic field flux density a second 1200k ohm external resistor would halve the gain and permit 1 5 gauss capability if desired Gain can be reduced for up to 6 gauss capability for magnetometry only applications or compassing with significant magnetic stray fields nearby ORDERING INFORMATION Ordering Number 1 1 Product HMC6352 Digital Compass Solution I2C Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others U S Patents 4 441 072 4 533 872 4 569 742 4 681 812 4 847 584 60 529 114 and patents pending apply to the technology described herein 900307 07 04 Rev A Solid State Electronics Center www magneticsensors com 800 323 8295 Page 15 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www steve
112. ility for customer designed circuits derived from this description or depiction Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others This product may be covered by one or more of the following U S Patents 4569742 4681812 4847584 4857418 4945397 5019461 5247278 5820924 5952825 and 6529114 900252 10 03 Rev B Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS 1 2 AND 3 AXIS MAGNETIC SENSORS Features Miniature Surface Mount Packages au Wide Field Range of 6 Gauss c pen Es 1 0 mV V gauss Sensitivity ww C 5402 Low Power Operation Down to 1 8V amp Patented On chip Set Reset and Offset Straps Product Description The Honeywell HMC1051 HMC1052 and HMC1053 are high performance magnetoresistive sensor designs on a single chip HMC1051 HMC1052 or two chips HMC1053 The advantages of these patented chips include orthogonal two axis sensing HMC 1052 ultra small size and low cost in miniature surface mount packages Each of the
113. in software Typical hardware modules will release the SDA and SCL lines as appropriate to allow the slave device to manipulate these lines In software implementation care must be taken to perform these tasks 1n software HMC 6352 Interface Commands Table 1 or ee Address ia NEN GR I nnd Address em EE m Lm Address em EE p O Address 0x53 S Sleep x57 W J J Wake Up Offset Caan n calibration Mods MODE n eared mer pem a a and Calculate Heading Honeyw ell Honeywell Proprietary ujoo BuueeuiDueuaAe1sMWw 0026 8S82 009 eeJy e207 APISINO 00Z6 88S 099 991JO UIeI 0Z 9 08076 VO o9sioueJ4 ues ynos Aem UeAY ogz ouj GuueeuiBu4 ueAelS jo saunoo EEPROM Content 00 DCSlveAddes 1 A 06 Number of Summed measurements 1 16 0x04 1 08 Operation Mode Byte OS a a Honeywell HMC6352 2 Axis Digital Compass Module Honeywell Proprietary ujoo BuueeuiDueuaAel s MMWw 0026 8S82 009 eeJy 29071 SPISINO 00Z6 88S 099 991JO UIEI 0Z 9 08076 VO o9sioueJJ ues YINOS Aem ue H ogz ouj GuueeuiBu4 ueAelS Jo saunoo HMC6352 2 Axis Digital Compass Module Timing Requirements Below are the time delays required by HMC6352 upon receipt of the command to either perform the commanded task or to have the response available on the I2C bus Time Delay 0x77 w Write to EEPROM 0x72 r Read from EEPROM Read from Register Offset Enter the User 10 uS Calibration
114. inish hard iron effects of the end user s customer s location of the product Hard iron effects come from nearby ferrous materials with residual magnetism that buck or boost the intensity of the earth s magnetic field leading to heading errors Such hard iron effects come from vehicle chassis speaker magnets and high current conductors or circuit traces PCB Pad Definition Dimensions in Millimeters The HMC6352 is a fine pitch LCC package with a 0 80mm pin pitch spacing with the pin pads defined as 0 70mm by 0 33mm in size PCB pads are recommended to be oversized by 0 025mm from each pad for a short dimension oversize of 0 05mm The interior PCB pad is recommended to be 0 05mm oversized per pin with an exterior oversize of 0 20mm for proper package centering and to permit test probing ooldering attachment shall be done by SMT reflow methods with preheating soaking reflow and cooling profiles as described in JEDEC J STD 020B for large body parts Both lead eutectic and lead free profiles may be used Caution excessive temperature exposure beyond the profiles may result in internal damage to the HMC6352 circuits Solid State Electronics Center www magneticsensors com 800 323 8295 Page 11 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS MECHANICAL DIMENSIONS
115. ircuit is employed to retain necessary setup variables for best performance The power supply for the HMR2300 circuit is regulated 5 volt design LM2931M with series polarity power inputs diodes in case of accidental polarity reversal A charge pump circuit is used to boost the regulated voltage for the set reset pulse function going to the set reset straps onboard the HMC2003 Transient protection absorbers are placed on the TD RD and V connections to J1 APPLICATIONS PRECAUTIONS Several precautions should be observed when using magnetometers in general e The presence of ferrous materials such as nickel iron steel and cobalt near the magnetometer will create disturbances in the earth s magnetic field that will distort the X Y and Z field measurements e he presence of the earth s magnetic field must be taken into account when measuring other magnetic fields e The variance of the earth s magnetic field must be accounted for in different parts of the world Differences in the earth s field are quite dramatic between North America South America and the Equator region e Perming effects on the HMR2300 circuit board need to be taken into account If the HMR2300 is exposed to fields greater than 10 gauss then it is recommended that the enclosure circuit boards be degaussed for highest sensitivity and resolution A possible result of perming is a high zero field output indication that exceeds specification limits Degaussing wands are re
116. is I2C address Data Example 5 This example shows how to read two bytes from HMC6352 slave The slave continues to hold the SDA line low after the acknowledge because the first bit of the data byte is a zero auis lad ilL EL 0x43 0x55 0x00 Read from this I2C address Data Data Honeywell Honeywell Proprietary ujoo BuueeuiDueuaAe1sMWw 0026 8S82 009 eeJy e207 APISINO 00Z6 88S 099 991JO UIeI 0Z 9 08076 VO o9sioueJ4 ues ynos Aem UeAY ogz ouj GuueeuiBu4 ueAelS jo saunoo HMC6352 2 Axis Digital Compass Module Example 6 The final example shows how to read RAM register Ox7F First perform a write operation to command the HMC6352 to read a RAM register and define which register to read Example 2 The sensor puts the answer in the data buffer Then perform a read operation to clock out the answer Example 4 There is a Stop Start event in between the write operation and the read operation This example is just a combination of Examples 2 and 4 but it is provided to show that reading a register involves both a write and a read operation 0x42 g Ox7F 0x43 0x55 Write to this I2C address Command Register Ox 7F Read from this I2C address Data Honeywell Honeywell Proprietary HMR2300 Honeywell SENSOR PRODUCTS SMART DIGITAL MAGNETOMETER Features High Accuracy Over 1 gauss 0 596 Full Scale Range of 2 gauss 70 ugauss Resolution Three Axis X Y Z Digital Outputs 10 to 154 Samples Per Second Selectable RS 23
117. is parameter value will become the default value for Magnetic and Tilt Filters When the Split Filter bit is set SFL parameter setting will control the Tilt filter value only The parameter input is saved in the EEPROM immediately Requires power cycling or a Reset command R to become effective The setting of the Split Filter bit can be queried via the ZCON command Eg SFL 3 lt cr gt lt lf gt Sets the system filter value of 3 Magnetic Filter MFL The MFL command sets and reads the Magnetic Filter setting When the Split Filter bit is cleared this parameter value will default to the value of SFL the system filter When the Split Filter bit is set MFL parameter setting will control the Magnetic Filter value The parameter input is saved in the EEPROM immediately Requires power cycling or a Reset command R to become effective Configuration CON This command queries for the configuration status of the compass module The output of the configuration value is in decimal representation in ASCII format of which the 16 bit binary pattern is defined below SplitFilter Solid State Electronics Center www magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS cul NN RN Name Reported operation operation Spli
118. is to gather the pitch and roll tilt data from the MEMSIC MXS3334UL accelerometer outputs The MXS3334UL in perfectly horizontal zero tilt condition produces a 100Hz 50 percent duty cycle Pulse Width Modulated PWM digital waveform from its Doutx and Douty pins corresponding to the X and Y sensitive axis These output pins will change their duty cycle from 30 to 70 when tilted fully in each axis 1g The scaling of the PWM outputs is strictly gravitational so that a 45 degree tilt results in 707 milli g s or a slew of 14 1 from the 50 center point duty cycle With the MXS3334UL s positive X axis direction oriented towards the front of the user s platform a pitch downward will result in a reduced PWM duty cycle with a pitch upward increasing in duty cycle Likewise the Y axis arrow is 90 degrees counter clockwise which results in a roll left corresponding to a decreasing duty cycle and roll right to an increasing duty cycle Measuring the pitch and roll data for a microcontroller is reasonably simple in that the Doutx and Douty logic signals can be sent to microcontroller digital input pins for duty cycle measurement At firmware development or factory calibration the total microcontroller clock cycles between Doutx or Douty rising edges should be accrued using an interrupt or watchdog timer feature to scale the 100Hz 10 millisecond edges Then measuring the Doutx and Douty falling edges from the rising edge duty cycle computation shoul
119. le off the shelf components The basic principle of two axis compassing is to orient the two sensor bridge elements horizontal to the ground perpendicular to the gravitational field and to measure the resulting X and Y analog output voltages With the amplified sensor bridge voltages near simultaneously converted measured to their digital equivalents the arc tangent Y X can be computed to derive the heading information relative to the X axis sensitive direction See the application notes on compassing at Honeywell Magnetic Sensors website www magneticsensors com for basic principles and detailed application information Vec 1nf 500k 2 5 to 3 6v 5 00k T a 5 00k U3 500k enable LL 0 7S data out x ne 0 clk in p 5 00k 500k Vref 2 IVA set reset m did t dius s l set reset Two Axis Compass 2 IRF7509 2 U5 O _Set reset Solid State Electronics Center www magneticsensors com 800 323 8295 Page 8 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Set Reset Circuit Notes The above set reset circuit in Figure using the IRF7507 dual complementary MOSFETs is shown in detail by Figure 2 in its H bridge driven configuration This configuration is used primarily in battery operated applications were the 500mA nominal set reset pulsed currents can be bes
120. ll SENSOR PRODUCTS Pin Descriptions HMC6352 Pin Nam Description o 6 INC NoUsrConecion 8 SDO No User Connection SPI Data Ou 9 PGM NoUserConnecion ProgramEnable lC Communication Protocol The HMC6352 communicates via a two wire IC bus system as a slave device The HMC6352 uses a layered protocol with the interface protocol defined by the IC bus specification and the lower command protocol defined by Honeywell The data rate is the standard mode 100kbps rate as defined in the C Bus Specification 2 1 The bus bit format is an 8 bit Data Address send and a 1 bit acknowledge bit The format of the data bytes payload shall be case sensitive ASCII characters or binary data to the HMC6352 slave and binary data returned Negative binary values will be in two s complement form The default factory HMC6352 7 bit slave address is 42 hex for write operations or 43 hex for read operations The HMC6352 Serial Clock SCL and Serial Data SDA lines do not have internal pull up resistors and require resistive pull ups Rp between the master device usually a host microprocessor and the HMC6352 Pull up resistance values of about 10k ohms are recommended with a nominal 3 0 volt supply voltage Other values may be used as defined in the I C Bus Specification 2 1 The SCL and SDA lines in this bus specification can be connected to a host of devices The bus can b
121. ls but uses the RTS Pin 3 and RXD Pin 6 to select the three active modes of operation Normally RTS and RXD input lines are left high until data or hard iron calibration is needed from the HMR3100 The RXD line is left high unless a calibration is requested The RTS line will be either be pulsed low or held low to initiate an active mode Otherwise a low power sleep mode is the default state The RXD and RTS data inputs are passively pulled high via the microcontroller if left open Normal Mode When the host processor external to the HMR3100 sends a RTS low pulse to the RTS pin the HMR3100 will send status heading data via the TXD pin The host shall hold the RXD pin high during this mode The RTS shall be held high when not pulsed The HMR3100 will return to sleep mode when RTS is left high after the three byte status heading data packet is sent Up to 20 heading queries per second can be accomplished given fast enough baud rates A caution is advised that average current draw is proportional to supply voltage and amount of queries handled At the 20 Hz rate 1 to 5 milliamperes of current is consumed with lesser query rates taking advantage of the less than one microampere sleep mode current draw between queries Figure 2 shows the normal mode timing diagram RTS Example 1 TI Hie gt i ie TX T2 Status Q uss Oise i TQ i Status O mss Oise 80H 02H 85H 1000 02H 85H Example 2 pi TX Hi i lt gt H a
122. m en urere Tested at 25 C except stated otherwise Pin Configuration Arrows indicate direction of applied field that generates a positive output voltage after a SET pulse Y AXIS DIRECTION O 9 x ou x axis X Out 8 5 DIRECTION X Off 7 10 S R X Off 6 AT Z Out Q7 7 Z Off 5 42 Z Out Z Off 4 13 VCC Y Off 3 14 Y Out Z AXIS DIRECTION S R 2 15 GND Y Out 1 16 Y Off Bottom View Package Outline T Side View Bottom View wW e CX y E E F S 5 c i x e S S o re 2 2 o amp co 2 S c B z gt o o E m 002 0 2040 05 e 0 016 0 41 Ref 0 039 1 00 Ref 3 0 022 0 57 Ref 0 320 0 005 8 13 0 13 millimeters Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS Mounting Considerations When mounting the Honeywell HMC1023 on a circuit board please consider the following advice for ball grid array component attachment Ball Grid Array attachment removal to printed circuit boards is precisely controlled thermal solder reflow process To prevent internal electrical damage and package cracking do not use conventional soldering iron solder station tools If you do not have experience and the reflow oven please have
123. m ones complement of the sum X X Y Y Z Z Validity HMR2300r The Validity byte indicates that the onboard microproces sor has properly executed code routines for the selected mode of operation The various user selectable modes are shown in the table below with the corresponding validity byte and associated ASCII character Zero Average Auto Validity Readings Readings Set Reset Character byte off off off O 4F off off on S 1 53 off on off O 4F off on on V 56 on off off P 50 on off on T 54 on on off P 50 on on on W 57 1 Default mode This mode can be reset using the 99we 99rst command sequence ASCII Format SN X X CM X X X SP SP SN Y 1 Y 1 CM Y Y Y SP SP SN Z 2Z CM Z Z Z SP SP lt cr gt 28 bytes The ASCII characters will be readable on a monitor as signed decimal numbers This format is best when the user is interpreting the readings carriage return Enter Key Hex code OD space Hex code 20 if negative Hex code 2D SP if positive Hex code 20 CM comma if leading digits are not zero Hex code 2C SP if leading digits are zero Hex code 20 Decimal equivalent ASCII digit SP ifleading digits are zero Hex code 20 OD U tou ol RS 232 to RS 485 B amp B Electronics 485PTBR HMR2300r J1 Pin connector 12VDC 120VAC INTERFACE CONVERTER TO RS 232 FIGURE 3 Courtesy of Steven Engineering Inc 230 Ryan
124. magneto resistive sensors are configured as a 4 element wheatstone bridge to convert magnetic fields to differential output voltages Capable of sensing fields down to 120 micro gauss these sensors offer a compact high sensitivity and highly reliable solution for low field magnetic sensing JAN ad sd B 07 WR e E HMC1052 Circuit Diagram e Compassing VBRIDGE 5 e Navigation Systems e Attitude Reference OUT OUT OUT R OUT 10 4 7 2 e Traffic Detection GND2 GND1 ae 9 3 1 e Medical Devices R set reset T S R o Nm SR e Position Sensing 6 ePi 8 iset lreset Solid State Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions Mim Typ Max Units Bridge Elements Operating Ambient 40 125 C meme o 00 mm ee Storage Ambient unbiased 55 150 C meme oo mem ee IT Field Range Full scale FS total applied field 6 6 gauss Linearity Error Best fit straight line 1 gauss 0 1 3 gauss 0 5 FS t 6 gauss 1 8 SEU e odes 006 WS Repeatability Error 3 sweeps across 3 gauss 01 FS Bridge Offset Offset OUT OUT 1 25 0 5 1 25 mV V
125. microcontroller s onboard Analog to Digital Converter ADC Depending on the resolution of the ADC the resolution of the Compass is set Typically compasses with one degree increment displays will have 10 bit or greater ADCs with 8 bit ADCs more appropriate for basic 8 cardinal point North South East West and the diagonal points compassing Individual microcontroller choices have a great amount of differing ADC implementations and there may be instances where the ADC reference voltage and the compass reference voltage can be shared The point to Solid State Electronics Center www magneticsensors com 800 323 8295 Page 9 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS remember is that the analog voltage outputs are referenced to half the supplied bridge voltage and amplified with a similar reference The most often asked question on AMR compass circuits is how frequent the set reset strap must be pulsed The answer for most low cost compasses is fairly infrequently from a range of once per second to once per compass menu selection by the user While the set circuit draws little energy on a per pulse basis a constant one pulse per second rate could draw down a fresh watch battery in less than a year In the other extreme of one set pulse upon the user m
126. mo software plus documentation on a compact disk CD The figure below shows the schematic of the serial port cable with integral AC adapter There will be three rotary switches on the AC adapter These should be pointed towards the positive polarity 9 volts and 120 or 240 VAC depending your domestic supply of power D9 F D9 F 2 data 2 3 3 fa ee LL ee 9 9 9vdc po ns GRY BLK AC adapter ORDERING INFORMATION Ordering Number Product _ _ _ HMR2300 D00 232 PCB Only No Enclosure RS 232 I O HMR2300 D00 485 PCB Only No Enclosure RS 485 I O HMR2300 D20 232 Flush Base Enclosure RS 232 I O HMR2300 D20 485 Flush Base Enclosure RS 485 I O HMR2300 D21 232 Extended Base Enclosure RS 232 I O HMR2300 D21 485 Extended Base Enclosure RS 485 I O HMR2300 D20 232 DEMO Demo Kit Flush Base Enclosure RS 232 I O HMR2300 D21 232 DEMO Demo Kit Extended Base Enclosure RS 232 I O Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others 900139 02 04 Rev H Solid State Electronics Center www magneticsensors com 800 323 8295 Page 12 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Lo
127. more per rotation rotate the HMR3100 host assembly two complete circles on a flat non magnetic surface if possible to allow the HMR3100 to take measurements for compass calibration At the completion of the rotations return the RXD to a high logic level The HMR3100 will return to sleep mode until another active mode has been initiated Upon initiation of the calibration mode the microcontroller shall output an ASCII STA 53 54 41 hex indicating a start of calibration and then an ASCII RDY 52 44 59 hex at the completion of the rotations and the RXD line returned high Figure 4 shows the calibration mode timing diagram Start Calibration End Calibration RX lt i TURN TWICE RTS Example Hi TI i it ES ote E Leod E t Fi a 1555 TO S 53H T 54H A AIH T5 Re32H D MH Tim Leti Figure 4 Calibration Mode Timing Diagram Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 59H Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS Data Description The HMR3100 s onboard microcontroller sends a three byte status heading data packet reply as the RTS line is brought low The data is normally formatted in binary with the first byte being either 80 hex or 81 hex If that first byte LSbit is flagged high 81 hex it m
128. n neither does it convey any license under its patent rights nor the rights of others 900268 02 04 Rev A Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS DIGITAL COMPASS SOLUTIONS e 1 Heading Accuracy 0 1 Resolution e 0 5 Repeatability e 60 Tilt Range Pitch and Roll for HMR3300 e Small Size 1 0 x 1 45 x 0 4 Light Weight e Compensation for Hard Iron Distortions Ferrous Objects Stray Fields e 15Hz Response Time e 40 to 85 C Operating Temperature Range e 6 15 volt DC unregulated or 5 volt regulated supply General Description The Honeywell HMR3200 HMR3300 are electronic compassing solutions for use in navigation and guidance systems Honeywell s magnetoresistive sensors are utilized to provide the reliability and accuracy of these small solid state compass designs These compass solutions are easily integrated into systems using a UART or SPI interface in ASCII format The HMR3200 is a two axis compass and can be used in either vertical or horizontal orientations The HMR3300 is a three axis tilt compensated compass that uses a two axis accelerometer for enhanced performance up to a 60 tilt range JAN ad sd B 07 WR e E Bl
129. n Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS The MXS3334UL is a two axis accelerometer in an 8 pin LCC package that provides a digital representation of the earth s gravitational field When the MXS3334UL is held level and placed horizontally on a PCB both digital outputs provide a 100 Hz Pulse Width Modulated PWM square wave with a 50 percent duty cycle As the accelerometer is pitched or rolled from horizontal to vertical the Doutx and Douty duty cycles will shift plus or minus 20 of its duty from the 5096 center point The reference design in Figure 1 shows a reference design incorporating all three sensor elements of the HMC1055 chipset for a tilt compensated electronic compass operating from a 5 0 volt regulated power supply described as Vdd The HMC1052 sensor bridge elements A and B are called out as R1A R2A R3A R4A and R1B R2B R3B R4B respectively and create a voltage dividing networks that place nominally 2 5 volts into the succeeding amplifier stages The HMC1051Z sensor bridge elements R14Z R15Z R16Z and R17Z also do a similar voltage dividing method to its amplifier stage In this design each amplifier stage uses a single operational amplifier op amp from a common LMV324M quad op amp Integrated Circuit IC For example resistors R1 R2 R3 and R4 plus capacitor C1 configure op amp X1 into an ins
130. n resistance for an applied field within the permalloy film However the influence of a strong magnetic field more than 10 gauss along the easy axis could upset or flip the polarity of film magnetization thus changing the sensor characteristics Following such an upset field a strong restoring magnetic field must be applied momentarily to restore or set the sensor characteristics This effect will be referred to as applying a set pulse or reset pulse Polarity of the bridge output signal depends upon the direction of this internal film magnetization and is symmetric about the zero field output 6 The OFFSET strap allows for several modes of operation when a dc current is driven through it e An unwanted magnetic field can be subtracted out e The bridge offset can be set to zero The bridge output can drive the OFFSET strap to cancel out the field being measured in a closed loop configuration e The bridge gain can be auto calibrated in the system on command The Set Reset S R strap can be pulsed with a high currentto Force the sensor to operate in the high sensitivity mode Flip the polarity of the output response curve e Be cycled during normal operation to improve linearity and reduce cross axis effects and temperature effects The output response curves shown in Figure 2 illustrate the effects of the S R pulse When a SET current pulse Iset is driven into the SR pin the output response follow the curve with th
131. nc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS Characteristics Conditions Typ Physical Dimensions Circuit Board Assembly 25 4 x 36 8 x mm om Pee Weight HMR3200 7 29 grams a EMMMMMSEFINMM Environment Temperature Operating HMR3200 Operating HMR3300 Storage Pin Configuration Description SCK Serial Clock Output for SPI Mode RX SDI UART Receive Data SPI Data Input TX SDO UART Transmit Data SPl Data Output Chip Select for SPI Mode active trailing edge Calibration ON OFF Input active trailing edge 5 VDC Regulated Power Input Power and Signal Ground Unregulated Power Input 6 to 15 VDC Note Use either pin 6 5VDC or pin 8 V to power the circuit board Hold the board with pin header edge close to you and pins pointing DOWN Then PIN 1 is the left most pin CIRCUIT DESCRIPTION The HMR3200 HMR3300 Digital Compass Solutions include all the basic sensors and electronics to provide a digital indication of heading The HMR3200 has all three axis of magnetic sensors on board but allows the user to select which pair of sensors for compassing flat or upright The HMR3300 uses all three magnetic sensors plus includes an accelerometer to provide tilt pitch and roll sensing relative to the board s horizontal flat position The HMR3200 HMR3300 circuit start
132. nces To find their true values the set and reset drive circuits can be toggled while taking measurements shortly after each transition After a reset pulse the magnetic field portion of the sensor bridge will have flipped polarity while the offset remains the same Thus two measurements after a reset and a set pulse can be summed together The magnetic portions of the sum will cancel leaving just a double value of the offset The result can then be divide by two to derive the bridge offset The reason for knowing the bridge offset is that the offset will drift with temperature Should the user desire the best accuracy in heading a new calibration should be performed with each encounter with a new temperature environment See application notes AN 212 AN 213 and AN 214 for further compass design considerations Ordering Information Ordering Number 1 Product HMC1055 3 Axis Compass Sensor Set Honeywell reserves the right to make changes to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others 900302 12 02 Rev Solid State Electronics Center www magneticsensors com 800 323 8295 Page 12 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800
133. ned to be used in saturation mode HMC1501 contains one MR bridge and HMC1512 has two identical MR bridges coexisting on a single die Bridge B physically rotates 45 from bridge A The HMC1501 has sensor output AV V S sin 20 and the HMC1512 has sensor output AVZV S sin 20 for sen sor A and sensor B output AV V S cos 20 where V is supply voltage S is a constant determined by materials For Honeywell sensors S is typically 12mV V PINOUT DRAWINGS HMC1501 OUT 1 e wt 8 OUT GND 1 2 7 GND2 3 6 4 5 VBRIDGE Caution Do not connect GND or Power to Pin 3 4 amp 6 MR SENSOR CIRCUITS VBRIDGE R R OUT o o OUT OUT o A R R GND 1 o GND2 SENSOR PRODUCTS Metal Contact Current Flow Pal Pal Pal Permalloy Applied Thin Film Field NiFe Applied Field Direction MA M R AR Vs Figure 1 HMC1512 OUT A 1 8 GNDA OUT B 2 7 GNDB VBRIDGEB 3 6 OUT B VBRIDGEA 4 5 OUT A VBRIDGE A O OUT B VBRIDGE B Bridge A o OUT Ege P A P4 H o GND B OUT B Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1501 HMC1512 TYPICAL SENSOR OUTPUT HMC1501 output voltage vs magnetic field angle Sensor Output mV Theta degree APPLICATION CONFIGURATION Proximity Position SENSOR PRODUCTS HMC1512 output voltage vs magnetic field angle Sensor Output
134. nengineering com ujoo BuueeuiDueueAe1 sMMWw 0026 8S82 009 eeJy e207 episino 0026 8989 099 991JO UIEI 0Z 9 08076 VO o9sioueJ4 ues ynos Aem UeAY Oec ouj GuueeuiBu4 ueAelS jo saunoo HMC6352 2 Axis Digital Compass Module Device Operational Overview HMC6352 HMC6352 has two parameters Operational Mode and Output Mode which control its operation The Operational Mode is a RAM byte 0x74 and is shadowed in EEPROM location 0x08 This byte can be used to control the Measurement rate Set reset function and to command the device into the three allowed operating modes Standby Query and Continuous The current Op Mode RAM value can be saved in the EEPROM using the L command and will become the default mode on subsequent power up Also HMC6352 can be put in to Sleep mode for the lowest power consumption The Output Mode Byte is located in RAM Ox4E and is not shadowed in the EEPROM and upon power up the device is in the Heading output mode This byte can be changed to get magnetometer data if necessary The application environment of the HMC6352 will dictate the most suitable operational mode In the Standby Mode the HMC6352 1s not performing measurements and is waiting for a command and can be commanded in to making a heading measurement by issuing the A command This mode is useful to get data on demand or at random intervals as long as the application can withstand the time delay in getting the data With the Query
135. ngle 6 to 15V supply The hybrid is ideal for applications that require two or three axis magnetic sensing and have size constraints and need a magnetic transducer magnetometer front end Note that the hybrid s resistor values will vary or an abscense of some resistor components is likely due to individual factory calibration Integrated with the sensor elements composed of wheatstone bridge circuits are magnetically coupled straps that replace the need for external field coils and provide various modes of operation The Honeywell patented integrated field offset straps Xoff and Xoff etc can be used electrically to apply local magnetic fields to the bridges to buck or offset an applied incident field This technique can be used to cancel unwanted ambient magnetic fields e g hard iron magnetism or in a closed loop field nulling measurement circuit The offset straps nominally provide 1 gauss fields along the sensitive axis per 48mA of offset current through each strap The HMC2003 s magnetic sensors can be affected by high momentary magnetic fields that may lead to output signal degradation In order to eliminate this effect and maximize the signal output a magnetic switching technique can be applied to the bridge using set reset pins SR and SR that eliminates the effect of past magnetic history Refer to the application notes that provide information on set reset circuits and operation Pinout Diagram and Package Drawing A 20 m
136. nics Center www magneticsensors com 800 323 8295 Page 9 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1051 HMC1052 HMC1053 Honeywell SENSOR PRODUCTS Vcc Auf n 500k veg 5 0v 10kQ pot 5 00k Threshold Set L 5 00k U2 500k outpu Vcc 2 E un 7 HMC1051 ud 10k d Vcc RLED Low ESR Tantalum 2000 1uf TE 10kQ FMMT717 0 1 uf 1uf set reset NT Y FMMT617 S R 0 1 uf l Figure 5 10kQ j Magnetic Field Detector VV Alternating or Direct Current Sensing The HMC105X family sensors can be utilized in a novel way for moderate to high current sensing applications using a nearby external conductor providing the sensed magnetic field to the bridge Figure 6 shows a HMC1051Z used as a current sensor with thermistor element performing a temperature compensation function for greater accuracy over a wide range of operational temperatures Selection of the temperature compensation tempco resistors used depends on the thermistor chosen and is dependant on the thermistor s C shift of resistance For best op amp compatibility the thermistor resistance should be above about 1000 ohms The use of a 9 volt alkaline battery supply is not critical to this application but permits fairly common operational amplifiers such as the 4558 types to be used Note that the circuit must be calibrated
137. not recognized then the HMR module will transmit ASCII bit pattern for e and end the SPI session SPI Commands Heading Output In response to an ASCII H or h command the HMR3200 HMR3300 shall send two bytes of data The MSByte is transmitted first These two bytes represent the integer value equal to 10 Heading The MSbit is transmitted first for each byte SCK shall be high for 16 and low for 22 microseconds respectively There is a 50 microsecond delay between consecutive bytes transmitted Command Character SPI Data Output Parameter Value Sends heading data 0000 to 3599 Heading 000 0 to 359 9 DATA REPRESENTATION Heading Output In response to an H or h command HMR3200 HMR3300 module shall send two bytes of data The MSByte is transmitted first These two bytes represent the integer value equal to 10 Heading The MSbit is transmitted first for each byte Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS SPI TIMING The SCK shall be high for 16 and low for 22 microseconds respectively There is a 50 microsecond delay between consecutive bytes transmitted CS Th 16usec lt gt TI 22usec SDO MS bit 0 oo ooo SPI Timing Diagram MS Byte p
138. o resistive sensor design in a single package The advantages of the HMC1023 include orthogonal three axis sensing small size and a 16 contact BGA surface mount package Each of the magneto resistive sensors are configured as 4 element Wheatstone bridges to convert magnetic fields to differential output voltages Capable of sensing fields down to 85 micro gauss these sensors offer a compact high sensitivity and highly reliable solution for low field magnetic sensing JAN ad sd B 07 WR e E HMC1023 Circuit Diagram X Out X Out Y Out VCC Y Out Z Out e Navigation Systems e Attitude Reference X Sensor e Compassing e Traffic Detection e Medical Devices Set Solid State Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS SPECIFICATIONS Bridge Elements Operating Ambient 40 125 C meme o 00 mm IT T 7 Storage Ambient unbiased 55 125 C mee oo mem o Jm T Field Range Full scale FS total applied field 6 6 gauss Linearity Error Best fit straight line 1 gauss 0 05 3 gauss 0 4 FS t 6 gauss 1 6 DLL d e 008 FS Repeatability Error 3 sweeps across 3 gauss 008 FS Bridge Offset Offset OUT OUT 10 2 5 10 mV
139. o retain optimum circuit stability Additional masters and slaves can be added to the I C bus traces without interface trouble to the HMC6352 There are no periodic maintenance commands required and even HMC6352 sleep mode or power shutdown can be accomplished without harm to the data or clock lines Solid State Electronics Center www magneticsensors com 800 323 8295 Page 14 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS Amplifier Filter Connections The HMC6352 design has provisions for the feedback loop of each amplifier stage to be accessible via the CA1 CA2 CB1 and CB2 pin contacts Across the contacts and internal to the HMC6352 is the amplifier section plus a 1200k ohm feedback resistance to set the voltage gain By placing small value ceramic capacitors across CA1 to CA2 or CB1 to CB2 the designer can set the 3dB bandwidth of the amplified magnetometer signals to drop spurious magnetic interference in the system For example a 120 pico Farad capacitor Cext in the amplifier feedback loop would limit the bandwidth to about 1kHz Be aware that larger values of capacitance begin to slow the amplifier response to where the measurement delay time EEPROM byte may have to be increased in value to let the signal settle before making a measurement Figure 2 shows the part
140. ock Diagram Compassing amp Navigation Attitude Reference oatellite Antenna Positioning Platform leveling GPS Integration Multi ADC Vcc e S Laser Range Finders Z HMC 1021 Solid State Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3200HMR3300 Honeywell SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions Typ Heading Accuracy Level 0 to 30 HMR3300 only 30 to 60 HMR3300 only HMR3200 HMR3300 0 to 30 30 to 60 Level 20 to 70 C Thermal Hysterisis 40 to 85 C Thermal Hysterisis Electrical Current HMR3200 18 20 mA OUT ee Digital Interface UART ASCII 1 Start 8 Data 1 Stop 2400 19200 Baud NEM 0 Parity User Selectable Baud Rate moo 19200 Bad S CK OCKP OPsedoMstr OOO Hz Update Continuous Strobed Averaged HMR3200 15 HMR3300 8 In Line 8 Pin Block 0 1 spacing o o Null zeroing prior to use of the HMR3300 and upon exposure to temperature excursions beyond the Operating Temperature limits is required to achieve highest performance Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering I
141. ommand input ddZF or a power down condition This feature is useful for setting a reference attitude or nulling the earth s field before anomaly detection SET RESET AND AVERAGE COMMANDS The set reset function generates a current magnetic field pulse to each sensor to realign the permalloy thin film magnetization This yields the maximum output sensitivity for magnetic sensing This pulse is generated inside the HMR2300 and consumes less than 1mA typically The Set Reset Mode command ddTN or ddT activates an internal switching circuit that flips the current in a Set and Reset condition This cancels out any temperature drift effects and ensures the sensors are operating in their most sensitive region Fluctuations in the magnetic readings can be reduced by using the Average Readings commands ddVN or ddV These commands provide a low pass filter effect on the output readings that reduces noise due to Set Reset switching and other environmental magnetic effects The two figures below show the average readings effect for step and impulse responses owitching the set reset state is not required to sense magnetic fields A single Set or Reset pulse will maximize the output sensitivity and it will stay that way for months or years To turn off the internal switching enter the command ddTF or ddT In this state the sensors are either in a Set or Reset mode If the HMR2300 is exposed to a large magnetic field gt 10 gauss then another set
142. oneywell patented features for incident field adjustment and magnetic domain alignment and eliminate the need for external coils positioned around the sensors The magnetoresistive sensors are made of a nickel iron Permalloy thin film deposited on a silicon wafer and patterned as a resistive strip element In the presence of a magnetic field a change in the bridge resistive elements causes a corresponding change in voltage across the bridge outputs These resistive elements are aligned together to have a common sensitive axis indicated by arrows on the pinouts that will provide positive voltage change with magnetic fields increasing in the sensitive direction Because the output only is in proportion to the one dimensional axis the principle of anisotropy and its magnitude additional sensor bridges placed at orthogonal directions permit accurate measurement of arbitrary field direction The combination of sensor bridges in this three orthogonal axis configuration permit applications such as compassing and magnetometry The individual sensor offset straps allow for several modes of operation when a direct current is driven through it These modes are 1 Subtraction bucking of an unwanted external magnetic field 2 null ing of the bridge offset voltage 3 Closed loop field cancellation and 4 Auto calibration of bridge gain The set reset strap can be pulsed with high currents for the following benefits 1 Enable the sensor to perform high
143. or simple magnetic field sensing applications such Magnetic Anomaly Detectors MADs and Magnetometers a similar circuit to the compass application can be implemented using one two or three magnetic sensors In the example circuit in Figure 5 a HMC1051Z sensor bridge is used with a low voltage capable dual op amp to detect sufficient intensity of a magnetic field in a single direction Uses of the circuit include ferrous object detection such as vehicle detection a sniffer for currents in nearby conductors and magnetic proximity switching By using two or three sensor circuits with HMC1051 HMC1052 or HMC1053 parts a more omni directional sensing pattern can be implemented There is nothing special in choosing the resistors for the differential op amp gain stages other than having like values e g the two 5KQ and the 500kQ resistors matched at 1 tolerance or better to reject common mode interference signals EMI RFI The ratio of the 500kO 5kO resistors sets the stage gain and can be optimized for a specific purpose Typical gain ratios for compass and magnetometer circuits using the HMC105X family range from 50 to 500 The choice of the 5kQ value sets impedance loading seen by the sensor bridge network and should be about 4 kilo ohms or higher for best voltage transfer or matching Note that Figure 5 also shows an alternative set reset strap driver circuit using two darlington complentary paired BJTs as electronic switches Solid State Electro
144. ormat The order of output for the binary format is Xhi Xlo Yhi Ylo Zhi Zlo The binary format is more efficient for a com puter to interpret since only 9 bytes are transmitted The BCD ASCII format is easiest for user interpretation but re quires 28 bytes per reading There are limitations on the sample rate based on the format and baud rate selected see Table 3 Examples of both binary and BCD ASCII out puts are shown below for field values between 2 Gauss Field BCD ASCII Binary Value Hex Gauss Value High Byte Low Byte 2 0 30 000 75 30 41 5 22 500 5 E 4 11 0 15 000 3A 9 8 10 5 7 500 lD 4c 0 0 00 00 00 0 5 7 500 E2 B4 1 0 15 000 c3 74 me 22 500 A8 lC 2 0 30 000 8A DO Output Readings Table 5 Binary Format 9 bytes XIX 1Y 1 Y Z 1 Z Validity Checksum cr Signed high byte x axis X low byte x axis Y signed high byte y axis Y low byte y axis Z signed high byte z axis Z low byte z axis Validity Validity byte is described below Checksum Checksum is the ones complement of the sum of the first seven bytes lt cr gt carriage return Enter Key Hex code 0D Output data format is in counts sign 15 bit magnitude Scale factor is 1 gauss 15 000 counts Output measurement range 30 000 counts The binary characters will be unrecognizable on a monitor and will appear as strange symbols This format is best when a computer is interpreting the readings Checksu
145. ow to command the HMC6352 in to Sleep mode by writing the S command to the slave START uum l estie Hui 0x42 S Write to this I2C address Command Honeyw ell Honeywell Proprietary WOd HULBsUIBUSUdSASI1S MMM 00Z6 8SZ 009 eeJy e207 SPISINO 00Z6 88S 099 991JO UIeI 0Z 9 08076 VO o9sioueJJ ues ynos Aem ue H Ooec uj GuueeuiBu4 ue AelS jo saeunoo HMC6352 2 Axis Digital Compass Module Example 2 This example shows how to command HMC6352 to read a RAM register by sending the g command and the register address Ox7F Note that this example does not show the process of reading the answer See below for reading 0x42 g Ox7F Write to this I2C address Command Register Ox7F Example 3 This example shows how to write to a RAM register in the HMC6352 by sending the G command the register address Ox7F and the data byte 0x55 to the sensor 0x42 G Ox7F 0x55 Write to this I2C address Command Register Ox7F Data Honeywell Honeywell Proprietary ujoo BuueeuiDueueAe1 sMwWw 0026 8S82 009 eeJy e207 SPISINO 00Z6 88S 099 991JO UIeV 0Z 9 08076 VO o9sioueJJ ues YINOS Aem UeAY Oee uj GuueeuiBu4 ueAelS Jo saeunoo HMC6352 2 Axis Digital Compass Module Example 4 This example shows how to read a single byte from the HMC6352 The Slave HMC6352 continues to hold the SDA line low after the acknowledge ACK because the first bit of the data byte is a zero ee et ET R 0x43 0x55 Read from th
146. plex This means that logic one the transmitting end will drive the B line at least 1 5 Volts higher than the A line For a logic zero the transmitting end will drive the B line at least 1 5 Volts lower than the A line Since the signals are transmitted as difference voltage level these signals can withstand high noise environments or over very long distances where line loss may be a problem up to 4000 feet Note that long RS 485 lines should be terminated at both ends with 120 ohm resistors Another precaution on RS 485 operation is that when the HMR2300 is in a continuous output mode of operation the host PC may have to send repeated escape and carriage return bytes to stop the stream of output data If the host can detect a recieved carriage return byte OD hex and immediately send the escape carriage return bytes then a systematic stop of continuous output is likely If manually sent beware that the half duplex nature of the interface corrupt the HMR2300 outbound data while attempting to get the stop command interleaved between the data As noted by the Digital I O timing specification and Figure 3 the HMR2300 has a delayed response feature based on the programmed device ID in response to global address commands 99 cr Each HMR2300 will take its turn responding so that units do not transmit simultaneously no contension These delays also apply to the RS 232 interface versions of the HMR2300 Solid State Electronics Center www
147. ply voltage to measure magnetic fields When a voltage from O to 10 volts is connected to Vbridge the sensor begins measuring any ambient or applied magnetic field in the sensitive axis In addition to the bridge circuit the sensor has two on chip magnetically coupled straps the OFFSET strap and the Set Reset strap These straps are patented by Honeywell and eliminate the need for external coils around the devices Vbridge MU 3 5 Q max A loffset 2 0 Q max S R A 1 Iset lreset OFFSET 2 OFFSET 6 R 600 1200 Q S R 3 Figure 1 On Chip components HMC1001 Magnetoresistive sensors are made of a nickel iron Permalloy thin film deposited on a silicon wafer and patterned as a resistive strip In the presence of an applied magnetic field a change in the bridge resistance causes a corresponding change in voltage output An external magnetic field applied normal to the side of the film causes the magnetization vector to rotate and change angle This inturn will cause the resistance value to vary AR R and produce a voltage output change in the Wheatstone bridge This change in the Permalloy resistance is termed the magnetoresistive effect and is directly related to the angle of the current flow and the magnetization vector During manufacture the easy axis preferred direction of magnetic field is set to one direction along the length of the film This allows the maximum change i
148. pulse is required to maximize output sensitivity In the Set mode the direction of the sensitive axis are shown on the enclosure label and the board dimensions figure In the Reset mode the sensitive field directions are opposite to those shown By typing dd the user can manually activate a Set or Reset pulse The S R pulse commands can be used the continuous read mode to flip Solid State Electronics Center www magneticsensors com 800 323 8295 Page 9 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS between a Set and Reset state Note that the first three readings immediately after these commands will be invalid due to the uncertainty of the current pulse to the sensor sample time 100 ie A I 100 90 4 i we 8 d 80 BO 4 j x M 74 60 60 ion el Su AG s 2 i Input s s ji N Input 20 20 D Output 10 10 4j Y cC 0 1 2 3 4 5 8 7 8 9 10 Number of Readings Number of Readings DEFAULT AND RESTORE COMMANDS The Defaut Settings command ddD will force the HMR2300 to all the default parameters This will not be a permanent change unless a Store Parameter command ddSP is issued after the Write Enable command The Restore Settings command ddRST will force the HMR2300 to all the stored parameters in the EEPROM OUT
149. ration would provide an accurate calibration The calibration time window is recommended to be from 6 seconds up to 3 minutes depending on the end user s platform The calibration routine collects these readings to correct for hard iron distortions of the earth s magnetic field These hard iron effects are due to magnetized materials nearby the HMC6352 part that in a fixed position with respect to the end user platform An example would be the magnetized chassis or engine block of a vehicle in which the compass is mounted onto Upon exiting the calibration mode the resulting magnetometer offsets and scaling factors are updated l C Slave Address The I C slave address byte consists of the 7 most significant bits with the least siginificant bit zero filled A described earlier the default factory value is 42 hex and the legal IC bounded values are between 10 hex and F6 hex This slave address is written into EEPROM address OO0 hex and changed on the power up Magnetometer Offsets The Magnetometer Offset bytes are the values stored after the completion of the last factory or user calibration routine Additional value changes are possible but will be overwritten when the next calibration routine is completed Note that these offset values are added to the sensor offset values computed by the set reset routine to convert the raw magnetometer data to the compensated magnetometer data These values are written into EEPROM addresses 01 hex to 04 hex
150. resistance 0 3Q at Vas 2 7V The set reset pulsing does not need to be continuous To save power the SET pulse can be initially applied followed by a single RESET pulse The offset OS can be calculated as OS Vset Vrst 2 This offset term will contain the DC offset of both the sensor bridge and interface electronics as well as the temperature drift of the bridge and interface electronics Store this value and subtract it from all future bridge output readings Once the bridge is RESET it will remain in that state for years or until a disturbing field 220 gauss is applied A timer can be set say every 10 minutes to periodically update the offset term A flow chart is shown in Figure 14 along with a timing diagram in Figure 15 to illustrate this process Ta Tb Ta Tc rH Reset 200 tuF 1 43 310 T 0 6 5V m Set 13 v HMC1022 Td Td 2 7 a MER Set read read 14 8 9 15 Vout Vset Vrst 5 6 7 NDS9933 0 1uF mel eae Reset TPW 1 Tantalum low R 1 3 NDS8926 2 Rds 0 2 ohm Vp 7 set 5 6 7 8 N S R 2 4 S R Ta 5 usec Vp reset Tb 1 usec Tc 20 usec 50 msec max TPW 2 usec Td gt 20 usec Vp 3V Figure 15 Single Clock Set Reset Pulse Circuit 1021 1022 11 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370
151. rgument bytes To conserve data traffic all response data Reads will be context sensitive to the last command Write sent All write commands shall have the address byte least significant bit cleared factory default 42 hex These commands then follow with the ASCII command byte and command specific binary formatted argument bytes in the general form of Command ASCII Byte Argument Binary MS Byte Argument Binary LS Byte The slave HMC6352 shall provide the acknowledge bits between each data byte per the I C protocol Response byte reads are done by sending the address byte factory default 43 hex with the least significant bit set and then clocking back one or two response bytes last command dependant For example an A command prompts the HMC6352 to make a sensor measurement and to route all reads for a two byte compass heading or magnetometer data response Then all successive reads shall clock out two response bytes after sending the slave address byte Table 1 shows the HMC6352 command and response data flow Solid State Electronics Center www magneticsensors com 800 323 8295 Page 4 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS Table 1 HMC6352 Interface Commands Responses Command Argument 1 Argument2 Response 1 Response 2 ASCII hex Binary
152. rrent source that drives the OFFSET strap Using high gain and negative feedback in the loop this will drive the MR bridge output to zero OUT OUT This method gives extremely good linearity and temperature characteristics The idea here is to always operate the MR bridge in the balanced resistance mode That is no matter what magnetic field is being measured the current through the OFFSET strap will cancel it out The bridge always sees a zero field condition The resultant current used to cancel the applied field is a direct measure of that field strength and can be translated into the field value The OFFSET strap can also be used to auto calibrate the MR bridge while in the application during normal operation This is useful for occasionally checking the bridge gain for that axis or to make adjustments over a large temperature swing This can be done during power up or anytime during normal operation The concept is simple take two point along a line and determine the slope of that line the gain When the bridge is measuring a steady applied magnetic field the output will remain constant Record the reading for the steady field and call it H1 Now apply a known current through the OFFSET strap and record that reading as H2 The current through the OFFSET strap will cause a change in the field the MR sensor measures call that delta applied field AHa The MR sensor gain is then computed as MRgain H2 H1 AHa There are
153. rts to wear out no dropped signals from worn tracks as in conventional contact based rotary sensors Small Package Available in an 8 pin surface mount package with case dimensions exclusive of pins of 5mm x 4mm x 1 2mm total mounting envelope with pins of less than 6mm square Large Signal Output Full Scale output range of 120mV with 5V of power supply Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1501 HMC1512 PRINCIPLES OF OPERATION Anisotropic magnetoresistance AMR occurs in ferrous materials It is a change in resistance when a magnetic field is applied in a thin strip of ferrous material The mag netoresistance is a function of cos 0 where 0 is the angle between magnetization M and current flow in the thin strip When an applied magnetic field is larger than 80 Oe the magnetization aligns in the same direction of the applied field this is called saturation mode In this mode 0 is the angle between the direction of applied field and the current flow the MR sensor is only sensitive to the direction of applied field The sensor is in the form of a Wheatstone bridge Figure 1 The resistance R of all four resistors is the same The bridge power supply V causes current to flow through the resistors the direction as indicated in the figure for each resistor Both HMC1501 and HMC1512 are desig
154. s Table 2 HMC6352 EEPROM Contents 00 jlCSlveAddes hex 06 Number of Summed measurements 1 16 0O4 hex 08 JjOperaio Mode Byte j50 nx Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS Operational Modes The HMC6352 has three operational modes plus the ability to enter exit the non operational sleep mode by command Sleep mode sends the internal microprocessor into clock shutdown to save power and can be brought back by the W command wake The S command returns the processor to sleep mode The three operational modes are defined by two bits in the internal HMC6352 Operation Mode register If the master device sends the L command the current operational mode control byte in the RAM register is loaded into the internal EEPROM register and becomes the default operational mode on the next power up The application environment of the HMC6352 will dictate the most suitable operational mode Standby Mode Operational Mode 0 This is the factory default mode The HMC6352 waits for master device commands or change in operational mode Receiving an A command get data will make the HMC6352 perform a measurement of
155. s I2C Address Command Register 7F Example 4 This example shows how to write to a RAM register in the HMC6352 by sending the G command the register address 7F hex and the data byte 55 hex to the HMC6352 slave sah OF l LI tt SCL MsDA LI Ld U CU I Li ssAL Ll U6 L3 L 42 hex G T F hex 55 hex Write to This I2C Address Command Register 7F Data Solid State Electronics Center www magneticsensors com 800 323 8295 Page 10 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS Example 5 The final example shows how to read RAM register 7F hex First perform a write operation to command the HMC6352 to read a RAM register and define which register to read Example 3 The sensor puts the answer in the data buffer Then perform a read operation to clock out the answer Example 1 There is a Stop Start event in between the write operation and the read operation This example is just a combination of Examples 3 and 1 but it is provided to show that reading a register involves both a write and a read operation STOP START LE edil ul ee PLE LIU se LJUUUUU UU UU UU UU UU UU UU UU UU UU L 42 hex g 7F hex 43 hex 55 hex Write to This 12C Address Command R
156. s byte The address byte contains the slave address the upper 7 bits bits7 1 and the Least Significant bit LSb The LSb of the address byte designates if the operation is a read LSb 1 or a write LSb 0 At the 9 clock pulse the recieving slave device will issue the ACK or NACK Following these bus events the master will send data bytes for a write operation or the slave will transmit back data for a read operation All bus transactions are terminated with the master issuing a stop sequence The following timing diagram shows an example of a master commanding a HMC6352 slave into sleep mode by sending the S command The bottom two traces show which device is pulling the SDA line low 42 hex ES Write to This I C Address Command C bus control can be implemented with either hardware logic or in software Typical hardware designs will release the SDA and SCL lines as appropriate to allow the slave device to manipulate these lines In a software implementation care must be taken to perform these tasks in code Command Protocol The command protocol defines the content of the data payload bytes of I C protocol sent by the master and the slave device HMC6352 After the master device sends the 7 bit slave address the 1 bit Read Write and gets the 1 bit slave device acknowledge bit returned the next one to three sent data bytes are defined as the input command and a
157. s required The circuit that generates the S R pulse should be located close to the MR sensor and have good power and ground connections The set reset straps on the Honeywell magnetic sensors are labeled S R and S R There is no polarity implied since this is simply a metal strap resistance Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS Single Clock Circuitry Some form of clock is needed to trigger the set and reset pulses Figure 6 to create the switching signal The circuit shown in Figure 8 can be used to create a strong 4Amp pulse The diodes resistors capacitors and inverters basically create the TRS and the TSR delays Now a single signal Clock can trigger a set or reset pulse The minimum timing between the rising and falling edges of Clock are determined by the 25K and 1nF time constant That is the minimum high and low time for Clock is 25 us Micro Processor The circuit in Figure 9 generates a strong set reset pulse gt 4 Amp under microprocessor control The 5V Clock 16V set e PW 2 psec S R 1ev reset Figure 6 Single Clock Set Reset Timing 5V 74HC04 14 25K Clock 9 7 1nF 1N4001 l 2N3904 SET and RESET signals are generated from a microprocessor and control the P and N channel HE
158. s with Honeywell HMC1021 and HMC1022 single and two axis magnetic sensors providing X Y and Z axis magnetic sensing of the earth s field These sensors are supplied power by a constant current source to maintain best accuracy over temperature The sensor output voltages and constant current sensor supply voltage are provided to multiplexed Analog to Digital Converter ADC integrated circuit A microcontroller integrated circuit periodically queries the multiplexed ADC and performs the offset corrections and computes the heading This microcontroller also performs the external serial data interface and other housekeeping functions such as the calibration routine An onboard EEPROM integrated circuit is employed to retain necessary data variables for best performance For the HMR3300 an additional pair of data inputs from the 2g accelerometer is received by the microcontroller These tilt inputs pitch and roll are added to sensor data inputs to form a complete data set for a three dimensional computation of heading The power supply for the HMR3200 HMR3300 circuit is regulated 5 volt design allowing the user to directly provide the regulated supply voltage or a 6 to 15 volt unregulated supply voltage If the unregulated supply voltage is Solid State Electronics Center www magneticsensors com 800 323 8295 Page 3 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local
159. sensitivity measurements 2 Flip the polarity of the bridge output voltage and 3 Periodically used to improve linearity lower cross axis effects and temperature effects Noise Characteristics The noise density for the HMR1023 series is around 50nV sqrt Hz at the 1 Hz corner and drops below 10nV sqrt Hz at 20Hz and begins to fit the Johnson Noise value at around 5nV sqrt Hz beyond 100Hz The 10Hz noise voltage averages around 0 58 micro volts with a 0 16 micro volts standard deviation These values are provided with a 5 volt supply Offset Strap The offset strap is a spiral of metalization that couples in the sensor element s sensitive axis In the HMC1023 design there is one strap per bridge with both ends brought out externally Each offset strap measures nominally 50 ohms and requires about 4 6mA for each gauss of induced field The straps will easily handle currents to buck or boost fields through the 6 gauss linear measurement range but designers should note the extreme thermal heating on the sensor die when doing so With most applications the offset strap is not utilized and can be ignored Designers can leave one or both strap connections Off and Off open circuited or ground one connection node Do not tie positive and negative strap connections together of the same strap to avoid shorted turn magnetic circuits Set Reset Strap The set reset strap is another spiral of metalization that couples to the sensor elements easy a
160. side Local Area 800 258 9200 www stevenengineering com LINEAR MAGNETIC FIELD SENSORS Low Field Measurements When measuring 100 ugauss resolution or less the permalloy film must be completely set or reset to insure low noise and repeatable measurements A current pulse of 4 amps or more for just a couple microseconds will ensure this The circuits in Figures 8 and 9 are recommended for applications of HMC1001 2 that require low noise and high sensitivity magnetic readings Low Cost For minimum field measurements above 500 ugauss a less elaborate pulsing circuit can be used In both Figures 10 and 11 the pulse signal is switched using lower cost Darlington transistors and fewer components This circuit may have a more limited temperature range depending on the quality of transistors selected If accuracy is not an issue and cost is then the reset only circuit in Figure 11 will work 16 to 20V 4 7uF 1 10K Lb S R strap 4 5Q typ 0 022uF 3A peak min f zns HMC2003 0 22uF 0 022uF Clock o ZTIX605 S R 1 Tantalum low R 10K Figure 10 Single Clock Set Reset Circuit 1001 1002 S R strap 4 5Q typ 3A peak min HMC2003 1 17 16 to 20V 100K 0 22yF O ZTX605 S R K S R TPW 2 usec f qgy I reset The HMC2003 has 3 axis S R straps in series These are the HMC1001 and HMC1002 sensors Figure 11 Single Clock Reset Only Circuit 1001 1002 0 022uF Clock o
161. st digital noise decoupling Capacitors C6 and C7 provide noise filtering locally at the accelerometer and throughout the compass circuit The set reset circuit for this electronic compass is composed of MOSFETs X4 and X5 capacitors C3 and C4 and resistor R9 The purpose of the set reset circuit is to re align the magnetic moments in the magnetic sensor bridges when they exposed to intense magnetic fields such as speaker magnets magnetized hand tools or high current conductors such as welding cables or power service feeders The set reset circuit is toggled by the microcontroller and each logic state transition creates a high current pulse in the set reset straps for both HMC1052 and the HMC1051Z Operational Details With the compass circuitry fully powered up sensor bridge A creates a voltage difference across OUTA and OUTA that is then amplified 200 times and presented to microcontroller analog input AN1 Similarly bridges B and C create a voltage difference that is amplified 200 times and presented to microcontroller analog inputs AN2 and AN3 These analog voltages at AN1 and AN2 can be thought of as X and Y vector representations of the magnetic field The third analog voltage AN3 plus the tilt information from accelerometer is added to the X and Y values to create tilt compensated X and Y values sometimes designated X and Y To get these X Y and Z values extracted the voltages at AN1 through AN3 are to be digitized by the
162. state magnetic sensors and no moving parts improves response time allowing faster updates compared to gimballed fluxgates Small Size Available as a circuit board 1 2 x 2 95 inches weighing less than one ounce or in an aluminum enclosure Low Power Operates with less than 35 mA allowing for long operation with a battery High Accuracy Accuracy better than 0 5 with 0 1 resolution for critical positioning applications Wide Tilt Range Tilt range of 40 for both the roll and pitch allows operation for most applications Hard Iron Compensation Calibration routines to compensate for distortion due to nearby ferrous objects and stray fields such as vehicles User Configurable Features User settings of baud rate update rate output format units filter settings deviation angles alarms and warnings are stored internally in non volitile memory Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMHBR3000 SENSOR PRODUCTS INTERFACE SIGNAL DESCRIPTIONS Communication HPR RCD and CCD and an ASCII heading output for HMR3000 communicates with an external host via RS a digital display HDG HDT and HPR are the most 232 or RS 485 electrical standard through simple ASCII commonly used sentences the formats are given below character strings ASCII characters are transmitted and received using 1 Start bit 8 Data bits
163. t horizontal on the PCB and the HMC1051Z vertical all three vector components of the earth s magnetic field X Y and Z are sensed By having the Z axis component of the field the electronic compass can be oriented arbitrarily and with a tilt sensor perform tilt compensated compass heading measurements as if the PCB where perfectly level Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1055 Honeywell Advance Information SENSOR PRODUCTS C1 a m 7 Vdd 150P R1 1 00MEG i l R2 l 4 99K l l l I R4 i m MICRO l CONTROLLER 4 99K T I R4A l I Ra VDD i l 1 00MEG i l Vref CS l l C2 Vref RXD I 150P HMC1052 n i R5 R13 I pos I 1 00MEG 10K I R6 l I 4 99K I 10 11 A l 14 V i 12 I R8 LMV324M 4 99K R4B C6 i l R7 0 1U I 1 00MEG r4 l Vref l CT l R9 0 1U l l 220 Vdd VDD VREF VDA IRF7509P X5 DOUTY IRF7509N MXS3334UL l l l C5 l 150P l B Vdd R18 I 1 00MEG I l R15Z L L l i 4 99K l 25 e I R21 LMV324M l 4 99K Figure 1 l RITZ R20 1 00MEG 3 Axis Compass Reference Design l l Vref l I Solid State Electronics Center www magneticsensors com 800 323 8295 Page 8 Courtesy of Steven Engineering Inc 230 Ryan Way South Sa
164. t obtained under low voltage conditions The 200 ohm resistor trickle charges the 1uf supply reservoir capacitor to the Vcc level and isolates the battery from the high current action of the capacitors and MOSFET switches Under conventional logic states one totem pole switch holds one node of the O 1uf capacitor low while the other switch charges Vcc into the capacitors opposite node At the first logic change the capacitor exhibits almost a twice Vcc flip of polarity giving the series set reset strap load plenty of pulse current A restoring logic state flip uses the O 1uf capacitors stored energy to create a second nearly equal but opposite polarity current pulse through the set reset strap For operation at normal 3 3 or 5 volt logic levels a single complementary MOSFET pair can be used in a single ended circuit shown in Figure 4 Other complementary MOSFET pairs can be used with the caution that the chosen devices should have less than 0 5 ohms ON resistance and be able to handle the needed supply voltages and set reset currents Note that even a 1Hz rate of set reset function draws an average current of less than 2 microamperes Magnetic Field Detection Honeywell SENSOR PRODUCTS 2000 Vcc IRF7509 P set reset Rset reset IRF7509 N _set reset Figure 3 H Bridge Driver 200 Vcc IRF7509 P Auf set reset Rset reset IRF7509 N Figure 4 V Single Ended Driver F
165. tFilter Independent Filter values for Magnetic and Tilt are used Eg ZCON Returns a response of ZD 1028 cr If meaning independent filters used for magnetic and tilt data bit 10 set and the compass module is sending heading data bit 3 set COMMAND RESPONSES These are compass module generated responses to commands issued by the host processor These responses follow in format to the commands issued Dxxx lt cr gt lt lf gt Returns data requested 1 lt cr gt lt lf gt Invalid command response Response to any invalid command SPI INTERFACE SPI operating Mode is as follows SCK idles low Data Output after falling edge of SCK Data sampled before rising edge of SCK MODE CKP 0 CKE 0 Synchronous Communication Protocol The HMR3200 HMR3300 module controls the synchronous clock SCK and synchronous data output SDO pins and the host controller controls synchronous data input SDI and chip select CS pins The host controller shall lower the HMR module s CS pin for at least 20 microseconds to initiate the SP communication In response the HMR module will send the ASCII bit pattern for s and the host shall transmit a valid command character simultaneously The HMR module will evaluate the command character received from the host controller and send the appropriate data if the command is recognized and valid After transmitting the required data the HMR module will end the SPI session If the command is invalid or was
166. tate Electronics Center www magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS HMC6352 SPECIFICATIONS Supply Current Vsupply to GND Steady State Vsupply 3 0V 1 mA Steady State Vsupply 5 0V 2 mA Dynamic Peaks 10 mA tear ad Accuracy HMC6352 SS degRMS ite oe Repeatability Disturbing Field Sensitivity starts to degrade gauss ea meme pw p wma EXE NU Field restores performance Operating Ambient 20 70 C a o 00 mm ee T T otorage Ambient 55 125 C meme o ee m T Reflow Per JEDEC J STD 020B rene A a a 1 1 19 weak ears 1 Tested at 25 C except stated otherwise 2 Field upper limit can be extended by using external resistors across CA1 CA2 and CB1 CB2 Pin Configuration Package Dimensions TOP VIEW TOP VIEW alia OF c aa DAZ NC CB1 CB2 ix 0 60 2OPLCS 24 23 22 91 20 19 aPLLCS k DF 1 HC 5R J NC NC 9 NC NC 4 NC 6 50 MAGNETIC GND 5 VDD et _ 9 230 zaPLCS NC T ES SDI NC 55 p Soo SCL NC iur Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywe
167. th San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3000 SPECIFICATIONS SENSOR PRODUCTS HMR3000 CONNECTION DIAGRAM COMPUTER RS232 TO HMR3000 RS 232 computer pins ac adapter HMR3000 pins Unregulated Supply 4 200 10 67 3 250 8 26 Regulated voltage source RS 232 computer pins HMR3000 pins 5 Vdc Reg Regulated Supply Honeywell 0 188 lt q 1 500 3 81 QQoQQQ oQQQ 300062 e e C 0 150 0 38 T e 0 46 RS 232 to RS 485 B amp B Electronics 485TBLED RS 485 SD Control Echo Off Shield TD A TD 2 RD TD B RD 3 TD RD A RD B GND 12V DB9 socket connector RS 485 Gnd 12VDC inches centimeters ORDERING INFORMATION Type Output Enclosure HMR3000 Demo 232 RS232 HMR3000 D00 232 RS282 None HMR3000 D21 232 19292 ix Extended Base HMR3000 D00 485 RS485 None HMR3000 D21 485 RS485 Extended Base Development Kit includes one module in aluminum enclosure cabling with power supply demonstration software for PC running Windows and User s Manual Honeywell reserves the right to make changes to any products or technology herein to improve reliability function or design Honeywell does not assume any liability arising out of the application or use of any prod
168. tomotive compass application If the MR sensor has a fixed position within the automobile the effect of the car on the earth s magnetic field can be approximated as a shift or offset in this field If this shift in the earth s field can be determined 7 then it can be compensated for by applying an equal and opposite field using the OFFSET strap Another use for the OFFSET strap would be to drive a current through the strap that will exactly cancel out the field being measured This is called a closed loop configuration where the current feedback signal is a direct measure of the applied field The field offset strap OFFSET and OFFSET willgenerate a magnetic field in the same direction as the applied field being measured This strap provides a 1 Oersted Oe field per 50 mA of current through itin HMC 1001 2 and 1 Oe 5mA in HMC1021 2 Note 1 gauss 1 Oersted in air For example if 25 mA were driven from the OFFSET pin to the OFFSET pin in HMC1001 2 a field of 0 5 gauss would be added to any ambient field being measured Also a current of 25 mA would subtract 0 5 gauss from the ambient field The OFFSET strap looks like as a nominal resistance between the OFFSET and OFFSET pins The OFFSET strap can be used as a feedback element in a closed loop circuit Using the OFFSET strap in a current feedback loop can produce desirable results for measuring magnetic fields To do this connect the output of the bridge amplifier to a cu
169. tput voltages are provided to a dual operational amplifier and then to analog to digital converters ADC onboard a microcontroller uC integrated circuit The microcontroller integrated circuit periodically samples the amplified sensor voltages performs the offset corrections and computes the heading This microcontroller also performs the external serial data interface and other housekeeping functions such as the calibration routine The power supply for the HMR3100 circuit board is to be about a 3 to 5 volt range allowing the user to provide a single lithium battery to logic level supply voltages The power supply architecture is a single ground system for single ended supply sources and ground return Solid State Electronics Center www magneticsensors com 800 323 8295 Page 2 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS Note the North Arrow printed on the HMR3100 circuit board top side This is the mechanical reference for product alignment purposes When placed on the development kit s RS 232 motherboard assembly this arrow also points toward the 9 volt batterypin block on the motherboard away from the RJ 11 jack Pin Configuration Pin Number The HMR3100 board is 0 77 on each side with eight pins in groups of four spaced at 0 6 apart in wide DIP format
170. trumentation amplifier with a voltage gain of about 200 These instrumentation amplifier circuits take the voltage differences in the sensor bridges and amplify the signals for presentation at the micro controller Analog to Digital Converter ADC inputs denoted as AN1 AN2 and AN3 Because the zero magnetic field reference level is at 2 5 volts each instrumentation amplifier circuit receives a 2 5 volt reference voltage Vref from a resistor divider circuit composed of R12 and R13 For example a 500 milli gauss earth s field on bridge A of the HMC1052 will create a 2 5 milli volt difference voltage at the sensor bridge output pins 0 5 gauss multiplied by the 1 0mV V gauss sensitivity rating This 2 5mV then is multiplied by 200 for 0 5 volt offset that is referenced to the 2 5 volt Vref for a total of 3 0 volts at AN1 Likewise any positive and or negative magnetic field vectors from bridge B and the HMC1051Z bridge are converted to voltage representations at AN2 and AN3 The micro controller also receives the sensor inputs from the MXS3334UL accelerometer directly from Doutx and Douty into two digital inputs denoted as DIO and DI1 Optionally the MXS3334UL temperature output pin Tout can routed to another microcontroller ADC input for further temperature compensation of sensor inputs Power is supplied to the MXS3334UL from the 5 0 volt Vdd source directly to the accelerometer VDA pin and on to the VDD pin via a ten ohm resistor R10 for mode
171. uC with Multiplexed A D Conv Two axis accelerometer Three Axis Compass Solid State Electronics Center www magneticsensors com 800 323 8295 Page 6 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS Duty Cycling for Lower Energy Consumption For battery powered and other applications needing limited energy consumption the sensor bridge and support electronics can be switched off between magnetic field measurements The HMC1023 sensors are very low capacitance Bandwidth 5MHz sensor bridges and can stabilize quickly typically before the support electronics can Other energy saving ideas would be to minimize the quantity of set reset pulses which saves energy over the battery life Figure 3 shows a simple supply switching circuit that can be microprocessor controlled to duty cycle toggle the electronics in moderate current lt 25mA applications MMBT2907ALT 1 To Sensor Circuits Used when Vcc 5 0 volts jumper when using Vcc 3 3 volts or less MMBD7001LT1 Figure 3 Duty Cycling ORDERING INFORMATION HMC1023 Three Axis Magnetic Sensor HMC1023PCB Three Axis Magnetic Sensor 16 Pin DIP Demo The application circuits herein constitute typical usage and interface of Honeywell product Honeywell does not warrant or assume liab
172. uct or circuit described herein neither does it convey any license under its patent rights nor the rights of others Solid State Electronics Center 12001 State Highway 55 Plymouth MN 55441 1 800 323 8295 900204 Rev B 12 99 Honeywell Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS DIGITAL COMPASS SOLUTION Features e 5 Heading Accuracy 0 5 Resolution e 2 axis Capability e Small Size 19mm x 19mm x 4 5mm Light Weight e Advanced Hard Iron Calibration Routine for Stray Fields and Ferrous Objects 0 to 70 C Operating Temperature Range 2 6 to 5 volt DC Single Supply Operation General Description The Honeywell HMR3100 is a low cost two axis electronic compassing solution used to derive heading output Honeywell s magnetoresistive sensors are utilized to provide the reliability and accuracy of these small solid state compass designs The HMR3100 communicates through binary data and ASCII characters at four selectable baud rates of 2400 4800 9600 or 19200 This compass solution is easily integrated into systems using a simple USART interface uj 800 cCOLOMWH TISMASZNOH Bottom Side APPLICATIONS Vehicle Compassing Block Diagram Hand Held Electronics Telescope Positioning Navigation Systems Solid State Electronics Center w
173. us it may be necessary to enter several escape keys to stop the readings If the computer taking the readings can detect a carriage return code and send PINOUT DIAGRAMS FIGURE 6 J1 Pins 6 5 to 15VDC power 9 O Oj 10 nc connected to P1 pin6 7 O O 8 Rx hi RS 422 6 5 to 15VDC return 5 O 6 connected to P1 pin 2 Tx lo RS 422 or Lo RS 485 3 O 4 Chassis ground Rx lo RS 422 1 O 0 2 Tx hi RS 422 or Hi RS 485 J1 Pin Pin Assignment 1 Rx lo RS 422 2 Tx hi RS 422 or Hi B RS 485 3 Tx lo RS 422 or Lo A RS 485 4 Chassis ground 5 6 5 to 15VDC return 6 connected to P1 pin 2 7 connected to P1 pin 6 8 Rx hi RS 422 9 46 5 to 15VDC power 10 no connect the escape code immediately after it then a systematic stop reading will occur If an operator is trying to stop readings using the keyboard then several if not many escape key entries must be given since the RS 485 lines share the same wires for transmit and receive If an escape key is entered during the time data is sent from the HMR2300r then the two will produce an erroneous character that will not stop the data stream The data stream stop only when the escape key is pressed during the time the HMR2300r is not transmitting Z 1200 Z 120 RS 485 Balanced half duplex Figure 5 P1 Sockets for manufacturers use only 9 O O 10 for manufacturers use only nc 7 O O 8 for manufacturers use only 6 5 to 15VDC power 5 O
174. values will be automatically restored upon power up A command was not entered properly or 10 characters were typed after an asterisk and before a lt cr gt a O ff Parameters OK Characters Missing WE This error response indicates that this instruction requires Entry a write enable command immediately before it 1 All inputs must be followed by a cr carriage return or Enter key Either upper or lower case letters may be used The device ID dd is a decimal number between 00 and 99 Device ID 99 is a global address for all units 2 The symbol is a carriage return hex OD The _ sign is a space hex 20 The output response will be delayed from the end of the carriage return of the input string by 2 msec typ unless the command sent as a global device ID 99 Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR2300 Honeywell SENSOR PRODUCTS DATA FORMATS The HMR2300 transmits each X Y and Z axis as a 16 bit value The output data format can be either 16 bit signed binary sign plus 15 bits or a binary coded decimal BCD ASCII characters The command ddA will select the ASCII format and ddB will select the binary format The order of ouput for the binary format is Xhi Xlo Yhi Ylo
175. ww magneticsensors com 800 323 8295 Page 1 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMR3100 Honeywell SENSOR PRODUCTS SPECIFICATIONS Characteristics Conditions Typ Heading Accuracy ims 38 s C Reowon 08 de Repeatability d 3 deg Magnetic Field Range Maximum Magnetic Fux Density s2 os Reson e mls Electrical Input Voltage Unregulated volts DC Current Normal Mode Average 1Hz Sampling 0 1 0 2 0 5 mA Sleep Mode 1 uA Calibration 6 1 7 3 17 3 mA Digital Interface USART USART 9600 N 8 1 2400 9600 19200 ii eai 4 5 E Temperature Operating 0 70 C Storage 40 110 C Circuit Description The HMR3100 Digital Compass Solution circuit board includes the basic magnetic sensors and electronics to provide a digital indication of heading The HMR3100 has a Honeywell HMC1022 two axis magnetic sensor on board The HMR3100 allows users to derive compassing heading measurements when the board is in a reasonably horizontal flat position The HMR3100 circuit starts with the HMC1022 two axis magnetic sensors providing X and Y axis magnetic sensing of the earth s field These sensors are supplied power by a switching transistor to conserve power with battery operated products The sensor ou
176. xis perpendicular to the sensitive axis on the sensor die The HMC1023 set reset strap circuit has three straps one per sensor paralleled together for operation at low voltages The set reset strap connections have a nominal resistance of 3 0 ohms with a minimum required peak current of 1 5A for reset or set pulses With rare exception the set reset strap must be used to periodically condition the magnetic domains of the magneto resistive elements for best and reliable performance A set pulse is defined as a positive pulse current entering the S R strap connection The successful result would be the magnetic domains aligned in a forward easy axis direction so that the sensor bridge s polarity is a positive slope with positive fields on the sensitive axis result in positive voltages across the bridge output connections Solid State Electronics Center www magneticsensors com 800 323 8295 Page 5 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC1023 Honeywell SENSOR PRODUCTS A reset pulse is defined as a negative pulse current entering the S R strap connection The successful result would be the magnetic domains aligned in a reverse easy axis direction so that sensor bridge s polarity is a negative slope with positive fields on the sensitive axis result in negative voltages across the bridge output connections
177. y and are 10 bit 2s complement binary ADC counts of the analog voltages at pins CA1 and CB1 The leading 6 bits on the MSB are zero filled or complemented for negative values The zero count value will be about half of the supply voltage If measurement averaging is implemented the most significant bits may contain values of the summed readings Magnetometer Modes These X and Y magnetometer data readings are the raw magnetometer readings plus offset and scaling factors applied The data format is the same as the raw magnetometer data These compensated data values come from the calibration routine factors plus additional offset factors provided by the set reset routine Solid State Electronics Center www magneticsensors com 800 323 8295 Page 7 Courtesy of Steven Engineering Inc 230 Ryan Way South San Francisco CA 94080 6370 Main Office 650 588 9200 Outside Local Area 800 258 9200 www stevenengineering com HMC6352 Honeywell SENSOR PRODUCTS User Calibration The HMC6352 provides a user calibration routine with the C command permitting entry into the calibration mode and the E command to exit the calibration mode Once in calibration mode the user is requested to rotate the compass on a flat surface at least one full circular rotation while the HMC6352 collects several readings per second at various headings with the emphasis on rotation smoothness to gather uniformly spaced readings Optimally two rotations over 20 seconds du
Download Pdf Manuals
Related Search
Related Contents
IPG Commercial OV2 MFP Datasheet 4P Cincha para el hombro especializada BU100XS 取扱説明書 Sharp R-426L User's Manual Notice Pompe péristalt Microdos pH et Redox \(MP2SP Copyright © All rights reserved.
Failed to retrieve file