A Hall sensor offset voltage correction system and correction method
Through the Hall sensor offset voltage correction system, the offset voltage demodulator, dual threshold comparator and digital logic module are used to generate the correction voltage, which solves the problem of signal saturation caused by the offset voltage of the integrated Hall sensor and realizes the Hall sensor Accurate sensing of magnetic field signals and reduces system complexity and cost.
Patent Information
- Application Number
- CN201810208650.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-03-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2038-03-14
AI Technical Summary
The integrated Hall sensor has an offset voltage during the manufacturing process, which causes signal saturation and cannot properly detect external magnetic field signals.
A Hall sensor offset voltage correction system is designed, including an offset voltage demodulator, a dual-threshold comparator, a digital logic module and an offset voltage correction module. By comparing the amplified output voltage with the threshold voltage, a correction code is generated and the correction is output. voltage, correcting the offset voltage to ensure that the Hall sensor can accurately sense the magnetic field signal.
It effectively eliminates the impact of the offset voltage on the Hall sensor signal, allowing it to accurately sense magnetic field signals, and by reasonably setting the threshold voltage to keep the correction code constant, reducing system complexity and cost.
Smart Images

Figure CN108322213B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of Hall sensor correction, in particular to a Hall sensor offset voltage correction system and correction method. Background Art
[0002] As one of the three major modern technologies, sensing technology has been rapidly applied and developed in recent years.
[0003] The Hall sensor is a magnetic sensor based on the Hall effect. Since the discovery of the Hall effect, Hall sensors based on it have been increasingly used in the industrial field.
[0004] Integrated Hall sensors have the advantages of high reliability, low cost, and low power consumption, and can realize functions such as speed detection, linear position detection, rotation counting, and current detection.
[0005] In the integrated Hall sensor, due to the deviation in the manufacturing process, the integrated Hall has a certain offset voltage. The offset voltage and the signal of the Hall sensor are amplified by the subsequent amplifier circuit, which will cause signal saturation and fail to detect the external magnetic field signal normally. Summary of the invention
[0006] In order to solve the problem that the offset voltage of the Hall sensor cannot accurately sense the magnetic field signal to be measured, the present invention provides a Hall sensor offset voltage correction system and correction method, which can effectively correct the offset voltage of the Hall sensor so that the Hall sensor can accurately sense the magnetic field signal to be measured.
[0007] The technical solution is as follows: a Hall sensor offset voltage correction system, which includes a Hall sensor, one end of the Hall sensor is connected to a clock generator through a bias module, and the other end of the Hall sensor is connected to the input end of an amplifier, characterized in that it also includes:
[0008] An offset voltage demodulator, connected to the output end of the amplifier, and used for receiving the amplified output voltage Vh of the Hall sensor;
[0009] A dual-threshold comparator is used to receive the output voltage VOD of the offset voltage demodulator and compare it with the threshold voltages VTHH and VTHL, and the output voltage VOD retains the offset voltage signal of the Hall sensor;
[0010] A digital logic module, used for receiving the digital logic value output by the dual threshold comparator and outputting an offset voltage correction code;
[0011] The offset voltage correction module is used to receive the offset voltage correction code output by the digital logic module and output a correction voltage to the amplifier to correct the offset voltage. If the offset voltage is too large in the positive direction, a negative correction voltage is output to compensate for the offset voltage. If the offset voltage is too large in the negative direction, a positive correction voltage is output to compensate for the offset voltage. If the offset voltage is within a normal range, a constant correction voltage is output to maintain the offset voltage constant.
[0012] A method for correcting an offset voltage of a Hall sensor, characterized in that it comprises the following steps:
[0013] (1) The output voltage Vh of the Hall sensor is amplified by the amplifier and then sent to the offset voltage demodulator;
[0014] (2) The offset voltage demodulator outputs the voltage VOD, and the output voltage VOD retains the offset voltage signal of the Hall sensor;
[0015] (3) The output voltage VOD is input to the dual threshold comparator and compared with the threshold voltages VTHH and VTHL, and the digital logic values VOH and VOL are output;
[0016] (4) The digital logic module receives the digital logic values VOH and VOL for processing and outputs the offset voltage correction code to the offset voltage correction module;
[0017] (5) The offset voltage correction module outputs a correction voltage to the amplifier to correct the offset voltage. If the offset voltage is too positive, a negative correction voltage is output to compensate for the offset voltage. If the offset voltage is too negative, a positive correction voltage is output to compensate for the offset voltage. If the offset voltage is within the normal range, a constant correction voltage is generated to maintain the offset voltage constant.
[0018] It is further characterized in that the comparison relationship between the output voltage VOD and the threshold voltages VTHH and VTHL in step (3) is as follows: if VOD>VTHH, VOH=1, VOL=1;
[0019] If VTHH >VOD>VTHL, VOH=0, VOL=1;
[0020] If VOD <VTHL,VOH=0,VOL=0;
[0021] In step (5), if VOH=1, VOL=1, it indicates that the offset voltage is biased in the positive direction;
[0022] If VOH=0, VOL=0, it means that the offset voltage is too negative;
[0023] If VOH=0, VOL=1, it indicates that the offset voltage is within the normal range;
[0024] In step (3), the values of the threshold voltages VTHH and VTHL are adjusted so that VTHH>VOD>VTHL, ensuring that the offset voltage correction code remains constant.
[0025] After adopting the system and method of the present invention, the offset voltage of the Hall sensor can be easily corrected by setting an offset voltage demodulator, a dual threshold comparator, a digital logic module and an offset voltage correction module, thereby eliminating the influence of the offset voltage, so that the Hall sensor accurately senses the magnetic field signal to be measured; further, by reasonably setting the values of the threshold voltages VTHH and VTHL, the offset voltage correction code is kept constant, thereby eliminating the influence of the change of the offset voltage correction code on the magnetic induction signal of the Hall sensor. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 Schematic diagram of the system of the present invention. DETAILED DESCRIPTION
[0027] See Figure 1 As shown, a Hall sensor offset voltage correction system includes a Hall sensor, one end of the Hall sensor is connected to a clock generator through a bias module, and the other end of the Hall sensor is connected to an input end of an amplifier, characterized in that it also includes:
[0028] An offset voltage demodulator, connected to the output end of the amplifier, and used for receiving the amplified output voltage Vh of the Hall sensor;
[0029] A dual-threshold comparator is used to receive the output voltage VOD of the offset voltage demodulator and compare it with the threshold voltages VTHH and VTHL, and the output voltage VOD retains the offset voltage signal of the Hall sensor;
[0030] A digital logic module, used for receiving a digital logic value output by the dual-threshold comparator and outputting an offset voltage correction code;
[0031] The offset voltage correction module is used to receive the offset voltage correction code output by the digital logic module and output the correction voltage to the amplifier to correct the offset voltage. If the offset voltage is too large in the positive direction, a negative correction voltage is output to compensate for the offset voltage. If the offset voltage is too large in the negative direction, a positive correction voltage is output to compensate for the offset voltage. If the offset voltage is within the normal range, a constant correction voltage is output to maintain the offset voltage constant.
[0032] A method for correcting an offset voltage of a Hall sensor comprises the following steps:
[0033] (1) The output voltage Vh of the Hall sensor is amplified by an amplifier and sent to the offset voltage demodulator, where Vh = ±VE + VOS, VE represents the magnetic field signal voltage of the Hall sensor, and VOS represents the offset voltage of the Hall sensor;
[0034] (2) The offset voltage demodulator outputs the voltage VOD. The output voltage VOD retains the offset voltage signal of the Hall sensor, where VOD=G*VOS, where G is the gain of the amplifier.
[0035] (3) The output voltage VOD is input to the dual threshold comparator and compared with the threshold voltages VTHH and VTHL, where VTHH = -VTHL, and the digital logic values VOH and VOL are output. If VOD>VTHH, VOH=1, VOL=1; if VTHH>VOD>VTHL, VOH=0, VOL=1; if VOD <VTHL,VOH=0,VOL=0;
[0036] (4) The digital logic module receives the digital logic values VOH and VOL for processing and outputs the offset voltage correction code to the offset voltage correction module;
[0037] (5) The offset voltage correction module outputs a correction voltage to the amplifier to correct the offset voltage. If VOH=1, VOL=1, it indicates that the offset voltage is too positive, and a negative correction voltage is output to compensate for the offset voltage. If VOH=0, VOL=0, it indicates that the offset voltage is too negative, and a positive correction voltage is output to compensate for the offset voltage. If VOH=0, VOL=1, it indicates that the offset voltage is within the normal range, and a constant correction voltage is generated to maintain the offset voltage constant.
[0038] Reasonable adjustment of the threshold voltages VTHH and VTHL so that VTHH>VOD>VTHL can ensure that the offset voltage correction code remains constant, thereby eliminating the influence of the change of the offset voltage correction code on the magnetic induction signal of the Hall sensor.
[0039] Furthermore, the present invention has fewer circuit modules and a simple structure, which can save a lot of chip area and reduce costs.
Claims
1. A method for correcting offset voltage of a Hall sensor, characterized in that: It includes a Hall sensor. One end of the Hall sensor is connected to a clock generator through a bias module, and the other end of the Hall sensor is connected to the input end of an amplifier; An offset voltage demodulator, connected to the output end of the amplifier, is used to receive the output voltage Vh of the amplified Hall sensor; A dual-threshold comparator, used to receive the output voltage VOD of the offset voltage demodulator and compare it with the threshold voltages VTHH and VTHL. The output voltage VOD retains the offset voltage signal of the Hall sensor; A digital logic module, used to receive the digital logic value output by the dual-threshold comparator and output an offset voltage correction code; An offset voltage correction module, used to receive the offset voltage correction code output by the digital logic module and output a correction voltage to the amplifier to correct the offset voltage. If the offset voltage is positively偏大, a negative correction voltage is output to compensate for the offset voltage. If the offset voltage is negatively偏大, a positive correction voltage is output to compensate for the offset voltage. If the offset voltage is within the normal range, a constant correction voltage is output to maintain the offset voltage constant; The offset voltage correction method includes the following steps: (1) Send the output voltage Vh of the Hall sensor to the offset voltage demodulator after amplification by the amplifier; (2) The offset voltage demodulator outputs the voltage VOD, and the output voltage VOD retains the offset voltage signal of the Hall sensor; (3) Input the output voltage VOD into the dual-threshold comparator and compare it with the threshold voltages VTHH and VTHL to output the digital logic values VOH and VOL. The comparison relationship between the output voltage VOD and the threshold voltages VTHH and VTHL is as follows: If VOD > VTHH, VOH = 1, VOL = 1; If VTHH > VOD > VTHL, VOH = 0, VOL = 1; If VOD < VTHL, VOH = 0, VOL = 0; Adjust the values of the threshold voltages VTHH and VTHL so that VTHH > VOD > VTHL to ensure that the offset voltage correction code remains constant (4) The digital logic module receives the digital logic values VOH and VOL for processing and outputs an offset voltage correction code to the offset voltage correction module; (5) The offset voltage correction module outputs a correction voltage to the amplifier to correct the offset voltage. If the offset voltage is positively偏大, a negative correction voltage is output to compensate for the offset voltage. If the offset voltage is negatively偏大, a positive correction voltage is output to compensate for the offset voltage. If the offset voltage is within the normal range, a constant correction voltage is generated to maintain the offset voltage constant. Specifically, if VOH = 1, VOL = 1, it indicates that the offset voltage is positively偏大; If VOH = 0, VOL = 0, it indicates that the offset voltage is negatively偏大; If VOH = 0, VOL = 1, it indicates that the offset voltage is within the normal range.
