工业控制 | 能源技术 | 汽车电子 | 通信网络 | 安防监控 | 智能电网 | 移动手持 | 无线技术 | 家用电器 | 数字广播 | 消费电子 | 应用软件 | 其他方案

电路设计->基础电路图->其他基础电路图->A Fully Integrated, Robust Sol

A Fully Integrated, Robust Sol

作者:dolphin时间:2012-07-31

A Fully Integrated, Robust Solution for Interfacing with Hall-Effect Sensors

Maurizio Gavardoni

Abstract: This article provides an overview of Hall-effect sensors, particularly the use of two-wire, Hall-effect digital switches in automotive and industrial applications. It then details a method for adding diagnostic capabilities and robust protection to automotive and industrial applications using a fully integrated Hall-effect sensor interface. Test results for immunity to ground shifts are also provided.

Introduction

The Hall effect refers to the principle that when a magnetic field is applied perpendicularly to a current-carrying conductor, a difference in potential appears on opposite sides of the conductor through which the electric current is flowing. Based upon this principle, Hall-effect sensors detect changes in the magnet field and provide a proportional output voltage. They thus allow contactless sensing and, consequently, can be deployed in robust packages that protect against environmental elements.Because they provide increased reliability in harsh environments, Hall-effect sensors are used in a wide range of industrial and automotive applications from motor-speed control for window lifters and sunroofs to on-off switch detection for doors and key ignition.

Types of Hall Sensors

There are a variety of Hall-effect sensors available today such as three-wire and two-wire digital sensors, linear sensors, current sensors, and bipolar or unipolar digital switches. Two-wire sensors have two connections: one for the supply/output and the other for ground, as opposed to three-wire sensors that use an individual connection for the supply and the output.Two-wire, Hall-effect digital switches are commonly used in automotive and industrial applications in which noise immunity is an important consideration and in which the Hall sensor is remote from the associated electronics. This form of current-mode signaling is highly immune to noise and facilitates simple diagnostics, since a working Hall sensor will always draw some current.These sensors provide two distinct levels of current depending on whether the magnetic field is applied or not. While current levels vary depending on the sensor manufacturer, they typically range from 5mA to 8mA for low-level (no magnetic field) and 11mA to 14mA for high-level (presence of magnetic field) signals.

Hall-Effect Sensor Interface

The MAX9921 is the first fully integrated solution that interfaces two-wire, Hall-effect digital switches to a microcontroller. It features two independent channels, provides the current path for the two sensors, monitors their current levels, and generates one digital output per channel for the microcontroller through open-drain outputs. Figure 1 shows the block diagram and typical application circuit for the device.Figure 1. A block diagram and typical application circuit using the MAX9921 is shown.The MAX9921's two channels operate independently, allowing the device to provide diagnostics and fault protection on each input. In diagnostic mode, the diagnostic output is combined with the two individual channel outputs to provide basic diagnostics and monitor sensor status. Specifically, the diagnostic functions include: input open (no sensor is connected), input shorted to ground, input shorted to the battery supply voltage (VBAT), and VBAT is out of range. The diagnostics are capable of distinguishing which one of the two inputs is affected by any of the above conditions. The integration of a diagnostic output eliminates the need for performing this functionality in firmware and the expense of using an analog-to-digital converter (ADC) inside the microcontroller to measure the Hall current.

Ground-Shift Immunity Reduces Wiring

Although the MAX9921 targets applications that use two-wire Hall-effect sensors, the device can also be used as a single-wire interface to Hall sensors. Its high-side current-sensing topology makes it immune to shifts between the sensor ground and the ground of the MAX9921 and microcontroller. This ground-shift immunity eliminates the need for a ground-connection wire (the chassis-ground connection in automobiles, for example), thus allowing a single-wire interface to the Hall sensor.Figure 2 presents a circuit used for testing the MAX9921's immunity to ground shifts. Instead of a Hall-effect sensor, the circuit employs a programmable load, which functions as a current sink where the current can be programmed in several ranges, with a resolution of 0.1% of the selected full-scale value. A 10mA full-scale value was chosen for this experiment, with resolution down to 10µA. As Figure 3 demonstrates, the MAX9921 exhibits current thresholds with hysteresis just less than 1mA to ensure reliable operation in harsh or noisy environments.Figure 2. A circuit used for testing the MAX9921's immunity to ground shifts is shown.Figure 3. The MAX9921's current thresholds and hysteresis are shown.In the first experiment, the current flowing in the programmable load was set to 9.05mA, which is only 50µA below the threshold that would switch the MAX9921 output from low (~0V) to high (~5V with a pullup resistor connected to 5V). The ground of the programmable load was shifted up and down versus the MAX9921's ground with a DC voltage generator (V). As shown in Table 1, with VBAT = 12V, the MAX9921's threshold was immune to ground shifts up to ±8V!Table 1. Immunity to Ground Shifts with a 9.05mA Current Threshold
ISENSOR (mA)VGND (V)VIN (V)VOUT (V)
9.05-810.80
-4
-2
0
+2
+4
+810.9
Table 2. Immunity to Ground Shifts with an 8.2mA Current Threshold
ISENSOR (mA)VGND (V)VIN (V)VOUT (V)
8.25-810.85
-4
-2
0
+2
+4
+810.9

Conclusion

The MAX9921's ground-shift immunity, input protection, ability to withstand up to 60V, and diagnostic capabilities allow the MAX9921 to provide a fully integrated, compact, and robust solution for interfacing Hall-effect sensors to microcontrollers in harsh environments, such as those found in automotive and industrial applications.



评论

技术专区