A magnetic sensor, a current detection device and a current detection method

By designing multiple sensing parts and a half-bridge or full-bridge structure in the magnetic sensor, it is ensured that only the magnetic field signal of the current to be measured is output, solving the detection accuracy problem caused by environmental magnetic field interference and improving the accuracy of current detection.

CN117572303BActive Publication Date: 2024-09-17SUZHOU NOVOSENSE MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210944918.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-08
Publication Date
2024-09-17
Estimated Expiration
2042-08-08

AI Technical Summary

Technical Problem

Existing magnetic sensors are easily interfered by environmental magnetic fields when detecting the current to be measured, resulting in low detection accuracy.

Method used

A magnetic sensor is designed, including at least two sensing parts. The sensing parts have different directions of the magnetic field components of the first signal magnetic field and generate sensing electrical signals through a half-bridge structure or a full-bridge structure to ensure that the magnetic sensor only responds to the first signal magnetic field. A signal magnetic field outputs a signal, but no signal is output to the second magnetic field (including the environmental magnetic field).

Benefits of technology

It effectively eliminates environmental magnetic field interference, improves the detection accuracy of the current to be measured, and enhances the accuracy of current detection and anti-electromagnetic interference capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117572303B
    Figure CN117572303B
Patent Text Reader

Abstract

The present invention discloses a magnetic sensor, a current detection device and a current detection method. The magnetic sensor includes at least two sensing parts, and the sensing parts have different directions of magnetic field components of the first signal magnetic field; wherein the first signal magnetic field is generated by the current to be measured flowing through the conductor; at least two sensing parts are electrically connected correspondingly, and the sensing parts include a half-bridge structure or a full-bridge structure; the sensing parts generate a resistance change to the first signal magnetic field through the half-bridge structure or the full-bridge structure to generate a sensing electrical signal; the sum of the sensing electrical signals of the second magnetic field by each sensing part of the magnetic sensor is zero, and the second magnetic field includes a uniform magnetic field outside the conductor. The technical solution provided by the embodiment of the present invention better eliminates the interference of the uniform magnetic field outside the conductor, and improves the detection accuracy of the current to be measured flowing through the conductor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technology, and in particular to a magnetic sensor, a current detection device and a current detection method. Background Art

[0002] Current measurement plays an important role in many application fields, such as various motor servo control, circuit protection, power control and temperature adjustment. The traditional contact current measurement method is to connect a resistor in parallel to the current-carrying wire, configure a sampling circuit at both ends of the resistor to obtain the resistor cross-voltage and then calculate the current value, and finally output it through the isolation chip. However, the traditional contact current measurement has the problem of complex overall device structure and high cost.

[0003] When the existing magnetic sensor is used to detect the current to be measured, the magnetic sensor is interfered by the environmental magnetic field, and there is a problem of low detection accuracy. Summary of the invention

[0004] The present invention provides a magnetic sensor, a current detection device and a current detection method to solve the problem that when the existing magnetic sensor detects the current to be measured, the magnetic sensor is disturbed by the environmental magnetic field and the detection accuracy is affected.

[0005] According to one aspect of the present invention, there is provided a magnetic sensor, comprising:

[0006] At least two sensing parts, the sensing parts have different directions of magnetic field components of the first signal magnetic field; wherein the first signal magnetic field is generated by the current to be measured flowing through the conductor;

[0007] At least two sensing parts are electrically connected to each other, and the sensing parts include a half-bridge structure or a full-bridge structure; the sensing parts generate a resistance change in response to the first signal magnetic field through the half-bridge structure or the full-bridge structure to generate a sensing electrical signal;

[0008] The sum of the sensing electrical signals of the sensing parts of the magnetic sensor to the second magnetic field is zero, and the second magnetic field includes a uniform magnetic field outside the conductor.

[0009] Optionally, the first signal magnetic field has different directions in each sensing part;

[0010] The first signal magnetic field has different strengths in each sensing portion.

[0011] Optionally, the orthographic projection of at least one sensing portion on the conductor at least partially overlaps with the conductor; or,

[0012] The orthographic projection of the sensing part on the conductor does not overlap with the conductor.

[0013] Optionally, the magnetic sensor also includes:

[0014] A plurality of first connection lines and a plurality of output terminals;

[0015] The sensing parts are connected in parallel via first connecting lines, and each first connecting line is connected to an output terminal.

[0016] Optional, output terminals, including:

[0017] A first output end, a second output end, a first driving end, and a second driving end;

[0018] The first output terminal is used to output a first sensing electrical signal;

[0019] The second output terminal is used to output a second sensing electrical signal;

[0020] The first driving end is used for connecting to a power source, and the second driving end is used for grounding; or the first driving end is used for grounding, and the second driving end is used for connecting to a power source;

[0021] Under the first signal magnetic field, the amplitude and phase changes of the first sensing electrical signal and the second sensing electrical signal are different;

[0022] Under the second magnetic field, the amplitude and phase changes of the first sensing electrical signal and the second sensing electrical signal are the same.

[0023] Optionally, the half-bridge structure includes a first pole, a second pole, a first magnetoresistance unit, a second magnetoresistance unit and a connecting end; the first end of the first magnetoresistance unit is connected to the first pole, the second end of the first magnetoresistance unit is connected to the first end and the connecting end of the second magnetoresistance unit, and the second end of the second magnetoresistance unit is connected to the second pole;

[0024] The full-bridge structure includes a first pole, a second pole, a third pole, a fourth pole, a third magnetoresistance unit, a fourth magnetoresistance unit, a fifth magnetoresistance unit and a sixth magnetoresistance unit; the first end of the third magnetoresistance unit is connected to the first pole, the second end of the third magnetoresistance unit is connected to the first end and the second pole of the fourth magnetoresistance unit, the second end of the fourth magnetoresistance unit is connected to the first end and the third pole of the fifth magnetoresistance unit, the second end of the fifth magnetoresistance unit is connected to the first end and the fourth pole of the sixth magnetoresistance unit, and the second end of the sixth magnetoresistance unit is connected to the first pole.

[0025] Optionally, the magnetic sensor includes a first sensing portion and a second sensing portion;

[0026] The first sensing part and the second sensing part are both half-bridge structures.

[0027] The first pole of the half-bridge structure of the first sensing unit is connected to the first pole of the half-bridge structure of the second sensing unit as a first driving end; the second pole of the half-bridge structure of the first sensing unit is connected to the second pole of the half-bridge structure of the second sensing unit as a second driving end; the connecting end of the half-bridge structure of the first sensing unit is used as a first output end; and the connecting end of the half-bridge structure of the second sensing unit is used as a second output end.

[0028] Optionally, the magnetic sensor includes a first sensing portion and a second sensing portion;

[0029] The first sensing part and the second sensing part are both full-bridge structures.

[0030] The first pole of the full-bridge structure of the first sensing unit is connected to the first pole of the full-bridge structure of the second sensing unit as a first driving end; the second pole of the full-bridge structure of the first sensing unit is connected to the fourth pole of the full-bridge structure of the second sensing unit as a second output end; the third pole of the full-bridge structure of the first sensing unit is connected to the third pole of the full-bridge structure of the second sensing unit as a second driving end; the fourth pole of the full-bridge structure of the first sensing unit is connected to the second pole of the full-bridge structure of the second sensing unit as a first output end.

[0031] Optionally, the magnetic sensor includes a first sensing portion, a second sensing portion and a third sensing portion;

[0032] The first sensing part is a full-bridge structure, and the second sensing part and the third sensing part are both half-bridge structures;

[0033] A first pole of the full-bridge structure of the first sensing part is connected to a first pole of the half-bridge structure of the second sensing part and a first pole of the half-bridge structure of the third sensing part as a first driving end;

[0034] The second pole of the full-bridge structure of the first sensing part is connected to the connecting end of the half-bridge structure of the third sensing part as a first output end;

[0035] The third pole of the full-bridge structure of the first sensing part is connected to the second pole of the half-bridge structure of the second sensing part and the second pole of the half-bridge structure of the third sensing part as a second driving end;

[0036] The fourth pole of the full-bridge structure of the first sensing part is connected to the connecting end of the half-bridge structure of the second sensing part as a second output end.

[0037] Optionally, the sensitive direction of the magnetic sensor is parallel to the plane where the conductor is located; or,

[0038] The sensitive direction of the magnetic sensor is perpendicular to the plane where the conductor lies.

[0039] In a second aspect, an embodiment of the present invention provides a current detection device, wherein a conductor is arranged in a preset detection area of ​​the current detection device; when the current to be measured passes through the conductor, a first signal magnetic field is generated;

[0040] A current detection device, comprising: a substrate;

[0041] At least one magnetic sensor according to any of the above embodiments is disposed on the substrate,

[0042] The magnetic sensor is used to generate a sensing electrical signal according to a first signal magnetic field generated by a current to be measured flowing through the conductor; wherein the magnetic sensor has no signal output for a second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor;

