System for continuous calibration of hall sensors
By using a Hall channel design with opposite drift compensation coils and a calibration current generator, continuous calibration of the Hall sensor was achieved, solving the problem of unstable Hall sensor sensitivity and improving measurement accuracy and system reliability.
Patent Information
- Application Number
- CN202080036275.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-09-20
- Filing Date
- 2020-06-12
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2040-06-12
AI Technical Summary
The sensitivity of Hall sensors is easily affected by factors such as process changes, temperature, packaging stress, bias current and device life, resulting in unstable measurement accuracy. Furthermore, closed-loop calibration systems cannot achieve continuous calibration without affecting the main signal.
Continuous calibration is performed using two Hall channels with opposite drift compensation coils. By linearly combining and orthogonally designing the calibration signal with the main signal, it is ensured that the calibration signal does not interfere with the main signal. Real-time adjustments are made through a calibration current generator and a bias current generator to achieve precise control of the Hall sensor's sensitivity and bias current.
It enables precise calibration of Hall sensors under varying operating conditions, reduces errors, improves measurement accuracy, and ensures the integrity of the main signal without affecting safety in applications such as emergency shutdown systems.
Smart Images

Figure CN113826022B_ABST
Abstract
Description
Background Technology
[0001] Hall effect magnetic field sensors (also known as Hall sensors) are solid-state magnetic sensor devices that can be used to measure magnetic fields or indirectly measure currents, such as very large currents of about tens of amperes (Amp), through a magnetic field generated by an electric current. Applications of Hall sensors typically require high-precision measurements; however, the sensitivity of Hall sensors is known to vary and drift with changes in process technology, temperature, packaging stress, bias current, device lifespan, etc. Furthermore, the relatively low signal level of Hall sensors makes them sensitive to their own thermal noise and noise from other components on the semiconductor die containing the Hall sensor.
[0002] A closed-loop calibration system applies a known magnetic field to the Hall sensor, for example, by passing a known temperature-insensitive current through a drift compensation coil or other suitable trace near the sensor, and adjusts the Hall sensor's sensitivity based on the difference between the measured sensor output and the expected sensor output. However, calibration can only be performed when the Hall sensor is not in use, because the calibration signal can interfere with the main signal representing the magnetic field, thus requiring infrequent or periodic calibrations that would disrupt the main signal.
[0003] The magnetic field to be measured, or the magnetic field to be measured by a current, can affect the operating conditions of a Hall sensor, making periodic calibration without current or magnetic field measurement inaccurate in describing the sensor's operating conditions. For example, a 10-ampere current can cause its trace to heat up, increasing the Hall sensor's temperature and altering its sensitivity. Furthermore, in applications such as emergency shutdown systems, interruptions in the main signal may be unacceptable, where the Hall sensor indirectly measures very large currents and triggers an emergency shutdown in response to current increases exceeding acceptable safety limits.
[0004] Some closed-loop calibration systems use a secondary Hall sensor for continuous calibration, transmitting the calibration signal via a secondary Hall sensor. The secondary channel does not affect the primary signal and allows for near real-time response to changes in the Hall sensor's environmental and operating conditions. However, mismatches between the primary and secondary Hall sensors and their corresponding channels can introduce calibration errors, thus diminishing the advantages of continuous calibration via the secondary Hall sensor. Summary of the Invention
[0005] In one example, a system includes a calibration current generator and a bias current generator. The calibration current generator provides a calibration current to a first Hall channel and a second Hall channel. The bias current generator obtains calibration signals from the first and second Hall channels and determines the difference between the calibration signals and a threshold. The bias current generator adjusts the bias current of the first and second Hall channels based on the difference.
[0006] In some instances, the calibration current generator includes a voltage source, a current generator coupled to the voltage source, and a chopper circuit. The voltage source provides a reference voltage to the current generator, which generates the calibration current and provides it to the chopper circuit. The chopper circuit provides the calibration current to the first and second Hall channels via a first current path or a second current path. The voltage source may be a bandgap voltage reference circuit, and the current generator may be a resistor. The calibration current generator may include fine-tuning circuitry for fine-tuning the calibration current.
[0007] In some instances, the bias current generator includes a subtractor circuit, an analog-to-digital converter (ADC) coupled to the subtractor circuit, a controller coupled to the ADC, and a digital-to-analog converter (DAC) coupled to the controller. The subtractor circuit obtains a first signal from a first Hall channel and a second signal from a second Hall channel, and subtracts the first signal from the second signal to obtain the calibration signal. The ADC samples the analog calibration signal to obtain a sampled digital calibration signal. The ADC may integrate the calibration signal over a period of time to obtain the sampled signal. When the current generator in the calibration current generator includes a resistor, a reference voltage for the ADC can be obtained across the resistor.
[0008] The controller determines the difference between the sampled signal and the threshold. The controller may average the sampled signal with multiple previous sampled signals to obtain an average signal and determine the difference between the average signal and the threshold. The controller determines an adjustment to the bias current based on the difference and generates a control signal based on the determined adjustment. When the calibration current generator includes a chopper circuit, the controller may provide a clock signal to the chopper circuit, and the chopper circuit alternates between the first current path and the second current path based on the clock signal. The DAC adjusts the bias current according to the control signal.
[0009] In some instances, the bias current generator includes a subtractor circuit, a differential amplifier coupled to the subtractor circuit, a filter coupled to the differential amplifier, and a current generator coupled to the filter. The subtractor circuit receives a first signal from a first Hall channel and a second signal from a second Hall channel, and subtracts the first signal from the second signal to obtain the calibration signal. The differential amplifier receives the calibration signal at its positive input and the threshold at its negative input, and outputs the difference between the calibration signal and the threshold. The current generator adjusts the bias current based on the filtered difference.
[0010] In some instances, the system includes first and second Hall channels coupled to a first amplifier and a second amplifier, respectively. The first Hall channel includes a first Hall device having a first drift compensation coil with a first winding direction on top of a first Hall sensor. The second Hall channel has a second drift compensation coil with a second winding direction on top of a second Hall sensor. The second winding direction is opposite to the first winding direction. The first and second Hall devices are matched. The gain of the first Hall channel and the gain of the second Hall channel are substantially equal, and the gain of the first amplifier and the gain of the second amplifier are substantially equal. The first and second Hall channels are oriented such that they respond to magnetic fields in substantially the same way. Attached Figure Description
[0011] For a detailed description of each example, please refer to the accompanying drawings, in which:
[0012] Figure 1 This section describes an example of a magnetic sensor system arranged above a current-carrying conductor.
[0013] Figure 2 A block diagram illustrates an example of a closed-loop calibration magnetic sensor system.
[0014] Figure 3 This section uses a block diagram to illustrate an example of a calibration system in a closed-loop calibration magnetic sensor system: a calibration current generator.
[0015] Figure 4 This paper illustrates an example of a bias current generator in a closed-loop calibration magnetic sensor system using a block diagram.
[0016] Figure 5 An example calibration system for closed-loop calibration of a magnetic sensor system is illustrated in block diagram form. The calibration system comprises a system based on… Figure 3 The calibration current generator shown and Figure 4 The calibration current generator of the bias current generator shown.
[0017] Figure 6 This paper illustrates an example of a calibration system in a closed-loop calibration magnetic sensor system, using a simulated bias current generator as a block diagram.
[0018] Figure 7 This illustrates another example of a closed-loop calibration magnetic sensor system arranged in a straight line with the current conductor. Detailed Implementation
[0019] The described calibration system uses two Hall channels with opposite drift compensation coil windings to perform continuous calibration of an associated Hall sensor, such that the calibration signal from one Hall channel experiences a different polarity than the calibration signal from the other Hall channel. This different polarity allows the calibration signal to be linearly combined with the main signal, while remaining orthogonal to the main signal and not interfering with it. Therefore, the described calibration system can continuously calibrate the Hall sensor, taking into account variations in environmental and operating conditions attributable to the magnetic field to be measured and the current generating the magnetic field. The combined signal, containing both the calibration signal and the main signal, is provided to and modified by the same component, such that any errors introduced by the main signal path are reflected in both the calibration signal and the main signal.
[0020] The first and second Hall channels are arranged such that they experience substantially the same magnetic field, have substantially matched Hall sensor devices, and have substantially the same gain. The amplifiers coupled to the first and second Hall channels also have substantially the same gain, making it easy to remove the calibration signal from the main signal for signal processing and easy to isolate the calibration signal for comparison with the expected value of the calibration signal.
[0021] The calibration current generator for the drift compensation coils in the first and second Hall channels includes a voltage source, a current generator, and a chopper circuit. A voltage source for a bandgap voltage reference circuit is coupled to the current generator to generate a reference voltage. The current generator includes resistors and outputs calibration currents for the first and second Hall channels. The chopper circuit averages any mismatch between the first and second Hall channels and the amplifiers coupled to them by chopping the calibration current.
[0022] An example bias current generator in a calibration system includes a subtractor circuit, an analog-to-digital converter (ADC) coupled to the subtractor circuit, a controller coupled to the ADC, and a digital-to-analog converter (DAC) coupled to the controller. The subtractor circuit subtracts the output signal from the first amplifier from the output signal from the second amplifier to isolate the calibration signal. The ADC samples the calibration signal and, in some embodiments, integrates the calibration signal over a period of time to produce a sampled calibration signal. The controller compares the sampled calibration signal with a threshold representing a desired value of the calibration signal and determines an adjustment to the bias current based on the comparison. In some instances, the controller averages the sampled calibration signal with several previously sampled calibration signal values, thereby effectively filtering the calibration signal. The DAC adjusts or maintains the bias current based on the adjustment from the controller.
[0023] Another example of a bias current generator includes a subtractor circuit coupled to the positive input of a differential amplifier, the differential amplifier, a filter, and a current generator. The negative input of the differential amplifier receives a threshold representing the desired value of the calibration signal. The differential amplifier outputs the difference between the actual value and the desired value of the calibration signal; this difference is filtered and then provided to the current generator. The current generator adjusts or maintains the bias current based on the filtered difference.
[0024] Figure 1 This describes an example arrangement of a semiconductor die 100 containing a magnetic sensor system above a current conductor 150. The semiconductor die 100 is placed on top of the horseshoe-shaped current conductor 150 and is arranged such that the Hall sensors in the magnetic sensor system are centered inside the horseshoe-shaped current conductor 150, thereby ensuring that each Hall sensor experiences substantially the same magnetic field generated by the current passing through the current conductor 150.
[0025] Figure 2 An example closed-loop calibration magnetic sensor system 200 is illustrated in block diagram form, comprising a set of Hall sensors 210, a set of low-noise amplifiers 230, a signal processor 250, and a calibration system 260. The set of Hall sensors 210 includes four Hall sensor devices 202, 204, 206, and 208 arranged in a quadruple configuration, each Hall sensor device including a drift compensation coil placed on top of the Hall sensor. The set of Hall sensor devices 210 is positioned within the magnetic sensor system 200 such that the response of each Hall sensor device 202 to 208 to the magnetic field to be measured is substantially equal, for example, in... Figure 1 The horseshoe-shaped current conductor 150 is shown above and centered on the inside of the horseshoe-shaped current conductor 150.
[0026] Channel 214 includes Hall sensor devices 202 from the upper left quadrant and 208 from the lower right quadrant, coupled in parallel. Channel 218 includes Hall sensor devices 206 from the upper right quadrant and 204 from the lower left quadrant, coupled in parallel. The drift compensation coils in channels 214 and 218 are wound in opposite directions. For example, channel 214 includes a Hall sensor device with clockwise windings, while channel 218 includes a Hall sensor device with counterclockwise windings. The calibration current applied to the drift compensation coils in Hall sensor devices 202 to 208 generates a calibration magnetic field as a calibration signal Vcal, measured by the group of Hall sensor devices.
[0027] In this example, each channel 214 and 218 contains two Hall sensor devices, but in other embodiments, a channel may contain a single Hall sensor device, or any suitable number of Hall sensor devices. The arrangement of the Hall sensor devices in the group of Hall sensor devices 210 and within each channel 214 and 218 reduces offset during sensor rotation and improves matching between Hall sensors, as will be further described herein with reference to the operation of the magnetic sensor system 200.
[0028] Channel 214 outputs signal 224 to amplifier 234 in the group amplifier 230, and amplifier 234 outputs amplified signal 244. Channel 218 outputs signal 228 to amplifier 238 in the group amplifier 230, and amplifier 238 outputs amplified signal 248. Signal processor 250 receives the amplified signals 244 and 248 corresponding to channels 214 and 218, respectively, and removes the calibration signal Vcal to obtain the measured main signal Vp, which represents the signal from the group Hall sensor 210 attributed to the magnetic field generated by the current through the current conductor.
[0029] The calibration system 260 includes a bias current generator 270 and a calibration current generator 280. The bias current generator 270 receives amplifier signals 244 and 248, isolates the calibration signal Vcal, and generates an appropriate bias current 275 to maintain or adjust the sensitivity of the group of Hall sensors 210. The calibration current generator 280 generates a temperature-insensitive calibration current and provides it to the group of Hall sensors 210 via traces 284 and 288. A first current path for the calibration current begins at trace 284 and ends at trace 288, and a second current path for the calibration current begins at trace 288 and ends at trace 284. The calibration current is applied to drift compensation coils in the Hall sensor devices 202 to 208, causing the Hall sensors to measure the calibration signal Vcal and the measured main signal Vp. The calibration signal Vcal and the measured main signal Vp are linearly combined.
[0030] As previously described with reference to channels 214 and 218 herein, the drift compensation coil in channel 214 is wound in the opposite direction to the drift compensation coil in channel 218, such that the calibration signal Vcal from one channel is added to the measured main signal Vp, and the calibration signal Vcal from the other channel is subtracted from the measured main signal Vp. For example, signal 224 output from channel 214 is represented as:
[0031] Signal 224=(Vp-Vcal)(GainH(214))
[0032] Where GainH(214) represents the gain of Hall sensor devices 202 and 208 in channel 214. The signal 228 output from channel 218 is expressed as:
[0033] Signal 228=(Vp+Vcal)(GainH(218))
[0034] GainH(218) represents the gain of Hall sensor devices 204 and 206 in channel 218.
[0035] The signal 244 output from amplifier 234 in response to signal 224 from channel 214 is expressed as:
[0036] Signal 244=(Signal 224)(GainA(234))
[0037] Signal 244=(Vp-Vcal)(GainH(214))(GainA(234))
[0038] Signal 244=(Vp-Vcal)(GainT(214))
[0039] Where GainA(234) represents the gain of amplifier 234, and GainT(214) represents the total gain of channel 214. The signal 248 output from amplifier 238 in response to signal 228 from channel 218 is expressed as:
[0040] Signal 248=(Signal 228)(GainA(238))
[0041] Signal 248=(Vp+Vcal)(GainH(218))(GainA(238))
[0042] Signal 248=(Vp+Vcal)(GainT(218))
[0043] GainA(238) represents the gain of amplifier 238, while GainT(218) represents the total gain of channel 218.
[0044] Because the measured main signal Vp and the calibration signal Vcal pass through the same set of Hall sensor devices 210 and the same set of amplifiers 230, both suffer from the same drift and fluctuations attributable to environmental and operating conditions. This allows the calibration system 260 to more accurately adjust the sensitivity and bias current of the set of Hall sensor devices 210. The Hall sensor devices 202 to 208 and the set of amplifiers 230 are selected to be substantially matched such that GainH(214) and GainH(218) are substantially equal, and GainA(234) and GainA(238) are substantially equal. Therefore, GainT(214) and GainT(218) are substantially equal, resulting in the measured main signal Vp in each of signals 244 and 248 being substantially the same and in phase.
[0045] Signal processor 250 removes the calibration signal Vcal from signals 244 and 248 by adding signals 244 and 248 to generate the main signal 255, which is represented as follows:
[0046] Signal 255=Signal 244+Signal 248
[0047] Signal 255=(Vp-Vcal)(GainT(214))+(Vp+Vcal)(GainT(218))
[0048] Signal 255=Vp(GainT(214)+GainT(218))+Vcal(GainT(218)-GainT(214))
[0049] This indicates that the measured main signal Vp is a common-mode signal, while the calibration signal Vcal is a differential signal. This ensures that Vp and Vcal are orthogonal signals and do not interfere with each other. Since the group Hall sensor 210 and the group amplifier 230 are substantially matched, GainT(214) and GainT(218) are substantially the same, and the calibration signal Vcal is canceled out, resulting in the main signal 255 being expressed as:
[0050] Signal 255 = Vp(2GainT)
[0051] Then, before outputting the main signal 255 to other circuits on the semiconductor device, the signal processor 250 performs any further calculations or other signal processing on the main signal 255.
[0052] Bias current generator 270 is configured to determine a reference signal Vref by isolating the calibration signal Vcal from signals 244 and 248, and adjust the bias current 275 accordingly. Because the calibration signal Vcal in signals 244 and 248 is differential, bias current generator 280 can isolate the calibration signal Vcal by subtracting the two signals:
[0053] Vref = Signal 248 - Signal 244
[0054] Vref=(Vp+Vcal)(GainT(218))-(Vp-Vcal)(GainT(214))
[0055] Vref=Vp(GainT(218)-GainT(214))+Vcal(GainT(218)+GainT(214))
[0056] Since the group Hall sensor 210 and the group amplifier 230 are largely matched, GainT(214) and GainT(218) are largely the same, and the measured main signal Vp is canceled out, resulting in Vref being expressed as:
[0057] Vref = Vcal(2GainT)
[0058] Mismatch in Hall sensor devices 202 to 208 or amplifiers 234 and 238 results in unequal GainT(214) and GainT(218), which introduces an error term into the main signal 255 and Vref. A calibration current generator 280 can be configured to chop the calibration current and supply it to the group of Hall sensors 210 via a first current path (starting from trace 284 and ending at trace 288) or a second current path (starting from trace 288 and ending at trace 284) to reduce the difference between GainT(214) and GainT(218). The de-chopped and average-chopped calibration signal Vcal modulates the error term in the main signal 255 and Vref into a variable AC ripple, thereby preventing DC errors caused by mismatch.
[0059] For the main signal 255, the calibration signal Vcal is much smaller than the measured main signal Vp, which reduces the error term below the noise threshold of the magnetic sensor system 200. In contrast, for Vref, the error term can be larger than the calibration signal Vcal because the measured main signal Vp is much larger than Vcal. In some implementations, the bias current generator 270 filters Vref before adjusting the bias current 275 to account for the larger error term from the measured main signal Vp.
[0060] Figure 3The example calibration current generator 380 for calibration system 360 is illustrated in block diagram form, and it may be included in... Figure 2 The system 200 shown is similar to the closed-loop calibration magnetic sensor system 300. For ease of explanation, this document refers to... Figure 2 The magnetic sensor system 200 shown is used to describe a calibration current generator 380. The calibration current generator 380 is configured to generate a temperature-insensitive calibration current 330, which is applied via traces 384 and 388 to drift compensation coils in Hall sensor devices 202 to 208. A first current path for the calibration current 330 begins at trace 384 and ends at trace 388, and a second current path for the calibration current 330 begins at trace 388 and ends at trace 384. The calibration current 330 causes the Hall sensors to measure a calibration signal Vcal and a measured main signal Vp.
[0061] The calibration current generator 380 includes a voltage source 310, a current generator 320, and a chopper circuit 340. The voltage source 310 may be a bandgap voltage reference circuit that is substantially temperature-independent and provides a reference voltage 315 to the current generator 320. The current generator 320 includes a resistor 325 with a low temperature coefficient (e.g., a silicon-chromium (SiCr) resistor) and generates a calibration current 330 based on the reference voltage 315 from the voltage source 310. The chopper circuit 340 receives the calibration current 330 and a common-mode voltage 350 and outputs the calibration current 330 to the group of Hall sensors 210 via traces 384 and 388, thereby alternating between the first and second current paths at an appropriate frequency.
[0062] Figure 4 An example bias current generator 470 in the calibration system 460 is illustrated in block diagram form, which may be included in... Figure 2 The system 200 shown is similar to the closed-loop calibration magnetic sensor system 400. For ease of explanation, this document refers to... Figure 2 The magnetic sensor system 200 shown is used to describe a bias current generator 470. The bias current generator 470 receives amplifier signals 244 and 248, isolates the calibration signal Vcal, and generates an appropriate bias current 475 to maintain or adjust the sensitivity of the group of Hall sensors 210. The bias current generator 470 includes a subtractor 410, an ADC 420, a controller 440, and a DAC 450. In this example, the controller 440 is included in the bias current generator 470, but in other embodiments, the controller 440 is part of the magnetic sensor system 400 and specifically not included in the bias current generator 470.
[0063] Subtractor 410 receives signals 244 and 248 and subtracts them, as previously referenced herein. Figure 2The obtained reference signal Vref 415 is provided to ADC 420, which samples it and provides the sampled data to controller 440. In some instances, ADC 420 integrates Vref 415 over a period of time, and controller 440 averages the sampled value 425 with several previous sampled values to filter out noise from the group of Hall sensors 210 and errors from the main signal introduced by mismatch in GainT(214) and GainT(218). In this example, ADC 420 integrates Vref 415 over 12.5 milliseconds, and controller 440 averages the sampled value 425 with 8 previous sampled values, thereby producing a 10 Hz bandwidth filter. Controller 440 sends control signal 430 to ADC 420 to control the time for ADC 420 to integrate Vref 415.
[0064] The controller 440 compares the average sampled value 425 with a threshold representing the expected sensor output value and desired sensitivity of the group Hall sensor 210. The difference between the average sampled value 425 and the expected sensor output value arises from changes in environmental and operating conditions, prompting the controller 440 to determine an adjustment to the bias current 475 to compensate for the changes in conditions. Based on the comparison and the determined adjustment, the controller 440 sends a control signal 445 to the DAC 450, causing the DAC 450 to generate a bias current 475 for the group Hall sensor 210.
[0065] Figure 5 The example calibration system 560 is shown in block diagram form, which includes a system based on... Figure 3 The calibration current generator 380 shown and Figure 4 The bias current generator 470 and the calibration current generator 580 are shown, thus illustrating the interaction between the components in each. For ease of explanation, this document refers to... Figure 2 The closed-loop calibration magnetic sensor system 200 shown Figure 3 The calibration current generator 380 shown and Figure 4 The bias current generator 470 shown is used to describe the calibration system 560. In this example, the controller 440 is included in the bias generator 470, but in other embodiments, the controller 440 is part of the magnetic sensor system 500 and specifically not included in the bias generator 470. The controller 440 and the signal processor 250 communicate via signal 510. The controller 440 can provide the signal processor 250 with alerts regarding drift in the sensitivity of the group of Hall sensors 210 and changes in environmental and operating conditions.
[0066] The calibration current 330 and the reference voltage 520 for the ADC 420 are tightly coupled to ensure that any changes in the reference voltage 315 from the voltage source 310 are also reflected in the ADC 420. If the reference voltage 315 changes while the reference voltage 520 for the ADC 420 remains constant, then Vref 415 is attributed to the change in the reference voltage 315, not to changes in environmental or operating conditions. The sampled value 425 from the ADC 420 also changes and no longer reflects a change in the sensitivity of the group Hall sensor 210. To ensure tight coupling between the calibration current 330 and the reference voltage 520 for the ADC 420, a resistor 325 across the current generator 320 is used to obtain the ADC reference voltage 520. The temperature coefficient of the resistor 325 is a limiting factor for the drift accuracy of the calibration system 560.
[0067] In this example, the calibration current generator 580 also includes a fine-tuning circuit 540 that fine-tunes the calibration current 330 from the current generator 320 to account for device variations. The controller 440 provides a control signal 530 to the fine-tuning circuit 540, thereby instructing the fine-tuning circuit 540 to fine-tune the calibration current 330. The chopper circuit 340 receives the fine-tuned calibration current 550 and the common-mode voltage 350, and outputs the fine-tuned calibration current 550 via traces 384 and 388, thereby alternating between the first and second current paths at an appropriate frequency.
[0068] The controller 440 also provides a clock signal 570 to the chopper circuit 340. In some instances, the clock signal 570 indicates the chopping frequency at which the chopper circuit 340 alternates between the first and second current paths. Because the measured main signal Vp is common-mode and the calibration signal Vcal is differential, the controller 440 can independently chop the group of Hall sensors 210, the group amplifier 230, and the calibration current 330, each at an independent and appropriate frequency to reduce channel interaction and errors from gain mismatch.
[0069] Figure 6 An example analog bias current generator 670 in the calibration system 660 is illustrated in block diagram form, which may be included in... Figure 2 The magnetic sensor system 200 shown herein is similar to the closed-loop calibrated magnetic sensor system 600. For ease of explanation, this document refers to... Figure 2 The magnetic sensor system 200 shown is used to describe a bias current generator 670. The bias current generator 670 receives amplifier signals 244 and 248, isolates the calibration signal Vcal, and generates an appropriate bias current 675 to maintain or adjust the sensitivity of the group of Hall sensors 210. The bias current generator 670 includes a subtractor 610, a differential amplifier 625, a filter 640, and a current generator 650.
[0070] Subtractor 610 receives signals 244 and 248 and subtracts them, as previously referenced herein. Figure 2 As described. The resulting reference signal Vref 615 is provided to the positive input of differential amplifier 625. The negative input of differential amplifier 625 receives a expected voltage Vexp 620 representing the expected voltage from the group Hall sensor 210 in response to calibration currents 284 and 288. The difference 630 between Vref 615 and Vexp 620 originates from variations in environmental and operating conditions and is provided to filter 640, which filters out noise from the group Hall sensor 210 and errors from the main signal introduced by mismatch in GainT(214) and GainT(218). The filtered differential signal 645 is provided to current generator 650, which maintains or adjusts the value of the bias current 675 generated therefrom.
[0071] Figure 7 This illustrates another example arrangement of a closed-loop calibration magnetic sensor system 700 that is aligned with the current conductor 790. Figure 7 A set of Hall sensors 710 and a set of low-noise amplifiers 730 included in a magnetic sensor system 700 are shown. The set of Hall sensors 710 and the set of amplifiers 730 are similar to... Figure 2 The Hall sensor group 210 and the amplifier group 230 shown are identical except that the Hall sensor group 710 is arranged on either side of the current conductor 790, rather than on... Figure 1 The current conductor 150 is shown on one side. Hall sensor devices 702 and 706 are placed on one side of the current conductor 790, and Hall sensor devices 704 and 708 are placed on the opposite side of the current conductor 790.
[0072] The group of Hall sensor devices 710 are placed within the magnetic sensor system 700 such that each Hall sensor device 702 to 708 responds substantially equally to the ambient magnetic field, but with a polarity opposite to that of the magnetic field 780 measured by the current conductor 790. This results in the measured main signal Vp being differential mode and the calibration signal Vcal being common mode. Vp and Vcal are orthogonal signals and do not interfere with each other, substantially similar to... Figure 2 Same as above.
[0073] In the magnetic sensor system 700, each of the Hall sensors 702, 704, 706, and 708 includes a separate Hall channel, such that the magnetic sensor system 700 comprises four unique Hall channels. The ambient magnetic field has the same magnitude and polarity across the group of Hall sensors 710, while the magnetic field 780 has opposite polarities on either side of the current conductor 790. By extending the architecture to four independent Hall channels, the magnetic sensor system 700 can utilize the relative polarities of the ambient magnetic field and the magnetic field 780 to measure the main signal, cancel the ambient magnetic field, and calibrate the bias current of the Hall channels to adjust the sensitivity of the group of Hall sensors 710 in response to drift caused by variations attributable to environmental and operating conditions.
[0074] The main signal Vp is isolated by subtracting the signal from the Hall channel on the other side of the current conductor 790 from the signal from the Hall channel on one side of the current conductor 790.
[0075] 4Vp=(Signal 742+Signal 746)-(Signal 744+Signal 748)
[0076] The ambient signal Vamb is isolated by summing the signals from the Hall channels on both sides of the current conductor 790.
[0077] 4Vamb=Signal 742+Signal 744+Signal 746+Signal 748
[0078] The calibration signal Vcal is isolated by combining signals from opposite Hall channels and finding the difference, as referenced in this article. Figure 2 Description:
[0079] 4Vcal=(Signal 742+Signal 748)-(Signal 744+Signal746)
[0080] In this description, the term "couple" means an indirect or direct wired or wireless connection. Therefore, if a first device is coupled to a second device, the connection can be a direct connection or an indirect connection via other devices and connections. The statement "based on" means "at least partially based on". Therefore, if X is based on Y, then X can vary with Y and any number of other factors. Unless otherwise stated, in this description, "identical" or "substantially" or "largely identical" means that the distance between the two is within 10%, "substantially" or "largely unaffected" or "unchanged" means a change of less than 10%, and "substantially" means 90% or more.
[0081] Modifications are possible in the described embodiments, and other embodiments are possible within the scope of the claims.
Claims
1. A system comprising: A calibration current generator configured to provide calibration current to the first Hall channel and the second Hall channel; Bias current generator, configured to: The calibration signal is obtained from the first Hall channel and the second Hall channel; Determine the difference between the calibration signal and the threshold; and The bias currents of the first Hall channel and the second Hall channel are adjusted based on the difference. and A Hall sensor array includes a first Hall channel and a second Hall channel, wherein a calibration current is supplied to corresponding drift compensation coils in the first Hall channel and the second Hall channel, wherein the drift compensation coil in the first Hall channel and the drift compensation coil in the second Hall channel are wound in opposite directions. The bias current generator includes a subtractor circuit configured to: obtain a first signal from the first Hall channel and a second signal from the second Hall channel, and subtract the first signal from the second signal to obtain a calibration signal.
2. The system of claim 1, wherein the calibration current generator comprises: A voltage source configured to provide a reference voltage; A current generator coupled to the voltage source and configured to generate the calibration current; and A chopper circuit coupled to the current generator and configured to provide the calibration current to the first Hall channel and the second Hall channel via a first current path or a second current path.
3. The system according to claim 2, wherein the voltage source includes a bandgap voltage reference circuit.
4. The system of claim 2, wherein the current generator comprises a resistor.
5. The system of claim 4, wherein the bias current generator comprises: An analog-to-digital converter coupled to the subtractor circuit and configured to sample the calibration signal to obtain a sampled signal; A controller, coupled to the analog-to-digital converter and configured to: Determine the difference between the sampled signal and the threshold; The adjustment of the bias current is determined based on the difference; and A control signal is generated based on the determined adjustment; A digital-to-analog converter coupled to the controller and configured to adjust the bias current based on the control signal.
6. The system of claim 5, wherein the analog-to-digital converter is further configured to integrate the calibration signal over a period of time to obtain the sampled signal.
7. The system of claim 6, wherein the controller is further configured to average the sampled signal with a plurality of previously sampled signals to obtain an average signal, and wherein the controller is configured to determine the difference between the average signal and the threshold.
8. The system of claim 5, wherein the analog-to-digital converter reference voltage is obtained across the resistor.
9. The system of claim 5, wherein the controller is further configured to provide a clock signal to the chopper circuit, and wherein the chopper circuit is further configured to alternate between the first current path and the second current path based on the clock signal.
10. The system of claim 5, wherein the calibration current generator further includes a fine-tuning circuit configured to fine-tune the calibration current.
11. The system of claim 1, wherein the calibration signal includes a first calibration signal corresponding to the first Hall channel and a second calibration signal corresponding to the second Hall channel, and wherein the system further comprises: The first Hall channel is coupled to a first amplifier, wherein the first amplifier is configured to output the first calibration signal; The second Hall channel is coupled to a second amplifier, wherein the second amplifier is configured to output the second calibration signal.
12. The system according to claim 11, wherein: The first Hall channel includes a first Hall device, which has a first drift compensation coil with a first winding direction on top of the first Hall sensor. The second Hall channel includes a second Hall device, which has a second drift compensation coil with a second winding direction on top of the second Hall sensor; and The first winding direction is opposite to the second winding direction.
13. The system of claim 12, wherein the gain of the first Hall channel and the gain of the second Hall channel are substantially equal, and wherein the gain of the first amplifier and the gain of the second amplifier are substantially equal.
14. The system of claim 12, wherein the first Hall channel and the second Hall channel are oriented such that the first Hall channel and the second Hall channel are configured to respond substantially the same to a magnetic field.
15. A system comprising: Hall sensor array, comprising: A first Hall channel coupled to a first amplifier, wherein the first Hall channel includes a first Hall device having a first drift compensation coil with a first winding direction on top of a first Hall sensor; and A second Hall channel coupled to a second amplifier, wherein the second Hall channel includes a second Hall device having a second drift compensation coil with a second winding direction on top of a second Hall sensor, wherein the second winding direction is opposite to the first winding direction; and The calibration system includes: A bias current generator coupled to a first amplifier and a second amplifier, and a first Hall channel and a second Hall channel, wherein the bias current generator is configured to generate a bias current for the first Hall channel and the second Hall channel, wherein the bias current generator includes a subtractor circuit configured to: obtain a first signal from the first Hall channel and a second signal from the second Hall channel, and subtract the first signal from the second signal to obtain a calibration signal; and A calibration current generator coupled to the first Hall channel and the second Hall channel, wherein the calibration current generator is configured to generate a calibration current for the first Hall channel and the second Hall channel. The calibration current is provided to the first drift compensation coil in the first Hall channel and the second drift compensation coil in the second Hall channel via a first trace and a second trace, and a first current path for the calibration current starts from the first trace and ends at the second trace, and a second current path for the calibration current starts from the second trace and ends at the first trace.
16. The system of claim 15, wherein the first Hall device and the second Hall device are matched.
17. The system of claim 15, wherein the gain of the first Hall channel and the gain of the second Hall channel are substantially equal, and wherein the gain of the first amplifier and the gain of the second amplifier are substantially equal.
18. The system of claim 15, wherein the first Hall channel and the second Hall channel are oriented such that the first Hall channel and the second Hall channel are configured to respond substantially the same to a magnetic field.
19. The system of claim 15, wherein the bias current generator comprises: The subtractor circuit is coupled to the first amplifier and the second amplifier; An analog-to-digital converter coupled to the subtractor circuit; A controller, coupled to the analog-to-digital converter; and A digital-to-analog converter coupled to the controller and configured to generate the bias current.
20. The system of claim 15, wherein the bias current generator comprises: The subtractor circuit is coupled to the first amplifier and the second amplifier; A differential amplifier having a positive input coupled to the subtractor circuit and a negative input configured to receive a threshold. A filter, which is coupled to the differential amplifier; and A current generator coupled to the filter.
21. The system of claim 15, wherein the calibration current generator comprises: Voltage source; A resistor coupled to the voltage source; and A chopper circuit coupled to the resistor.
22. The system of claim 21, wherein the voltage source includes a bandgap voltage reference circuit.
23. The system according to claim 15, wherein: The first Hall channel further includes a third Hall device coupled in parallel with the first Hall device, the third Hall device having a third drift compensation coil with the first winding direction on top of the third Hall sensor; and The second Hall channel further includes a fourth Hall device coupled in parallel with the second Hall device, the fourth Hall device having a fourth drift compensation coil with the second winding direction on top of the fourth Hall sensor.
24. The system of claim 23, wherein the first Hall device, the second Hall device, the third Hall device, and the fourth Hall device are arranged in a quadruple configuration such that: The first Hall effect device includes the upper left quadrant; The second Hall effect device includes the upper right quadrant; The third Hall effect device includes the lower right quadrant; and The fourth Hall effect device includes the lower left quadrant.
Citation Information
Patent Citations
Stray field rejection in magnetic sensors
CN109490797A
Circuits and Methods for Removing a Gain Offset in a Magnetic Field Sensor
US20170030979A1
Gain equalization for multiple axis magnetic field sensing
US20170336481A1
