A dual-channel wideband Hall current sensor and implementation method thereof
Through the design of a dual-channel wideband Hall current sensor, combined with a dynamic rotation circuit and an amplification and offset calibration circuit, the problem of low bandwidth and residual offset of the CMOS Hall sensor is solved, achieving a bandwidth above the MHz level and low residual offset, improving the Sensor resolution and stability.
Patent Information
- Application Number
- CN202311826556.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-12-28
AI Technical Summary
Existing CMOS Hall sensors have low bandwidth, cannot effectively measure currents at frequencies above MHz, and have residual offset problems that affect the resolution and stability of current sensors.
A dual-channel wideband Hall current sensor is designed, including a low-frequency path and a high-frequency path. It is combined with a dynamic rotating current circuit, a current integrating amplifier circuit, a correlated double sampling circuit, a bias circuit, an amplification and offset calibration circuit, and a matching network. Current mode dynamic offset elimination and weak Hall current amplification technology achieve bandwidth above the MHz level and low residual offset.
It achieves bandwidth above the MHz level and low residual offset, improves the resolution and stability of the sensor, reduces power consumption, eliminates the need for large Rogowski coils and coupling capacitors, and improves integration.
Smart Images

Figure CN118033209B
Abstract
Description
Technical Field
[0001] The invention proposes a dual-channel Hall current sensor with a bandwidth of MHz or above and an implementation method thereof, so as to realize sub-microsecond rapid current detection, and belongs to the technical field of magnetic sensors. Background Art
[0002] In recent years, CMOS Hall sensors have been widely used in automotive electronics, industrial control, power management, aerospace and military fields due to their advantages of high precision, high reliability, small size and easy integration. However, ordinary CMOS Hall sensors have problems such as low bandwidth and slow response speed, and cannot accurately measure currents with frequencies above MHz and provide sub-microsecond fast current over-current protection. The reason for the bandwidth limitation of CMOS Hall sensors comes from the influence of the parasitic capacitance of the Hall device itself and the parasitic capacitance of the MOS tube switch in the dynamic rotating current circuit, as well as the cutoff frequency of the output stage low-pass filter. At present, the mainstream design scheme for realizing MHz-level broadband Hall sensors usually adopts improved rotating current modulation and demodulation circuits, single-channel amplifier circuits with pure Hall probes without rotating circuits, and hybrid dual-channel amplifier circuits based on Hall devices and induction coils. However, the sensor bandwidth based on the rotating current modulation and demodulation circuit is difficult to reach 1MHz due to the influence of parasitic capacitance in the dynamic rotating current circuit and the limitation of the -3dB bandwidth of the output low-pass filter. In addition, although the single-channel amplification scheme using a pure Hall probe without a rotation circuit can solve the limitation of the bandwidth caused by the parasitic capacitance in the dynamic rotating current circuit, the lack of a dynamic rotating current circuit to effectively eliminate the offset of the Hall probe causes the residual offset of the sensor to be too large when sensing low-frequency current signals, affecting the minimum resolution of the current sensor. Although the hybrid dual-channel amplification circuit scheme can solve the problem of large residual offset in the low-frequency path, its high-frequency circuit uses a large-size coil to expand the bandwidth and lacks a DC offset elimination circuit, which can easily cause a large offset in the amplifier operating point and the Hall sensor cannot work normally; and due to the use of chopping technology in the low-frequency path, there is a large ripple, and a complex ripple elimination loop needs to be used, resulting in an increase in the chip area. The present invention proposes a dual-channel broadband Hall current sensor in response to the problems of low bandwidth and large residual offset in the current mainstream fully integrated Hall sensor circuit scheme. Summary of the invention
[0003] A dual-channel broadband Hall current sensor proposed by the present invention includes a low-frequency path, a high-frequency path, a matching network, a clock generation circuit and an on-chip S-shaped copper track. Further, the output ports of the low-frequency path are Vo_cds1 and Vo_cds2, and the output ports Vo_cds1 and Vo_cds2 are respectively connected to the matching network circuit input ports Vi_l1 and Vi_l2. Further, the high-frequency path output ports are Vo_lo1 and Vo_lo2, and the output ports are Vo_lo1 and Vo_lo2 respectively connected to the matching network input ports Vi_h1 and Vi_h2, and the matching network output ports are Vout_p and Vout_n. Further, the clock generating circuit output ports are T1~T4, T5, T6, T7~T9, and the output ports are connected to the low-frequency path clock input ports clk1~clk4, clk5, clk6, clk7~clk9, and the clock generating circuit output ports are T10 and T11, and the output ports are connected to the high-frequency path clock input ports clk10 and clk11.
[0004] The low-frequency path further includes a dynamic rotating current circuit, a current integration amplifier circuit, and a correlated double sampling circuit. Further, the dynamic rotating current circuit output port Vo1 is connected to the current integration amplifier circuit input port Vi_1, the dynamic rotating current circuit output port Vo4 is connected to the current integration amplifier circuit input port Vi_1, the dynamic rotating current circuit output port Vo2 is connected to the current integration amplifier circuit input port Vi_2, the dynamic rotating current circuit output port Vo3 is connected to the current integration amplifier circuit input port Vi_2, the current integration amplifier circuit output ports Vo_i1 and Vo_i2 are respectively connected to the correlated double sampling circuit input ports Vi_cds1 and Vi_cds2, and the correlated double sampling circuit output ports Vo_cds1 and Vo_cds2 are respectively connected to the matching network circuit input ports Vi_l1 and Vi_l2.
[0005] The dynamic rotating current circuit includes two rotating current circuits (CS1 and CS2) with the same structure and two identical transconductance amplifier circuits (GM1 and GM2). Furthermore, the rotating current circuit CS1 includes 16 NMOS tubes M1~M16, a Hall probe X1, and a bias current source Ibias. Taking the circuit connection relationship of the rotating current circuit CS1 as an example, the drains of the NMOS tubes M1~M4 are commonly connected to the output end of the input bias current source Ibias, the input end of the bias current source Ibias is connected to the voltage source VDD, the gates of the NMOS tubes M1~M4 are respectively connected to the clock signal input ports clk1~clk4 in sequence, and the sources of the NMOS tubes M1~M4 are respectively connected to the a port, b port, d port, and c port of the Hall probe X1 in sequence; the sources of the NMOS tubes M5~M8 are commonly connected to GND, the gates of the NMOS tubes M5~M8 are respectively connected to the clock signal input ports clk1~clk4 in sequence, and the drains of the NMOS tubes M5~M8 are respectively connected to the a port of the Hall probe X1 in sequence. The sources of the NMOS tubes M9 to M12 are commonly connected to the external port Vs1, the gates of the NMOS tubes M9 to M12 are respectively connected to the clock signals clk1 to clk4 in sequence, and the drains of the NMOS tubes M9 to M12 are respectively connected to the c port, a port, d port, and b port of the Hall probe in sequence; the sources of the NMOS tubes M13 to M16 are commonly connected to the external port Vs2, the gates of the NMOS tubes M13 to M16 are respectively connected to the clock signal input ports clk1 to clk4 in sequence, and the drains of the NMOS tubes M13 to M16 are respectively connected to the d port, b port, c port, and a port of the Hall probe X1 in sequence; the substrates of all 16 NMOS tubes are grounded. Furthermore, the rotating current circuit CS2 includes 16 NMOS tubes M1-M16, a Hall probe X2, clock signal input ports clk1-clk4, bias current source Ibias and external output ports Vs3 and Vs4, and the circuit structure of the rotating current circuit CS2 is consistent with the circuit structure of the rotating current circuit CS1. Furthermore, the output ports Vs1 and Vs2 of the rotating current circuit CS1 are connected to the input ports V1 and V2 of the transconductance amplifier circuit GM1, and the output ports Vs3 and Vs4 of the rotating current circuit CS2 are connected to the input ports V3 and V4 of the transconductance amplifier circuit GM2.
[0006] The current integration amplifier circuit includes an amplifier OPA, a capacitor C1, a capacitor C2, and switches K1 to K4. Further, switches K1 and K2 are connected to the clock signal clk5, switches K3 and K4 are connected to the clock signal clk6, the output ports Vo1 and Vo2 of the transconductance amplifier circuit GM1 are respectively connected to the input ports Vi_1 and Vi_2 of the current integration amplifier circuit, the output ports Vo3 and Vo4 of the transconductance amplifier circuit GM2 are respectively connected to the input ports Vi_2 and Vi_1 of the current integration amplifier circuit, the input port Vi_1 is connected to the in-phase input port of the amplifier OPA through the switch K1, the other port of the switch K1 is respectively connected to a port of the switch K3 and a port of the capacitor C1, the other port of the switch K3 and the other port of the capacitor C1 are jointly connected to the inverting output port Vo_i1 of the amplifier OPA, the input port Vi_2 is connected to the inverting input port of the amplifier OPA through the switch K2, the other port of the switch K2 is respectively connected to a port of the switch K4 and a port of the capacitor C2, the other port of the switch K4 and the other port of the capacitor C2 are jointly connected to the in-phase output port Vo_i2 of the amplifier OPA.
[0007] The correlated double sampling circuit includes an amplifier OPA1, capacitors C3 to C8, and switches K5 to K12. Switches K5, K6, K9, and K10 are connected to the clock signal clk7, switches K7 and K11 are connected to the clock signal clk8, and switches K8 and K12 are connected to the clock signal clk9. The input port Vi_cds1 is connected to one end of the capacitor C3, and the other end of the capacitor C3 is not only connected to the output port Vn of the amplifier OPA1 through the switch K5, but also connected to one end of the capacitor C4. The other end of the capacitor C4 is not only connected to the ground through the switch K6, but also connected to the output end Vn of the amplifier OPA1 through the switch K7. The output end Vn of the amplifier OPA1 is connected to one end of the capacitor C5 through the switch K8 and serves as the output port Vo_cds1. The other end of the capacitor C5 is connected to the ground. The input port Vi_cds2 is connected to one end of the capacitor C6, and the other end of the capacitor C6 is not only connected to the output port Vp of the amplifier OPA1 through the switch K9, but also connected to one end of the capacitor C7. The other end of the capacitor C7 is not only connected to the ground through the switch K11, but also connected to the output terminal Vp of the amplifier OPA1 through the switch K10. The output terminal Vp of the amplifier OPA1 is connected to one end of the capacitor C8 through the switch K12 and serves as the output port Vo_cds2. The other end of the capacitor C8 is connected to the ground.
[0008] The high-frequency path includes two bias circuits (N_CS1 and N_CS2) with the same structure, a voltage amplifier circuit, and an amplification and offset calibration circuit. The bias circuit output ports Vno1, Vno2, Vno3, and Vno4 are connected to the voltage amplifier circuit input ports Vi_ns1, Vi_ns2, Vi_ns3, and Vi_ns4, the voltage amplifier circuit output ports Vo_ns1 and Vo_ns2 are respectively connected to the amplification and offset calibration circuit input ports Vi_lo1 and Vi_lo 2, and the amplification and offset calibration circuit output ports Vo_lo1 and Vo_lo2 are connected to the matching network input ports Vi_h1 and Vi_h2.
[0009] The bias circuit N_CS1 includes a Hall probe X3, a bias current Ibias terminal, the bias current Ibias flows in from the b port of the Hall probe X3, the d end of the Hall probe X3 is grounded, the a port and the c port of the Hall probe X3 are output ports Vno1 and Vno2, and the output ports Vno1 and Vno2 are respectively connected to the voltage amplifier circuit input ports Vi_ns1 and Vi_ns2, and the bias circuit N_CS2 includes a Hall probe X4, a bias current Ibias terminal, the bias current Ibias flows in from the b port of the Hall probe X4, the d end of the Hall probe X3 is grounded, the a port and the c port of the Hall probe X4 are output ports Vno3 and Vno4, and the output ports Vno3 and Vno4 are respectively connected to the voltage amplifier circuit input ports Vi_ns3 and Vi_ns4.
[0010] The voltage amplifier circuit includes transconductance amplifier circuits GM3 and GM4, resistors R1 and R2. The in-phase output port of the transconductance amplifier circuit GM3 and the inverting output port of the transconductance amplifier circuit GM4 are connected together to form an output port Vo_ns1. The inverting output port of the transconductance amplifier circuit GM3 and the in-phase output port of the transconductance amplifier circuit GM4 are connected together to form an output port Vo_ns2. The output ports Vo_ns1 and Vo_ns2 are respectively connected to one port of the resistor R1 and the resistor R2, and the other ports of the resistor R1 and the resistor R2 are respectively grounded.
[0011] The amplification and offset calibration circuit includes an amplifier OPA2, an analog-to-digital converter ADC, a current mode DAC, fixed current sources I1, I4, adjustable current sources I2, I3, and a switch K13. The input port Vi_lo1 is connected to the input port VIP of the amplifier OPA2. The input port VIP of the amplifier OPA2 is connected in series with an adjustable current source I2 and a fixed current source I1. The input port Vi_lo2 is connected to the input port VIN of the amplifier OPA2. The input port VIN of the amplifier OPA2 is connected in series with an adjustable current source I3 and a fixed current source I4. The output port Vo of the amplifier OPA2 is connected to the ADC through the switch K13. The switch K13 is connected to the clock signal clk11, and the further current mode DAC includes 17 PMOS tubes M1-M17, 9 PMOS tubes M24-M32, and 9 clock signal input ports S0-S8 (the clock signal connected to the input port S0 is clk10, and the clock signal connected to the input port S1-S8 is the 8-bit digital signal output by the ADC). The further adjustable current source I2 includes 6 NMOS tubes M33-M38, and the adjustable current source I3 includes 4 PMOS tubes M18-M21. The further bandgap reference output port Ierf is connected to the source of the M22 tube, and the M0 tube, the M9 tube, the M22 tube, and the M23 tube A common source and common gate structure is formed, the gates of the M22 tube and the M0 tube are commonly connected to the drain of the M22 tube, the drain of the M22 tube is connected to the source of the M23 tube, the gates of the M23 tube and the M9 tube are commonly connected to the drain of the M23 tube, the drain of the M23 tube is connected to GND, the sources of the PMOS tubes M0 to M8 are commonly connected to the power supply voltage VDD, the gates of the M0 to M8 tubes are commonly connected to the gate of the M22 tube, the sources of the PMOS tubes M9 to M17 are respectively connected to the drains of the PMOS tubes M0 to M8, the gates of the PMOS tubes M9 to M17 are commonly connected to the gate of the M23 tube, the sources of the PMOS tubes M24 to M32 are respectively connected to the drains of the PMOS tubes M9 to M17, and the gates of the PMOS tubes M24 to M17 are commonly connected to the gate of the M23 tube. The gates of M32 are connected to the clock signals S0~S8 respectively, the drains of PMOS tubes M24~M32 are connected to the drain of M34 tube together, and M33~M35 tubes form a common source and common gate structure. The gates of M34 tube and M35 tube are connected to the drain of M34 tube together, and the sources of M34 tube and M35 tube are connected to the drain of M33 tube and M36 tube respectively. The gates of M34 tube and M35 tube are connected to the drain of M34 tube together, and the sources of M33 tube and M36 tube are connected to GND together. The gates of M33 tube and M36 tube are connected to the drain of M33 tube together, and the gates of M37 tube are connected to the gate of M34 tube. The source of M37 tube is connected to the drain of M38 tube. The drain of M37 tube is the output port of adjustable current source I2.The gate of M38 is connected to the gate of M33, the source of M38 is grounded, the drain of M35 is connected to the drain of M19, the NMOS tubes M18 to M20 form a common source and common gate structure, the gates of M19 and M21 are connected to the drain of M19, the sources of M19 and M21 are connected to the drains of M18 and M20 respectively, the gates of M18 and M20 are connected to the drain of M18, the sources of M18 and M20 are connected to the power supply voltage VDD, the drain of M21 outputs an adjustable current source I3, the substrates of 32 PMOS tubes M1 to M32 and 6 NMOS tubes M33 to M37 are grounded.
[0012] The matching network includes capacitors C10~C13, resistors R3~R6, and amplifier OPA3. The input ports Vi_h1 and Vi_h2 are respectively connected to one port of capacitors C10 and C11, and the input ports Vi_l1 and Vi_l2 are respectively connected to one port of resistors R3 and R4. The capacitor C10 and the other port of resistor R4 are commonly connected to the inverting input end of the amplifier OPA3. The capacitor C11 and the other port of resistor R3 are commonly connected to the non-inverting input end of the amplifier OPA3. The non-inverting end of the amplifier OPA3 is simultaneously connected to resistor R5, one port of capacitor C12, resistor R5, and the other port of capacitor C12 are commonly connected to the inverting output port Vout_p of the amplifier OPA3. The inverting end of the amplifier OPA3 is connected to one port of resistor R6, one port of capacitor C13, resistor R6, and the other port of capacitor C13 are commonly connected to the non-inverting output port Vout_n of the amplifier OPA3.
[0013] The on-chip S-shaped copper track is designed as an S-shaped current-carrying copper track using the top thick metal above the integrated Hall probe. Current flows into one end of the S-shaped copper track, and the other end is a current outflow port. Two pairs of differential Hall probes are placed at the corners of the S-shaped copper track, namely Hall probes (X1 and X2) and Hall probes (X3 and X4). The two pairs of differential Hall probes serve as Hall probes for the high-frequency path and the low-frequency path of the current sensor. When current flows into the S-shaped copper track, two pairs of identical differential magnetic fields (differential magnetic field 1 and differential magnetic field 2) are generated below the S-shaped copper track. Each pair of differential magnetic fields has the same magnitude and opposite directions. The differential magnetic field 1 is detected by the Hall probes (X1 and X2), and the differential magnetic field 2 is detected by the Hall probes (X3 and X4).
[0014] In the further dual-channel broadband Hall current sensor circuit, the low-frequency path output ports Vo_cds1 and Vo_cds2 are connected to the matching network input ports Vi_l1 and Vi_l2. Because the input ports Vi_l1 and Vi_l2 are connected to the subsequent circuits by resistors, a low-pass filter is presented from the matching network input ports Vi_l1 and Vi_l2 to the matching network output ports Vout_p and Vout_n. Therefore, the matching network is a low-pass filter for the low-frequency path, and the cut-off frequency is Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitor C12 is the capacitor. The high-frequency path output ports Vo_lo1 and Vo_lo2 are connected to the matching network input ports Vi_h1 and Vi_h2. Because the input ports Vi_h1 and Vi_h2 are connected to the subsequent circuits using capacitors, a high-pass filter is presented from the matching network input ports Vi_h1 and Vi_h2 to the matching network output ports Vout_p and Vout_n. Therefore, the matching network is a high-pass filter for the high-frequency path, and the cut-off frequency is also Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 It is the capacitance of capacitor C12, so when the input signal frequency is lower than the cut-off frequency Fx, the low-frequency path can amplify the input signal normally, and the high-frequency path does not amplify the input signal. When the input signal frequency is greater than the cut-off frequency Fx, the high-frequency path can amplify the input signal normally, and the low-frequency path does not amplify the input signal. In the present invention, the low-frequency path gain and the high-frequency path gain are designed to be the same, and the matching network can combine the overall gains of the low-frequency path and the high-frequency path, thereby effectively increasing the overall circuit bandwidth.
[0015] The specific working method of the dual-channel broadband Hall current sensor circuit is as follows:
[0016] S1: The frequency of the current flowing into the S-shaped copper rail is less than the cut-off frequency Fx
[0017] S1.1: Four-phase rotation modulation operation of Hall signal polarity and offset signal polarity
[0018] When the frequency of the current flowing into the S-shaped copper rail is less than the cutoff frequency Fx, two pairs of differential magnetic fields are generated under the S-shaped copper rail, which are detected by the differential Hall probes (X1 and X2) of the low-frequency path and the differential Hall probes (X3 and X4) of the high-frequency path respectively. However, since the frequency of the current flowing into the S-shaped copper rail is less than the cutoff frequency Fx, the low-frequency path can amplify the input signal normally, and the high-frequency path does not amplify the input signal. At this time, when the first phase operation of the dynamic rotating current circuit is performed, the clock input clk1 of the dynamic rotating current circuit is high, and all other clock inputs are low. The differential magnetic field signals detected by the Hall probe X1 in the rotating current circuit CS1 and the Hall probe X2 in the rotating current circuit CS2 are equal in magnitude and opposite in direction. The voltage output by the rotating current circuit CS1 is Vh+V os11 +Vc (Vh is the Hall voltage, Vc is the interference voltage caused by the common mode magnetic field, V os11 -V os14 is the offset voltage output by the rotating current circuit from the first phase to the fourth phase of the Hall probe X1), and the voltage output by the rotating current circuit CS2 is -Vh+V os21 +Vc(V os21 -V os24 is the offset voltage output by the rotating current circuit of the Hall probe X2 from the first phase to the fourth phase); when the second phase operation of the dynamic rotating current circuit is performed, the clock input clk2 of the dynamic rotating current circuit is high, and all other clock inputs are low, and the voltage output by the rotating current circuit CS1 is Vh-V os12 +Vc, the voltage output by the rotating current circuit CS2 is -Vh-V os22 +Vc; when the third phase of the dynamic rotating current circuit is operated, the clock input clk3 of the dynamic rotating current circuit is high, and all other clock inputs are low, and the voltage output by the rotating current circuit CS1 is -Vh+V os13 +Vc, the voltage output by the rotating current circuit CS2 is Vh+V os23 +Vc; when the fourth phase of the dynamic rotating current circuit is operated, the clock input clk4 of the dynamic rotating current circuit is high, and all other clock inputs are low, and the voltage output by the rotating current circuit CS1 is Vh-V os14 +Vc, the voltage output by the rotating current circuit CS2 is Vh-V os24 +Vc; the four-phase Hall voltage and offset voltage output by CS1 are converted into currents Ih+I os11 +Ic、Ih-I os12 +Ic, -Ih+I os13 +Ic、-Ih-I os14 +Ic(current Ih, I os11 -I os14 , Ic is the voltage Vh, Vos11 -V os14 , Vc is converted into current through transconductance amplifier circuit GM1), and the four-phase Hall voltage and offset voltage aliasing signals output by CS2 are converted into currents through transconductance amplifier circuit GM2, which are -Ih+I os21 +Ic、-Ih-I os22 +Ic、Ih+I os23 +Ic、Ih-I os24 +Ic(current Ih, I os21 -I os24 , Ic is the voltage Vh, V os21 -V os24 , Vc is converted into the current size by the transconductance amplifier circuit GM1), and then the Hall current and offset current of each phase output by the transconductance amplifier circuit GM1 are subtracted from the Hall current and offset current of each phase output by the transconductance amplifier circuit GM1 to obtain the new four-phase Hall current and offset current 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 、-2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 .
[0019] S1.2: Hall current integration amplification into Hall voltage operation
[0020] When the clock signals clk1 and clk2 are high and effective, the current output by the transconductance amplifier circuits GM1 and GM2 is subtracted to obtain the Hall current of the first phase and the second phase 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 When the first phase and the second phase are rotating, when the clock signal clk5 is high and effective, the Hall current of the first phase and the second phase is 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 The current is sent to the current integration amplifier circuit for operation. Because the polarity of the Hall current output by the first-phase and second-phase rotating current circuits is positive, and the polarity of the offset current is opposite, the offset currents cancel each other out after being sent to the current integration amplifier circuit, and the Hall currents are superimposed on each other, and the output Hall voltage obtained is V 1-2 =4Vh+Vos 1-2 , where 4Vh is the Hall voltage output after the Hall current Ih is integrated and amplified, Vos 1-2It is the residual offset voltage after the first-phase and second-phase offset currents are integrated and amplified. Then, when the clock signal clk6 is valid at a high level, the voltages on the integrating capacitors C1 and C2 are cleared.
[0021] When the clock signals clk3 and clk4 are high and effective, the current output by the transconductance amplifier circuits GM1 and GM2 is subtracted to obtain the Hall current of the third and fourth phases -2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 When the third and fourth phases are rotating, the Hall current of the third and fourth phases is -2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 Perform current integration operation. Since the polarity of the Hall current output by the third-phase and fourth-phase rotating current is negative, and the polarity of the offset current changes in the opposite direction, the offset currents cancel each other out after being sent to the current integration amplifier circuit, and the Hall currents are superimposed on each other. The output Hall voltage obtained is V 3-4 =-4Vh+Vos 3-4 , where -4Vh is the Hall voltage output after the Hall current Ih is integrated and amplified, Vos 3-4 is the residual offset voltage after the third-phase and fourth-phase offset currents are integrated and amplified. Subsequently, when the clock signal clk6 is valid at a high level, the voltages on the integrating capacitors C1 and C2 are cleared.
[0022] S1.3: Hall voltage sampling and holding operation
[0023] When the clock control signal clk7 of the correlated double sampling circuit is high and effective, the output Hall voltage of the correlated double sampling circuit to the current integration amplifier circuit is V 1-2 =4Vh+Vos 1-2 Perform the first sampling and holding; when the clock control signal clk8 of the correlated double sampling circuit is high and effective, the output Hall voltage of the correlated double sampling circuit to the current integration amplifier circuit is V 3-4 =-4Vh+Vos 3-4 Perform the second sampling and holding. When the clock signal clk9 is high and effective, the correlated double sampling circuit uses the voltage value V held by the first sampling 1-2 Subtract the voltage value V held by the second sampling 3-4 , the output Hall voltage signal is Vout = V 1-2 -V 3-4 =8Vh+(Vos 1-2 -Vos 3-4 ).
[0024] S1.4: Filter out high frequency harmonics operation:
[0025] The Hall voltage obtained by subtracting the two samples is then passed through the matching network input ports Vi_l1 and Vi_l2. Because the input ports Vi_l1 and Vi_l2 are connected to the resistors respectively, a low-pass filter is formed with the subsequent connection circuit. The low-pass filter in the matching network filters out the high-frequency harmonic components and finally outputs the Hall voltage signal. The offset signal is effectively eliminated, and the output Hall voltage signal Vout = V 1-2 -V 3-4 =8Vh+(Vos 1-2 -Vos 3-4 ).
[0026] S2: The frequency of the current flowing into the S-shaped copper rail is greater than the cut-off frequency Fx
[0027] S2.1: High Frequency Path DC Offset Calibration Operation
[0028] Because the high-frequency path does not use the signal polarity modulation method to eliminate the DC offset in order to achieve high bandwidth, the DC offset of the high-frequency path will be large, which may cause the high-frequency path to malfunction. Therefore, before detecting the high-frequency magnetic field signal, the DC offset of the high-frequency path is calibrated. At this time, no current flows into the S-shaped copper rail, no magnetic field is generated around the S-shaped copper rail, no magnetic field signal is input, the clock input port clk10 is high level, clk11 is low level, and the clock input ports S1-S8 are at a low level. At this time, the bandgap reference generates a current I, and the current I is proportionally copied into adjustable current sources I2 and I3 through the common-source and common-gate current mirrors. The currents of the adjustable current sources I2 and I3 are both I, and the currents of the fixed current sources I1 and I4 are I f The current difference between the adjustable current source I2 and the fixed current source I1 generates a DC voltage V1 on the resistor R1 = (I f -I)×R1, the current difference between the adjustable current source I3 and the fixed current source I4 generates a DC voltage V2 on the resistor R2 = (II f)×R2, the resistance value of resistor R1 is equal to that of resistor R2. At this time, the differential DC voltage between the input terminals VIP and VIN of amplifier OPA2 is V1-V2, and the DC voltage Vo at the output terminal of amplifier OPA2 is A×(V1-V2)+V3, where A is the gain of amplifier OPA2, A×(V1-V2) is the DC voltage after the differential DC voltage (V1-V2) of amplifier OPA2 input is amplified by amplifier OPA2, and V3 is the DC voltage output by amplifier OPA2 itself when amplifier OPA2 has no input differential DC voltage. DC voltage, when the clock input port clk10 is low and clk11 is high, the DC offset calibration operation starts. The DC offset calibration principle is: if the DC voltage Vo at the output end of the amplifier OPA2 is greater than VDD / 2 (VDD / 2 is the DC voltage at the output end when the amplifier OPA2 is working normally), the ADC quantizes the voltage at the output port Vo of the amplifier OPA2 and outputs an 8-bit digital signal. The 8-bit digital signal controls the clock input ports S1-S8 to turn on and off respectively, thereby controlling the current mode DAC to generate a current I greater than I / 2 DAC1 (The current I / 2 is the current generated by the current mode DAC after the ADC quantizes the voltage Vo = VDD / 2). The current generated by the DAC is I DAC1 After the common-source and common-gate current mirrors, they are proportionally copied into adjustable current sources I2 and I3, thereby increasing the current size of the adjustable current sources I2 and I3, so A×(V1-V2) is reduced, causing the DC voltage Vo at the output end of the amplifier OPA2 to decrease. If the DC voltage Vo at the output end of the amplifier OPA2 is less than VDD / 2, the ADC will quantize the voltage at the output port Vo of the amplifier OPA2 and output an 8-bit digital signal. The 8-bit digital signal will control the clock input ports S1-S8 to turn on and off respectively, thereby controlling the current mode DAC to generate a current I smaller than I / 2. DAC2 , the current generated by the DAC is I DAC2 Similarly, the cascode current mirror is used to copy the adjustable current sources I2 and I3 in the same proportion, thereby reducing the current size of the adjustable current sources I2 and I3, so A×(V1-V2) is increased, so that the DC voltage Vo at the output end of the amplifier OPA2 rises, and then the above operation is repeated, so that the output DC voltage Vo of the amplifier OPA2 is close to VDD / 2. After a period of calibration time, the clock clk11 is low, the switch K13 is disconnected, the offset calibration operation is completed, and the circuit works normally.
[0029] S2.2: High frequency Hall signal amplification operation
[0030] After the DC offset calibration operation of the high-frequency path is completed, the high-frequency circuit can work normally. The frequency of the current flowing into the S-shaped copper rail is greater than the cut-off frequency Fx. Two pairs of differential magnetic fields are generated under the S-shaped copper rail, which are detected by the differential Hall probes (X1 and X2) of the low-frequency path and the differential Hall probes (X3 and X4) of the high-frequency path respectively. However, since the frequency of the current flowing into the S-shaped copper rail is greater than Fx, the high-frequency path amplifies the input magnetic field signal normally, and the low-frequency path does not amplify the input magnetic field signal. At this time, the magnetic field signals detected by the Hall probes (X3 and X4) in the bias circuits N_CS1 and N_CS2 are equal in magnitude and opposite in direction. The voltage output by the bias circuit N_CS1 is Vh+V os1 +Vc (Vh is the Hall voltage, Vc is the interference voltage caused by the common mode magnetic field, V os1 is the offset voltage output by the Hall probe X3), and the voltage output by the bias circuit N_CS2 is -Vh+V os2 +Vc, (V os2 is the offset voltage output by the Hall probe X4), the Hall voltage and offset voltage output by the bias circuit N_CS1 are converted into currents Ih+I os1 +Ic(Ih、I os1 , Ic is the voltage Vh, V os1 , Vc is converted into current through transconductance amplifier circuit GM3), the Hall voltage and offset voltage output by bias circuit N_CS2 are converted into current through transconductance amplifier circuit GM4, respectively -Ih+I os2 +Ic(Ih、I os2 , Ic is the voltage Vh, V os2 , Vc is converted into current by transconductance amplifier circuit GM4); the current output by transconductance amplifier circuit GM3 and GM4 is subtracted to get 2Ih+I os1 -I os2 , the current output by GM3 and GM4 is subtracted and then flows through resistors R1 and R2 to convert into voltage V N_CS =R1×(2Ih+I os1 -I os2 ), the resistance values of resistors R1 and R2 are equal; the Hall voltage V output by the voltage amplifier circuit N_CS After the amplification and offset calibration circuit, the Hall voltage V=A×R1×(2Ih+I os1 -I os2 ); A is the gain of amplifier OPA2 in the amplification and offset calibration circuit.
[0031] S2.3: Matching network circuit operation
[0032] The output Hall voltage signal V of the amplification and offset calibration circuit passes through the matching network input ports Vi_h1 and Vi_h2. Since the input ports Vi_h1 and Vi_h2 use input capacitors to connect the subsequent circuits, a high-pass filter is present from the matching network input ports Vi_h1 and Vi_h2 to the matching network output ports Vout_p and Vout_n. Therefore, the matching network is a high-pass filter for the high-frequency path, and the cut-off frequency is Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitance of capacitor C12, the output signal V of the amplification and offset calibration circuit is a signal with a frequency greater than Fx, and the Hall voltage can be normally output through the high-pass filter. The low-frequency path is connected to the matching network input ports Vi_l1 and Vi_l2. Because the input ports Vi_l1 and Vi_l2 are connected to the subsequent circuits using resistors, a low-pass filter is present from the matching network input ports Vi_l1 and Vi_l2 to the matching network output ports Vout_p and Vout_n. Therefore, the matching network is a low-pass filter for the low-frequency path, and the cut-off frequency is also Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitor C12 is the capacitor. The low-frequency signal is a signal with a frequency less than Fx, which can normally output the Hall voltage through the low-pass filter. The gain of the low-frequency signal circuit and the gain of the high-frequency signal circuit are designed to be the same. Therefore, the overall gain of the low-frequency signal circuit and the high-frequency signal circuit can be combined together to effectively increase the overall circuit bandwidth.
[0033] Beneficial effects:
[0034] 1. The present invention has a novel structure and is simple to implement. The low-frequency path adopts current mode dynamic offset elimination and weak Hall current amplification technology, which can not only achieve extremely low residual offset and noise, but also obtain extremely high linearity.
[0035] 2. The amplification and offset calibration circuit proposed in the present invention not only solves the problem of circuit malfunction due to excessive DC offset of the high-frequency path, but also achieves high gain and bandwidth, and the overall circuit has low residual offset.
[0036] 3. The present invention proposes a dual-channel circuit design using a pure Hall device probe, which does not require a large-sized Rogowski coil and coupling capacitor, which not only improves the sensor integration and reduces power consumption, but also obtains a bandwidth above MHz. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is the overall circuit structure diagram of the present invention.
[0038] Figure 2 It is a schematic diagram of the on-chip S-shaped copper track layout of the present invention.
[0039] Figure 3 It is a schematic diagram of the working timing of the present invention.
[0040] Figure 4 It is a schematic diagram of the bandwidth matching principle of the present invention.
[0041] Figure 5 This is a schematic diagram of the principle of the dynamic rotation circuit of the present invention. Identification: a- indicates the a port of the Hall probe; b- indicates the b port of the Hall probe; c- indicates the c port of the Hall probe; d- indicates the d port of the Hall probe.
[0042] Figure 6 It is a schematic diagram of the principle of the current integration amplifier circuit of the present invention.
[0043] Figure 7 It is a schematic diagram of the principle of the correlated double sampling circuit of the present invention.
[0044] Figure 8 It is a schematic diagram of the voltage amplification circuit principle of the present invention.
[0045] Fig. 9 The schematic diagram of the principle of the amplification and offset calibration circuit of the present invention. The symbols are as follows: (a) represents the structure of the amplification and offset calibration circuit; (b) represents the structure of the adjustable current source circuit in the amplification and offset calibration circuit.
[0046] Fig.10 It is a schematic diagram of the matching network circuit principle of the present invention.
[0047] Fig.11 It is a schematic diagram of the overall system bandwidth simulation result of the present invention.
[0048] Fig.12 It is a schematic diagram of the simulation results of the overall system step response of the present invention. DETAILED DESCRIPTION
[0049] The following examples will enable those skilled in the art to more fully understand the present invention, but are not intended to limit the present invention in any way.
[0050] refer to Figure 1The overall circuit structure diagram of the dual-channel broadband Hall current sensor proposed in the present invention. The dual-channel broadband Hall current sensor proposed in the present invention includes 1 low-frequency path, 1 high-frequency path, 1 matching network, 1 clock generation circuit and 1 on-chip S-shaped copper track. Further, the output ports of the low-frequency path are Vo_cds1 and Vo_cds2, and the output ports Vo_cds1 and Vo_cds2 are respectively connected to the matching network circuit input ports Vi_l1 and Vi_l2. Further, the high-frequency path output ports are Vo_lo1 and Vo_lo2, and the output ports are Vo_lo1 and Vo_lo2 respectively connected to the matching network input ports Vi_h1 and Vi_h2, and the matching network output ports are Vout_p and Vout_n. Further, the clock generating circuit output ports are T1~T4, T5, T6, T7~T9, and the output ports are connected to the low-frequency path clock input ports clk1~clk4, clk5, clk6, clk7~clk9, and the clock generating circuit output ports are T10 and T11, and the output ports are connected to the high-frequency path clock input ports clk10 and clk11.
[0051] The low-frequency path further includes a dynamic rotating current circuit, a current integration amplifier circuit, and a correlated double sampling circuit. Further, the dynamic rotating current circuit output port Vo1 is connected to the current integration amplifier circuit input port Vi_1, the dynamic rotating current circuit output port Vo4 is connected to the current integration amplifier circuit input port Vi_1, the dynamic rotating current circuit output port Vo2 is connected to the current integration amplifier circuit input port Vi_2, the dynamic rotating current circuit output port Vo3 is connected to the current integration amplifier circuit input port Vi_2, the current integration amplifier circuit output ports Vo_i1 and Vo_i2 are respectively connected to the correlated double sampling circuit input ports Vi_cds1 and Vi_cds2, and the correlated double sampling circuit output ports Vo_cds1 and Vo_cds2 are respectively connected to the matching network circuit input ports Vi_l1 and Vi_l2.
[0052] refer to Figure 5The schematic diagram of the principle of the dynamic rotating circuit in the dual-channel Hall current sensor proposed in the present invention. The dynamic rotating current circuit includes two rotating current circuits (CS1 and CS2) with the same structure and two identical transconductance amplifier circuits (GM1 and GM2). Furthermore, the rotating current circuit CS1 includes 16 NMOS tubes M1~M16, a Hall probe X1, and a bias current source Ibias. Taking the connection relationship between the rotating current circuit CS1 and the Hall probe X1 as an example, the drains of the NMOS tubes M1~M4 are commonly connected to the output end of the input bias current source Ibias, the input end of the bias current source Ibias is connected to the voltage source VDD, the gates of the NMOS tubes M1~M4 are respectively connected to the clock signals clk1~clk4 in sequence, and the sources of the NMOS tubes M1~M4 are respectively connected to the a port, b port, d port, and c port of the Hall probe X1 in sequence; the sources of the NMOS tubes M5~M8 are commonly connected to GND, and the gates of the NMOS tubes M5~M8 are respectively connected to the clock signals clk1~clk4 in sequence. The drains of the NMOS tubes M5 to M8 are connected to the a port, b port, d port and c port of the Hall probe X1 respectively; the sources of the NMOS tubes M9 to M12 are connected to the external port Vs1 in common, the gates of the NMOS tubes M9 to M12 are connected to the clock signals clk1 to clk4 in sequence, and the drains of the NMOS tubes M9 to M12 are connected to the c port, a port, d port and b port of the Hall probe respectively; the sources of the NMOS tubes M13 to M16 are connected to the external port Vs2 in common, the gates of the NMOS tubes M13 to M16 are connected to the clock signals clk1 to clk4 in sequence, and the drains of the NMOS tubes M13 to M16 are connected to the d port, b port, c port and a port of the Hall probe X1 in sequence; the substrates of all 16 NMOS tubes are grounded. Furthermore, the rotating current circuit CS2 includes 16 NMOS tubes M1-M16, a Hall probe X2, clock signal input ports clk1-clk4, bias current source Ibias and external output ports Vs3 and Vs4, and the circuit structure of the rotating current circuit CS2 is consistent with the circuit structure of the rotating current circuit CS1. Furthermore, the output ports Vs1 and Vs2 of the rotating current circuit CS1 are connected to the input ports V1 and V2 of the transconductance amplifier circuit GM1, and the output ports Vs3 and Vs4 of the rotating current circuit CS2 are connected to the input ports V3 and V4 of the transconductance amplifier circuit GM2.
[0053] refer to Figure 6The schematic diagram of the principle of the current integration amplifier circuit in the dual-channel Hall current sensor circuit proposed by the present invention is as follows. The current integration amplifier circuit includes an amplifier OPA, a capacitor C1, a capacitor C2, and switches K1 to K4. Further, switches K1 and K2 are connected to the clock signal clk5, switches K3 and K4 are connected to the clock signal clk6, output ports Vo1 and Vo2 of the transconductance amplifier circuit GM1 are respectively connected to the current integration amplifier circuit input ports Vi_1 and Vi_2, output ports Vo3 and Vo4 of the transconductance amplifier circuit GM2 are respectively connected to the current integration amplifier circuit input ports Vi_2 and Vi_1, input port Vi_1 is connected to the amplifier OPA in-phase input port through switch K1, the other port of switch K1 is respectively connected to a port of switch K3 and a port of capacitor C1, the other port of switch K3 and the other port of capacitor C1 are commonly connected to the amplifier OPA inverting output port Vo_i1, input port Vi_2 is connected to the amplifier OPA inverting input port through switch K2, the other port of switch K2 is respectively connected to a port of switch K4 and a port of capacitor C2, the other port of switch K4 and the other port of capacitor C2 are commonly connected to the amplifier OPA in-phase output port Vo_i2.
[0054] refer to Figure 7 The schematic diagram of the principle of the correlated double sampling circuit in the dual-channel Hall current sensor proposed by the present invention. The correlated double sampling circuit includes an amplifier OPA1, capacitors C3 to C8, and switches K5 to K12. Switches K5, K6, K9, and K10 are connected to the clock signal clk7, switches K7 and K11 are connected to the clock signal clk8, and switches K8 and K12 are connected to the clock signal clk9. The input port Vi_cds1 is connected to one end of the capacitor C3, and the other end of the capacitor C3 is not only connected to the amplifier OPA1 op amp output port Vn through the switch K5, but also connected to one end of the capacitor C4, and the other end of the capacitor C4 is not only connected to the ground through the switch K6, but also connected to the amplifier OPA1 op amp output terminal Vn through the switch K7, and the amplifier OPA1 op amp output terminal Vn is connected to one end of the capacitor C5 through the switch K8 and serves as the output port Vo_cds1, and the other end of the capacitor C5 is connected to the ground. The input port Vi_cds2 is connected to one end of the capacitor C6, and the other end of the capacitor C6 is not only connected to the amplifier OPA1 op amp output port Vp through the switch K9, but also connected to one end of the capacitor C7. The other end of the capacitor C7 is not only connected to the ground through the switch K11, but also connected to the amplifier OPA1 op amp output terminal Vp through the switch K10. The amplifier OPA1 op amp output terminal Vp is connected to one end of the capacitor C8 through the switch K12 and serves as the output port Vo_cds2. The other end of the capacitor C8 is connected to the ground.
[0055] refer to Figure 1The overall circuit structure diagram of the dual-channel broadband Hall current sensor proposed in the present invention. The high-frequency path includes two bias circuits (N_CS1 and N_CS2) with the same structure, a voltage amplifier circuit, and an amplification and offset calibration circuit. The bias circuit output ports Vno1, Vno2, Vno3, and Vno4 are connected to the voltage amplifier circuit input ports Vi_ns1, Vi_ns2, Vi_ns3, and Vi_ns4, and the voltage amplifier circuit output ports Vo_ns1 and Vo_ns2 are respectively connected to the amplification and offset calibration circuit input ports Vi_lo1 and Vi_lo2, and the amplification and offset calibration circuit output ports Vo_lo1 and Vo_lo2 are connected to the matching network input ports Vi_h1 and Vi_h2. The bias circuit N_CS1 includes a Hall probe X3, a bias current Ibias terminal, the bias current Ibias flows in from the b port of the Hall probe X3, the d end of the Hall probe X3 is grounded, the a port and the c port of the Hall probe X3 are output ports Vno1 and Vno2, and the output ports Vno1 and Vno2 are respectively connected to the voltage amplifier circuit input ports Vi_ns1 and Vi_ns2, and the bias circuit N_CS2 includes a Hall probe X4, a bias current Ibias terminal, the bias current Ibias flows in from the b port of the Hall probe X4, the d end of the Hall probe X3 is grounded, the a port and the c port of the Hall probe X4 are output ports Vno3 and Vno4, and the output ports Vno3 and Vno4 are respectively connected to the voltage amplifier circuit input ports Vi_ns3 and Vi_ns4.
[0056] refer to Figure 8 The schematic diagram of the voltage amplifier circuit principle in the dual-channel Hall current sensor proposed in the present invention. The voltage amplifier circuit includes transconductance amplifier circuits GM3 and GM4, resistors R1 and R2. The in-phase output port of the transconductance amplifier circuit GM3 and the inverting output port of the transconductance amplifier circuit GM4 are connected together to form an output port Vo_ns1, and the inverting output port of the transconductance amplifier circuit GM3 and the in-phase output port of the transconductance amplifier circuit GM4 are connected together to form an output port Vo_ns2. The output ports Vo_ns1 and Vo_ns2 are connected to one port of the resistor R1 and the resistor R2 respectively, and the other ports of the resistor R1 and the resistor R2 are grounded respectively.
[0057] refer to Fig. 9The schematic diagram of the principle of the amplification and offset calibration circuit in the dual-channel Hall current sensor proposed in the present invention. The amplification and offset calibration circuit includes an amplifier OPA2, an analog-to-digital converter ADC, a current mode DAC, fixed current sources I1, I4, adjustable current sources I2, I3, and a switch K13. The input port Vi_lo1 is connected to the input port VIP of the amplifier OPA2, and the input port VIP of the amplifier OPA2 is respectively connected in series with an adjustable current source I2 and a fixed current source I1. The input port Vi_lo2 is connected to the input port VIN of the amplifier OPA2, and the input port VIN of the amplifier OPA2 is respectively connected in series with an adjustable current source I3 and a fixed current source I4. The output port Vo of the amplifier OPA2 is connected to the ADC through the switch K13, and the switch K13 is connected to the clock signal clk11. The further current mode DAC includes 17 PMOS tubes M1~M17, 9 PMOS The controllable current source I2 includes six NMOS tubes M33 to M38, and the controllable current source I3 includes four PMOS tubes M18 to M21. The bandgap reference output port Ierf is connected to the source of the tube M22. The tubes M0, M9, M22, and M23 form a common source and common gate structure. The gates of the tubes M22 and M0 are connected to the drain of the tube M22. The gates of the tubes M22 and M0 are connected to the drain of the tube M22. The drain of tube 2 is connected to the source of tube M23, the gates of tube M23 and tube M9 are connected to the drain of tube M23, the drain of tube M23 is connected to GND, the sources of PMOS tubes M0~M8 are connected to the power supply voltage VDD, the gates of tubes M0~M8 are connected to the gate of tube M22, the sources of PMOS tubes M9~M17 are connected to the drains of tubes M0~M8 respectively, the gates of tubes M9~M17 are connected to the gate of tube M23, the sources of PMOS tubes M24~M32 are connected to the drains of tubes M9~M17 respectively, and the gates of PMOS tubes M24~M32 are connected to the clock signals S0~S8 respectively , the drains of PMOS tubes M24~M32 are connected to the drain of tube M34, tubes M33~M35 form a common source and common gate structure, the gates of tube M34 and tube M35 are connected to the drain of tube M34, the sources of tube M34 and tube M35 are connected to the drain of tube M33 and tube M36 respectively, the gates of tube M34 and tube M35 are connected to the drain of tube M34, the sources of tube M33 and tube M36 are connected to GND, the gates of tube M33 and tube M36 are connected to the drain of tube M33, the gate of tube M37 is connected to the gate of tube M34, the source of tube M37 is connected to the drain of tube M38, and the drain of tube M37 is the output port of adjustable current source I2,The gate of M38 is connected to the gate of M33, the source of M38 is grounded, the drain of M35 is connected to the drain of M19, the NMOS tubes M18 to M20 form a common source and common gate structure, the gates of M19 and M21 are connected to the drain of M19, the sources of M19 and M21 are connected to the drains of M18 and M20 respectively, the gates of M18 and M20 are connected to the drain of M18, the sources of M18 and M20 are connected to the power supply voltage VDD, the drain of M21 outputs an adjustable current source I3, the substrates of 32 PMOS tubes M1 to M32 and 6 NMOS tubes M33 to M37 are grounded.
[0058] refer to Fig.10 The schematic diagram of the matching circuit principle in the dual-channel Hall current sensor proposed by the present invention. The matching network includes capacitors C10-C13, resistors R3-R6, and amplifier OPA3. Input ports Vi_h1 and Vi_h2 are respectively connected to one port of capacitors C10 and C11, input ports Vi_l1 and Vi_l2 are respectively connected to one port of resistors R3 and R4, capacitor C10 and another port of resistor R4 are commonly connected to the inverting input end of amplifier OPA3, capacitor C11 and another port of resistor R3 are commonly connected to the non-inverting input end of amplifier OPA3, the non-inverting end of amplifier OPA3 is commonly connected to resistor R5, one port of capacitor C12, resistor R5, and another port of capacitor C12 are commonly connected to the inverting output port Vout_p of amplifier OPA3, and the inverting end of amplifier OPA3 is simultaneously connected to resistor R6, one port of capacitor C13, resistor R6, and another port of capacitor C13 are commonly connected to the non-inverting output port Vout_n of amplifier OPA3.
[0059] refer to Figure 2 The schematic diagram of the layout of the on-chip S-shaped copper track in the dual-channel Hall current sensor proposed in the present invention. The on-chip S-shaped copper track is designed as an S-shaped current-carrying copper track using the top thick metal above the integrated Hall probe. One end of the S-shaped copper track flows in the current, and the other end is the current outflow port. Two pairs of differential Hall probes are placed at the corners of the S-shaped copper track, namely Hall probes (X1 and X2) and Hall probes (X3 and X4). The two pairs of differential Hall probes serve as Hall probes for the high-frequency path and low-frequency path of the current sensor. When current flows into the S-shaped copper track, two pairs of identical differential magnetic fields (differential magnetic field 1 and differential magnetic field 2) are generated under the S-shaped copper track. Each pair of differential magnetic fields has the same magnitude and opposite directions. The differential magnetic field 1 is detected by the Hall probes (X1 and X2), and the differential magnetic field 2 is detected by the Hall probes (X3 and X4).
[0060] refer to Figure 4The schematic diagram of the bandwidth matching principle in the dual-channel Hall current sensor proposed in the present invention. In the dual-channel broadband Hall current sensor circuit, the low-frequency path output ports Vo_cds1 and Vo_cds2 are connected to the matching network input ports Vi_l1 and Vi_l2. Since the input ports Vi_l1 and Vi_l2 are connected to the subsequent circuits using resistors, the matching network is a low-pass filter for the low-frequency path, and the cut-off frequency is Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The high-frequency path output ports Vo_lo1 and Vo_lo2 are connected to the matching network input ports Vi_h1 and Vi_h2. Since the input ports Vi_h1 and Vi_h2 are connected to the subsequent circuits by capacitors, the matching network is a high-pass filter for the high-frequency path, and the cut-off frequency is also Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitor C12 is used as the capacitor, and the low-frequency signal circuit gain and the high-frequency signal circuit gain are designed to be the same size. At the same time, the cutoff frequency of the low-frequency signal circuit gain and the high-frequency signal circuit are both Fx. The matching network can combine the overall gain of the low-frequency path and the high-frequency path together, effectively increasing the overall circuit bandwidth.
[0061] refer to Figure 3 This is a working timing diagram of the dual-channel Hall current sensor circuit proposed by the present invention. Combined with the working timing diagram, the working method applied to a dual-channel broadband Hall current sensor circuit is as follows:
[0062] S1: The frequency of the current flowing into the S-shaped copper rail is less than the cut-off frequency Fx
[0063] S1.1: Four-phase rotation modulation operation of Hall signal polarity and offset signal polarity
[0064] When the frequency of the current flowing into the S-shaped copper rail is less than the cutoff frequency Fx, two pairs of differential magnetic fields are generated under the S-shaped copper rail, which are detected by the differential Hall probes (X1 and X2) of the low-frequency path and the differential Hall probes (X3 and X4) of the high-frequency path respectively. However, since the frequency of the current flowing into the S-shaped copper rail is less than the cutoff frequency Fx, the low-frequency path can amplify the input signal normally, and the high-frequency path does not amplify the input signal. At this time, when the first phase operation of the dynamic rotating current circuit is performed, the clock input clk1 of the dynamic rotating current circuit is high, and all other clock inputs are low. The differential magnetic field signals detected by the Hall probe X1 in the rotating current circuit CS1 and the Hall probe X2 in the rotating current circuit CS2 are equal in magnitude and opposite in direction. The voltage output by the rotating current circuit CS1 is Vh+Vos11 +Vc (Vh is the Hall voltage, Vc is the interference voltage caused by the common mode magnetic field, V os11 -V os14 is the offset voltage output by the rotating current circuit from the first phase to the fourth phase of the Hall probe X1), and the voltage output by the rotating current circuit CS2 is -Vh+V os21 +Vc(V os21 -V os24 is the offset voltage output by the rotating current circuit of the Hall probe X2 from the first phase to the fourth phase); when the second phase operation of the dynamic rotating current circuit is performed, the clock input clk2 of the dynamic rotating current circuit is high, and all other clock inputs are low, and the voltage output by the rotating current circuit CS1 is Vh-V os12 +Vc, the voltage output by the rotating current circuit CS2 is -Vh-V os22 +Vc; when the third phase of the dynamic rotating current circuit is operated, the clock input clk3 of the dynamic rotating current circuit is high, and all other clock inputs are low, and the voltage output by the rotating current circuit CS1 is -Vh+V os13 +Vc, the voltage output by the rotating current circuit CS2 is Vh+V os23 +Vc; when the fourth phase of the dynamic rotating current circuit is operated, the clock input clk4 of the dynamic rotating current circuit is high, and all other clock inputs are low, and the voltage output by the rotating current circuit CS1 is Vh-V os14 +Vc, the voltage output by the rotating current circuit CS2 is Vh-V os24 +Vc; the four-phase Hall voltage and offset voltage output by CS1 are converted into currents Ih+I os11 +Ic、Ih-I os12 +Ic, -Ih+I os13 +Ic、-Ih-I os14 +Ic(current Ih, I os11 -I os14 , Ic is the voltage Vh, V os11 -V os14 , Vc is converted into current through transconductance amplifier circuit GM1), and the four-phase Hall voltage and offset voltage aliasing signals output by CS2 are converted into currents through transconductance amplifier circuit GM2, which are -Ih+I os21 +Ic、-Ih-I os22 +Ic、Ih+I os23 +Ic、Ih-I os24 +Ic(current Ih, I os21 -I os24 , Ic is the voltage Vh, V os21 -V os24, Vc is converted into the current size by the transconductance amplifier circuit GM1), and then the Hall current and offset current of each phase output by the transconductance amplifier circuit GM1 are subtracted from the Hall current and offset current of each phase output by the transconductance amplifier circuit GM1 to obtain the new four-phase Hall current and offset current 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 、-2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 .
[0065] S1.2: Hall current integration amplification into Hall voltage operation
[0066] When the clock signals clk1 and clk2 are high and effective, the current output by the transconductance amplifier circuits GM1 and GM2 is subtracted to obtain the Hall current of the first phase and the second phase 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 When the first phase and the second phase are rotating, when the clock signal clk5 is high and effective, the Hall current of the first phase and the second phase is 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 The current is sent to the current integration amplifier circuit for operation. Because the polarity of the Hall current output by the first-phase and second-phase rotating current circuits is positive, and the polarity of the offset current is opposite, the offset currents cancel each other out after being sent to the current integration amplifier circuit, and the Hall currents are superimposed on each other, and the output Hall voltage obtained is V 1-2 =4Vh+Vos 1-2 , where 4Vh is the Hall voltage output after the Hall current Ih is integrated and amplified, Vos 1-2 It is the residual offset voltage after the first-phase and second-phase offset currents are integrated and amplified. Then, when the clock signal clk6 is valid at a high level, the voltages on the integrating capacitors C1 and C2 are cleared.
[0067] When the clock signals clk3 and clk4 are high and effective, the current output by the transconductance amplifier circuits GM1 and GM2 is subtracted to obtain the Hall current of the third and fourth phases -2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 When the third and fourth phases are rotating, the Hall current of the third and fourth phases is -2Ih+I os13 -I os23、-2Ih-I os14 +I os24 Perform current integration operation. Since the polarity of the Hall current output by the third-phase and fourth-phase rotating current is negative, and the polarity of the offset current changes in the opposite direction, the offset currents cancel each other out after being sent to the current integration amplifier circuit, and the Hall currents are superimposed on each other. The output Hall voltage obtained is V 3-4 =-4Vh+Vos 3-4 , where -4Vh is the Hall voltage output after the Hall current Ih is integrated and amplified, Vos 3-4 is the residual offset voltage after the third-phase and fourth-phase offset currents are integrated and amplified. Subsequently, when the clock signal clk6 is valid at a high level, the voltages on the integrating capacitors C1 and C2 are cleared.
[0068] S1.3: Hall voltage sampling and holding operation
[0069] When the clock control signal clk7 of the correlated double sampling circuit is high and effective, the output Hall voltage of the correlated double sampling circuit to the current integration amplifier circuit is V 1-2 =4Vh+Vos 1-2 Perform the first sampling and holding; when the clock control signal clk8 of the correlated double sampling circuit is high and effective, the output Hall voltage of the correlated double sampling circuit to the current integration amplifier circuit is V 3-4 =-4Vh+Vos 3-4 Perform the second sampling and holding. When the clock signal clk9 is high and effective, the correlated double sampling circuit uses the voltage value V held by the first sampling 1-2 Subtract the voltage value V held by the second sampling 3-4 , the output Hall voltage signal is Vout = V 1-2 -V 3-4 =8Vh+(Vos 1-2 -Vos 3-4 ).
[0070] S1.4: Filter out high frequency harmonics operation:
[0071] The Hall voltage obtained by subtracting the two samples is then passed through the matching network input ports Vi_l1 and Vi_l2. Because the input ports Vi_l1 and Vi_l2 are connected to the resistors respectively, a low-pass filter is formed with the subsequent connection circuit. The low-pass filter in the matching network filters out the high-frequency harmonic components and finally outputs the Hall voltage signal. The offset signal is effectively eliminated, and the output Hall voltage signal Vout = V 1-2 -V 3-4 =8Vh+(Vos 1-2 -Vos 3-4 ).
[0072] S2: The frequency of the current flowing into the S-shaped copper rail is greater than the cut-off frequency Fx
[0073] S2.1: High Frequency Path DC Offset Calibration Operation
[0074] Because the high-frequency path does not use the signal polarity modulation method to eliminate the DC offset in order to achieve high bandwidth, the DC offset of the high-frequency path will be large, which may cause the high-frequency path to malfunction. Therefore, before detecting the high-frequency magnetic field signal, the DC offset of the high-frequency path is calibrated. At this time, no current flows into the S-shaped copper rail, no magnetic field is generated around the S-shaped copper rail, no magnetic field signal is input, the clock input port clk10 is high level, clk11 is low level, and the clock input ports S1-S8 are at a low level. At this time, the bandgap reference generates a current I, and the current I is proportionally copied into adjustable current sources I2 and I3 through the common-source and common-gate current mirrors. The currents of the adjustable current sources I2 and I3 are both I, and the currents of the fixed current sources I1 and I4 are I f The current difference between the adjustable current source I2 and the fixed current source I1 generates a DC voltage V1 on the resistor R1 = (I f -I)×R1, the current difference between the adjustable current source I3 and the fixed current source I4 generates a DC voltage V2 on the resistor R2 = (II f )×R2, the resistance value of resistor R1 is equal to that of resistor R2. At this time, the differential DC voltage between the input terminals VIP and VIN of amplifier OPA2 is V1-V2, and the DC voltage Vo at the output terminal of amplifier OPA2 is A×(V1-V2)+V3, where A is the gain of amplifier OPA2, A×(V1-V2) is the DC voltage after the differential DC voltage (V1-V2) of amplifier OPA2 input is amplified by amplifier OPA2, and V3 is the DC voltage output by amplifier OPA2 itself when amplifier OPA2 has no input differential DC voltage. DC voltage, when the clock input port clk10 is low and clk11 is high, the DC offset calibration operation starts. The DC offset calibration principle is: if the DC voltage Vo at the output end of the amplifier OPA2 is greater than VDD / 2 (VDD / 2 is the DC voltage at the output end when the amplifier OPA2 is working normally), the ADC quantizes the voltage at the output port Vo of the amplifier OPA2 and outputs an 8-bit digital signal. The 8-bit digital signal controls the clock input ports S1-S8 to turn on and off respectively, thereby controlling the current mode DAC to generate a current I greater than I / 2 DAC1 (The current I / 2 is the current generated by the current mode DAC after the ADC quantizes the voltage Vo = VDD / 2). The current generated by the DAC is I DAC1After the common-source and common-gate current mirrors, they are proportionally copied into adjustable current sources I2 and I3, thereby increasing the current size of the adjustable current sources I2 and I3, so A×(V1-V2) is reduced, causing the DC voltage Vo at the output end of the amplifier OPA2 to decrease. If the DC voltage Vo at the output end of the amplifier OPA2 is less than VDD / 2, the ADC will quantize the voltage at the output port Vo of the amplifier OPA2 and output an 8-bit digital signal. The 8-bit digital signal will control the clock input ports S1-S8 to turn on and off respectively, thereby controlling the current mode DAC to generate a current I smaller than I / 2. DAC2 , the current generated by the DAC is I DAC2 Similarly, the cascode current mirror is used to copy the adjustable current sources I2 and I3 in the same proportion, thereby reducing the current size of the adjustable current sources I2 and I3, so A×(V1-V2) is increased, so that the DC voltage Vo at the output end of the amplifier OPA2 rises, and then the above operation is repeated, so that the output DC voltage Vo of the amplifier OPA2 is close to VDD / 2. After a period of calibration time, the clock clk11 is low, the switch K13 is disconnected, the offset calibration operation is completed, and the circuit works normally.
[0075] S2.2: High frequency Hall signal amplification operation
[0076] After the DC offset calibration operation of the high-frequency path is completed, the high-frequency circuit can work normally. The frequency of the current flowing into the S-shaped copper rail is greater than the cut-off frequency Fx. Two pairs of differential magnetic fields are generated under the S-shaped copper rail, which are detected by the differential Hall probes (X1 and X2) of the low-frequency path and the differential Hall probes (X3 and X4) of the high-frequency path respectively. However, since the frequency of the current flowing into the S-shaped copper rail is greater than Fx, the high-frequency path amplifies the input magnetic field signal normally, and the low-frequency path does not amplify the input magnetic field signal. At this time, the magnetic field signals detected by the Hall probes (X3 and X4) in the bias circuits N_CS1 and N_CS2 are equal in magnitude and opposite in direction. The voltage output by the bias circuit N_CS1 is Vh+V os1 +Vc (Vh is the Hall voltage, Vc is the interference voltage caused by the common mode magnetic field, V os1 is the offset voltage output by the Hall probe X3), and the voltage output by the bias circuit N_CS2 is -Vh+V os2 +Vc, (V os2 The Hall voltage and offset voltage output by the bias circuit N_CS1 are converted into currents Ih+I os1 +Ic(Ih、I os1 , Ic is the voltage Vh, V os1 , Vc is converted into current through transconductance amplifier circuit GM3), the Hall voltage and offset voltage output by bias circuit N_CS2 are converted into current through transconductance amplifier circuit GM4, respectively -Ih+Ios2 +Ic(Ih、I os2 , Ic is the voltage Vh, V os2 , Vc is converted into current by transconductance amplifier circuit GM4); the current output by transconductance amplifier circuit GM3 and GM4 is subtracted to get 2Ih+I os1 -I os2 , the current output by GM3 and GM4 is subtracted and then flows through resistors R1 and R2 to convert into voltage V N_CS =R1×(2Ih+I os1 -I os2 ), the resistance values of resistors R1 and R2 are equal; the Hall voltage V output by the voltage amplifier circuit N_CS After the amplification and offset calibration circuit, the Hall voltage V=A×R1×(2Ih+I os1 -I os2 ); A is the gain of amplifier OPA2 in the amplification and offset calibration circuit.
[0077] S2.3: Matching network circuit operation
[0078] The output Hall voltage signal V of the amplification and offset calibration circuit passes through the matching network input ports Vi_h1 and Vi_h2. Since the input ports Vi_h1 and Vi_h2 use input capacitors to connect the subsequent circuits, a high-pass filter is present from the matching network input ports Vi_h1 and Vi_h2 to the matching network output ports Vout_p and Vout_n. Therefore, the matching network is a high-pass filter for the high-frequency path, and the cut-off frequency is Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitance of capacitor C12, the output signal V of the amplification and offset calibration circuit is a signal with a frequency greater than Fx, and the Hall voltage can be normally output through the high-pass filter. The low-frequency path is connected to the matching network input ports Vi_l1 and Vi_l2. Because the input ports Vi_l1 and Vi_l2 are connected to the subsequent circuits using resistors, a low-pass filter is present from the matching network input ports Vi_l1 and Vi_l2 to the matching network output ports Vout_p and Vout_n. Therefore, the matching network is a low-pass filter for the low-frequency path, and the cut-off frequency is also Fx=1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitor C12 is the capacitor. The low-frequency signal is a signal with a frequency less than Fx, which can normally output the Hall voltage through the low-pass filter. The gain of the low-frequency signal circuit and the gain of the high-frequency signal circuit are designed to be the same. Therefore, the overall gain of the low-frequency signal circuit and the high-frequency signal circuit can be combined together to effectively increase the overall circuit bandwidth.
[0079] Example: According to Figure 1 The technical solution shown in the figure adopts SMIC 0.18μm standard CMOS process to preliminarily design a signal conditioning circuit of a dual-channel Hall current sensor (including dynamic rotating current circuit, current integration amplifier circuit, correlated double sampling circuit, bias circuit, amplifier and offset calibration circuit, matching network, clock generation circuit). The Hall probe model is designed using Verilog-A, and then the signal conditioning circuit of the dual-channel Hall current sensor is simulated. Fig.11 The amplitude-frequency characteristic curve obtained by simulating the signal conditioning circuit has a bandwidth of 3MHz, which meets the high bandwidth requirement. When detecting high-frequency current signals, a 40mT magnetic field signal with a rise time of 100ps is input into the signal input port of the Hall probe model to simulate the sudden change in magnetic field generated by the high-frequency current signal. Fig.12 It can be seen that the step response time of the Hall voltage output by the signal conditioning circuit is 450ns, achieving the purpose of fast over-current detection.
[0080] The technical process described above is only a preferred embodiment of the present invention, but does not represent all the details of the present invention. Any modification, equivalent substitution and improvement made by any professional familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A dual-channel broadband Hall current sensor, characterized in that: It includes 1 low-frequency path, 1 high-frequency path, 1 matching network, 1 clock generation circuit and 1 on-chip S-shaped copper track; the output ports of the low-frequency path are Vo_cds1 and Vo_cds2, which are respectively connected to the matching network input ports Vi_l1 and Vi_l2; the output ports of the high-frequency path are Vo_lo1 and Vo_lo2, which are respectively connected to the matching network input ports Vi_h1 and Vi_h2, the matching network input ports are Vi_l1, Vi_l2, Vi_h1, Vi_h2, and the output ports are Vout_p and Vout_n; the output ports T1-T4, T5, T6, T7-T9 of the clock generation circuit are connected to the low-frequency path clock input ports clk1-clk4, clk5, clk6, clk7-clk9, and the output ports T10 and T11 of the clock generation circuit are connected to the high-frequency path clock input ports clk10 and clk11; The low-frequency path includes a dynamic rotating current circuit, a current integration amplifier circuit, and a correlated double sampling circuit; the output ports Vo1 and Vo4 of the dynamic rotating current circuit are commonly connected to the input port Vi_1 of the current integration amplifier circuit, the output ports Vo2 and Vo3 of the dynamic rotating current circuit are commonly connected to the input port Vi_2 of the current integration amplifier circuit, the output ports Vo_i1 and Vo_i2 of the current integration amplifier circuit are respectively connected to the input ports Vi_cds1 and Vi_cds2 of the correlated double sampling circuit, and the output ports Vo_cds1 and Vo_cds2 of the correlated double sampling circuit are respectively connected to the input ports Vi_l1 and Vi_l2 of the matching network circuit; The dynamic rotating current circuit comprises two rotating current circuits (CS1 and CS2) with the same structure and two identical transconductance amplifier circuits (GM1 and GM2); the rotating current circuit CS1 comprises 16 NMOS tubes M1-M16, a Hall probe X1, and a bias current source Ibias; the drains of the NMOS tubes M1-M4 are commonly connected to the output end of the input bias current source Ibias; the input end of the bias current source Ibias is connected to the voltage source VDD; the gates of the NMOS tubes M1-M4 are respectively connected to the clock signal input port c lk1~clk4, the sources of NMOS tubes M1~M4 are connected to the a port, b port, d port and c port of Hall probe X1 respectively; the sources of NMOS tubes M5~M8 are connected to GND in common, the gates of NMOS tubes M5~M8 are connected to the clock signal input ports clk1~clk4 in sequence, the drains of NMOS tubes M5~M8 are connected to the a port, b port, d port and c port of Hall probe X1 in sequence; the sources of NMOS tubes M9~M12 are connected to the external port Vs1 in common, the gates of NMOS tubes M9~M12 are connected to the external port Vs2 in common, The drains of NMOS tubes M9 to M12 are connected to the c port, a port, d port and b port of the Hall probe respectively; the sources of NMOS tubes M13 to M16 are connected to the external port Vs2; the gates of NMOS tubes M13 to M16 are connected to the clock signal input ports clk1 to clk4 respectively; the drains of NMOS tubes M13 to M16 are connected to the d port, b port, c port and a port of the Hall probe X1 respectively; the substrates of NMOS tubes M1-M16 are grounded; the rotating The current circuit CS2 comprises 16 NMOS tubes M1-M16, a Hall probe X2, clock signal input ports clk1-clk4, a bias current source Ibias and external output ports Vs3 and Vs4. The circuit structure of the rotating current circuit CS2 is consistent with that of the rotating current circuit CS1; the output ports Vs1 and Vs2 of the rotating current circuit CS1 are connected to the input ports V1 and V2 of the transconductance amplifier circuit GM1, and the output ports Vs3 and Vs4 of the rotating current circuit CS2 are connected to the input ports V3 and V4 of the transconductance amplifier circuit GM2; The current integration amplifier circuit includes an amplifier OPA, a capacitor C1, a capacitor C2, and switches K1 to K4; switches K1 and K2 are connected to a clock signal clk5, switches K3 and K4 are connected to a clock signal clk6, output ports Vo1 and Vo2 of the transconductance amplifier circuit GM1 are respectively connected to input ports Vi_1 and Vi_2 of the current integration amplifier circuit, output ports Vo3 and Vo4 of the transconductance amplifier circuit GM2 are respectively connected to input ports Vi_2 and Vi_1 of the current integration amplifier circuit, input port Vi_1 is connected to the in-phase input port of the amplifier OPA through switch K1, another port of switch K1 is respectively connected to a port of switch K3 and a port of capacitor C1, another port of switch K3 and another port of capacitor C1 are commonly connected to the inverting output port Vo_i1 of the amplifier OPA, input port Vi_2 is connected to the inverting input port of the amplifier OPA through switch K2, another port of switch K2 is respectively connected to a port of switch K4 and a port of capacitor C2, another port of switch K4 and another port of capacitor C2 are commonly connected to the in-phase output port Vo_i2 of the amplifier OPA; The correlated double sampling circuit includes an amplifier OPA1, capacitors C3 to C8, and switches K5 to K12; switches K5, K6, K9, and K10 are commonly connected to a clock signal clk7, switches K7 and K11 are commonly connected to a clock signal clk8, and switches K8 and K12 are commonly connected to a clock signal clk9; an input port Vi_cds1 is connected to one end of capacitor C3, and the other end of capacitor C3 is not only connected to the output port Vn of amplifier OPA1 through switch K5, but also connected to one end of capacitor C4, and the other end of capacitor C4 is not only connected to the ground through switch K6, but also connected to the output end Vn of amplifier OPA1 through switch K7, and the amplifier The output terminal Vn of the amplifier OPA1 is connected to one end of the capacitor C5 through the switch K8 and serves as the output port Vo_cds1, and the other end of the capacitor C5 is connected to the ground; the input port Vi_cds2 is connected to one end of the capacitor C6, and the other end of the capacitor C6 is not only connected to the output port Vp of the amplifier OPA1 through the switch K9, but also connected to one end of the capacitor C7, and the other end of the capacitor C7 is not only connected to the ground through the switch K11, but also connected to the output terminal Vp of the amplifier OPA1 through the switch K10, and the output terminal Vp of the amplifier OPA1 is connected to one end of the capacitor C8 through the switch K12 and serves as the output port Vo_cds2, and the other end of the capacitor C8 is connected to the ground; The high-frequency path includes two bias circuits (N_CS1 and N_CS2) with the same structure, a voltage amplifier circuit, and an amplification and offset calibration circuit; the bias circuit output ports Vno1, Vno2, Vno3, and Vno4 are connected to the voltage amplifier circuit input ports Vi_ns1, Vi_ns2, Vi_ns3, and Vi_ns4, the voltage amplifier circuit output ports Vo_ns1 and Vo_ns2 are respectively connected to the amplification and offset calibration circuit input ports Vi_lo1 and Vi_lo2, and the amplification and offset calibration circuit output ports Vo_lo1 and Vo_lo2 are connected to the matching network input ports Vi_h1 and Vi_h2; The bias circuit N_CS1 includes a Hall probe X3 and a bias current Ibias terminal, the bias current Ibias flows in from the b port of the Hall probe X3, the d end of the Hall probe X3 is grounded, the a port and the c port of the Hall probe X3 are output ports Vno1 and Vno2, and the output ports Vno1 and Vno2 are respectively connected to the voltage amplifier circuit input ports Vi_ns1 and Vi_ns2, and the bias circuit N_CS2 includes a Hall probe X4 and a bias current Ibias terminal, the bias current Ibias flows in from the b port of the Hall probe X4, the d end of the Hall probe X3 is grounded, and the a port and the c port of the Hall probe X4 are output ports Vno 3. Vno4, output ports Vno3 and Vno4 are connected to input ports Vi_ns3 and Vi_ns4 of the voltage amplifier circuit respectively; the voltage amplifier circuit comprises transconductance amplifier circuits GM3 and GM4, resistor R1 and resistor R2; the in-phase output port of the transconductance amplifier circuit GM3 and the inverting output port of the transconductance amplifier circuit GM4 are connected together to form output port Vo_ns1, the inverting output port of the transconductance amplifier circuit GM3 and the in-phase output port of the transconductance amplifier circuit GM4 are connected together to form output port Vo_ns2, the output ports Vo_ns1 and Vo_ns2 are connected to one port of the resistor R1 and the resistor R2 respectively, and the other ports of the resistor R1 and the resistor R2 are grounded respectively; The amplification and offset calibration circuit includes an amplifier OPA2, an analog-to-digital converter ADC, a current mode DAC, fixed current sources I1, I4, adjustable current sources I2, I3, and a switch K13; the input port Vi_lo1 is connected to the input port VIP of the amplifier OPA2, the input port VIP of the amplifier OPA2 is respectively connected in series with an adjustable current source I2 and a fixed current source I1, the input port Vi_lo2 is connected to the input port VIN of the amplifier OPA2, the input port VIN of the amplifier OPA2 is respectively connected in series with an adjustable current source I3 and a fixed current source I4, the output port Vo of the amplifier OPA2 is connected to the ADC through the switch K13, the switch K13 is connected to the clock signal clk11, the current mode DAC The invention comprises 17 PMOS tubes M1-M17, 9 PMOS tubes M24-M32, 9 clock signal input ports S0-S8 (the clock signal connected to the input port S0 is clk10, and the clock signal connected to the input ports S1-S8 is an 8-bit digital signal output by the ADC), the adjustable current source I2 comprises 6 NMOS tubes M33-M38, the adjustable current source I3 comprises 4 PMOS tubes M18-M21, the bandgap reference output port Ierf is connected to the source of the tube M22, the tube M0, the tube M9, the tube M22, and the tube M23 form a common source and common gate structure, the gates of the tube M22 and the tube M0 are connected to the drain of the tube M22, the drain of the tube M22 is connected to the source of the tube M23, and the gates of the tube M23 and the tube M9 are connected to each other. The drain of M23 is connected, the drain of M23 is connected to GND, the sources of PMOS tubes M0~M8 are connected to the power supply voltage VDD, the gates of M0~M8 are connected to the gate of M22, the sources of PMOS tubes M9~M17 are connected to the drains of PMOS tubes M0~M8 respectively, the gates of PMOS tubes M9~M17 are connected to the gate of M23, the sources of PMOS tubes M24~M32 are connected to the drains of PMOS tubes M9~M17 respectively, the gates of PMOS tubes M24~M32 are connected to the clock signals S0~S8 respectively, the drains of PMOS tubes M24~M32 are connected to the drain of M34, M33~M35 form a common source and common gate structure, the gates of M34 and M35 are connected to the drain of M34, M3 The sources of tubes M4 and M35 are connected to the drains of tubes M33 and M36 respectively. The gates of tubes M34 and M35 are connected to the drain of tube M34. The sources of tubes M33 and M36 are connected to GND. The gates of tubes M33 and M36 are connected to the drain of tube M33. The gate of tube M37 is connected to the gate of tube M34. The source of tube M37 is connected to the drain of tube M38. The drain of tube M37 is the output port of adjustable current source I2. The gate of tube M38 is connected to the gate of tube M33. The source of tube M38 is grounded. The drain of tube M35 is connected to the drain of tube M19. NMOS tubes M18 to M20 form a common source and common gate structure. The gates of tubes M19 and M21 are connected to the drain of tube M19. The sources of tubes M19 and M21 are connected to the drain of tubes M18 and M20 respectively.The gates of M18 and M20 are connected to the drain of M18, the sources of M18 and M20 are connected to the power supply voltage VDD, the drain of M21 outputs an adjustable current source I3, and the substrates of 32 PMOS tubes M1 to M32 and 6 NMOS tubes M33 to M37 are grounded.
2. A dual-channel broadband Hall current sensor according to claim 1, characterized in that: The matching network includes capacitors C10~C13, resistors R3~R6, and amplifier OPA3. The input ports Vi_h1, Vi_h2, Vi_l1, and Vi_l2 are respectively connected to capacitors C10, C11, and one port of resistors R3 and R4 in sequence. The other port of capacitor C10 and resistor R4 are commonly connected to the inverting input terminal of amplifier OPA3. The other port of capacitor C11 and resistor R3 are commonly connected to the non-inverting input terminal of amplifier OPA3. The non-inverting terminal of amplifier OPA3 is simultaneously connected to one port of resistor R5 and capacitor C12. The other port of resistor R5 and capacitor C12 is commonly connected to the inverting output port Vout_p of amplifier OPA3. The inverting terminal of amplifier OPA3 is simultaneously connected to one port of resistor R6 and capacitor C13. The other port of resistor R6 and capacitor C13 is commonly connected to the non-inverting output port Vout_n of amplifier OPA3.
3. A dual-channel broadband Hall current sensor according to claim 1, characterized in that: The on-chip S-shaped copper track is designed as an S-shaped current-carrying copper track using the top thick metal above the integrated Hall probe. Current flows into one end of the S-shaped copper track, and the other end is a current outflow port. Two pairs of differential Hall probes are placed at the corners of the S-shaped copper track, namely Hall probes (X1 and X2) and Hall probes (X3 and X4). The two pairs of differential Hall probes serve as Hall probes for the high-frequency path and the low-frequency path of the current sensor.
4. A dual-channel broadband Hall current sensor according to claim 1, characterized in that: The matching network is a low-pass filter for the low-frequency path, and the cut-off frequency is Fx = 1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The matching network is a high-pass filter for the high-frequency path, and the cut-off frequency is Fx = 1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 is the capacitance of capacitor C12.
5. A method for implementing a dual-channel broadband Hall current sensor according to any one of claims 1 to 4, characterized in that: include: S1: If the frequency of the current flowing into the S-shaped copper rail is less than the cut-off frequency Fx, then execute steps S1.1 to S1.4: S1.1: Perform four-phase rotation modulation operation of the Hall signal polarity and the offset signal polarity; S1.2: perform the Hall current integration and amplification into the Hall voltage operation; S1.3: Execute Hall voltage sampling and holding operation; S1.4: Filter out high-frequency harmonics; S2: If the frequency of the current flowing into the S-shaped copper rail is greater than the cut-off frequency Fx, then execute steps S2.1 to S2.3: S2.1: Execute the high frequency path DC offset calibration operation; S2.2: Execute high frequency Hall signal amplification operation; S2.3: Perform matching network circuit operation.
6. The method for realizing a dual-channel broadband Hall current sensor according to claim 5, characterized in that: The four-phase rotation modulation operation of the Hall signal polarity and the offset signal polarity in S1.1 is as follows: When the first phase of the dynamic rotating current circuit is operated, the clock input clk1 of the dynamic rotating current circuit is high, and all other clock inputs are low. The voltage output by the rotating current circuit CS1 is Vh+V os11 +Vc (Vh is the Hall voltage, Vc is the interference voltage caused by the common mode magnetic field, V os11 -V os14 is the offset voltage output by the rotating current circuit from the first phase to the fourth phase of the Hall probe X1), and the voltage output by the rotating current circuit CS2 is -Vh+V os21 +Vc(V os21 -V os24 is the offset voltage output by the rotating current circuit of the first phase to the fourth phase of the Hall probe X2); When the second phase of the dynamic rotating current circuit is operated, the clock input clk2 of the dynamic rotating current circuit is high, and all other clock inputs are low. The voltage output by the rotating current circuit CS1 is Vh-V os12 +Vc, the voltage output by the rotating current circuit CS2 is -Vh-V os22 +Vc; When the third phase of the dynamic rotating current circuit is operated, the clock input clk3 of the dynamic rotating current circuit is high, and all other clock inputs are low. The voltage output by the rotating current circuit CS1 is -Vh+V os13 +Vc, the voltage output by the rotating current circuit CS2 is Vh+V os23 +Vc; When the fourth phase of the dynamic rotating current circuit is operated, the clock input clk4 of the dynamic rotating current circuit is high, and all other clock inputs are low. The voltage output by the rotating current circuit CS1 is Vh-V os14 +Vc, the voltage output by the rotating current circuit CS2 is Vh-V os24 +Vc; The four-phase Hall voltage and offset voltage output by the rotating current circuit CS1 are converted into currents Ih+I os11 +Ic、Ih-I os12 +Ic, -Ih+I os13 +Ic、-Ih-I os14 +Ic(current Ih, I os11 -I os14 , Ic is the voltage Vh, V os11 -V os14 , Vc is converted into current through transconductance amplifier circuit GM1), and the four-phase Hall voltage and offset voltage aliasing signals output by CS2 are converted into currents through transconductance amplifier circuit GM2, which are -Ih+I os21 +Ic、-Ih-I os22 +Ic、Ih+I os23 +Ic、Ih-I os24 +Ic(current Ih, I os21 -I os24 , Ic is the voltage Vh, V os21 -V os24 , Vc is converted into the current size by the transconductance amplifier circuit GM1), and then the Hall current and offset current of each phase output by the transconductance amplifier circuit GM1 are subtracted from the Hall current and offset current of each phase output by the transconductance amplifier circuit GM1 to obtain the new four-phase Hall current and offset current 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 、-2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 ; The operation of integrating and amplifying the Hall current into the Hall voltage in S1.2 is as follows: When the clock signals clk1 and clk2 are high and effective, the current output by the transconductance amplifier circuits GM1 and GM2 is subtracted to obtain the Hall current of the first phase and the second phase 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 When the first phase and the second phase are rotating, when the clock signal clk5 is high and effective, the Hall current of the first phase and the second phase is 2Ih+I os11 -I os21 , 2Ih-I os12 +I os22 The output Hall voltage is V 1-2 =4Vh+Vos 1-2 , where 4Vh is the Hall voltage output after the Hall current Ih is integrated and amplified, Vos 1-2 is the residual offset voltage after the first-phase and second-phase offset currents are integrated and amplified. Then, when the clock signal clk6 is at a high level and effective, the voltages on the integrating capacitors C1 and C2 are reset to zero; When the clock signals clk3 and clk4 are high and effective, the current output by the transconductance amplifier circuits GM1 and GM2 is subtracted to obtain the Hall current of the third and fourth phases -2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 When the third and fourth phases are rotating, the Hall current of the third and fourth phases is -2Ih+I os13 -I os23 、-2Ih-I os14 +I os24 Perform current integration operation, and the output Hall voltage is V 3-4 =-4Vh+Vos 3-4 , where -4Vh is the Hall voltage output after the Hall current Ih is integrated and amplified, Vos 3-4 is the residual offset voltage of the third-phase and fourth-phase offset currents after integration and amplification. Then, when the clock signal clk6 is at a high level and effective, the voltage on the integrating capacitors C1 and C2 is cleared; The Hall voltage sampling and holding operation in S1.3 is as follows: When the clock control signal clk7 of the correlated double sampling circuit is high and effective, the output Hall voltage of the correlated double sampling circuit to the current integration amplifier circuit is V 1-2 =4Vh+Vos 1-2 Perform the first sampling and holding; when the clock control signal clk8 of the correlated double sampling circuit is high and effective, the output Hall voltage of the correlated double sampling circuit to the current integration amplifier circuit is V 3-4 =-4Vh+Vos 3-4 Perform the second sampling and holding. When the clock signal clk9 is high and effective, the correlated double sampling circuit uses the voltage value V held by the first sampling 1-2 Subtract the voltage value V held by the second sampling 3-4 , the voltage signal is Vout = V 1-2 -V 3-4 =8Vh+(Vos 1-2 -Vos 3-4 ), output Hall voltage signal; The operation of filtering high-frequency harmonics in S1.4 is as follows: The Hall voltage obtained by subtracting the two samples is then passed through the matching network input ports Vi_l1 and Vi_l2 to obtain the output Hall voltage signal Vout = V 1-2 -V 3-4 =8Vh+(Vos 1-2 -Vos 3-4 ); The high frequency path DC offset calibration operation in S2.1 is specifically as follows: When the clock input port clk10 is high, clk11 is low, and the clock input ports S1-S8 are low, the bandgap reference generates a current I, which is proportionally copied into adjustable current sources I2 and I3 through the common-source and common-gate current mirrors. The currents of the adjustable current sources I2 and I3 are both I, and the currents of the fixed current sources I1 and I4 are I. f The current difference between the adjustable current source I2 and the fixed current source I1 generates a DC voltage V1 on the resistor R1 = (I f -I)×R1, the current difference between the adjustable current source I3 and the fixed current source I4 generates a DC voltage V2 on the resistor R2 = (II f )×R2, the resistance value of resistor R1 is equal to that of resistor R2. At this time, the differential DC voltage between the input terminals VIP and VIN of amplifier OPA2 is V1-V2, and the DC voltage Vo at the output terminal of amplifier OPA2 is A×(V1-V2)+V3, where A is the gain of amplifier OPA2, A×(V1-V2) is the DC voltage of the differential input DC voltage (V1-V2) of amplifier OPA2 after being amplified by amplifier OPA2, and V3 is the DC voltage output by amplifier OPA2 itself when amplifier OPA2 has no input differential DC voltage. When the clock input port clk10 is low and clk11 is high, the DC offset calibration operation starts, as follows: When the DC voltage Vo at the output of amplifier OPA2 is greater than VDD / 2 (VDD / 2 is the DC voltage at the output of amplifier OPA2 when it is working normally), the ADC quantizes the voltage Vo at the output port of amplifier OPA2 and outputs an 8-bit digital signal. The 8-bit digital signal controls the on and off of clock input ports S1-S8 in turn, thereby controlling the current mode DAC to generate a current I greater than I / 2. DAC1 (The current I / 2 is the current generated by the current mode DAC after the ADC quantizes the voltage Vo = VDD / 2). The current generated by the current mode DAC is I DAC1 The cascode current mirrors are used to copy the currents of the adjustable current sources I2 and I3 in the same proportion, thereby increasing the currents of the adjustable current sources I2 and I3, thus reducing A×(V1-V2), causing the DC voltage Vo at the output of the amplifier OPA2 to decrease. When the DC voltage Vo at the output of amplifier OPA2 is less than VDD / 2, the ADC quantizes the voltage Vo at the output port of amplifier OPA2 and outputs an 8-bit digital signal. The 8-bit digital signal controls the on and off of the clock input ports S1-S8 in turn, thereby controlling the current mode DAC to generate a current I smaller than I / 2. DAC2 , the current generated by the DAC is I DAC2 Similarly, the cascode current mirror is used to copy the adjustable current sources I2 and I3 in the same proportion, thereby reducing the current size of the adjustable current sources I2 and I3, so A×(V1-V2) is increased, so that the DC voltage Vo at the output end of the amplifier OPA2 rises, and the above operation is repeated to make the output DC voltage Vo of the amplifier OPA2 gradually approach VDD / 2. After a period of calibration time, the clock clk11 is low, the switch K13 is disconnected, the offset calibration operation is completed, and the circuit works normally; The high-frequency Hall signal amplification operation in S2.2 is specifically as follows: When the high-frequency path DC offset calibration operation is completed, the voltage output by the bias circuit N_CS1 is Vh+V os1 +Vc (Vh is the Hall voltage, Vc is the interference voltage caused by the common mode magnetic field, V os1 is the offset voltage output by the Hall probe X3), and the voltage output by the bias circuit N_CS2 is -Vh+V os2 +Vc, (V os2 The Hall voltage and offset voltage output by the bias circuit N_CS1 are converted into currents Ih+I os1 +Ic(Ih、I os1 , Ic is the voltage Vh, V os1 , Vc is converted into current through transconductance amplifier circuit GM3), the Hall voltage and offset voltage output by bias circuit N_CS2 are converted into current through transconductance amplifier circuit GM4, respectively -Ih+I os2 +Ic(Ih、I os2 , Ic is the voltage Vh, V os2 , Vc is converted into current by transconductance amplifier circuit GM4); the current output by transconductance amplifier circuit GM3 and GM4 is subtracted to get 2Ih+I os1 -I os2 , the current output by GM3 and GM4 is subtracted and then flows through resistors R1 and R2 to convert into voltage V N_CS =R1×(2Ih+I os1 -I os2 ), the resistance values of resistors R1 and R2 are equal; the Hall voltage V output by the voltage amplifier circuit N_CS After the amplification and offset calibration circuit, the Hall voltage V=A×R1×(2Ih+I os1 -I os2 );wherein A is the gain of amplifier OPA2 in the amplification and offset calibration circuit; The matching network circuit operation in S2.3 is as follows: The output Hall voltage signal V of the amplification and offset calibration circuit passes through the matching network input ports Vi_h1 and Vi_h2. The matching network is a high-pass filter for the high-frequency path, and the cut-off frequency is Fx = 1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 The capacitance of capacitor C12, the output signal V of the amplification and offset calibration circuit is a signal with a frequency greater than Fx, and can normally output the Hall voltage through the high-pass filter. The low-frequency path is connected to the matching network input ports Vi_l1 and Vi_l2. The matching network is a low-pass filter for the low-frequency path, and the cut-off frequency is Fx = 1 / (2πR5C 12 ), where Fx is the cutoff frequency of the matching network, R5 is the resistance of resistor R5, C 12 is the capacitance of capacitor C12. The low-frequency signal is a signal with a frequency less than Fx, and can normally pass through the low-pass filter to output the Hall voltage.