[0043] The processing module is connected to the magnetic sensor and is used to generate a current value flowing through the conductor according to the sensed electrical signal.

[0044] Optionally, the substrate has a first surface close to the conductor and a second surface away from the conductor;

[0045] The substrate includes at least two sensing locations spaced apart from each other on the first surface or the second surface;

[0046] The sensing part is arranged at the sensing position; the magnetic sensor senses the first signal magnetic field generated by the current to be measured passing through the conductor;

[0047] The magnetic sensor generates a sensing electrical signal based on the difference in magnetic field strength of the components of the first signal magnetic field at each sensing position in a preset direction.

[0048] Optionally, the structures of the sensing parts of each magnetic sensor are the same or different.

[0049] Optionally, the current detection device further includes:

[0050] At least one switching circuit is disposed on the substrate, the switching circuit is electrically connected to the output end of the magnetic sensor, and the switching circuit is used to switch the connection mode of the output end of the magnetic sensor to adjust the working state of the magnetic sensor, and sequentially drive the magnetic sensor to output a sensing electrical signal under the first signal magnetic field;

[0051] Preferably, the magnetic sensors and the switching circuits are arranged in a one-to-one correspondence.

[0052] Optionally, the current detection device further includes:

[0053] The amplification module is connected between the switching circuit and the processing module. The amplification module is used to receive the sensing electrical signal, perform differential amplification on the sensing electrical signal, and output the amplified sensing electrical signal to the processing module.

[0054] In a third aspect, an embodiment of the present invention provides a current detection method, which is applied to a current detection device according to any item of the second aspect; the current detection device comprises: a substrate, and at least one magnetic sensor according to any item of the first aspect disposed on the substrate;

[0055] Current sensing methods, including:

[0056] The conductor is arranged in a preset detection area of ​​the current detection device; wherein a first signal magnetic field is generated when the current to be measured passes through the conductor;

[0057] The magnetic sensor generates a sensing electrical signal according to a first signal magnetic field generated by a current to be measured flowing through the conductor; wherein the magnetic sensor has no signal output for a second magnetic field; and the second magnetic field includes a uniform magnetic field outside the conductor;

[0058] The processing module generates a current value flowing through the conductor according to the sensed electrical signal.

[0059] The technical solution of the embodiment of the present invention is to set a magnetic sensor including at least two sensing parts, and the sensing parts have different directions of the magnetic field components of the first signal magnetic field. By setting the sensing part to include a half-bridge structure or a full-bridge structure, the magnetic sensor generates a sensing electrical signal according to the first signal magnetic field generated by the current to be measured flowing through the conductor, and the magnetic sensor has no signal output for the second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor. This setting enables the magnetic sensor to output a sensing electrical signal only for the first signal magnetic field, and the magnetic sensor does not output a sensing signal for the second magnetic field, which better eliminates the interference of the uniform magnetic field outside the conductor W and improves the detection accuracy of the current to be measured flowing through the conductor W.

[0060] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0062] Figure 1 is a structural schematic diagram of a magnetic sensor provided by an embodiment of the present invention;

[0063] Figure 2 is a structural schematic diagram of a half-bridge structure of a magnetic sensor provided by an embodiment of the present invention;

[0064] Figure 3 is a structural schematic diagram of a full-bridge structure of a magnetic sensor provided by an embodiment of the present invention;

[0065] Figure 4 is a schematic structural diagram of a magnetic sensor provided by an embodiment of the present invention for detecting a current flowing through a conductor;

[0066] Figure 5 is a cross-sectional view of a magnetic sensor provided by an embodiment of the present invention detecting a current flowing through a conductor;

[0067] Figure 6 is a schematic diagram of a waveform of an output of a magnetic sensor to a second magnetic field provided by an embodiment of the present invention;

[0068] Figure 7 is a waveform diagram of a first signal magnetic field in which a magnetic sensor is located, provided by an embodiment of the present invention;

[0069] Figure 8 is a schematic diagram of a waveform of an output of a magnetic sensor to a first signal magnetic field provided by an embodiment of the present invention;

[0070] Fig. 9 is a waveform diagram of another magnetic sensor output to a first signal magnetic field provided by an embodiment of the present invention;

[0071] Fig.10 is a waveform diagram of a second magnetic field in which a magnetic sensor is located provided by an embodiment of the present invention;

[0072] Fig.11 is a schematic diagram of a waveform of an output of a first signal magnetic field by another magnetic sensor provided by an embodiment of the present invention;

[0073] Fig.12 is a schematic diagram of a waveform of an output of a first signal magnetic field by another magnetic sensor provided by an embodiment of the present invention;

[0074] Fig.13 is a structural schematic diagram of a magnetic sensor provided by an embodiment of the present invention;

[0075] Fig.14 is a structural schematic diagram of the positional relationship between another magnetic sensor and a conducting wire provided in an embodiment of the present invention;

[0076] Fig.15 A magnetic sensor provided by an embodiment of the present invention Fig.14 Schematic diagram of the Xs4 cross section;

[0077] Fig.16 is a structural schematic diagram of a current detection device provided by an embodiment of the present invention;

[0078] Fig.17 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0079] Fig.18 is a structural schematic diagram of the positional relationship between another magnetic sensor and a conducting wire provided in an embodiment of the present invention;

[0080] Fig.19 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0081] Fig. 20is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0082] Fig.21 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0083] Fig. 22 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0084] Fig.23 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0085] Fig.24 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0086] Fig.25 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0087] Fig.26 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0088] Fig. 27 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0089] Fig.28 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0090] Fig.29 is a structural schematic diagram of another current detection device provided by an embodiment of the present invention;

[0091] Fig.30 This is a flow chart of a current detection method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0092] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0093] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0094] Figure 1 It is a structural schematic diagram of a magnetic sensor provided by an embodiment of the present invention. Figure 2 It is a structural schematic diagram of a half-bridge structure of a magnetic sensor provided by an embodiment of the present invention. Figure 3 1 is a schematic diagram of a full-bridge structure of a magnetic sensor provided by an embodiment of the present invention. Figures 1 to 3 The magnetic sensor 10 provided by the embodiment of the present invention includes: at least two sensing parts 11, and the directions of the magnetic field components of the first signal magnetic field of the sensing parts 11 are different; wherein the first signal magnetic field is generated by the current to be measured flowing through the conductor W; at least two sensing parts 11 are electrically connected to each other, and the sensing part 11 includes a half-bridge structure or a full-bridge structure; the sensing part 11 generates a sensing electrical signal by changing the resistance of the first signal magnetic field through the half-bridge structure or the full-bridge structure; the sum of the sensing electrical signals of the second magnetic field of each sensing part 11 of the magnetic sensor 10 is zero, and the second magnetic field includes a uniform magnetic field outside the conductor W.

[0095] Specifically, a current I to be measured flows in the conductor W. When the current I to be measured flows into the conductor W from the first end point w1 of the conductor W, the current I to be measured flows out of the conductor W from the second end point w2 of the conductor W. When the current I to be measured passes through the conductor W, a first signal magnetic field is generated. The conductor W is arranged in a preset detection area of ​​the magnetic sensor 10 provided in an embodiment of the present invention. The magnetic sensor 10 can convert the sensed magnetic field component into an electrical signal output under the action of the first signal magnetic field. The current path formed by the conductor W can be U-shaped, linear, or S-shaped, etc., without any limitation herein.

[0096] At least two sensing parts 11 of the magnetic sensor 10 have different directions of the magnetic field components of the first signal magnetic field. Figure 2 , Figure 2 The magnetic sensor 10 includes two sensing parts 11, and the two sensing parts 11 have different directions of the magnetic field components of the first signal magnetic field. The sensing parts 11 with different directions of the magnetic field components of the first signal magnetic field generate different sensing electrical signals.

[0097] At least two sensing parts 11 are electrically connected to each other, so that each sensing part 11 outputs the sum of the sensed electrical signals.

[0098] The sensing part 11 includes a half-bridge structure or a full-bridge structure. Figure 2 The case where both sensing parts 11 include a half-bridge structure is exemplarily shown. Figure 3 The case where both sensing parts 11 include a full-bridge structure is shown as an example, and no limitation is made here. The sensing part 11 is set to include a half-bridge structure or a full-bridge structure, so that the magnetic sensor 10 has no signal output for the second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor W, for example, the second magnetic field may include an ambient magnetic field. This configuration enables the magnetic sensor 10 to output a sensing electrical signal only for the first signal magnetic field, so that the magnetic sensor 10 does not output a sensing signal for the second magnetic field, and better eliminates the interference of the uniform magnetic field outside the conductor W.

