HMR4007
SENSOR PRODUCTS
LINEAR POSITION SENSOR MODULE
Features
x 0-69 mm Magnetic Travel (Magnet Dependent)
x Microprocessor Digital and Analog Data Outputs
x 0.1mm Accuracy (Magnet Dependent)
x 0.1mm Repeatability
x -40° to +85°C Operating Temperature Range
x Regulated 5 volt or unregulated 6 to 20 volt DC
Supply Compatibility
General Description
The Honeywell HMR4007 is a high-resolution electronic
linear position-sensing module capable of measuring
extended range linear position by providing a digital
indication of position of a target magnet. Advantages
include insensitivity to shock and vibration, known
position at power-on, ability to withstand large
variations in the gap between the sensor and the
magnet, and high sensitivity so lower cost magnets
(such as AlNiCo or Ceramic) can be used.
The HMR4007 is manufactured with Honeywell's
HMC1501 magnetoresistive (MR) sensors in a
stationary array, which provides better performance
than Hall Effect devices and only needs a magnetic
field source greater than 80 gauss.
APPLICATIONS
Block Diagram
IN_AMP
HMC1501
HMC1501
HMC1501
HMC1501
HMC1501
HMC1501
HMC1501
MUX
ADC
Micro-
Controller
DIO
DAC
ANALOG
EEPROM
J1
J2
IN_AMP
HMC1501HMC1501
HMC1501HMC1501
HMC1501HMC1501
HMC1501HMC1501
HMC1501HMC1501
HMC1501HMC1501
HMC1501HMC1501
MUX
ADC
Micro-
Controller
DIO
DAC
ANALOG
EEPROM
J1
J2
x Linear Displacement
x Shaft Position
x Potentiometer Replacement
x Fluidic Pumps
Solid State Electronics Center www.magneticsensors.com (800) 323-8295 Page 1
HMR4007
SENSOR PRODUCTS
SPECIFICATIONS
Characteristics Conditions
Min Typ Max Units
General
Accuracy 0.2 0.1 mm
Resolution 0.01 mm
Hysteresis 0.01 mm
Repeatability 0.01 0.1 mm
Update Rate 10 30 Hz
Standoff Distance (gap) between the target
magnet and the sensor board
0.1 5 (note 1) mm
Magnetic Field
Range magnetic field at the sensor array 35 50 (note 1) gauss
length apparent magnet length at sensor array 23 mm
Orientation Axial = mag poles parallel to sensor array Axial (note 2)
Electrical
Input Voltage Unregulated 5 10 28 VDC
Current 15 20 mA
Digital Interface
Baud Rate nonstandard synchronous serial interface 1000 21,000 Bits / sec.
Signaling Level TTL levels ( “1” )
( “0” )
3.5
-0.3
5.0
1.5
VDC
VDC
Connector In-Line 6-Pin Block (0.1” spacing)
Analog Interface
Analog Output D/A output 0 2.5 VDC
Update Rate 10 30 Hz
Signaling Level TTL levels ( “1” )
( “0” )
3.5
-0.3
5.0
1.5
VDC
VDC
Connector In-Line 4-Pin Block (0.1” spacing)
Physical
Dimensions Circuit Board Assembly
(including connectors)
40.0 x 80.0 x
12.0
mm
Weight HMR4007 16.5 grams
Environment
Temperature Operating
Storage
-40
-55
-
-
+70
+125
°C
Note 1: A magnet of sufficient strength must be used to maintain a magnetic field strength of 35 gauss (min.) at the sensor array
and an apparent magnet length of 23 mm.
Note 2: Sensor boards are factory calibrated in the axial mode using a 27mm length cylindrical magnet. Operation in the radial
mode must be digitally reconfigured by the user.
Solid State Electronics Center www.magneticsensors.com (800) 323-8295 Page 2
HMR4007
SENSOR PRODUCTS
PIN CONFIGURATION
Pin Number Pin Name Description
Digital Interface
1 RTS Serial Clock Output
2 Data_Out Serial Data Output
3 Data_In Serial Data Input
4 CTS Serial Clock Input
5 Power Unregulated Power Input (+6 to +28 VDC) (see note 1)
6 GND Power and Signal Ground
Analog Interface
1 Power Unregulated Power Input (+6 to +28 VDC) (see note 1)
2 Analog Out 0 - 2.5 VDC analog output
3 Position Valid TTL level (0 = position invalid, 1 = position valid)
4 GND Power and Signal Ground
Jumper Block #1
2-5 Note 1 Analog Output port selected as power source
3-6 Note 1 Serial Communications port selected as power source
Note 1: The board contains three interface connectors for digital and/or analog communications. Power is supplied to the board
through any one of these connectors and is selected by jumper block #1. Only ONE of the three positions on JP1
should be shorted at a time. Shorting more than one may result in excessive power supply currents and board damage.
CIRCUIT DESCRIPTION
The HMR4007 Linear Position Sensor circuit board includes all of the basic sensors and electronics to provide a
digital indication of position of a target magnet. The HMR4007 starts with an array of seven Honeywell HMC1501
single axis magnetoresistive (MR) sensors to determine the field geometry and direction of a target magnet attached
to the moving part of a device under test. These sensors are supplied power by a constant voltage source, and the
use of an array of sensors helps to maintain accuracy over temperature and run-out. The sensor outputs are routed
to a multiplexed Analog to Digital Converter (ADC) integrated circuit. A microcontroller integrated circuit periodically
queries the multiplexed ADC and performs sensor offset and gain corrections and computes the position of the target
magnet as a function of the distance of travel along the long axis of the sensor board. The position data, along with
an error bit, is available thought the serial interface or is present on the Digital to Analog Converter (DAC) output port.
The serial interface is not needed in order to use the board’s stand-alone analog output. The microcontroller
also performs the external serial data interface and other housekeeping functions. An onboard EEPROM integrated
circuit is employed as a nonvolatile storage to retain necessary data and configuration variables for best performance.
The HMR4007 uses an on-board low drop out (LDO) +5 volt regulator so that a regulated +5 volt power supply or an
unregulated power supply in the range of +6VDC to +28VDC can be used. The power is supplied to the board
through one of the three user ports being (serial, analog, or USB) and a jumper is used to select which port is the
power source. Only one jumper should be in place at any one time as the board does not have over current
protection and use of more than one jumper can result in excessive power supply currents and board damage.
PHYSICAL CHARACTERISTICS
The circuit board for the HMR4007 Linear Position Sensor is approximately 340mm by 80mm. A 6-pin right angle
connector (J1) and two 4-pin connectors (J2, J3) protrude from the back of the board for user connections.
Components on the top-side have a maximum height of 12mm. Figure 1 shows a typical circuit board with
dimensions.
Solid State Electronics Center www.magneticsensors.com (800) 323-8295 Page 3
HMR4007
SENSOR PRODUCTS
Parts Placement
45 6
12 3
4 5 6
1 2 3
6 5 4 3 2 14 3 2 1
PC (parallel port) Sensor Board
LPT bit LPT pin J1 pin uP bit function color
S3 15 <1RA3Tx_CLK(gray)
S4 13 <2 RA2 Tx (y e llo w )
D1 3 >3RA1 Rx(blue)
D0 2 >4RA0Rx_CLK(white)
--
<> 5Vcc+5-28 VDC(red)
-19
<> 6 GND power gnd (black)
Sx = status (LPT port base address + 1, Bit x)
Dx = da ta
(
LPT
p
ort base address + 0
,
Bit x
)
Sensor Board
J2 pin uP pin function
1 Vcc power input (5-28VDC)
2 RA4 status (TTL output) Lo
g
ic 0 = o u t
p
ut not valid
Logic 1 = output valid
3 D/A Output analo
g
out
p
ut
(
0 - 2.25V
)
4 GND power ground
xx
Not used
leave all OPEN
4-40NF mounting holes
(connected to ground plane)
USB port
not used
Sensed axis
x
xxx
1
2
3
JP1
Wher e 1 = J3 ( USB)
2 = J2 (Analog output)
3 = J1 (digital communications) - shown above
Figure 1 – Sensor board layout and connector pin designations
Mating Parts
Connectors J1, J2, and J3 mate with GC/Waldom C-Grid crimp-style shells and terminals. Polarized shells (with a
locking tab) or unpolarized shells are available. The applicable GC/Waldom part numbers are:
Connector pins Polarized shell Unpolarized shell Crimp terminals
J1 6 50-57-9406 50-57-9006 16-02-0097
J2 4 50-57-9404 50-57-9004 16-02-0097
J3 4 50-57-9404 50-57-9004 16-02-0097
Ordering Information
Ordering Number Product
HMR4007 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.
900289 01-03 Rev. A
Solid State Electronics Center www.magneticsensors.com (800) 323-8295 Page 4