[0099] The magnetic sensor 10 provided in the embodiment of the present invention includes at least two sensing parts 11, and the directions of the magnetic field components of the sensing parts 11 in the first signal magnetic field are different. By setting the sensing part 11 to include a half-bridge structure or a full-bridge structure, the magnetic sensor 10 generates a sensing electrical signal according to the first signal magnetic field generated by the current to be measured flowing through the conductor W, and the magnetic sensor 10 has no signal output for the second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor W. This setting enables the magnetic sensor 10 to output a sensing electrical signal only for the first signal magnetic field, so that the magnetic sensor 10 does not output a sensing signal for the second magnetic field, which better eliminates the interference of the uniform magnetic field outside the conductor W, and improves the detection accuracy of the current to be measured I flowing through the conductor W.

[0100] Optional, Figure 4 1 is a schematic diagram of a structure of a magnetic sensor for detecting a current flowing through a conductor W provided by an embodiment of the present invention. Figure 5 FIG. 1 is a cross-sectional view of a magnetic sensor provided by an embodiment of the present invention detecting a current flowing through a conductor W. Figure 4 and Figure 5 , the directions of the first signal magnetic field in each sensing part 11 are different; and the intensities of the first signal magnetic field in each sensing part 11 are different.

[0101] Specifically, such a configuration facilitates different amplitudes of sensing signals generated by each sensing unit 11, and facilitates retaining sensing electrical signals generated by each sensing unit 11 under the first signal magnetic field. Since the magnetic field direction and strength of the second magnetic field are the same in each sensing unit 11, the sensing electrical signals generated by each sensing unit 11 under the second magnetic field have the same amplitude and opposite phase, thereby achieving that the sum of the sensing electrical signals of each sensing unit 11 of the magnetic sensor 10 to the second magnetic field is zero.

[0102] For example, Figure 5The example shows that the sensing part 11 includes a first sensing part A and a second sensing part B. The magnetic sensor 10 is arranged at the second end point w2 of the conductor W and has a preset distance from the conductor W. When a positive current I to be measured is introduced into the conductor W from the first end point w1 and is derived from the second end point w2, a first signal magnetic field Bh is generated, and the direction of the magnetic field component of the first signal magnetic field Bh is clockwise around the first end point w1 and counterclockwise around the second end point w2. Such a magnetic field distribution generates a magnetic field component in the -D2 direction at the second sensing part B, that is, the second sensing part B of the magnetic sensor 10 detects a first signal magnetic field in the -D2 direction. The current I to be measured generates a magnetic field component in the -D1 direction at the first sensing part A, that is, the first sensing part A of the magnetic sensor 10 detects a first signal magnetic field in the -D1 direction. The magnetic sensor 10 generates a sensing electrical signal according to the first signal magnetic field generated by the current I to be measured flowing through the conductor W.

[0103] Optionally, based on the above embodiment, continue to refer to Figure 4 , the orthographic projection of at least one sensing portion 11 on the conductor W at least partially overlaps with the conductor W; or, the orthographic projection of the sensing portion 11 on the conductor W does not overlap with the conductor W.

[0104] Specifically, this configuration enables each sensing unit 11 to have a different direction of the magnetic field component of the first signal magnetic field, so that the magnetic sensor 10 can output a sensing electrical signal under the first signal magnetic field, thereby detecting the current value of the current I to be measured flowing through the conductor W.

[0105] Optionally, based on the above embodiment, continue to refer to Figure 4 The magnetic sensor 10 may further include: a plurality of first connecting lines and a plurality of output terminals; the sensing parts 11 are connected in parallel via the first connecting lines, and each first connecting line is connected to one output terminal.

[0106] Specifically, the configuration is such that the sensing parts 11 are connected in parallel via the first connecting wires, and each first connecting wire leads to an output terminal, which is used to output the sensing signal generated by each sensing part 11 .

[0107] Optionally, based on the above embodiment, Figure 1 , Figure 4 and Figure 5The output end of the magnetic sensor 10 provided in the embodiment of the present invention includes: a first output end P2, a second output end P4, a first driving end P1 and a second driving end P3; the first output end P2 is used to output a first sensing electrical signal; the second output end P4 is used to output a second sensing electrical signal; the first driving end P1 is used to connect to a power source, and the second driving end P3 is used to connect to a ground; or, the first driving end P1 is used to connect to a ground, and the second driving end P3 is used to connect to a power source; under the first signal magnetic field, the amplitude and phase changes of the first sensing electrical signal and the second sensing electrical signal are different; under the second magnetic field, the amplitude and phase changes of the first sensing electrical signal and the second sensing electrical signal are the same.

[0108] Specifically, such a setting allows the first sensing electrical signal and the second sensing electrical signal to have different amplitude and phase changes between the second output terminal P4 and the first output terminal P2 under the first signal magnetic field, so as to enhance the strength of the sensing electrical signal output by the magnetic sensor 10. The first sensing electrical signal and the second sensing electrical signal can have the same amplitude and phase changes between the second output terminal P4 and the first output terminal P2 under the second magnetic field, so that the sensing electrical signal output by the magnetic sensor 10 under the second magnetic field does not include a signal of a uniform magnetic field. Such a setting further improves the accuracy of current detection by the current detection device and improves the anti-electromagnetic interference capability of the current detection device.

[0109] Optionally, based on the above embodiment, continue to refer to Figure 2 The half-bridge structure includes a first pole, a second pole, a first magnetoresistance unit, a second magnetoresistance unit and a connecting end; the first end of the first magnetoresistance unit is connected to the first pole, the second end of the first magnetoresistance unit is connected to the first end and the connecting end of the second magnetoresistance unit, and the second end of the second magnetoresistance unit is connected to the second pole.

[0110] Specifically, the first magnetoresistance unit and the second magnetoresistance unit can convert the magnetic field intensity signal into a sensing electrical signal under the first signal magnetic field.

[0111] For example, see Figure 2 The magnetic sensor 10 may include a first sensing portion A and a second sensing portion B; the first sensing portion 11 and the second sensing portion 11 may both have a half-bridge structure. Figure 2 It is exemplified that the first pole e1 of the half-bridge structure of the first sensing part 11 is connected to the first pole e4 of the half-bridge structure of the second sensing part 11 as the first driving end P1; the second pole e2 of the half-bridge structure of the first sensing part 11 is connected to the second pole e3 of the half-bridge structure of the second sensing part 11 as the second driving end P3; the connecting end of the half-bridge structure of the first sensing part 11 is used as the first output end P2; and the connecting end of the half-bridge structure of the second sensing part 11 is used as the second output end P4.

[0112] Based on the above embodiments, continue to refer to Figure 3The full-bridge structure includes a first pole, a second pole, a third pole, a fourth pole, a third magnetoresistance unit, a fourth magnetoresistance unit, a fifth magnetoresistance unit and a sixth magnetoresistance unit; the first end of the third magnetoresistance unit is connected to the first pole, the second end of the third magnetoresistance unit is connected to the first end and the second pole of the fourth magnetoresistance unit, the second end of the fourth magnetoresistance unit is connected to the first end and the third pole of the fifth magnetoresistance unit, the second end of the fifth magnetoresistance unit is connected to the first end and the fourth pole of the sixth magnetoresistance unit, and the second end of the sixth magnetoresistance unit is connected to the first pole.

[0113] Specifically, the third magnetoresistance unit, the fourth magnetoresistance unit, the fifth magnetoresistance unit, and the sixth magnetoresistance unit can convert the magnetic field intensity signal into a sensing electrical signal under the first signal magnetic field.

[0114] For example, see Figure 3 The magnetic sensor 10 may include a first sensing portion 11 and a second sensing portion 11 , and the first sensing portion 11 and the second sensing portion 11 may both have a full-bridge structure. Figure 3 It is exemplified that the first pole of the full-bridge structure of the first sensing part 11 is connected to the first pole of the full-bridge structure of the second sensing part 11 as the first driving terminal P1; the second pole of the full-bridge structure of the first sensing part 11 is connected to the fourth pole of the full-bridge structure of the second sensing part 11 as the second output terminal P4; the third pole of the full-bridge structure of the first sensing part 11 is connected to the third pole of the full-bridge structure of the second sensing part 11 as the second driving terminal P3; the fourth pole of the full-bridge structure of the first sensing part 11 is connected to the second pole of the full-bridge structure of the second sensing part 11 as the first output terminal P2.

[0115] Optionally, based on the above embodiment, continue to refer to Figure 4 , the sensitive direction of the magnetic sensor 10 is parallel to the plane where the conductor W is located; or, the sensitive direction of the magnetic sensor 10 is perpendicular to the plane where the conductor W is located.

[0116] Optionally, based on the above embodiment, continue to refer to Figure 2 The magnetic sensor 10 includes a first sensing part A and a second sensing part B; the first sensing part 11 and the second sensing part 11 are both half-bridge structures, and the first pole e1 of the half-bridge structure of the first sensing part 11 is connected to the first pole e4 of the half-bridge structure of the second sensing part 11 as a first driving end P1; the second pole e2 of the half-bridge structure of the first sensing part 11 is connected to the second pole e3 of the half-bridge structure of the second sensing part 11 as a second driving end P3; the connecting end of the half-bridge structure of the first sensing part 11 is used as a first output end P2; the connecting end of the half-bridge structure of the second sensing part 11 is used as a second output end P4.

[0117] Specifically, the first magnetoresistance unit R1 of the first sensing part A is connected in series with the second magnetoresistance unit R2. The first magnetoresistance unit R4 of the second sensing part B of the magnetic sensor 10 is connected in series with the second magnetoresistance unit R3. The first magnetoresistance unit R1 of the first sensing part A and the second magnetoresistance unit R2 have different resistance changes to the magnetic field, the first magnetoresistance unit R1 of the first sensing part A and the first magnetoresistance unit R4 of the second sensing part B have the same resistance change to the magnetic field, and the second magnetoresistance unit R2 of the first sensing part A and the second magnetoresistance unit R3 of the second sensing part B have the same resistance change to the magnetic field, so under the same first signal magnetic field, the potentials of the first output terminal P2 and the second output terminal P4 are consistent.

[0118] Figure 6 FIG. 1 is a schematic diagram of a waveform of a magnetic sensor output to a second magnetic field provided by an embodiment of the present invention. Figure 2 , Figure 5 and Figure 6 , Figure 2 The first sensing part A and the second sensing part B in the magnetic sensor 10 are configured to respond to the magnetic field in a completely consistent manner. When the external environment generates a uniform magnetic field such as Figure 6 As shown in the first figure, when the second magnetic field sensed by the first sensing part A and the second sensing part B is consistent with each other, the potentials of the first output terminal P2 and the second output terminal P4 of the magnetic sensor 10 are as follows: Figure 6 As shown in the second figure, a change in the sensing electrical signal corresponding to the second magnetic field is generated, and a fluctuation of + / -ΔV is generated with half of the driving voltage (Vd / 2) as the center. The overall output Vout of the magnetic sensor 10 = the sensing electrical signal of the first output terminal P2 - the sensing electrical signal of the second output terminal P4 = 0, because the potential changes of the first output terminal P2 and the second output terminal P4 are completely consistent. Therefore, the overall magnetic sensor 10 does not generate a signal output for the second magnetic field uniformly interfered by the external environment, and realizes the external magnetic interference resistance function.

[0119] Figure 7 It is a waveform diagram of a first signal magnetic field in which a magnetic sensor is located provided by an embodiment of the present invention. Figure 8 FIG. 1 is a schematic diagram of a waveform of a magnetic sensor output to a first signal magnetic field provided by an embodiment of the present invention. Figure 2 , Figure 5 , Figure 7 and Figure 8 , Figure 7The example shows the change of the first signal magnetic field component received by the first sensing part A and the second sensing part B of the magnetic sensor 10 when a current to be measured changes inside the conductor W. When the current at the first end w1 in the conductor W is positive, the horizontal component BD2 of the generated first signal magnetic field is negative at the second sensing part B of the magnetic sensor 10, that is, in the -D2 direction, and is zero at the first sensing part A of the magnetic sensor 10, and produces a change of + / -ΔBh as the current in the conductor W changes. The vertical component BD1 of the first signal magnetic field is zero at the second sensing part B of the magnetic sensor 10, and is negative at the first sensing part A of the magnetic sensor 10, that is, in the -D1 direction, and produces a change of the first signal magnetic field component of + / -ΔBh' as ​​the current in the conductor W changes. The horizontal magnetic field component BD2 of the first signal magnetic field generated by the current to be measured is consistent with the phase of the sensing electrical signal generated by the vertical magnetic field component BD1.

[0120] When the sensitive direction of the magnetic sensor 10 is parallel to the plane where the magnetic sensor 10 is located, Figure 4 In the configuration shown, the magnetic sensor 10 generates output only for the D2 component of the first signal magnetic field, and the relationship between its output characteristic and the D2 component of the first signal magnetic field is as follows: Figure 8 When the current to be measured passes through the conductor W and changes in magnitude over time, as shown in Figure 8 As shown in the first figure, the D2 direction component BD2 of the first signal magnetic field produces a change opposite to the current at the second sensing part B of the magnetic sensor 10, that is, at the first sensing position L1, while the D2 direction component BD2 of the first signal magnetic field is zero at the first sensing part A of the magnetic sensor 10 at the second sensing position L2. Therefore, the potential of the first output terminal P2 of the first sensing part A of the magnetic sensor 10 does not change with the change of the current to be measured, and outputs a constant value Vd / 2. The potential of the second output terminal P4 of the second sensing part B of the magnetic sensor 10 produces a corresponding + / -ΔV fluctuation change with the D2 direction component BD2 of the first signal magnetic field, as shown Figure 8 As shown in the second figure. The overall output Vout of the magnetic sensor 10 in the first signal magnetic field = the sensing electrical signal of the first output terminal P2 - the sensing electrical signal of the second output terminal P4. The overall output Vout of the magnetic sensor 10 in the first signal magnetic field is an output waveform with the same amplitude and opposite phase to the sensing electrical signal of the second output terminal P4.

[0121] Fig. 9 FIG. 1 is a schematic diagram of a waveform of another magnetic sensor output to a first signal magnetic field provided by an embodiment of the present invention. Figure 2 , Figure 5 , Figure 7 and Fig. 9 , when the sensitive direction of the magnetic sensor 10 is perpendicular to the plane where the magnetic sensor 10 is located, that is, the D1 direction, Figure 4Under the configuration, the magnetic sensor 10 generates output only for the D1 component of the first signal magnetic field, and the relationship between its output characteristic and the D1 component of the first signal magnetic field is as follows: Fig. 9 When the current to be measured passes through the conductor W and changes in magnitude over time, as shown in Figure 7 As shown in the first figure, the component BD1 of the first signal magnetic field in the direction of D1 is zero at the first sensing position L1, while the component BD1 of the first signal magnetic field in the direction of D1 produces a change opposite to the current phase at the second sensing position L2. Therefore, the potential of the first output terminal P2 of the first sensing part A of the magnetic sensor 10 produces a corresponding + / -ΔV fluctuation change with the component BD2 of the first signal magnetic field in the direction of D2. The potential of the second output terminal P4 of the second sensing part B of the magnetic sensor 10 does not change with the change of the current to be measured, and the second output terminal P4 of the second sensing part B of the magnetic sensor 10 outputs a constant value Vd / 2, as shown in FIG. Fig. 9 As shown in the second figure. The overall output Vout of the magnetic sensor 10 = the sensing electrical signal of the first output terminal P2 - the sensing electrical signal of the second output terminal P4. The overall output Vout of the magnetic sensor 10 is an output waveform with a phase opposite to that of the sensing electrical signal of the second output terminal P4 and an amplitude of + / -ΔV.

[0122] Optional, Fig.10 It is a waveform diagram of a second magnetic field in which a magnetic sensor is located provided by an embodiment of the present invention. Fig.11 This is a schematic diagram of a waveform of an output of a first signal magnetic field by another magnetic sensor provided by an embodiment of the present invention. Fig.12 FIG. 1 is a waveform diagram of another magnetic sensor outputting a first signal magnetic field according to an embodiment of the present invention. Figure 3 The magnetic sensor 10 includes a first sensing part 11 and a second sensing part 11; the first sensing part 11 and the second sensing part 11 are both full-bridge structures, and the first pole of the full-bridge structure of the first sensing part 11 is connected to the first pole of the full-bridge structure of the second sensing part 11 as a first driving end P1; the second pole of the full-bridge structure of the first sensing part 11 is connected to the fourth pole of the full-bridge structure of the second sensing part 11 as a second output end P4; the third pole of the full-bridge structure of the first sensing part 11 is connected to the third pole of the full-bridge structure of the second sensing part 11 as a second driving end P3; the fourth pole of the full-bridge structure of the first sensing part 11 is connected to the second pole of the full-bridge structure of the second sensing part 11 as a first output end P2.

[0123] Specifically, the first driving terminal P1 and the second driving terminal P3 of the magnetic sensor 10 are connected to the power supply and the ground. The first output terminal P2 and the second output terminal P4 are used to sense the output of the electrical signal. In an optional embodiment, the first output terminal P2 and the second output terminal P4 are connected to the power supply and the ground, and the first driving terminal P1 and the second driving terminal P3 are used to output the sensing electrical signal. The third magnetoresistance unit R31, the fourth magnetoresistance unit R32, the fifth magnetoresistance unit R33 and the sixth magnetoresistance unit R34 of the first sensing part 11, the third magnetoresistance unit R35, the fourth magnetoresistance unit R36, the fifth magnetoresistance unit R37 and the sixth magnetoresistance unit R38 of the second sensing part B. The resistance change of each magnetoresistance unit of the magnetic sensor 10 to the magnetic field is set as follows: the third magnetoresistance unit R31 and the fifth magnetoresistance unit R33 of the first sensing part 11 are consistent with the third magnetoresistance unit R35 and the fifth magnetoresistance unit R37 of the second sensing part 11, and the fourth magnetoresistance unit R32 and the sixth magnetoresistance unit R34 of the first sensing part 11 are consistent with the fourth magnetoresistance unit R36 and the sixth magnetoresistance unit R38 of the second sensing part 11. The third magnetoresistance unit R31 and the fifth magnetoresistance unit R33 of the first sensing part 11, the third magnetoresistance unit R35 and the fifth magnetoresistance unit R37 of the second sensing part 11 are different from the fourth magnetoresistance unit R32 and the sixth magnetoresistance unit R34 of the first sensing part 11, and the fourth magnetoresistance unit R36 and the sixth magnetoresistance unit R38 of the second sensing part 11. Therefore, under the same magnetic field, the difference between the output second pole e2 and the fourth pole e4 of the first sensing part A of the magnetic sensor 10 is exactly the same as the difference between the output second pole e6 and the fourth pole e8 of the second sensing part B.

[0124] Figure 3 The first sensing part A and the second sensing part B in the magnetic sensor 10 are shown to have completely consistent responses to the magnetic field. Figure 6 As shown in the first figure of FIG. 1 , when the potential of the second pole e2 of the first sensing part A of the magnetic sensor 10 and the second pole e6 of the second sensing part B produce the same change as the second magnetic field, while the potential of the fourth pole e4 of the first sensing part A of the magnetic sensor 10 and the fourth pole e8 of the second sensing part B produce the opposite change as the magnetic field. Figure 6 As shown in the second figure, the potential change of the fourth pole e4 of the first sensing part A and the fourth pole e8 of the second sensing part B of the magnetic sensor 10 is to produce a + / -ΔV fluctuation centered on half of the driving voltage (Vd / 2). The sensing electrical signal of the first output terminal P2 = the sensing electrical signal of the second output terminal P4

[0125] =(e4+e6)=(e2+e8)=Vd / 2. Fig.10As shown in the third figure, since the potentials of the first output terminal P2 and the second output terminal P4 are both constant values ​​Vd / 2, the overall output Vout of the magnetic sensor 10 = the potential of the first output terminal P2 - the potential of the second output terminal P4 = 0. Therefore, the magnetic sensor 10 uniformly interferes with the magnetic field of the external environment, that is, the second magnetic field does not generate a signal output, and the magnetic sensor 10 realizes the function of resisting external magnetic interference.

[0126] When the sensitive direction of the magnetic sensor 10 is parallel to the plane of the conductor W, Figure 4 Under the configuration of , the magnetic sensor 10 only generates output for the D2 component of the first signal magnetic field, and the relationship between its output characteristic and the D2 component of the first signal magnetic field is as follows: Fig.11 When the current to be measured passes through the conductor W and changes in magnitude over time, as shown in Fig.11 As shown in the first figure, the signal magnetic field D2 component BD2 is zero at the second sensing position L2, while BD2 produces a change opposite to the current phase at the first sensing position L1, such as Fig.11 Therefore, the potential of the second pole e2 and the fourth pole e4 of the first sensing portion A of the magnetic sensor 10 does not change with the change of the current to be measured, and is a constant value Vd / 2, as shown in FIG. Fig.11 As shown in the second figure. The potential of the second pole e6 of the second sensing part B of the magnetic sensor 10 produces the same phase change as the first signal magnetic field D2 component BD2, and the change amplitude is + / -ΔV, as shown in Fig.11 As shown in the second figure. The potential of the fourth electrode e8 of the second sensing portion B of the magnetic sensor 10 changes in phase opposite to the first signal magnetic field D2 component BD2, and the change amplitude is also + / -ΔV, as shown in FIG. Fig.11 The output of the first output terminal P2 is (e4+e6) / 2, the amplitude is ΔV / 2, and the phase is opposite to the first signal magnetic field D2 component BD2, as shown in FIG. Fig.11 The output of the second output terminal P4 is (e2+e8) / 2, the amplitude is also ΔV / 2, and the phase is the same as the first signal magnetic field D2 component BD2, as shown in FIG. Fig.11 As shown in the third figure of FIG. The overall output Vout of the magnetic sensor 10 = the potential of the first output terminal P2 - the potential of the second output terminal P4, whose phase is opposite to the first signal magnetic field D2 component BD2, and the output waveform with an amplitude of ΔV, as shown in FIG. Fig.11 As shown in the third figure.

[0127] When the sensitive direction of the magnetic sensor 10 is perpendicular to the plane of the conductor W, Figure 4 Under the configuration of , the magnetic sensor 10 only generates output for the D1 component of the first signal magnetic field, and the relationship between its output characteristic and the D1 component of the first signal magnetic field is as follows: Fig.12 When the current to be measured passes through the conductor W and changes in magnitude over time, as shown in Figure 7As shown in the first figure, the signal magnetic field D1 component BD1 produces a change opposite to the current phase at the second sensing position L2, while BD1 is zero at the first sensing position L1. Fig.12 Therefore, the potential of the second pole e2 of the first sensing part A of the magnetic sensor 10 changes in the same phase as the first signal magnetic field D1 component BD1, with a variation range of + / -ΔV, as shown in FIG. Fig.12 The fourth pole e4 of the first sensing portion A produces a phase change opposite to that of the first signal magnetic field D1 component BD1, and the change amplitude is also + / -ΔV, as shown in FIG. Fig.12 The potential of the second pole e6 and the fourth pole e8 of the second sensing B of the magnetic sensor 10 does not change with the change of the current to be measured, and is a constant value Vd / 2, as shown in the dotted line of the second figure. Fig.12 The output of the first output terminal P2 is (e4+e6) / 2, the amplitude is ΔV / 2, and the phase is opposite to the first signal magnetic field D1 component BD1, as shown in the second figure. Fig.12 The output of the second output terminal P4 is (e2+e8) / 2, the amplitude is also ΔV / 2, and the phase is the same as the first signal magnetic field D1 component BD1, as shown in the dotted line in the third figure. Fig.12 The overall output Vout of the magnetic sensor 10 is equal to the potential of the first output terminal P2 - the potential of the second output terminal P4, and its phase is opposite to the first signal magnetic field D1 component BD1, and the amplitude is ΔV. Fig.12 As shown in the fourth figure.

[0128] Optional, Fig.13 It is a structural schematic diagram of a magnetic sensor provided by an embodiment of the present invention. Fig.14 It is a structural schematic diagram of the positional relationship between another magnetic sensor and a conducting wire provided in an embodiment of the present invention. Fig.15 A magnetic sensor provided by an embodiment of the present invention Fig.14 Based on the above embodiment, combined with Figures 13 to 15The magnetic sensor 10 provided in this embodiment includes a first sensing part A, a second sensing part B and a third sensing part C; the first sensing part 11 is a full-bridge structure, and the second sensing part 11 and the third sensing part 11 are both half-bridge structures; the first pole e5 of the full-bridge structure of the first sensing part 11 is connected to the first pole e10 of the half-bridge structure of the second sensing part 11 and the first pole e1 of the half-bridge structure of the third sensing part 11, as a first driving end P1; the second pole e6 of the full-bridge structure of the first sensing part 11 is connected to the connecting end e4 of the half-bridge structure of the third sensing part 11, as a first output end P2; the third pole e7 of the full-bridge structure of the first sensing part 11 is connected to the second pole e9 of the half-bridge structure of the second sensing part 11 and the second pole e3 of the half-bridge structure of the third sensing part 11, as a second driving end P3; the fourth pole e8 of the full-bridge structure of the first sensing part 11 is connected to the connecting end e2 of the half-bridge structure of the second sensing part 11, as a second output end P4.

[0129] Specifically, Fig.14 The conductor W is a U-shaped structure. The first end point w1 and the second end point w2 of the conductor W, a current to be measured can be introduced from the first end point w1, and then derived from the second end point w2 after passing through the U-shaped path of the conductor W, or vice versa. The current direction parallel to the D3 direction can be defined as positive, and the anti-parallel D3 direction can be defined as negative. The first sensing part A of the magnetic sensor 10 is configured at the inner second sensing position L2 of the turning point of the conductor W, which does not overlap or partially overlaps with the projection of the conductor W, and the second sensing position L2 is at the same distance from the adjacent wire boundary. The second sensing part B of the magnetic sensor 10 is configured at the second end point w2 of the conductor W, and the positive projection of the second sensing part B of the magnetic sensor 10 overlaps with the conductor W. The first sensing position L1 is at the same distance from the second end point w2 of the adjacent conductor W. The third sensing part C of the magnetic sensor 10 is configured at the first end point w1 of the conductor W, and the positive projection of the third sensing part C of the magnetic sensor 10 overlaps or partially overlaps with the conductor W. The third sensing position L3 is at the same distance from the first end point w1 of the adjacent conductor W.

[0130] See also Fig.15When a positive current to be measured is introduced into the conductor W from the first terminal w1 and is led out from the second terminal w2, a first signal magnetic field Bh is generated. The direction of the first signal magnetic field Bh is clockwise around the first terminal w1 and counterclockwise around the second terminal w2. The first signal magnetic field distribution generates a magnetic field component in the -D2 direction at the first sensing position L1. The current to be measured generates a magnetic field component in the D1 direction at the second sensing position L2. A magnetic field component in the D2 direction is generated at the third sensing position L3. Since the first sensing part A of the magnetic sensor 10 has only a magnetic field component in the D1 direction, the second sensing part B has a component in the D2 direction, and the third sensing part C has a component in the D2 direction. Therefore, using a magnetic sensor 10 with a sensing direction parallel to the D2 direction or parallel to the D1 direction under this configuration can obtain a better detection effect.

[0131] See also Fig.13 The third magnetoresistance unit R5, the fourth magnetoresistance unit R6, the fifth magnetoresistance unit R7 and the sixth magnetoresistance unit R8 of the first sensing part A of the magnetic sensor 10 form a full-bridge structure, wherein the connection point between the third magnetoresistance unit R5 and the sixth magnetoresistance unit R8 is the first pole e5 of the first sensing part 11, the connection point between the third magnetoresistance unit R5 and the fourth magnetoresistance unit R6 is the second pole of the first sensing part A, the connection point between the fourth magnetoresistance unit R6 and the fifth magnetoresistance unit R7 is the third pole e7 of the first sensing part 11, and the connection point between the fifth magnetoresistance unit R7 and the sixth magnetoresistance unit R8 is the fourth pole e8 of the first sensing part 11.

[0132] The second sensing part B of the magnetic sensor 10 is composed of a first magnetoresistance unit R1 and a second magnetoresistance unit R2, forming a half-bridge structure, wherein the connection point between the first magnetoresistance unit R1 and the second magnetoresistance unit R2 of the second sensing part B is a connecting end e2, the other end of the first magnetoresistance unit R1 of the second sensing part B is connected to the first pole e10, and the other end of the second magnetoresistance unit R2 of the second sensing part B is connected to the second pole e9.

[0133] The first magnetoresistance unit R4 and the second magnetoresistance unit R3 of the third sensing part C of the magnetic sensor 10 form a half-bridge structure, wherein the connection point between the second magnetoresistance unit R3 and the first magnetoresistance unit R4 of the third sensing part C is the connection terminal e4, the other end of the second magnetoresistance unit R3 is connected to the second pole e3, and the other end of the first magnetoresistance unit R4 is connected to the first pole e1. The first pole e1 of the third sensing part 11, the first pole e5 of the first sensing part 11 and the first pole e10 of the second sensing part 11 are connected to the first driving terminal P1, and the second pole e3 of the third sensing part 11, the third pole e7 of the second sensing part 11 and the second pole e9 of the second sensing part 11 are connected to the second driving terminal P3. The connection terminal e4 of the third sensing part 11 and the second pole e6 of the first sensing part 11 are connected to the first output terminal P2, and the connection terminal e2 of the second sensing part 11 and the fourth pole e8 of the first sensing part 11 are connected to the second output terminal P4. The magnetic sensor 10 can be driven by connecting the first driving terminal P1 and the second driving terminal P3 to the power supply and the ground terminal, and the first output terminal P2 and the second output terminal P4 are used to output the sensing electrical signal, which can be, for example, a voltage signal. The resistance change of each magnetoresistive unit of the magnetic sensor 10 to the magnetic field is set to be consistent with the first magnetoresistive unit R1 of the second sensing part 11, the second magnetoresistive unit R3 of the third sensing part 11, the third magnetoresistive unit R5 of the first sensing part 11 and the fifth magnetoresistive unit R7, the second magnetoresistive unit R2 of the second sensing part 11, the first magnetoresistive unit R4 of the third sensing part 11, the fourth magnetoresistive unit R6 of the first sensing part 11 and the sixth magnetoresistive unit R8 of the first sensing part 11, and the first magnetoresistive unit R1 of the second sensing part 11 is different from the second magnetoresistive unit R2 of the second sensing part 11, so under the same second magnetic field, the magnetic sensor 10 has no signal output.

[0134] An embodiment of the present invention provides a current detection device. Fig.16 It is a structural schematic diagram of a current detection device provided by an embodiment of the present invention. Fig.17 is a schematic diagram of the structure of another current detection device provided by an embodiment of the present invention. Figure 5 , Fig.16 and Fig.17 An embodiment of the present invention provides a current detection device, wherein a conductor W is arranged in a preset detection area of ​​the current detection device; a first signal magnetic field is generated when the current to be measured passes through the conductor W; the current detection device comprises: a substrate; at least one magnetic sensor 10 proposed in any of the above embodiments is arranged on the substrate, and the magnetic sensor 10 is used to generate a sensing electrical signal according to the first signal magnetic field generated by the current to be measured flowing through the conductor W; wherein the magnetic sensor 10 has no signal output for the second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor W; a processing module, the processing module is connected to the magnetic sensor 10, and the processing module is used to generate a current value flowing through the conductor W according to the sensing electrical signal.

[0135] Specifically, the magnetic sensor 10 may be a magnetoresistive sensor, an anisotropic magnetoresistive (AMR), a giant magnetoresistive (GMR), or a tunneling magnetoresistive (TMR) sensor, and the magnetic sensor 10 may detect a magnetic field component parallel to the substrate direction or a magnetic field component perpendicular to the substrate direction. The current detection device 100 includes a substrate S, and the orthographic projection of the substrate S on the conductor W may partially overlap with the conductor W. The magnetic sensor 10 may be disposed on a side of the substrate S close to the conductor W, or on a side of the substrate S away from the conductor W. The magnetic sensor 10 may be disposed on the surface of the substrate S or partially embedded in the substrate S. The number of magnetic sensors 10 may be one or more. When a plurality of magnetic sensors 10 are disposed on the substrate S, the plurality of magnetic sensors 10 may be disposed on the same side or on different sides of the substrate S, without any limitation herein.

[0136] The magnetic sensor 10 includes at least two sensing parts 11, and the sensing parts 11 have different directions of magnetic field components of the first signal magnetic field. Fig.17 , Fig.17 The case where the magnetic sensor 10 includes a first sensing portion A and a second sensing portion B is exemplarily shown, and the first sensing portion A and the second sensing portion B have different directions of the magnetic field component of the first signal magnetic field.

[0137] The substrate S is close to the second end point w2 of the conductor W and has a distance therefrom. When a positive current I to be measured is introduced into the conductor W from the first end point w1 and is led out from the second end point w2, a first signal magnetic field Bh is generated, and the direction of the magnetic field component of the first signal magnetic field Bh is clockwise around the first end point w1 and counterclockwise around the second end point w2. Such a magnetic field distribution generates a magnetic field component in the -D2 direction at the second sensing part B, that is, the second sensing part B of the magnetic sensor 10 detects a first signal magnetic field in the -D2 direction. The current I to be measured generates a magnetic field component in the -D1 direction at the first sensing part A, that is, the first sensing part A of the magnetic sensor 10 detects a first signal magnetic field in the -D1 direction. The magnetic sensor 10 generates a sensing electrical signal according to the first signal magnetic field generated by the current I to be measured flowing through the conductor W.

[0138] The processing circuit 20 is connected to the magnetic sensor 10, and the processing circuit 20 calculates the current value flowing through the conductor W according to the sensed electrical signal. The processing circuit 20 can perform multi-pole amplification, signal sampling, signal operation, etc. on the received sensed electrical signal, as well as various calibrations, such as temperature calibration, zero drift calibration, and ripple removal, to improve the detection accuracy of the current I to be measured flowing through the conductor W.

[0139] The current detection device provided by the embodiment of the present invention is provided with at least one magnetic sensor 10 on the substrate S, and the magnetic sensor 10 includes at least two sensing parts 11, and the directions of the magnetic field components of the sensing parts 11 in the first signal magnetic field are different. By setting the sensing part 11 to include a half-bridge structure or a full-bridge structure, the magnetic sensor 10 generates a sensing electrical signal according to the first signal magnetic field generated by the current to be measured flowing through the conductor W, and the magnetic sensor 10 has no signal output for the second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor W. The processing module generates a current value flowing through the conductor W according to the sensing electrical signal, so that the magnetic sensor 10 only outputs the sensing electrical signal for the first signal magnetic field, and the magnetic sensor 10 does not output the sensing signal for the second magnetic field, which better eliminates the interference of the uniform magnetic field outside the conductor W, and improves the detection accuracy of the current to be measured I flowing through the conductor W.

[0140] Optionally, based on the above embodiment, continue to refer to Figure 5 The substrate has a first surface close to the conductor W and a second surface away from the conductor W; the substrate includes at least two sensing positions spaced apart and located on the first surface or the second surface; the sensing portion 11 is disposed at the sensing position; the magnetic sensor 10 senses a first signal magnetic field generated by a current to be measured passing through the conductor W; the magnetic sensor 10 generates a sensing electrical signal based on the difference in magnetic field strength of components of the first signal magnetic field at each sensing position in a preset direction.

[0141] Specifically, Figure 5 exemplarily shows a current detection device including a magnetic sensor 10, wherein the magnetic sensor 10 includes a first sensing portion A disposed at a second sensing position L2; and a second sensing portion B disposed at a first sensing position L1. The second surface of the substrate S is closer to the second end point w2 of the conductor W, and the substrate S and the conductor W have a preset distance range. When a positive current to be measured I+ is introduced into the conductor W from the first end point w1 and is derived from the second end point w2, a first signal magnetic field Bh is generated, and the direction of the first signal magnetic field Bh is clockwise around the first end point w1 and counterclockwise around the end point w2. Such a first signal magnetic field distribution generates a magnetic field component in the -D2 direction at the first sensing position L1, that is, the second sensing portion B of the magnetic sensor 10 detects a first signal magnetic field in the -D2 direction. The current to be measured I generates a magnetic field component in the -D1 direction at the second sensing position L2, that is, the first sensing portion A of the magnetic sensor 10 detects a first signal magnetic field in the -D1 direction. The magnetic sensor 10 generates a sensing electrical signal based on the difference in magnetic field strength between the components of the first signal magnetic field at the second sensing position L2 and the first sensing position L1 in a preset direction, for example, the difference in magnetic field strength between the first sensing part A of the magnetic sensor 10 detecting the first signal magnetic field in a -D1 direction and the second sensing part B detecting the first signal magnetic field in a -D2 direction.

[0142] Optional, Fig.18 FIG. 1 is a schematic diagram showing the positional relationship between another magnetic sensor 10 and a conductor provided in an embodiment of the present invention. Figure 2 , Figure 3 , Fig.13 and Fig.18 The structures of the sensing parts 11 of each magnetic sensor 10 are the same or different.

[0143] Fig.19 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig. 20 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig.21 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig. 22 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention.

[0144] Fig.19 The shape of the conductor W is U-shaped, the orthographic projection of the first sensing portion A on the substrate S does not overlap with the conductor W, and the orthographic projection of the second sensing portion B on the substrate S does not overlap with the conductor W. Fig. 20 The shape of the conductor W is a straight line, the orthographic projection of the first sensing portion A on the substrate S does not overlap with the conductor W, and the orthographic projection of the second sensing portion B on the substrate S overlaps with the conductor W. Fig.21 The conductor W is exemplarily shown as a straight line, the first sensing portion A and the second sensing portion B are respectively connected across the opposite sides of the conductor W, and the orthographic projections of the first sensing portion A and the second sensing portion B on the substrate S do not overlap with the conductor W, and no limitation is made here. Fig. 22 By way of example, the conductor W is S-shaped, the first sensing portion A and the second sensing portion B are respectively connected across opposite sides of the conductor W, and the orthographic projections of the first sensing portion A and the second sensing portion B on the substrate S do not overlap with the conductor W. The first sensing portion A of the magnetic sensor 10 is arranged at the inner second sensing position L2 at the turn of the conductor W, and the second sensing portion B of the magnetic sensor 10 is arranged at the inner first sensing position L1 at another turn of the conductor W. The orthographic projections of the first sensing portion A and the second sensing portion B on the conductor W do not overlap with the conductor W, and no limitation is made herein.

[0145] Fig.23 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig.24 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig.25 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig.26 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention.

[0146] Fig. 27 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig.23 The conductor W is shaped like a U, and the current detection device includes two magnetic sensors 10, each of which includes two sensing parts 11. The first magnetic sensor includes a first sensing part A and a second sensing part B, and the second magnetic sensor includes a third sensing part C and a fourth sensing part D. The extension direction of the magnetic sensor 10 and the conductor W intersects with each other along the extension direction of the first sensing part A to the second sensing part B. Fig.24 The shape of the conductor W is U-shaped, the orthographic projection of the first sensing portion A on the substrate S does not overlap with the conductor W, and the orthographic projection of the second sensing portion B on the substrate S overlaps with the conductor W. Figure 24 to Figure 27 By way of example, it is shown that along the extension direction from the first sensing portion A to the second sensing portion B, the extension direction of the magnetic sensor 10 and the conductor W are perpendicular to each other, and no limitation is made here.

[0147] Optional, Fig.28 It is a structural schematic diagram of another current detection device provided by an embodiment of the present invention. Fig.29 FIG. 1 is a schematic diagram of the structure of another current detection device provided by an embodiment of the present invention. Fig.23 and Fig.24 The current detection device provided by the embodiment of the present invention further includes: at least one switching circuit arranged on the substrate S, the switching circuit is electrically connected to the output end of the magnetic sensor 10, and the switching circuit is used to switch the connection mode of the output end of the magnetic sensor 10 to adjust the working state of the magnetic sensor 10, and sequentially drive the magnetic sensor 10 to output the sensing electrical signal under the first signal magnetic field; preferably, the magnetic sensor 10 and the switching circuit are arranged in a one-to-one correspondence.

[0148] Specifically, the switching circuit can switch the connection mode of the output end of the magnetic sensor 10 to adjust the working state of the magnetic sensor 10 and sequentially drive the magnetic sensor 10 to output the first sensing electrical signal and the second sensing electrical signal under the first signal magnetic field.

[0149] For example, see Fig.28, the first sensing part A and the second sensing part B of the magnetic sensor 10 are connected to each other through a wire to form an output terminal, namely a first driving terminal P1, a first output terminal P2, a second driving terminal P3 and a second output terminal P4. The four output terminals are connected to a switching circuit, and the switching circuit can be switched through the contacts to sequentially form the first connection mode to the fourth connection mode of the magnetic sensor 10, and drive the magnetic sensor 10 so that the magnetic sensor 10 generates the first output, the second output, the third output and the fourth output in sequence. The first connection mode is: the first driving terminal P1 is connected to the power supply, the second driving terminal P3 is connected to the ground terminal, and the first output terminal P2 and the second output terminal P4 are signal output terminals. The second connection mode is: the second output terminal P4 is connected to the power supply, the first output terminal P2 contact is connected to the ground terminal, and the second driving terminal P3 and the first driving terminal P1 are signal output terminals. The third connection mode is: the second driving terminal P3 is connected to the power supply, the first driving terminal P1 contact is connected to the ground terminal, and the second output terminal P4 and the first output terminal P2 are signal output terminals. The fourth connection mode is: the first output terminal P2 is connected to the power supply, the second output terminal P4 is connected to the ground terminal, and the first driving terminal P1 and the second driving terminal P3 are signal output terminals.

[0150] For example, see Fig.29 , Fig.29 The current detection device includes two magnetic sensors 10, namely, a first magnetic sensor and a second magnetic sensor. The first sensing part A and the second sensing part B of the first magnetic sensor are connected to each other through a wire to form four output terminals, namely, a first drive terminal P1, a first output terminal P2, a second drive terminal P3 and a second output terminal P4. The first drive terminal P1, the first output terminal P2, the second drive terminal P3 and the second output terminal P4 are connected to a switching circuit, and the switching circuit can sequentially form the first connection mode to the fourth connection mode of the above-mentioned magnetic sensor 10 by switching the output terminal, and drive the magnetic sensor 10 so that the magnetic sensor 10 generates the first output to the fourth output in sequence. The third sensing part C and the fourth sensing part D of the second magnetic sensor are connected to each other through a wire to form four output terminals. The four output ends are respectively a third driving end P5, a third output end P6, a fourth driving end P7 and a fourth output end P8. The third driving end P5, the third output end P6, the fourth driving end P7 and the fourth output end P8 are connected to another switching circuit. The switching circuit can sequentially form the fifth to eighth connection modes of the magnetic sensor 10 through switching of the output ends, and drive the magnetic sensor 10 so that the magnetic sensor 10 sequentially generates the fifth to eighth outputs.

[0151] Optionally, based on the above embodiment, Fig.28 and Fig.29The current detection device provided in an embodiment of the present invention may further include: an amplification module, the amplification module is connected between the switching circuit and the processing circuit 20, the amplification module is used to receive the sensing signal, differentially amplify the sensing signal, and output the amplified sensing signal to the processing circuit 20.

[0152] For details, see Fig.29 The amplification module may include a first differential operational amplifier O1 and a second differential operational amplifier O2. The current detection device includes a first magnetic sensor and a second magnetic sensor. The output end of the first magnetic sensor is connected to the first differential operational amplifier O1, and the first differential operational amplifier O1 amplifies the sensing electrical signal output by the first magnetic sensor and inputs it into the processing circuit 20.

[0153] The output end of the second magnetic sensor is connected to the second differential operational amplifier O2. The second differential operational amplifier O2 amplifies the sensing electrical signal output by the second magnetic sensor and inputs it into the processing circuit 20. The processing circuit 20 can perform multi-pole amplification, signal sampling, signal operations such as multiple sampling addition or averaging, and various calibrations such as temperature calibration, zero drift calibration, and ripple removal, and output current detection values. This arrangement further improves the current detection accuracy of the current detection device and improves the anti-electromagnetic interference capability of the current detection device.

[0154] Fig.30 FIG. 1 is a flow chart of a current detection method provided by an embodiment of the present invention. Figure 5 , Fig.16 and Fig.17 , and, 30, the current detection method provided in the embodiment of the present invention is applied to the current detection device proposed in any of the above embodiments. The current detection device provided in the embodiment of the present invention comprises: a substrate S, at least one magnetic sensor 10 and a processing circuit 20 proposed in any of the above embodiments arranged on the substrate S, the processing circuit 20 is connected to the magnetic sensor 10; the magnetic sensor 10 comprises: at least two sensing parts 11, each sensing part 11 has a different direction of the magnetic field component of the first signal magnetic field Bh.

[0155] The current detection method provided by the embodiment of the present invention includes:

[0156] S3001, placing a conductor in a preset detection area of ​​a current detection device; wherein a first signal magnetic field is generated when the current to be measured passes through the conductor.

[0157] S3002. Generate a sensing electrical signal through a magnetic sensor according to a first signal magnetic field generated by a current to be measured flowing through the conductor; wherein the magnetic sensor has no signal output for a second magnetic field; and the second magnetic field includes a uniform magnetic field outside the conductor.

[0158] S3003. Generate a current value flowing through the conductor according to the sensed electrical signal through a processing circuit.

[0159] The current detection method provided by the embodiment of the present invention configures the conductor in the preset detection area of ​​the current detection device, generates a sensing electrical signal through the magnetic sensor according to the first signal magnetic field generated by the current to be measured flowing through the conductor, and generates the current value flowing through the conductor according to the sensing electrical signal through the processing circuit. This configuration enables the magnetic sensor to output the sensing electrical signal only to the first signal magnetic field, and does not output the sensing signal to the second magnetic field, which effectively eliminates the interference of the uniform magnetic field outside the conductor and improves the detection accuracy of the current to be measured flowing through the conductor. On the other hand, the current detection device used in the current detection method provided by the embodiment of the present invention has a simple structure, low cost and good practicality.

[0160] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0161] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A magnetic sensor, characterized in that: include: At least two sensing parts, wherein the directions of the magnetic field components of the first signal magnetic field are different; wherein the first signal magnetic field is generated by the current to be measured flowing through the conductor; At least two of the sensing parts are electrically connected to each other, and the sensing parts include a half-bridge structure or a full-bridge structure; the sensing parts generate a resistance change in response to the first signal magnetic field through the half-bridge structure or the full-bridge structure to generate a sensing electrical signal; The sum of the sensing electrical signals of the sensing parts of the magnetic sensor to the second magnetic field is zero, and the second magnetic field includes a uniform magnetic field outside the conductor; The magnetic sensor further comprises: A plurality of first connection lines and a plurality of output terminals; The sensing parts are connected in parallel via the first connecting lines, and each of the first connecting lines is connected to one of the output terminals; The output end comprises: A first output end, a second output end, a first driving end, and a second driving end; The first output terminal is used to output a first sensing electrical signal; The second output terminal is used to output a second sensing electrical signal; The first driving end is used to connect to a power source, and the second driving end is used to be grounded; or, the first driving end is used to be grounded, and the second driving end is used to connect to a power source; Under the first signal magnetic field, the first sensing electrical signal and the second sensing electrical signal have different amplitudes and phase changes; Under the second magnetic field, the amplitude and phase change of the first sensing electrical signal are the same as those of the second sensing electrical signal; The half-bridge structure includes a first pole, a second pole, a first magnetoresistance unit, a second magnetoresistance unit and a connecting end; the first end of the first magnetoresistance unit is connected to the first pole, the second end of the first magnetoresistance unit is connected to the first end of the second magnetoresistance unit and the connecting end, and the second end of the second magnetoresistance unit is connected to the second pole; The full-bridge structure includes a first pole, a second pole, a third pole, a fourth pole, a third magnetoresistance unit, a fourth magnetoresistance unit, a fifth magnetoresistance unit and a sixth magnetoresistance unit; the first end of the third magnetoresistance unit is connected to the first pole, the second end of the third magnetoresistance unit is connected to the first end of the fourth magnetoresistance unit and the second pole, the second end of the fourth magnetoresistance unit is connected to the first end of the fifth magnetoresistance unit and the third pole, the second end of the fifth magnetoresistance unit is connected to the first end of the sixth magnetoresistance unit and the fourth pole, and the second end of the sixth magnetoresistance unit is connected to the first pole; The magnetic sensor includes a first sensing portion, a second sensing portion and a third sensing portion; The first sensing part is a full-bridge structure, and the second sensing part and the third sensing part are both half-bridge structures; The first pole of the full-bridge structure of the first sensing part is connected to the first pole of the half-bridge structure of the second sensing part and the first pole of the half-bridge structure of the third sensing part as the first driving end; The second pole of the full-bridge structure of the first sensing part is connected to the connecting end of the half-bridge structure of the third sensing part as the first output end; The third pole of the full-bridge structure of the first sensing part is connected to the second pole of the half-bridge structure of the second sensing part and the second pole of the half-bridge structure of the third sensing part as the second driving end; The fourth pole of the full-bridge structure of the first sensing part is connected to the connecting end of the half-bridge structure of the second sensing part as the second output end.

2. The magnetic sensor according to claim 1, characterized in that The first signal magnetic field has different directions in each of the sensing parts; The first signal magnetic field has different strengths in each of the sensing parts.

3. The magnetic sensor according to claim 1, characterized in that At least one of the sensing portions at least partially overlaps with the conductor in its orthographic projection on the conductor.

4. The magnetic sensor according to claim 1, characterized in that The sensitive direction of the magnetic sensor is parallel to the plane where the conductor is located; or, The sensitive direction of the magnetic sensor is perpendicular to the plane where the conductor is located.

5. A current detection device, characterized in that: The conductor is arranged in a preset detection area of ​​the current detection device; When the current to be measured passes through the conductor, a first signal magnetic field is generated; The current detection device comprises: a substrate; At least one magnetic sensor according to any one of claims 1 to 4 disposed on the substrate; The magnetic sensor is used to generate a sensing electrical signal according to the first signal magnetic field generated by the current to be measured flowing through the conductor; wherein the magnetic sensor has no signal output for the second magnetic field, and the second magnetic field includes a uniform magnetic field outside the conductor; A processing module is connected to the magnetic sensor, and is used to generate a current value flowing through the conductor according to the sensed electrical signal.

6. The current detection device according to claim 5, characterized in that: The substrate has a first surface close to the conductor and a second surface away from the conductor; The substrate includes at least two sensing locations spaced apart from each other on the first surface or the second surface; The sensing part is arranged at the sensing position; the magnetic sensor senses a first signal magnetic field generated by the current to be measured passing through the conductor; The magnetic sensor generates a sensing electrical signal based on the difference in magnetic field strength of the components of the first signal magnetic field in a preset direction at each of the sensing positions.

7. The current detection device according to claim 5, characterized in that: The structures of the sensing parts of each of the magnetic sensors are the same or different.

8. The current detection device according to claim 5, characterized in that: The current detection device further includes: At least one switching circuit is disposed on the substrate, the switching circuit is electrically connected to the output end of the magnetic sensor, and the switching circuit is used to switch the connection mode of the output end of the magnetic sensor to adjust the working state of the magnetic sensor and sequentially drive the magnetic sensor to output a sensing electrical signal under the first signal magnetic field.

9. The current detection device according to claim 8, characterized in that: The magnetic sensors are arranged in a one-to-one correspondence with the switching circuits.

10. The current detection device according to claim 8, characterized in that: The current detection device further includes: An amplification module, wherein the amplification module is connected between the switching circuit and the processing module, and is used for receiving the sensing electrical signal, performing differential amplification on the sensing electrical signal, and outputting the amplified sensing electrical signal to the processing module.

11. A current detection method, characterized in that: The current detection method is applied to the current detection device according to any one of claims 5 to 10; The current detection device comprises: a substrate, and at least one magnetic sensor according to any one of claims 1 to 4 disposed on the substrate; The current detection method comprises: Arrange a conductor in a preset detection area of ​​the current detection device; wherein a first signal magnetic field is generated when the current to be measured passes through the conductor; Generate a sensing electrical signal by means of a magnetic sensor according to the first signal magnetic field generated by the current to be measured flowing through the conductor; wherein the magnetic sensor has no signal output for a second magnetic field; and the second magnetic field includes a uniform magnetic field outside the conductor; The processing module generates a current value flowing through the conductor according to the sensed electrical signal.