Magnetic sensor and current detection device
The twisted Wheatstone bridge circuit in the magnetic sensor addresses noise issues by alternating and intersecting electrode connections, enhancing detection accuracy and reducing sensor size.
Patent Information
- Application Number
- JP2023200559
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-11-28
- Publication Date
- 2024-10-11
AI Technical Summary
Magnetic sensors with Wheatstone bridge circuits using magnetoresistive elements face issues of increased chip area and generation of common-mode signal noise due to induced electromotive force and magnetic field distribution, leading to differential amplification noise.
The magnetic sensor is designed with a twisted Wheatstone bridge circuit configuration where magnetoresistive elements are connected using electrode pieces that intersect and alternate in a specific pattern, reducing the effective area and canceling out induced electromotive force noise.
This design effectively suppresses di/dt noise and common-mode signal noise, allowing for accurate magnetic field detection while minimizing the sensor's footprint.
Smart Images

Figure 2024144063000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a magnetic sensor and a current detection device. [Background technology]
[0002] A magnetic sensor is known that includes a Wheatstone bridge circuit composed of four resistance arms each including a magnetoresistance element (TMR), and detects magnetic field strength by inputting a drive voltage from a pair of power supply nodes and acquiring a differential voltage from a pair of output nodes (see Patent Document 1). In such a magnetic sensor, the DC voltage resistance and ESD voltage resistance of the magnetic sensor can be improved by configuring each resistance arm by connecting multiple TMRs in series. However, the chip area (equal to the area of the magnetic sensing part) becomes larger, that is, the closed loop formed by the four resistance arms becomes larger, and there is a concern that not only will an induced electromotive force be generated by the passage of a large amount of magnetic flux inside the closed loop, resulting in di / dt noise, but also that a common-mode signal will be generated due to the magnetic field distribution on the magnetic sensing part, resulting in differential amplification noise. Patent Document 1: International Publication No. 2015 / 107949 Summary of the Invention [Means for solving the problem]
[0003] In a first aspect of the present invention, a first resistance side includes a plurality of first magnetic resistance elements arranged on one surface, a first electrode piece connecting upper surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, and a second electrode piece connecting lower surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, the plurality of first magnetic resistance elements being alternately connected in arrangement order by the first electrode piece and the second electrode piece, A magnetic sensor is provided, the magnetic sensor comprising: a third electrode piece connecting the upper surfaces of two adjacent second magnetic resistance elements; and a fourth electrode piece connecting the lower surfaces of two adjacent second magnetic resistance elements among the plurality of second magnetic resistance elements, the plurality of second magnetic resistance elements being alternately connected in arrangement order by the third electrode piece and the fourth electrode piece; a second resistance side, the first electrode piece being arranged so as to intersect with the fourth electrode piece at a distance in the vertical direction; and the second electrode piece including a first intersection portion being arranged so as to intersect with the third electrode piece at a distance in the vertical direction.
[0004] In a second aspect of the present invention, there is provided a current detection device including a conductor through which a current to be measured flows, and the magnetic sensor of the first aspect arranged on or in the vicinity of the conductor.
[0005] In a third aspect of the present invention, a first resistance side includes a plurality of first magnetic resistance elements arranged on one surface, a first electrode piece connecting upper surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, and a second electrode piece connecting lower surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, wherein the plurality of first magnetic resistance elements are alternately connected in arrangement order by the first electrode piece and the second electrode piece, and the plurality of second magnetic resistance elements arranged on the one surface and the plurality of second magnetic resistance elements. a third electrode piece connecting upper surfaces of two adjacent second magnetoresistance elements among the plurality of second magnetoresistance elements, and a fourth electrode piece connecting lower surfaces of two adjacent second magnetoresistance elements among the plurality of second magnetoresistance elements, the plurality of second magnetoresistance elements being alternately connected in arrangement order by the third electrode piece and the fourth electrode piece; a sixth electrode piece connecting the lower surfaces of two adjacent third magnetoresistance elements of the plurality of third magnetoresistance elements, the plurality of third magnetoresistance elements being alternately connected in arrangement order by the fifth electrode piece and the sixth electrode piece; a third resistance side; a plurality of fourth magnetoresistance elements arranged on the one surface; a seventh electrode piece connecting the upper surfaces of two adjacent fourth magnetoresistance elements of the plurality of fourth magnetoresistance elements; and a fourth electrode piece connecting the lower surfaces of two adjacent fourth magnetoresistance elements of the plurality of fourth magnetoresistance elements. and eight electrode pieces, and a fourth resistance side in which the plurality of fourth magnetic resistance elements are alternately connected in arrangement order by the seventh electrode piece and the eighth electrode piece, wherein the first electrode piece is arranged so as to intersect with the eighth electrode piece at a distance in the vertical direction, the second electrode piece is arranged so as to intersect with the third electrode piece at a distance in the vertical direction, the fifth electrode piece is arranged so as to intersect with the fourth electrode piece at a distance in the vertical direction, and the sixth electrode piece includes an intersection portion arranged so as to intersect with the seventh electrode piece at a distance in the vertical direction.
[0006] In a fourth aspect of the present invention, there is provided a current detection device comprising a conductor through which a current to be measured flows, and the magnetic sensor of the third aspect arranged on or in the vicinity of the conductor.
[0007] The above summary of the invention does not list all of the features of the present invention. Also, subcombinations of these features may also be inventions. [Brief description of the drawings]
[0008] [Figure 1A] 1 illustrates an internal configuration of a current detection device according to a first embodiment as viewed from above. [Figure 1B] 1 shows an internal configuration of a current detection device according to a first embodiment as viewed from the side. [Diagram 2] 2 shows the circuit configuration of a magnetic sensor. [Diagram 3] The structure of a magnetoresistive element (TMR) is shown in side view. [Figure 4A] 2 shows an example of the arrangement of magnetic sensors for detecting a horizontal magnetic field. [Figure 4B] 4B shows the circuit configuration of the magnetic sensor of FIG. 4A and the magnetic field detection direction of the magnetoresistance element. [Figure 5A] 2 shows an example of the arrangement of magnetic sensors for detecting a vertical magnetic field. [Figure 5B] 5B shows the circuit configuration of the magnetic sensor of FIG. 5A and the magnetic field detection direction of the magnetoresistance element. [Figure 6A] This shows the principle of di / dt noise generation associated with induced electromotive force. [Figure 6B] This shows the principle of suppressing di / dt noise by twisting wiring. [Figure 7] 1 shows a perspective view of a configuration of a magnetic sensor according to a first embodiment. [Figure 8A] The principle of suppressing di / dt noise caused by application of an X-direction magnetic field is shown. [Figure 8B] The principle of suppressing di / dt noise caused by application of a Y-direction magnetic field is shown. [Figure 8C] The principle of suppressing di / dt noise caused by application of a Z-direction magnetic field is shown. [Figure 9] 1 shows a perspective view of a configuration of a magnetic sensor according to a second embodiment. [Figure 10A] 13 shows a configuration of a unit of a magnetic sensor according to a second embodiment as viewed from above. [Figure 10B] 13 is a perspective view showing a configuration of a unit of a magnetic sensor according to a second embodiment. [Figure 11A] 13 illustrates a configuration of another unit of the magnetic sensor according to the second embodiment, as viewed from above. [Figure 11B] 13 is a perspective view showing the configuration of another unit of the magnetic sensor according to the second embodiment. [Figure 12A] The principle of suppressing di / dt noise caused by application of an X-direction magnetic field is shown. [Figure 12B] Another principle for suppressing the di / dt noise caused by application of an X-direction magnetic field will be described. [Figure 13A] The principle of suppressing di / dt noise caused by application of a Y-direction magnetic field is shown. [Figure 13B] Another principle for suppressing the di / dt noise caused by application of a Y-direction magnetic field will be described. [Figure 14A] The principle of suppressing di / dt noise caused by application of a Z-direction magnetic field is shown. [Figure 14B] Another principle for suppressing the di / dt noise caused by application of a Z-direction magnetic field will be described. [Figure 15A] 13 shows a top view of an internal configuration of a current detection device according to a modified example. [Figure 15B] 13 shows a side view of an internal configuration of a current detection device according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0010] First embodiment 1A and 1B show the internal configuration of the current detection device 100 according to the first embodiment in a top view and a side view, respectively, through the package 9. Here, FIG. 1B shows a cross-sectional structure of the current detection device 100 with respect to a reference line in FIG. 1A. The up-down direction in FIG. 1A is the vertical direction, the left-right direction in FIG. 1A and FIG. 1B is the horizontal direction, and the up-down direction in FIG. 1B is the height direction. The current detection device 100 is a sensor that measures the amount of current by detecting a magnetic field generated around a conductor 24 when a current to be measured flows through the conductor 24 using a magnetic sensor 50, and can particularly suppress di / dt noise due to induced electromotive force and / or differential amplification noise associated with the spread of the magnetic field distribution. The current detection device 100 includes a package 9, a base 10, a plurality of device terminals 17, a conductor 24, a magnetic sensor 50, and a signal processing device 44.
[0011] The package 9 is a member that seals and protects each component of the current detection device 100, except for two device terminals 15 and 16, a plurality of device terminals 17, and each terminal portion of the conductor 24, which are provided on the base 10 and will be described later. The package 9 is formed into a flat rectangular parallelepiped by molding using a sealing resin with excellent insulating properties, such as epoxy.
[0012] The base 10 is a plate-like member that supports the signal processing device 44 and to which the insulating member 18 is fixed. The base 10 is formed into a plate shape using, for example, a metal with high thermal conductivity in order to dissipate heat generated particularly by the signal processing device 44. The base 10 has a main body 11, protrusions 12 and 14, and device terminals 15 and 16.
[0013] The main body 11 is a portion that supports the signal processing device 44. The main body 11 has, for example, a substantially rectangular shape large enough to support the signal processing device 44 in a plan view.
[0014] The protrusions 12 and 14 extend rightward from one end (i.e., the upper end in FIG. 1A) and the other end (i.e., the lower end in FIG. 1A) of one horizontal side (i.e., the right side in FIG. 1A) of the main body 11. When the magnetic sensor 50 is disposed around the conductor 24, an insulating member 18 can be fixed between the protrusions 12 and 14, and the magnetic sensor 50 can be disposed on the insulating member 18.
[0015] The device terminals 15, 16 are portions for outputting the detection result of the current under measurement output from the signal processing device 44 to an external device. The device terminals 15, 16 extend leftward from one end (i.e., the upper end in FIG. 1A) and the other end (i.e., the lower end in FIG. 1A) of the other lateral side (i.e., the left side in FIG. 1A) of the main body 11. The device terminals 15, 16 are bent downward at their ends by bending, and further bent horizontally at their tips, thereby forming terminal portions 15a, 16a at their ends, respectively.
[0016] The base 10 is sealed within the package 9 with terminal portions 15a, 16a of the device terminals 15, 16 protruding from the side surfaces of the package 9.
[0017] The device terminals 17, together with the device terminals 15 and 16, are secondary conductors for outputting the detection result of the current to be measured output from the signal processing device 44 to an external device. In addition, the device terminals 17, together with the device terminals 15 and 16, are used to provide power or operating parameters to the signal processing device 44. In this embodiment, as an example, three device terminals 17 are arranged at equal intervals between the device terminals 15 and 16 of the base 10 with their longitudinal sides facing horizontally. The device terminals 17 are formed into a rectangular plate shape using metal, and, like the device terminals 15 and 16, their ends are bent downward by bending processing, and their tips are further bent horizontally to form terminal portions 17a at each end.
[0018] The conductor 24 is a primary conductor that forms a current path through which the current to be measured flows. In this embodiment, the conductor 24 has a generally U-shaped shape that runs from a current terminal 24a provided on one side of the right side of the package 9 (i.e., the upper side in FIG. 1A), through the inside of the package 9, back to the right side, and to a current terminal 24e provided on the other side of the right side (i.e., the lower side in FIG. 1A). The conductor 24 is formed using metal. The conductor 24 includes current terminals (also simply referred to as terminal portions) 24a and 24e, body portions 24b and 24d, and a curved portion 24c.
[0019] The terminals 24a and 24e protrude from the right side of the package 9, and are formed into terminals for inputting a current by bending the ends downward and further bending the tips horizontally.
[0020] The body portions 24b and 24d are portions that connect the terminal portions 24a and 24e to the curved portion 24c. As an example, the body portions 24b and 24d are formed in a rectangular shape, and the two body portions 24b and 24d are connected to the right side at a distance, and the leg portion of the curved portion 24c is connected to the left side.
[0021] The curved portion 24c has two legs and a connecting portion connecting the two legs. The two legs have a vertical width smaller than that of the body portions 24b and 24d. The curved portion 24c curves the connecting portion in a substantially arc shape, and the two legs extend laterally from both ends of the connecting portion. The curved portion 24c may be bent in a U-shape.
[0022] The conductor 24 is sealed within the package 9 with the bent portion 24c disposed between the protruding portions 12 and 14 of the base 10 and the tips of the terminal portions 24a and 24e protruding from the right side of the package 9.
[0023] The magnetic sensor 50 is a sensor that detects a magnetic field generated by a current to be measured that is passed through the conductor 24. As an example, the magnetic sensor 50 is configured to detect a vertical magnetic field (an example of a horizontal magnetic field) generated around the conductor 24, and is disposed on one leg of the conductor 24.
[0024] 2 shows a circuit configuration of the magnetic sensor 50. The magnetic sensor 50 includes four resistor arms Ra to Rd. Here, the four resistor arms Ra to Rd are connected in the form of a Wheatstone bridge circuit. That is, one end of the resistor arm Ra and one end of the resistor arm Rb are connected to form an output terminal Np1, one end of the resistor arm Rc and one end of the resistor arm Rd are connected to form an output terminal Np2, the other end of the resistor arm Ra and the other end of the resistor arm Rc are connected to form a power supply terminal VDD, and the other end of the resistor arm Rb and the other end of the resistor arm Rd are connected to form a ground terminal GND.
[0025] The resistive sides Ra and Rd have the same magnetic field detection direction, which is vertically upward (or downward) in FIG. 1A in this example. The resistive sides Rb and Rc have the same magnetic field detection direction, which is vertically downward (or upward) in FIG. 1A in this example. The magnetic field detection direction of the resistive sides Ra and Rd is opposite to that of the resistive sides Rb and Rc. Each of the four resistive sides Ra to Rd is formed, for example, using one magnetoresistance element 51 or by connecting multiple magnetoresistance elements 51a to 51d in series. For example, a tunnel magnetoresistance element or a giant magnetoresistance element can be used as the magnetoresistance element.
[0026] FIG. 3 shows the configuration of the magnetoresistance element 51 (51a to 51d) in a side view. The magnetoresistance element 51 is an element whose resistance value varies with the application of a magnetic field, and includes a fixed layer 51o, a tunnel layer 51p, a free layer 51q, and a cap layer 51r. The fixed layer 51o is a magnetic film whose magnetization direction is fixed. The fixed layer 51o is magnetized so that its magnetization is oriented in one axial direction within a plane (also called a magnetosensitive surface) in which the magnetic film spreads, or in a direction perpendicular to the magnetosensitive surface. The magnetization direction of the fixed layer 51o determines the magnetic field detection direction of the magnetoresistance element 51. The tunnel layer 51p is, for example, a non-magnetic insulating film having a thickness of several nanometers. The free layer 51q is a magnetic film whose magnetization direction changes with an external magnetic field. The magnetic film may be made of an alloy containing at least one of Co, Fe, B, Ni, and Si, more specifically, cobalt iron (CoFe), cobalt iron boron (CoFeB), and nickel iron (NiFe). The fixed layer 51o, the tunnel layer 51p, and the free layer 51q are stacked to form a stack. Here, electrons tunnel through the tunnel layer 51p and move from the fixed layer 51o to the free layer 51q or from the free layer 51q to the fixed layer 51o, so that a current flows in the stacking direction in the element. The cap layer 51r is a member that covers the stack from above, and may be made of an alloy containing at least one of Ta, Ru, Pt, Mn, Ir, Mg, Cu, Fe, Ni, Cr, Fe, Co, and Al, more specifically, platinum manganese (PtMn) or iridium manganese (IrMn). The magnetoresistance element 51 is covered with an insulating material (not shown), such as silicon dioxide (SiO2), silicon nitride (SiN), or the like.
[0027] When an external magnetic field is applied to the magnetoresistance element 51, the magnetization direction of the free layer 51q changes according to the direction and strength of the magnetic field due to the magnetoresistance effect (MR effect), that is, the magnetization direction of the free layer 51q changes with respect to the magnetization direction of the fixed layer 51o, thereby varying the resistance value between the fixed layer 51o and the free layer 51q. In particular, when the magnetization direction of the free layer 51q is the same as that of the fixed layer 51o (the magnetizations of the two layers are parallel), the resistance value is small, and when they are opposite (the magnetizations of the two layers are antiparallel), the resistance value is large.
[0028] In addition, the DC voltage resistance can be improved by connecting multiple magnetoresistance elements 51 in series. Here, by connecting an electrode piece 52 to the cap layer 51r via an electrode rod 51s and connecting an electrode piece 53 to the lower surface of the fixed layer 51o, the magnetoresistance element 51 can be connected to another magnetoresistance element 51 via these electrodes 52, 53.
[0029] When a current to be measured flows through the conductor 24 and generates a magnetic field around the conductor 24, a vertical magnetic field is applied to the resistive sides Ra to Rd (magnetic resistance elements 51a to 51d included in the resistive sides) of the magnetic sensor 50 arranged on the conductor 24, causing the resistance values of the resistive sides Ra to Rd to vary. For example, the resistance values of the resistive sides Ra and Rd increase (or decrease), and the resistance values of the resistive sides Rb and Rc decrease (or increase). This causes the resistance balance of the resistive sides Ra to Rd to be lost. Here, the magnetic field strength can be detected by inputting a drive voltage to the power supply terminal VDD with respect to the ground terminal GND and detecting the differential voltage output from between the output terminals Np1 and Np2. The configuration of the magnetic sensor 50 will be described in more detail later.
[0030] The magnetic sensor 50 is connected to the signal processing device 44 by wire bonding, and outputs a voltage corresponding to the detected magnetic field strength to the signal processing device 44 as an output signal.
[0031] The signal processing device 44 is a device that processes the output signal of the magnetic sensor 50 to calculate the amount of the current to be measured flowing through the conductor 24. The signal processing device 44 may incorporate a memory, a sensitivity correction circuit, an offset correction circuit that corrects the offset of the output, an amplifier circuit that amplifies the output signal from the magnetic sensor 50, and a temperature correction circuit that corrects the output according to temperature. The signal processing device 44 is supported on the main body 11 of the base 10, and is connected to the device terminals 15, 16 and three device terminals 17 of the base 10 by wire bonding. Thus, the signal processing device 44 outputs the calculation result of the amount of the current to be measured flowing through the conductor 24 via the device terminals 15, 16, and 17.
[0032] A method for manufacturing the current detection device 100 will now be described.
[0033] First, a single metal plate is pressed to form a pattern of the base 10, the multiple device terminals 17, and the conductors 24. This pattern includes the base 10, the multiple device terminals 17, and the conductors 24, with their terminal portions connected to the inside of a rectangular frame.
[0034] Next, the pattern is subjected to step processing to provide steps at the device terminals 15 and 16 of the base 10, the multiple device terminals 17, and the conductor 24. This raises the inner portion of the pattern relative to the frame and those terminal portions connected to the frame.
[0035] Next, the magnetic sensor 50 and the signal processing device 44 are placed on the pattern. Here, the magnetic sensor 50 is placed on one leg of the conductor 24. The signal processing device 44 is placed on the main body 11 of the base 10.
[0036] Next, the magnetic sensor 50 is connected to the signal processing device 44 by wire bonding, and the signal processing device 44 is connected to the device terminals 15, 16, and 17.
[0037] Next, the pattern is molded, leaving only the frame and the base 10 connected thereto, the multiple device terminals 17, and the terminal portion of the conductor 24. As a result, the package 9 is molded, and the magnetic sensor 50, the signal processing device 44, and the inner portion of the pattern in which these are installed are sealed therein.
[0038] Finally, the frame exposed from the package 9 is cut from the pattern. As a result, the base 10, the device terminals 17, and the conductors 24 are separated from one another, and the current detection device 100 is completed.
[0039] 4A shows an example of the arrangement of the magnetic sensor 50. As described above, the magnetic sensor 50 can be arranged on one of the two legs of the conductor 24. Alternatively, the magnetic sensor 50 may be arranged on the other of the two legs. Furthermore, it is more preferable to arrange the magnetic sensor 50 on both of the two legs of the conductor 24, since it is possible to cancel the disturbance magnetic field. The magnetic sensor 50 arranged in such a position is configured to detect a horizontal magnetic field parallel to the top surface of the conductor 24 (in this example, the magnetic field in the vertical direction in FIG. 1A).
[0040] FIG. 4B shows the magnetic field detection directions of the four resistive sides Ra to Rd (the magnetoresistance elements 51a to 51d included in each) of the magnetic sensor 50 in FIG. 4A. The resistive side Ra (the magnetoresistance element 51a) and the resistive side Rd (the magnetoresistance element 51d) have the same magnetic field detection direction, which is one direction in a uniaxial direction parallel to the upper surface of the conductor 24 in this example (represented by a hollow arrow in the figure). The resistive side Rb (the magnetoresistance element 51b) and the resistive side Rc (the magnetoresistance element 51c) have the same magnetic field detection direction, which is the other direction in a uniaxial direction parallel to the upper surface of the conductor 24 in this example (represented by a filled arrow in the figure). The magnetic field detection directions of the resistive sides Ra and Rd are opposite to the magnetic field detection directions of the resistive sides Rb and Rc. This allows the magnetic sensor 50 to detect a horizontal magnetic field generated on the upper surface of the conductor 24.
[0041] 5A shows another example of the arrangement of the magnetic sensor 50. The magnetic sensor 50 can be arranged in a region surrounded by the curved portion 24c of the conductor 24. Alternatively, the magnetic sensor 50 may be arranged near one of the two legs of the conductor 24, or may be arranged near each of the two legs. In particular, it is more preferable to install the magnetic sensor near one of the two legs of the conductor 24, since it can cancel the disturbance magnetic field. The magnetic sensor 50 arranged in such a position is configured to detect a vertical magnetic field perpendicular to the top surface of the conductor 24 (in this example, the magnetic field in the height direction in FIG. 1A).
[0042] The magnetic sensor 50 can be disposed in the vicinity of the conductor 24 by attaching it to the lower surfaces of the protruding parts 12, 14 of the base 10, bridging the insulating member 18 between the protruding parts 12, 14, and supporting it on the insulating member 18. The insulating member 18 is formed into a film shape using a material with high dielectric strength, such as polyimide tape, for example.
[0043] Also, the curved portion 24c of the conductor 24 may be raised relative to the body portions 24b, 24d by providing a step in the height direction by step processing (e.g., half-punching, etching, forming, coining, etc.). As a result, the bottom surface of the curved portion 24c becomes higher than the upper surface of the insulating member 18 attached to the bottom surfaces of the protruding portions 12, 14 of the base 10, and the primary conductor including the conductor 24 is separated from the insulating member 18 connected to the secondary conductor including the device terminals 15, 16, 17, thereby obtaining a high dielectric strength voltage between the primary conductor and the secondary conductor in the package 9.
[0044] FIG. 5B shows the magnetic field detection directions of the four resistive sides Ra to Rd (the magnetoresistance elements 51a to 51d included in each) of the magnetic sensor 50 in FIG. 5A. The resistive side Ra (the magnetoresistance element 51a) and the resistive side Rd (the magnetoresistance element 51d) have the same magnetic field detection direction, which is perpendicular to the upper surface of the conductor 24 in this example (represented by a hollow arrow in the figure). The resistive side Rb (the magnetoresistance element 51b) and the resistive side Rc (the magnetoresistance element 51c) have the same magnetic field detection direction, which is perpendicular to the upper surface of the conductor 24 in this example (represented by a filled arrow in the figure). The magnetic field detection directions of the resistive sides Ra and Rd are opposite to those of the resistive sides Rb and Rc. This allows the magnetic sensor 50 to detect a vertical magnetic field generated around the conductor 24.
[0045] 6A shows the principle of di / dt noise generation associated with induced electromotive force. When a magnetic field (magnetic flux density B) is applied to two wires constituting a Wheatstone bridge circuit (i.e., a closed loop) of the magnetic sensor 50, and a magnetic flux (φ=BS, S is the area between the wires) passes between the two wires, an induced electromotive force (V=-dφ / dt=-SdB / dt) is generated in the two wires to offset the increase and decrease in magnetic flux density (magnetic field strength B / μ, μ is magnetic permeability). In the case of parallel wiring, the leftward induced electromotive force (represented by a white arrow in the figure) applied to the upper wire and the rightward induced electromotive force (represented by a black arrow in the figure) applied to the lower wire due to each of the magnetic fluxes passing between the wires are added together, and a large induced electromotive force is generated between the two wires. As a result, noise associated with the induced electromotive force, so-called di / dt noise, is superimposed on the output signal of the magnetic sensor.
[0046] Figure 6B shows the principle of suppressing di / dt noise. By twisting two wires that make up a closed loop to form a twisted wire, multiple partial loops of equal area are formed within the closed loop. When a magnetic field (magnetic flux density B) is applied to the two wires and magnetic flux passes through each of the multiple partial loops, induced electromotive forces are generated in the wires that make up each partial loop to offset the increase and decrease in magnetic flux density. In the case of twisted wire, in each partial loop, a leftward induced electromotive force (represented by a white arrow in the figure) is applied to the upper wire, and a rightward induced electromotive force (represented by a black arrow in the figure) is applied to the lower wire. However, in each of the two wires, the direction of the induced electromotive force changes for each part that makes up the partial loop, so that the induced electromotive force applied to the entire wiring is suppressed. The direction of the induced electromotive force generated in each loop is also called the polarity. In particular, when an even number of partial loops are formed, the induced electromotive force applied to the entire wiring is offset. In this way, by providing an even number of partial loops with equal loop areas and opposite polarities in the Wheatstone bridge circuit of the magnetic sensor 50, it is possible to cancel or strongly suppress di / dt noise.
[0047] 7 is a perspective view showing the configuration of the magnetic sensor 50 according to the first embodiment. The magnetic sensor 50 includes four resistive arms Ra to Rd arranged in a twisted Wheatstone bridge circuit. The magnetoresistance elements 51a to 51d included in each resistive arm Ra to Rd are configured as described above.
[0048] The resistance side Ra has a plurality of magnetoresistance elements 51a, a plurality of electrode pieces 52a, and a plurality of electrode pieces 53a. The plurality of magnetoresistance elements 51a are arranged on one surface, such as the upper surface of the conductor 24. The plurality of electrode pieces 52a are thin strip-shaped members formed of a conductive metal, and connect the upper surfaces of two adjacent elements (i.e., the upper surface of the cap layer 51r) of the plurality of magnetoresistance elements 51a. The plurality of electrode pieces 53a are wide strip-shaped members formed of a conductive metal, and connect the lower surfaces of two adjacent elements (i.e., the lower surface of the fixed layer 51o) of the plurality of magnetoresistance elements 51a, and in particular, connect the lower surface of one of the two magnetoresistance elements 51a whose upper surfaces are connected by the electrode piece 52a to the lower surface of another magnetoresistance element 51a of the plurality of magnetoresistance elements 51a.
[0049] The multiple magnetoresistance elements 51a are alternately connected in the order of arrangement by the electrode pieces 52a and 53a. That is, the top surface of the first magnetoresistance element 51a is connected to the top surface of the second magnetoresistance element 51a by the electrode piece 52a, the bottom surface of the second magnetoresistance element 51a is connected to the bottom surface of the third magnetoresistance element 51a by the electrode piece 53a, the top surface of the third magnetoresistance element 51a is connected to the top surface of the fourth magnetoresistance element 51a by the electrode piece 52a, and the bottom surface of the fourth magnetoresistance element 51a is connected to the bottom surface of the fifth magnetoresistance element 51a by the electrode piece 53a, whereby the multiple (five in this example) magnetoresistance elements 51a are connected in series.
[0050] The resistance side Rb has a plurality of magnetoresistance elements 51b, a plurality of electrode pieces 52b, and a plurality of electrode pieces 53b. The plurality of magnetoresistance elements 51b are arranged on one surface such as the upper surface of the conductor 24. The plurality of electrode pieces 52b and the plurality of electrode pieces 53b are formed similarly to the plurality of electrode pieces 52a and the plurality of electrode pieces 53a, and connect the upper surfaces or lower surfaces of two adjacent elements among the plurality of magnetoresistance elements 51b. Here, the plurality of electrode pieces 53b connect the lower surface of one of the two magnetoresistance elements 51b whose upper surfaces are connected by the electrode piece 52b to the lower surface of another magnetoresistance element 51b among the plurality of magnetoresistance elements 51b.
[0051] The multiple magnetoresistance elements 51b are alternately connected in the order of arrangement by the electrode pieces 52b and 53b. That is, the bottom surface of the first magnetoresistance element 51b is connected to the bottom surface of the second magnetoresistance element 51b by the electrode piece 53b, the top surface of the second magnetoresistance element 51b is connected to the top surface of the third magnetoresistance element 51b by the electrode piece 52b, the bottom surface of the third magnetoresistance element 51b is connected to the bottom surface of the fourth magnetoresistance element 51b by the electrode piece 53b, and the top surface of the fourth magnetoresistance element 51b is connected to the top surface of the fifth magnetoresistance element 51b by the electrode piece 52b, whereby the multiple (five in this example) magnetoresistance elements 51b are connected in series.
[0052] Here, the resistor side Ra and the resistor side Rb include an intersection portion 50a that crosses the respective electrodes. In the intersection portion 50a, the electrode pieces 52a and 52b are arranged parallel to each other with their longitudinal sides facing the left-right direction of the drawing, and the electrode pieces 53a and 53b are arranged parallel to each other with their longitudinal sides facing the up-down direction of the drawing. That is, the electrode pieces 52a and 52b and the electrode pieces 53a and 53b are arranged in an intersecting direction. Here, the angle at which the electrode pieces 52a and 52b and the electrode pieces 53a and 53b intersect may be 90 degrees. Furthermore, the electrode piece 52a is arranged to intersect with the electrode piece 53b at a distance in the up-down direction, and the electrode piece 53a is arranged to intersect with the electrode piece 52b at a distance in the up-down direction. Thereby, the resistor side Ra and the resistor side Rb are assembled in a twisted shape on one surface, and can be arranged within a limited area.
[0053] Furthermore, the length of the electrode piece 52a is equal to the length of the electrode piece 52b, and the length of the electrode piece 53a is equal to the length of the electrode piece 53b. Here, the length of the electrode pieces 52a and 53a is defined as the length in the direction connecting two adjacent magnetic resistance elements 51a. The length of the electrode pieces 52b and 53b is defined as the length in the direction connecting two adjacent magnetic resistance elements 51b. As a result, when the intersection portion 50a is viewed from the X-axis direction, the Y-axis direction, or any direction in the XY plane, a pair of partial loops having the same loop area and opposite polarities is formed.
[0054] The resistor side Ra and the resistor side Rb may include a plurality of sets of intersections 50a that are connected to each other. In this example, the intersections 50a described above are connected to the intersections 50a that are configured similarly to the intersections 50a. 2 As a result, the resistor side Ra has an even number of electrode pieces 52a and electrode pieces 53a (two of each in this example), and the resistor side Rb has an even number of electrode pieces 52b and electrode pieces 53b (two of each in this example).
[0055] Here, the intersection portion 50a includes a partial loop formed by the four electrode pieces 52a, 53a, 52b, and 53b when viewed in the Z-axis direction, and the intersection portion 50a 2 By connecting the intersections 50a, 50a 2 A second partial loop is formed by the four electrode pieces 52a, 53a, 52b, and 53b between the first and second intersection portions 50a. In other words, by connecting a plurality of intersection portions 50a, a pair or pairs of partial loops having equal loop areas and opposite polarities when viewed in the Z-axis direction are formed.
[0056] The resistance side Rc has a plurality of magnetoresistance elements 51c, a plurality of electrode pieces 52c, and a plurality of electrode pieces 53c. The plurality of magnetoresistance elements 51c are arranged on one surface such as the upper surface of the conductor 24. The plurality of electrode pieces 52c are narrow strip-shaped members formed of a conductive metal, and connect the upper surfaces of two adjacent elements (i.e., the upper surface of the cap layer 51r) of the plurality of magnetoresistance elements 51c. The plurality of electrode pieces 53c are wide strip-shaped members formed of a conductive metal, and connect the lower surfaces of two adjacent elements (i.e., the lower surface of the fixed layer 51o) of the plurality of magnetoresistance elements 51c, and in particular, connect the lower surface of one of the two magnetoresistance elements 51c whose upper surfaces are connected by the electrode piece 52c to the lower surface of another magnetoresistance element 51c of the plurality of magnetoresistance elements 51c.
[0057] The multiple magnetoresistance elements 51c are alternately connected in the order of arrangement by the electrode pieces 52c and 53c. The connection of the multiple magnetoresistance elements 51c by the electrode pieces 52c and 53c is similar to the connection of the multiple magnetoresistance elements 51b by the electrode pieces 52b and 53b. As a result, the multiple (five in this example) magnetoresistance elements 51c are connected in series.
[0058] The resistance side Rd has a plurality of magnetoresistance elements 51d, a plurality of electrode pieces 52d, and a plurality of electrode pieces 53d. The plurality of magnetoresistance elements 51d are arranged on one surface such as the upper surface of the conductor 24. The plurality of electrode pieces 52d and the plurality of electrode pieces 53d are formed similarly to the plurality of electrode pieces 52c and the plurality of electrode pieces 53c, and connect the upper surfaces or lower surfaces of two adjacent elements among the plurality of magnetoresistance elements 51d. Here, the plurality of electrode pieces 53d connect the lower surface of one of the two magnetoresistance elements 51d whose upper surfaces are connected by the electrode piece 52d to the lower surface of another magnetoresistance element 51d among the plurality of magnetoresistance elements 51d.
[0059] The multiple magnetoresistance elements 51d are alternately connected in the order of arrangement by the electrode pieces 52d and 53d. The connection of the multiple magnetoresistance elements 51d by the electrode pieces 52d and 53d is similar to the connection of the multiple magnetoresistance elements 51a by the electrode pieces 52a and 53a. As a result, the multiple (five in this example) magnetoresistance elements 51d are connected in series.
[0060] Here, the resistor side Rc and the resistor side Rd include an intersection portion 50c that crosses the respective electrodes. In the intersection portion 50c, the electrode pieces 52c and 52d are arranged parallel to each other with their longitudinal sides facing the left-right direction of the drawing, and the electrode pieces 53c and 53d are arranged parallel to each other with their longitudinal sides facing the up-down direction of the drawing. That is, the electrode pieces 52c and 52d and the electrode pieces 53c and 53d are arranged in an intersecting direction. Here, the angle at which the electrode pieces 52c and 52d and the electrode pieces 53c and 53d intersect may be 90 degrees. Furthermore, the electrode piece 52c is arranged to intersect with the electrode piece 53d at a distance in the up-down direction, and the electrode piece 53c is arranged to intersect with the electrode piece 52d at a distance in the up-down direction. This allows the resistor side Rc and the resistor side Rd to be assembled in a twisted shape on one surface and arranged within a limited area.
[0061] Furthermore, the length of the electrode piece 52c is equal to the length of the electrode piece 52d, and the length of the electrode piece 53c is equal to the length of the electrode piece 53d. Here, the length of the electrode pieces 52c and 53c is defined as the length in the direction connecting two adjacent magnetic resistance elements 51c. Furthermore, the length of the electrode pieces 52d and 53d is defined as the length in the direction connecting two adjacent magnetic resistance elements 51d. As a result, when the intersection portion 50c is viewed from the X-axis direction, the Y-axis direction, or any direction in the XY plane, a pair of partial loops having the same loop area and opposite polarities is formed.
[0062] The resistor side Rc and the resistor side Rd may include a plurality of sets of intersections 50c that are connected to each other. In this example, the intersections 50c described above are connected to the intersections 50c that are configured similarly to the intersections 50c described above. 2As a result, the resistor side Rc has an even number of electrode pieces 52c and electrode pieces 53c (two of each in this example), and the resistor side Rb has an even number of electrode pieces 52d and electrode pieces 53d (two of each in this example).
[0063] Here, the intersection portion 50c includes a partial loop formed by the four electrode pieces 52c, 53c, 52d, and 53d when viewed in the Z-axis direction, and the intersection portion 50c 2 By connecting the intersections 50c, 50c 2 A second partial loop is formed by the four electrode pieces 52c, 53c, 52d, and 53d between the first and second intersection portions 50c. In other words, by connecting a plurality of intersection portions 50c, a pair or pairs of partial loops having the same loop area and opposite polarities when viewed in the Z-axis direction are formed.
[0064] 8A shows the principle of suppressing di / dt noise caused by application of a magnetic field in the X direction. As an example, when a magnetic flux (solid arrow) facing the +X direction is applied to resistor sides Ra and Rb, induced electromotive forces are generated in the electrode pieces 52a and 53b forming a partial loop as viewed in the X direction, respectively, in the left direction (white arrow) and downward direction (black arrow), and induced electromotive forces are generated in the electrode pieces 52b and 53a forming the adjacent partial loop, respectively, in the left direction (white arrow) and downward direction (black arrow), and further induced electromotive forces are generated in the electrode pieces 52a and 53b forming the adjacent partial loop, respectively, in the left direction (white arrow) and downward direction (black arrow). Here, since the lengths of electrode pieces 52a, 52b, 53a, and 53b (particularly the length of the portion forming the partial loop) are equal and electrode pieces 52a, 52b and electrode pieces 53a, 53b are connected via output terminal Np1, the induced electromotive forces generated in electrode pieces 52a and 53b are cancelled out, and the induced electromotive forces generated in electrode pieces 52b and 53a are cancelled out.
[0065] Incidentally, when an X-direction magnetic field is applied to the resistor arms Rc and Rd, the induced electromotive forces generated in the electrodes constituting the resistor arms Rc and Rd are cancelled out by the same principle.
[0066] 8B shows the principle of suppressing di / dt noise caused by application of a Y-direction magnetic field. As an example, when magnetic flux (solid and dotted arrows) in the +Y direction is applied to the resistor sides Ra and Rb, induced electromotive forces are generated in the electrode pieces 52a and 53b forming a partial loop as viewed in the Y direction, respectively, in the left direction (black arrow) and the upward direction (black arrow), and induced electromotive forces are generated in the electrode pieces 52b and 53a forming the adjacent partial loop, respectively, in the left direction (white arrow) and the upward direction (white arrow). Here, the loop areas of the two partial loops are equal because the electrode pieces 52a, 52b, 53a, and 53b have the same length (particularly, the length of the part forming the partial loop), and the electrode pieces 52a, 52b, 53a, and 53b are connected in a twisted manner, so that the two partial loops have opposite polarities. As a result, the induced electromotive force (filled arrow) generated in electrode piece 52a by the magnetic flux (solid arrow) and the induced electromotive force (open arrow) generated in electrode piece 53a by the magnetic flux (dotted arrow) cancel each other out, and the induced electromotive force (filled arrow) generated in electrode piece 53b by the magnetic flux (solid arrow) and the induced electromotive force (open arrow) generated in electrode piece 52b by the magnetic flux (dotted arrow) cancel each other out.
[0067] In addition, the resistor arms Ra and Rb each include a plurality of electrode pieces 52a, 52b, 53a, and 53b, forming a plurality of pairs of partial loops having opposite polarities. This cancels out the induced electromotive forces acting on the entire resistor arms Ra and Rb. In addition, when a Y-direction magnetic field is applied to the resistor arms Rc and Rd, the induced electromotive forces occurring in the electrode pieces constituting the resistor arms Rc and Rd are cancelled out by the same principle.
[0068] 8C shows the principle of suppressing di / dt noise caused by application of a Z-direction magnetic field. As an example, when magnetic flux (solid and dotted arrows) in the -Z direction is applied to the resistor sides Ra and Rb, induced electromotive forces are generated in the electrodes 52a, 53a, 52b, and 53b forming a partial loop as viewed in the Z direction, respectively, in the right direction (white arrow), upward (white arrow), left (white arrow), and downward (white arrow), and induced electromotive forces are generated in the electrodes 52b, 53b, 52a, and 53a forming the adjacent partial loop, respectively, in the right direction (black arrow), upward (black arrow), left (black arrow), and downward (black arrow). Here, the lengths of the electrodes 52a, 52b, 53a, and 53b (particularly, the lengths of the parts forming the partial loops) are equal, and the electrodes 52a, 52b, 53a, and 53b are connected in a twisted manner, so that the two partial loops have opposite polarities. As a result, the induced electromotive force (open arrow) generated in electrode piece 52b by the magnetic flux (solid arrow) and the induced electromotive force (filled arrow) generated in electrode piece 52b by the magnetic flux (dotted arrow) cancel each other out, and also the induced electromotive force (open arrow) generated in electrode piece 53a by the magnetic flux (solid arrow) and the induced electromotive force (filled arrow) generated in electrode piece 53a by the magnetic flux (dotted arrow) cancel each other out.
[0069] In the other electrodes, the induced electromotive forces generated by the magnetic flux applied to the two adjacent partial loops are cancelled out by the same principle. This cancels out the induced electromotive forces acting on the entire resistor arms Ra and Rb. In addition, when a Z-direction magnetic field is applied to the resistor arms Rc and Rd, the induced electromotive forces generated in the electrodes constituting the resistor arms Rc and Rd are cancelled out by the same principle.
[0070] As described above, the resistive sides Ra to Rd are connected in the form of a Wheatstone bridge circuit. One end (top right end in the drawing) of the resistive side Ra and one end (top right end in the drawing) of the resistive side Rb are connected to form the output terminal Np1, one end (top right end in the drawing) of the resistive side Rc and one end (top right end in the drawing) of the resistive side Rd are connected to form the output terminal Np2, the other end (bottom left end in the drawing) of the resistive side Ra and the other end (bottom left end in the drawing) of the resistive side Rc are connected to form the power supply terminal VDD, and the other end (bottom left end in the drawing) of the resistive side Rb and the other end (bottom left end in the drawing) of the resistive side Rd are connected to form the ground terminal GND. Here, the magnetic field detection direction of the magnetoresistance element 51a and the magnetoresistance element 51d is the same, the magnetic field detection direction of the magnetoresistance element 51b and the magnetoresistance element 51c is the same, and the magnetic field detection direction of the magnetoresistance element 51a and the magnetoresistance element 51d is opposite to the magnetic field detection direction of the magnetoresistance element 51b and the magnetoresistance element 51c.
[0071] When a magnetic field is applied to the magnetoresistance elements 51a to 51d included in the resistance sides Ra to Rd of the magnetic sensor 50, for example, when a magnetic field is applied in the same direction as the magnetic field detection direction of the magnetoresistance elements 51a and 51d (opposite to the magnetic field detection direction of the magnetoresistance elements 51b and 51c), the resistance values of the resistance sides Ra and Rd including the magnetoresistance elements 51a and 51d, respectively, decrease, and the resistance values of the resistance sides Rb and Rc including the magnetoresistance elements 51b and 51c, respectively, increase, thereby destroying the resistance balance of the resistance sides Ra to Rd. Therefore, the magnetic field strength can be detected by inputting a drive voltage to the power supply terminal VDD with respect to the ground terminal GND and detecting the differential voltage output from the output terminals Np1 and Np2.
[0072] The magnetic sensor 50 according to the first embodiment has a first resistance side Ra including a plurality of first magnetic resistance elements 51a arranged on one surface, a first electrode piece 52a connecting upper surfaces of two adjacent elements of the plurality of first magnetic resistance elements 51a, and a second electrode piece 53a connecting lower surfaces of two adjacent elements of the plurality of first magnetic resistance elements 51a, the plurality of first magnetic resistance elements 51a being alternately connected in the arrangement order by the first electrode piece 52a and the second electrode piece 53a, a plurality of second magnetic resistance elements 51b arranged on one surface, and The multiple second magnetic resistance elements 51b have a third electrode piece 52b connecting the upper surfaces of two adjacent elements out of the multiple second magnetic resistance elements 51b, and a fourth electrode piece 53b connecting the lower surfaces of two adjacent elements out of the multiple second magnetic resistance elements 51b, and the multiple second magnetic resistance elements 51b have second resistance sides Rb connected alternately in arrangement order by the third electrode piece 52b and the fourth electrode piece 53b, and the first electrode piece 52a is arranged so as to intersect with the fourth electrode piece 53b at a distance in the vertical direction, and the second electrode piece 53a includes an intersection portion 50a arranged so as to intersect with the third electrode piece 52b at a distance in the vertical direction.
[0073] According to this, the first resistor side Ra having the first magnetic resistance elements 51a arranged on one surface and the second resistor side Rb having the second magnetic resistance elements 51b arranged on the same surface are assembled in a twisted shape by vertically separating the first electrode piece 52a connecting the upper surfaces of the two first magnetic resistance elements 51a and the fourth electrode piece 53b connecting the lower surfaces of the two second magnetic resistance elements 51b and crossing them, and vertically separating the second electrode piece 53a connecting the lower surfaces of the two first magnetic resistance elements 51a and the third electrode piece 52b connecting the upper surfaces of the two second magnetic resistance elements 51b, so that when the first resistor side Ra and the second resistor side Rb are connected, two partial loops of opposite polarity are formed, that is, a partial loop formed by the first electrode piece 52a and the fourth electrode piece 53b and a partial loop formed by the second electrode piece 53a and the third electrode piece 52b, and this can cancel out noise associated with induced electromotive force when a magnetic field is applied. Furthermore, by assembling the first resistor side Ra and the second resistor side Rb in a twisted shape, the unit area in which they can be arranged can be made smaller, which makes them less susceptible to the gradient of the magnetic field strength and therefore enables the common-mode voltage to be suppressed.
[0074] The current detection device 100 according to the first embodiment includes a conductor 24 through which a current to be measured flows, and a magnetic sensor 50 disposed on or near the conductor 24. This makes it possible to suppress di / dt noise associated with an induced electromotive force and common-mode noise associated with the gradient of the magnetic field strength.
[0075] In the magnetic sensor 50 according to the first embodiment, the resistor sides Ra, Rb are assembled in a twisted manner, and the resistor sides Rc, Rd are assembled in a twisted manner. Alternatively, the resistor sides Ra, Rc may be assembled in a twisted manner, and the resistor sides Rb, Rd may be assembled in a twisted manner, or the resistor sides Ra, Rd may be assembled in a twisted manner, and the resistor sides Rb, Rc may be assembled in a twisted manner.
[0076] Second embodiment The current detection device according to the second embodiment is a sensor that measures the amount of current by using a magnetic sensor 59 to detect a magnetic field generated around a conductor 24 when a current to be measured flows through the conductor 24, and is particularly capable of suppressing di / dt noise due to induced electromotive force and / or differential amplification noise associated with the spread of the magnetic field distribution. By using the magnetic sensor 59 instead of the magnetic sensor 50, the current detection device can be configured in the same way as the current detection device 100 according to the first embodiment.
[0077] 9 shows a perspective view of the configuration of a magnetic sensor 59 according to the second embodiment. The magnetic sensor 59 includes four resistance arms Ra to Rd arranged in a four-way Wheatstone bridge circuit. Here, the four resistance arms Ra to Rd include unitary units 59a and 59b that partially constitute them, and these unitary units 59a and 59b can be alternately connected to be extended in the X-axis direction, or can be folded back and further extended after being extended in the X-axis direction. In this example, two unitary units 59a and one unitary unit 59b connected between them are included. The magnetic resistance elements 51a to 51d included in each resistance arm Ra to Rd are configured as described above.
[0078] The resistance side Ra has a plurality of magnetoresistance elements 51a and electrode pieces 52a, 53a, 54a, and 55a. The plurality of magnetoresistance elements 51a are arranged on one surface, such as the upper surface of the conductor 24. The electrode pieces 52a and 54a are narrow strip-shaped members formed of a conductive metal, and connect the upper surfaces of two adjacent elements (i.e., the upper surface of the cap layer 51r) of the plurality of magnetoresistance elements 51a. The electrode pieces 53a and 55a are wide strip-shaped members formed of a conductive metal, and connect the lower surfaces of two adjacent elements (i.e., the lower surface of the fixed layer 51o) of the plurality of magnetoresistance elements 51a, and in particular, connect the lower surface of one of the two magnetoresistance elements 51a whose upper surfaces are connected by the electrode pieces 52a and 54a to the lower surface of another magnetoresistance element 51a of the plurality of magnetoresistance elements 51a.
[0079] 10A and 10B show the configuration of a unit 59a of a magnetic sensor 59 in a top view and a perspective view, respectively. In the unit 59a, the multiple magnetoresistance elements 51a are alternately connected in the order of arrangement by the electrode pieces 52a and 53a. That is, the lower surface of the first magnetoresistance element 51a (the first element from the left in the upper row in FIG. 10A) is connected to the lower surface of the second magnetoresistance element 51a by the electrode piece 53a, the upper surface of the second magnetoresistance element 51a is connected to the upper surface of the third magnetoresistance element 51a by the electrode piece 52a, and the lower surface of the third magnetoresistance element 51a is connected to the lower surface of the fourth magnetoresistance element 51a (the second element from the right in the lower row in FIG. 10A) by the electrode piece 53a, whereby the four magnetoresistance elements 51a are connected in series.
[0080] 11A and 11B show the configuration of a unit 59b of a magnetic sensor 59 in a top view and a perspective view, respectively. In the unit 59b, the multiple magnetoresistance elements 51a are alternately connected in the order of arrangement by the electrode pieces 54a and 55a. That is, the upper surface of the first magnetoresistance element 51a (the first element from the left in the lower row in FIG. 11A) is connected to the upper surface of the second magnetoresistance element 51a by the electrode piece 54a, the lower surface of the second magnetoresistance element 51a is connected to the lower surface of the third magnetoresistance element 51a by the electrode piece 55a, and the upper surface of the third magnetoresistance element 51a is connected to the upper surface of the fourth magnetoresistance element 51a (the second element from the right in the upper row in FIG. 11A) by the electrode piece 54a, whereby the four magnetoresistance elements 51a are connected in series.
[0081] The resistance side Rb has a plurality of magnetoresistance elements 51b and electrode pieces 52b, 53b, 54b, and 55b. The plurality of magnetoresistance elements 51b are arranged on one surface such as the upper surface of the conductor 24. The electrode pieces 52b and 54b are formed in the same manner as the electrode pieces 52a and 54a, and connect the upper surfaces of two adjacent elements of the plurality of magnetoresistance elements 51b. The electrode pieces 53b and 55b are formed in the same manner as the electrode pieces 53a and 55a, and connect the lower surfaces of two adjacent elements of the plurality of magnetoresistance elements 51b. Here, the plurality of electrode pieces 53b and 55b connect the lower surface of one of the two magnetoresistance elements 51b whose upper surfaces are connected by the electrode pieces 52b and 54b to the lower surface of another magnetoresistance element 51b of the plurality of magnetoresistance elements 51b.
[0082] In the basic unit 59a (see FIGS. 10A and 10B), the multiple magnetoresistance elements 51b are alternately connected in the order of arrangement by the electrode pieces 54b and 55b. That is, the top surface of the first magnetoresistance element 51b (the second element from the left in the lower row in FIG. 10A) is connected to the top surface of the second magnetoresistance element 51b by the electrode piece 54b, the bottom surface of the second magnetoresistance element 51b is connected to the bottom surface of the third magnetoresistance element 51b by the electrode piece 55b, and the top surface of the third magnetoresistance element 51b is connected to the top surface of the fourth magnetoresistance element 51b (the first element from the right in the upper row in FIG. 10A) by the electrode piece 54b, whereby the four magnetoresistance elements 51b are connected in series.
[0083] In the basic unit 59b (see FIGS. 11A and 11B), the multiple magnetoresistance elements 51b are alternately connected in the order of arrangement by the electrode pieces 52b and 53b. That is, the bottom surface of the first magnetoresistance element 51b (the second element from the left in the upper row in FIG. 11A) is connected to the bottom surface of the second magnetoresistance element 51b by the electrode piece 53b, the top surface of the second magnetoresistance element 51b is connected to the top surface of the third magnetoresistance element 51b by the electrode piece 52b, and the bottom surface of the third magnetoresistance element 51b is connected to the bottom surface of the fourth magnetoresistance element 51b (the first element from the right in the lower row in FIG. 11A) by the electrode piece 53b, whereby the four magnetoresistance elements 51b are connected in series.
[0084] The resistance side Rc has a plurality of magnetoresistance elements 51c and electrode pieces 52c, 53c, 54c, and 55c. The plurality of magnetoresistance elements 51c are arranged on one surface such as the upper surface of the conductor 24. The electrode pieces 52c and 54c are formed in the same manner as the electrode pieces 52a and 54a, and connect the upper surfaces of two adjacent elements of the plurality of magnetoresistance elements 51c. The electrode pieces 53c and 55c are formed in the same manner as the electrode pieces 53a and 55a, and connect the lower surfaces of two adjacent elements of the plurality of magnetoresistance elements 51c, and in particular connect the lower surface of one of the two magnetoresistance elements 51c whose upper surfaces are connected by the electrode pieces 52c and 54c to the lower surface of another magnetoresistance element 51c of the plurality of magnetoresistance elements 51c.
[0085] In the basic unit 59a (see FIGS. 10A and 10B), the multiple magnetoresistance elements 51c are alternately connected in the order of arrangement by the electrode pieces 52c and 53c. That is, the bottom surface of the first magnetoresistance element 51c (the second element from the left in the upper row in FIG. 10A) is connected to the bottom surface of the second magnetoresistance element 51c by the electrode piece 53c, the top surface of the second magnetoresistance element 51c is connected to the top surface of the third magnetoresistance element 51c by the electrode piece 52c, and the bottom surface of the third magnetoresistance element 51c is connected to the bottom surface of the fourth magnetoresistance element 51c (the first element from the right in the lower row in FIG. 10A) by the electrode piece 53c, whereby the four magnetoresistance elements 51c are connected in series.
[0086] In the basic unit 59b (see FIGS. 11A and 11B), the multiple magnetoresistance elements 51c are alternately connected in the order of arrangement by the electrode pieces 54c and 55c. That is, the top surface of the first magnetoresistance element 51c (the second element from the left in the lower row in FIG. 11A) is connected to the top surface of the second magnetoresistance element 51c by the electrode piece 54c, the bottom surface of the second magnetoresistance element 51c is connected to the bottom surface of the third magnetoresistance element 51c by the electrode piece 55c, and the top surface of the third magnetoresistance element 51c is connected to the top surface of the fourth magnetoresistance element 51c (the first element from the right in the upper row in FIG. 11A) by the electrode piece 54c, so that the four magnetoresistance elements 51c are connected in series.
[0087] The resistance side Rd has a plurality of magnetoresistance elements 51d and electrode pieces 52d, 53d, 54d, and 55d. The plurality of magnetoresistance elements 51d are arranged on one surface such as the upper surface of the conductor 24. The electrode pieces 52d and 54d are formed in the same manner as the electrode pieces 52a and 54a, and connect the upper surfaces of two adjacent elements of the plurality of magnetoresistance elements 51d. The electrode pieces 53d and 55d are formed in the same manner as the electrode pieces 53a and 55a, and connect the lower surfaces of two adjacent elements of the plurality of magnetoresistance elements 51d. Here, the plurality of electrode pieces 53d and 55d connect the lower surface of one of the two magnetoresistance elements 51d whose upper surfaces are connected by the electrode pieces 52d and 54d to the lower surface of another magnetoresistance element 51d of the plurality of magnetoresistance elements 51d.
[0088] In the basic unit 59a (see FIGS. 10A and 10B), the multiple magnetoresistance elements 51d are alternately connected in the order of arrangement by the electrode pieces 54d and 55d. That is, the top surface of the first magnetoresistance element 51d (the first element from the left in the lower row in FIG. 10A) is connected to the top surface of the second magnetoresistance element 51d by the electrode piece 54d, the bottom surface of the second magnetoresistance element 51d is connected to the bottom surface of the third magnetoresistance element 51d by the electrode piece 55d, and the top surface of the third magnetoresistance element 51d is connected to the top surface of the fourth magnetoresistance element 51d (the second element from the right in the upper row in FIG. 10A) by the electrode piece 54d, so that the four magnetoresistance elements 51d are connected in series.
[0089] In the basic unit 59b (see FIGS. 11A and 11B), the multiple magnetoresistance elements 51d are alternately connected in the order of arrangement by the electrode pieces 52d and 53d. That is, the bottom surface of the first magnetoresistance element 51d (the first element from the left in the upper row in FIG. 11A) is connected to the bottom surface of the second magnetoresistance element 51d by the electrode piece 53d, the top surface of the second magnetoresistance element 51d is connected to the top surface of the third magnetoresistance element 51d by the electrode piece 52d, and the bottom surface of the third magnetoresistance element 51d is connected to the bottom surface of the fourth magnetoresistance element 51d (the second element from the right in the lower row in FIG. 11A) by the electrode piece 53d, so that the four magnetoresistance elements 51d are connected in series.
[0090] Here, the basic unit 59a (see FIG. 10A) includes resistor sides Ra and Rc extending parallel to each other toward the lower right of the drawing, and resistor sides Rb and Rd extending parallel to each other toward the upper right of the drawing, and an intersection portion 59a where the resistor sides Ra and Rc and the resistor sides Rb and Rd are arranged in an intersecting direction and intersect each other in a staggered manner. 0 The angle at which the resistor sides Ra and Rc intersect with the resistor sides Rb and Rd may be 90 degrees. 0 In the figure, electrode piece 52a is arranged to intersect with electrode piece 55d at a distance in the vertical direction, electrode piece 53a is arranged to intersect with electrode piece 54b at a distance in the vertical direction, electrode piece 52c is arranged to intersect with electrode piece 55b at a distance in the vertical direction, and electrode piece 53c is arranged to intersect with electrode piece 54d at a distance in the vertical direction. This makes it possible to assemble resistor sides Ra to Rd in a four-stranded pattern on one surface and arrange them within a limited area.
[0091] Furthermore, the intersections 59a and 59b, such as the connection between the units 59a and 59b or the connection between the units 59a and 59b and the terminals VDD, GND, NP1, and NP2, 0 In addition, electrode piece 53a is arranged so as to intersect with electrode piece 54c at a distance in the vertical direction, electrode piece 53b is arranged so as to intersect with electrode piece 54d at a distance in the vertical direction, electrode piece 53c is arranged so as to intersect with electrode piece 54a at a distance in the vertical direction, and electrode piece 53d is arranged so as to intersect with electrode piece 54b at a distance in the vertical direction.
[0092] In addition, the base unit 59b (FIG. 11A) includes resistor sides Ra and Rc extending parallel to each other toward the upper right of the drawing, and resistor sides Rb and Rd extending parallel to each other toward the lower right of the drawing, and an intersection portion 59b where the resistor sides Ra and Rc and the resistor sides Rb and Rd are arranged in an intersecting direction and intersect each other vertically in a staggered manner. 0 The angle at which the resistor sides Ra and Rc intersect with the resistor sides Rb and Rd may be 90 degrees. 0In this example, electrode piece 55a is arranged to intersect with electrode piece 52d at a distance in the vertical direction, electrode piece 54a is arranged to intersect with electrode piece 53b at a distance in the vertical direction, electrode piece 54c is arranged to intersect with electrode piece 53d at a distance in the vertical direction, and electrode piece 55c is arranged to intersect with electrode piece 52b at a distance in the vertical direction. This allows resistor sides Ra to Rd to be assembled in a four-stranded pattern on one surface and arranged within a limited area.
[0093] Furthermore, the intersections 59b, such as the connection between the units 59a and 59b or the connection between the units 59a and 59b and the terminals VDD, GND, NP1, and NP2, 0 In addition, electrode piece 54a is arranged so as to intersect with electrode piece 53c at a distance in the vertical direction, electrode piece 54b is arranged so as to intersect with electrode piece 53d at a distance in the vertical direction, electrode piece 54c is arranged so as to intersect with electrode piece 53a at a distance in the vertical direction, and electrode piece 54d is arranged so as to intersect with electrode piece 53b at a distance in the vertical direction.
[0094] In addition, the resistive edge Ra is arranged in the order of arrangement via the multiple magnetoresistance elements 51a such that a partial edge (see FIG. 10A) in a unit 59a including two electrodes 53a and one electrode 52a between them faces the +X, -Y directions, and a partial edge (see FIG. 11A) in a unit 59b including two electrodes 54a connected to this partial edge and one electrode 55a between them faces the +X, +Y directions. Here, the electrodes 53a, 52a, 53a, 54a, 55a, and 54a connected in order via the magnetoresistance elements 51a intersect with the electrodes 54c, 55d, 54b, 53c, 52d, and 53b, respectively.
[0095] In addition, the resistive edge Rb is arranged in the order of arrangement via the multiple magnetoresistance elements 51b such that a partial edge (see FIG. 10A) in the unit 59a including two electrodes 54b and one electrode 55b between them faces the +X, +Y directions, and a partial edge (see FIG. 11A) in the unit 59b including two electrodes 53b connected to this partial edge and one electrode 52b between them faces the +X, -Y directions. Here, the electrodes 54b, 55b, 54b, 53b, 52b, and 53b connected in sequence via the magnetoresistance elements 51b intersect with the electrodes 53a, 52c, 53d, 54a, 55c, and 54d, respectively.
[0096] In addition, the resistor side Rc is arranged in the order of arrangement via the multiple magnetoresistance elements 51c such that a partial side (see FIG. 10A) in a unit 59a including two electrodes 53c and one electrode 52c between them faces the +X, -Y directions, and a partial side (see FIG. 11A) in a unit 59b including two electrodes 54c connected to this partial side and one electrode 55c between them faces the +X, +Y directions. Here, the electrodes 53c, 52c, 53c, 54c, 55c, and 54c connected in order via the magnetoresistance elements 51c intersect with the electrodes 54d, 55b, 54a, 53d, 52b, and 53a, respectively.
[0097] In addition, the resistive side Rd is arranged in the order of arrangement via the multiple magnetoresistance elements 51d such that a partial side (see FIG. 10A) in unit 59a including two electrodes 54d and one electrode 55d between them faces the +X, +Y directions, and a partial side (see FIG. 11A) in unit 59b including two electrodes 53d connected to this partial side and one electrode 52d between them faces the +X, -Y directions. Here, electrode 54d, electrode 55d, electrode 54d, electrode 53d, electrode 52d, and electrode 53d connected in sequence via magnetoresistance element 51d intersect with electrode 53b, electrode 52a, electrode 53c, electrode 54b, electrode 55a, and electrode 54c, respectively.
[0098] Furthermore, the lengths of the two electrode pieces 53a included in the partial side of the unit unit 59a of the resistor side Ra and the two electrode pieces 54a included in the partial side of the unit unit 59b are equal to each other. The lengths of the two electrode pieces 54b included in the partial side of the unit unit 59a of the resistor side Rb and the two electrode pieces 53b included in the partial side of the unit unit 59b are equal to each other. The lengths of the two electrode pieces 53c included in the partial side of the unit unit 59a of the resistor side Rc and the two electrode pieces 54c included in the partial side of the unit unit 59b are equal to each other. The lengths of the two electrode pieces 54d included in the partial side of the unit unit 59a of the resistor side Rd and the two electrode pieces 53d included in the partial side of the unit unit 59b are equal to each other. The lengths of these electrode pieces 53a, 54a, 53b, 54b, 53c, 54c, 53d, 54d are equal to each other. The length of the electrode piece is defined as the length in the direction connecting two adjacent magnetoresistance elements 51a to 51d.
[0099] Moreover, the length of one electrode piece 52a included in the partial side of the unit unit 59a of the resistor side Ra is equal to that of one electrode piece 55a included in the partial side of the unit unit 59b. The length of one electrode piece 55b included in the partial side of the unit unit 59a of the resistor side Rb is equal to that of one electrode piece 52b included in the partial side of the unit unit 59b. The length of one electrode piece 52c included in the partial side of the unit unit 59a of the resistor side Rc is equal to that of one electrode piece 55c included in the partial side of the unit unit 59b. The length of one electrode piece 55d included in the partial side of the unit unit 59a of the resistor side Rd is equal to that of one electrode piece 52d included in the partial side of the unit unit 59b. The lengths of these electrodes 52a, 55a, 52b, 55b, 52c, 55c, 52d, 55d are equal to each other. The length of the electrode piece is defined as the length in the direction connecting two adjacent magnetoresistance elements 51a to 51d.
[0100] The resistor sides Ra to Rd are arranged shifted relative to each other in a specific direction. In both of the base units 59a and 59b, the resistor side Rb is arranged shifted in the -X and +Y directions with respect to the resistor side Ra, and shifted in the -X and -Y directions (i.e., shifted in the -X direction). The resistor side Rc is arranged shifted in the +X and -Y directions with respect to the resistor side Ra, and shifted in the +X and +Y directions (i.e., shifted in the +X direction). The resistor sides Rb and Rc are arranged symmetrically with respect to the central axis L parallel to the X-axis direction by being shifted in the opposite direction with respect to the resistor side Ra. The resistor side Rd is arranged symmetrically with the resistor side Ra with respect to the central axis L. As a result, when the resistor sides Ra to Rd are viewed from the X-axis direction, the Y-axis direction, the Z-axis direction, or any other direction, a pair of partial loops having the same loop area and opposite polarities is formed.
[0101] Each of the resistance sides Ra to Rd includes one or more units 59a and 59b, and the intersection portion 59a 0 ,59b 0 In addition, each of the resistor sides Ra to Rd in the unit unit 59a and each of the resistor sides Ra to Rd in the unit unit 59b may include one or more (a plurality in total). In this embodiment, by including two unit units 59a and a unit unit 59b connected therebetween, two intersection portions 59a 0 and one intersection 59b 0 Furthermore, an intersection portion 59a is formed between the units 59a and 59b. 0 ,59b 0 The intersection portion similar to that of the above will be included.
[0102] Here, the intersection 59a 0 includes a partial loop formed by eight electrode pieces 52a, 53a, 54b, 55b, 52c, 53c, 54d, and 55d as viewed in the Z-axis direction, and an intersection portion 59b 0When viewed in the Z-axis direction, the electrode 54 includes a partial loop formed by eight electrode pieces 54a, 55a, 52b, 53b, 54c, 55c, 52d, and 53d, and the intersection portion 59a is formed by connecting the unit portions 59a and 59b. 0 ,59b 0 A partial loop is formed between the eight electrode pieces 54a, 55a, 54b, 55b, 52c, 53c, 52d, and 53d. In other words, by connecting the unit units 59a and 59b, a pair or multiple pairs of partial loops having equal loop areas and opposite polarities when viewed in the Z-axis direction are formed.
[0103] Fig. 12A shows the principle of suppressing di / dt noise caused by application of a magnetic field in the X direction. As an example, consider a case where magnetic flux (solid arrow) facing the +X direction is applied to resistor sides Ra to Rd in the basic unit 59a. When magnetic flux is applied, induced electromotive forces are generated in the electrodes 52a and 53a, the electrodes 54b and 55b, the electrodes 52c and 53c, and the electrodes 54d and 55d, which form a partial loop on the central axis L (see Fig. 9) as viewed in the X direction, respectively, in the leftward direction (white arrow), downward direction (black arrow), leftward direction (white arrow), and downward direction (black arrow). Here, the lengths of the electrodes 52a and 53a, the electrodes 54b and 55b, the electrodes 52c and 53c, and the electrodes 54d and 55d (i.e., the lengths of the portions forming the partial loops) are equal. Furthermore, the electrodes 52a, 53a and the electrodes 52c, 53c are connected via a power supply terminal VDD, so that the induced electromotive forces generated therein are cancelled out. Also, the electrodes 54b, 55b and the electrodes 54d, 55d are connected via a ground terminal GND, so that the induced electromotive forces generated therein are cancelled out.
[0104] Incidentally, even when an X-direction magnetic field is applied to other electrode pieces forming a partial loop on the central axis L (see FIG. 9), the induced electromotive forces are cancelled out by the same principle.
[0105] FIG. 12B shows another principle of suppressing di / dt noise accompanying application of an X-direction magnetic field. As an example, consider a case where a magnetic flux (dotted arrow) facing the +X direction is applied to the resistance sides Ra to Rd in the basic unit 59a. When the magnetic flux is applied, induced electromotive forces are generated in the electrodes 52a, 53a, 54b, 53b, and 54d, 55d, which form a partial loop on the -Y side of the central axis L (see FIG. 9) as viewed in the X direction, respectively, in the right direction (black arrow), upward direction (white arrow), right direction (black arrow), and upward direction (white arrow). Here, the lengths of the electrodes 52a, 53a, 54b, 53b, and 54d, 55d (i.e., the lengths of the parts forming the partial loop) are equal. Furthermore, the electrodes 52a, 53a, and 54b are connected via the output terminal Np1, so that the induced electromotive forces generated therein are canceled out. Furthermore, the electrode piece 53b and the electrodes 54d and 55d are connected via the ground terminal GND, so that the induced electromotive forces generated therein are cancelled out.
[0106] The induced electromotive forces are cancelled out by the same principle even when an X-direction magnetic field is applied to other electrode pieces that form partial loops on the -Y side of the central axis L (see FIG. 9). In addition, since the resistor sides Ra to Rd are formed symmetrically with respect to the central axis L, the induced electromotive forces are cancelled out by the same principle in the electrode pieces that form partial loops on the +Y side of the central axis L.
[0107] FIG. 13A shows the principle of suppressing di / dt noise accompanying application of a Y-direction magnetic field. As an example, consider a case where magnetic flux (solid line arrow and dotted line arrow) facing the +Y direction is applied to resistance sides Ra to Rd in the unit 59a. When magnetic flux (solid line arrow) is applied, induced electromotive forces are generated in the left direction (white arrow) and the upward direction (black arrow) of the drawing in the electrode piece 52a and the electrode piece 55d, which form a partial loop on the central axis L (see FIG. 9) as viewed in the Y direction, respectively. When magnetic flux (dotted line arrow) is applied, induced electromotive forces are generated in the left direction (white arrow) and the upward direction (black arrow) of the drawing in the electrode piece 52c and the electrode piece 55b, which form a partial loop on the central axis L (see FIG. 9) as viewed in the Y direction, respectively. Here, the lengths of the electrode piece 52a and the electrode piece 52c (i.e., the lengths of the parts forming the partial loop) are equal and are connected via the power supply terminal VDD, so that the induced electromotive forces generated therein are offset. Furthermore, electrode piece 55b and electrode piece 55d have the same length (that is, the length of the portion forming the partial loop) and are connected via ground terminal GND, so that the induced electromotive forces generated therein are cancelled out.
[0108] Incidentally, even when a Y-direction magnetic field is applied to other electrode pieces forming a partial loop on the central axis L (see FIG. 9), the induced electromotive forces are cancelled out by the same principle.
[0109] FIG. 13B shows another principle of suppressing di / dt noise accompanying application of a Y-direction magnetic field. As an example, consider a case where magnetic flux (solid line arrow and dotted line arrow) facing the +Y direction is applied to resistance sides Ra to Rd in the basic unit 59a. When magnetic flux (solid line arrow) is applied, induced electromotive forces are generated in the electrode piece 54d and electrode piece 53b that form a partial loop on the -Y side of the central axis L (see FIG. 9) as viewed in the Y direction, respectively, in the downward direction (white arrow) and the right direction (black arrow) in the figure. When magnetic flux (dotted line arrow) is applied, induced electromotive forces are generated in the electrode piece 54b and electrode piece 53a that form the adjacent partial loop, respectively, in the downward direction (white arrow) and the right direction (black arrow) in the figure. Here, the lengths of the electrode piece 54b and the electrode piece 54d (i.e., the lengths of the parts that form the partial loop) are equal and are connected via the ground terminal GND, so that the induced electromotive forces generated therein are offset. Furthermore, the electrode pieces 53a and 53b have the same length (that is, the length of the portion forming the partial loop) and are connected via the output terminal Np1, so that the induced electromotive forces generated therein are cancelled out.
[0110] The induced electromotive forces are cancelled out by the same principle even when a Y-direction magnetic field is applied to other electrode pieces that form partial loops on the -Y side of the central axis L (see FIG. 9). In addition, since the resistor sides Ra to Rd are formed symmetrically with respect to the central axis L, the induced electromotive forces are cancelled out by the same principle in the electrode pieces that form partial loops on the +Y side of the central axis L.
[0111] FIG. 14A shows the principle of suppressing di / dt noise caused by application of a Z-direction magnetic field. As an example, consider a case where a magnetic flux (marked with an x) in the -Z direction is applied to resistor sides Ra to Rd in a basic unit 59a. When the magnetic flux is applied, induced electromotive forces are generated in the electrodes 52a and 53a, the electrodes 54b and 55b, the electrodes 52c and 53c, and the electrodes 54d and 55d, which form a partial loop on the central axis L (see FIG. 9) as viewed in the Z direction, in the directions of the lower right (white arrow), the upper right (black arrow), the upper left (white arrow), and the lower left (black arrow). Here, the electrodes 52a and 53a, the electrodes 54b and 55b, the electrodes 52c and 53c, and the electrodes 54d and 55d (i.e., the lengths of the portions forming the partial loop) are equal. Furthermore, the electrodes 52a, 53a and the electrodes 54b, 55b are connected via the output terminal Np1, so that the induced electromotive forces generated therein are cancelled out. Also, the electrodes 52c, 53c and the electrodes 54d, 55d are connected via the output terminal Np2, so that the induced electromotive forces generated therein are cancelled out.
[0112] Incidentally, even when a Z-direction magnetic field is applied to other electrode pieces forming a partial loop on the central axis L (see FIG. 9), the induced electromotive forces are cancelled out by the same principle.
[0113] Fig. 14B shows another principle of suppressing di / dt noise accompanying application of a Z-direction magnetic field. As an example, consider a case where magnetic flux (marked with x on the left and right) facing the -Z direction is applied to resistance sides Ra to Rd in unit 59a. When magnetic flux (marked with x on the left) is applied, induced electromotive forces are generated in the upper left direction (white arrow), upper right direction (white arrow), lower right direction (white arrow), and lower left direction (white arrow) in the drawing in electrode pieces 52a, 53a, electrode piece 54b, electrode piece 53b, and electrode pieces 54d, 55d, which form partial loops on the -Y side of central axis L (see Fig. 9) when viewed in the Z direction, respectively. When a magnetic flux (right x mark) is applied, induced electromotive forces are generated in the electrodes 52c, 53c, 54a, 53a, and 54b, 55b, which form adjacent partial loops, in the upward left direction (black arrow), the upward right direction (black arrow), the downward right direction (black arrow), and the downward left direction (black arrow) in the drawing. Here, the lengths of the electrodes 52a, 53a, 54b, 53b, 54d, 55d, 52c, 53c, 54a, 53a, and 54b, 55b (i.e., the lengths of the portions forming the partial loops) are equal. Furthermore, the electrodes 52c, 53c, and 54d, 55d are connected via the output terminal Np2, so that the induced electromotive forces generated in them are canceled out. Furthermore, the electrodes 52a, 53a, 54a, 53b, and 54b, 55b are connected via the output terminal Np1, so that the induced electromotive forces generated therein are cancelled out.
[0114] The induced electromotive forces are cancelled out by the same principle even when the Z-direction magnetic field is applied to other electrode pieces that form partial loops on the -Y side of the central axis L (see FIG. 9). Moreover, since the resistor sides Ra to Rd are formed symmetrically with respect to the central axis L, the induced electromotive forces are cancelled out by the same principle in the electrode pieces that form partial loops on the +Y side of the central axis L.
[0115] In the basic unit 59b, similarly to the basic unit 59a, the di / dt noise caused by application of the X-direction magnetic field, the Y-direction magnetic field, and the Z-direction magnetic field is suppressed.
[0116] As described above, the resistive sides Ra to Rd are connected in the form of a Wheatstone bridge circuit. One end (top right end in the drawing) of the resistive side Ra and one end (top right end in the drawing) of the resistive side Rb are connected to form the output terminal Np1, one end (top right end in the drawing) of the resistive side Rc and one end (top right end in the drawing) of the resistive side Rd are connected to form the output terminal Np2, the other end (bottom left end in the drawing) of the resistive side Ra and the other end (bottom left end in the drawing) of the resistive side Rc are connected to form the power supply terminal VDD, and the other end (bottom left end in the drawing) of the resistive side Rb and the other end (bottom left end in the drawing) of the resistive side Rd are connected to form the ground terminal GND. Here, the magnetic field detection direction of the magnetoresistance element 51a and the magnetoresistance element 51d is the same, the magnetic field detection direction of the magnetoresistance element 51b and the magnetoresistance element 51c is the same, and the magnetic field detection direction of the magnetoresistance element 51a and the magnetoresistance element 51d is opposite to the magnetic field detection direction of the magnetoresistance element 51b and the magnetoresistance element 51c.
[0117] When a magnetic field is applied to the magnetoresistance elements 51a to 51d included in the resistance sides Ra to Rd of the magnetic sensor 59, for example, when a magnetic field is applied in the same direction as the magnetic field detection direction of the magnetoresistance elements 51a and 51d (opposite to the magnetic field detection direction of the magnetoresistance elements 51b and 51c), the resistance values of the resistance sides Ra and Rd including the magnetoresistance elements 51a and 51d, respectively, decrease, and the resistance values of the resistance sides Rb and Rc including the magnetoresistance elements 51b and 51c, respectively, increase, thereby destroying the resistance balance of the resistance sides Ra to Rd. Therefore, the magnetic field strength can be detected by inputting a drive voltage to the power supply terminal VDD with respect to the ground terminal GND and detecting the differential voltage output from the output terminals Np1 and Np2.
[0118] The magnetic sensor 50 according to the second embodiment includes a first resistance side Ra having a plurality of first magnetic resistance elements 51a arranged on one surface, a first electrode piece 52a connecting upper surfaces of two adjacent elements of the plurality of first magnetic resistance elements 51a, and a second electrode piece 53a connecting lower surfaces of two adjacent elements of the plurality of first magnetic resistance elements 51a, the plurality of first magnetic resistance elements 51a being alternately connected in the arrangement order by the first electrode piece 52a and the second electrode piece 53a, a plurality of second magnetic resistance elements 51b arranged on one surface, a third electrode piece 54b connecting upper surfaces of two adjacent elements among the plurality of second magnetoresistance elements 51b, and a fourth electrode piece 55b connecting lower surfaces of two adjacent elements among the plurality of second magnetoresistance elements 51b, and the plurality of second magnetoresistance elements 51b are alternately connected in the arrangement order by the third electrode piece 54b and the fourth electrode piece 55b; a second resistance side Rb; a plurality of third magnetoresistance elements 51c arranged on one surface; a fifth electrode piece 52 connecting upper surfaces of two adjacent elements among the plurality of third magnetoresistance elements 51c; a third resistance side Rc having a sixth electrode piece 53c connecting the lower surfaces of two adjacent elements of the plurality of third magnetic resistance elements 51c, the plurality of third magnetic resistance elements 51c being alternately connected in the arrangement order by the fifth electrode piece 52c and the sixth electrode piece 53c; a plurality of fourth magnetic resistance elements 51d arranged on one surface; a seventh electrode piece 54d connecting the upper surfaces of two adjacent elements of the plurality of fourth magnetic resistance elements 51d; an eighth electrode piece 55d connecting the lower surfaces of two adjacent elements of the plurality of fourth magnetic resistance elements 51d; The fourth magnetic resistance element 51d has a fourth resistance side Rd having a pole piece 55d, and the multiple fourth magnetic resistance elements 51d are alternately connected in arrangement order by the seventh electrode piece 54d and the eighth electrode piece 55d, the first electrode piece 52a is arranged so as to intersect with the eighth electrode piece 55d at a distance in the vertical direction, the second electrode piece 53a is arranged so as to intersect with the third electrode piece 54b at a distance in the vertical direction, the fifth electrode piece 52c is arranged so as to intersect with the fourth electrode piece 55b at a distance in the vertical direction, and the sixth electrode piece 53c includes an intersection portion arranged so as to intersect with the seventh electrode piece 54d at a distance in the vertical direction.
[0119] According to this, a first resistance side Ra having first magnetic resistance elements 51a arranged on one surface, a second resistance side Rb having second magnetic resistance elements 51b arranged on the same surface, a third resistance side Rc having third magnetic resistance elements 51c arranged on the same surface, and a fourth resistance side Rd having fourth magnetic resistance elements 51d arranged on the same surface are crossed at a distance in the vertical direction with a first electrode piece 52a connecting the upper surfaces of two adjacent first magnetic resistance elements 51a and an eighth electrode piece 55d connecting the lower surfaces of two adjacent fourth magnetic resistance elements 51d, and a second electrode piece 53a connecting the lower surfaces of two adjacent first magnetic resistance elements 51a and an eighth electrode piece 55d connecting the lower surfaces of two adjacent second magnetic resistance elements 51 The third electrode piece 54b connecting the upper surfaces of the adjacent two third magnetoresistance elements 51c and the fourth electrode piece 55b connecting the lower surfaces of the adjacent two second magnetoresistance elements 52d are vertically spaced apart and crossed, and the sixth electrode piece 53c connecting the lower surfaces of the adjacent two third magnetoresistance elements 51c and the seventh electrode piece 54d connecting the upper surfaces of the adjacent two fourth magnetoresistance elements 51d are vertically spaced apart and crossed to form a braided shape, whereby one or more pairs of partial loops of opposite polarity are formed on the resistor sides Ra to Rd, and noise associated with induced electromotive force when a magnetic field is applied can be offset. Furthermore, the resistor sides Ra to Rd have a plurality of partial loops of a size small compared to their side length, so that common-mode noise associated with the gradient of the magnetic field strength within the length range of the resistor sides Ra to Rd can be suppressed.
[0120] The magnetic sensor 50 according to the second embodiment includes a first resistance side Ra having a plurality of first magnetic resistance elements 51a arranged on one surface, a ninth electrode piece 54a connecting upper surfaces of two adjacent elements of the plurality of first magnetic resistance elements 51a, and a tenth electrode piece 55a connecting lower surfaces of two adjacent elements of the plurality of first magnetic resistance elements 51a, and the plurality of first magnetic resistance elements 51a are alternately connected in the arrangement order by the ninth electrode piece 54a and the tenth electrode piece 55a, a plurality of second magnetic resistance elements 51b arranged on one surface, a second resistance side Rb having an eleventh electrode piece 52b connecting the upper surfaces of two adjacent elements out of the plurality of second magnetoresistance elements 51b, and a twelfth electrode piece 53b connecting the lower surfaces of two adjacent elements out of the plurality of second magnetoresistance elements 51b, the plurality of second magnetoresistance elements 51b being alternately connected in arrangement order by the eleventh electrode piece 52b and the twelfth electrode piece 53b; a plurality of third magnetoresistance elements 51c arranged on one surface; a thirteenth electrode piece 54c connecting the upper surfaces of two adjacent elements out of the plurality of third magnetoresistance elements 51c; a third resistance side Rc, a plurality of fourth magnetoresistance elements 51d arranged on one surface, a fifteenth electrode piece 52d connecting upper surfaces of two adjacent elements of the plurality of fourth magnetoresistance elements 51d, a sixteenth electrode piece 53d connecting lower surfaces of two adjacent elements of the plurality of fourth magnetoresistance elements 51d, and a seventeenth electrode piece 54c connecting lower surfaces of two adjacent elements of the plurality of fourth magnetoresistance elements 51d. d, and the multiple fourth magnetic resistance elements 51d have fourth resistance sides Rd connected alternately in arrangement order by the fifteenth electrode piece 52d and the sixteenth electrode piece 53d, the ninth electrode piece 54a is arranged so as to intersect with the sixteenth electrode piece 53b at a distance in the vertical direction, the tenth electrode piece 55a is arranged so as to intersect with the eleventh electrode piece 52d at a distance in the vertical direction, the thirteenth electrode piece 54c is arranged so as to intersect with the twelfth electrode piece 53d at a distance in the vertical direction, and the fourteenth electrode piece 55c includes an intersection portion arranged so as to intersect with the fifteenth electrode piece 52b at a distance in the vertical direction.
[0121] According to this, by assembling the resistor sides Ra to Rd in a braided shape, one or more pairs of partial loops of opposite polarity are formed in the resistor sides Ra to Rd, and noise associated with induced electromotive force when a magnetic field is applied can be offset. Furthermore, by having the resistor sides Ra to Rd have multiple partial loops of a size small compared to their side length, common-mode noise associated with the gradient of magnetic field strength within the length range of the resistor sides Ra to Rd can be suppressed.
[0122] The current detection device 100 according to the second embodiment includes a conductor 24 through which a current to be measured flows, and a magnetic sensor 59 disposed on or near the conductor 24. This makes it possible to suppress di / dt noise associated with an induced electromotive force and common-mode noise associated with the gradient of the magnetic field strength.
[0123] In the magnetic sensor 59 according to the second embodiment, the resistor side Ra, resistor side Rc, resistor side Rd, and resistor side Rb are arranged in order in the +X direction and assembled into a braided shape, but the order of the resistor side Ra, resistor side Rc, resistor side Rd, and resistor side Rb is not limited to this and may be arranged in any order.
[0124] <Modification> 15A and 15B show the internal structure of a current detection device 110 according to a modified example through a package 9 in a top view and a side view, respectively. Here, FIG. 15B shows a cross-sectional structure of the current detection device 110 with respect to a reference line in FIG. 15A. The up-down direction in FIG. 15A is the vertical direction, the left-right direction in FIG. 15A and FIG. 15B is the horizontal direction, and the up-down direction in FIG. 15B is the height direction. The current detection device 110 is a sensor that measures the amount of current by detecting a magnetic field generated around a conductor 24 when a current to be measured flows through the conductor 24 using a magnetic sensor 60, and can particularly suppress di / dt noise due to induced electromotive force and / or differential amplification noise associated with the spread of the magnetic field distribution. The current detection device 110 includes a package 9, a plurality of device terminals 17, a conductor 24, and a magnetic sensor 60.
[0125] The package 9 is a member that seals and protects each component of the current detection device 110, except for the multiple device terminals 17 and the respective terminal portions of the conductors 24. The package 9 can be formed using the same material as the package 9 in the current detection device 100 according to the first embodiment.
[0126] The multiple device terminals 17 are secondary conductors for outputting the detection result of the current to be measured output from the magnetic sensor 60 to an external device. In this example, for example, eight device terminals 17 are arranged at equal intervals on the left side of the package 9 with their longitudinal directions facing horizontally. The multiple device terminals 17 are formed in the same manner as those in the current detection device 100 according to the first embodiment.
[0127] The conductor 24 is a primary conductor that forms a current path through which the current to be measured flows. The conductor 24 is formed in the same manner as that in the current detection device 100 according to the first embodiment, with the terminals 24a and 24e disposed on the right side of the package 9 and the two legs included in the bent portion 24c disposed in the center of the package 9.
[0128] The magnetic sensor 60 is a sensor that detects a magnetic field generated by a measured current flowing through the conductor 24. The magnetic sensor 60 is configured to detect a vertical magnetic field (an example of a horizontal magnetic field) generated around the conductor 24, for example, and includes a substrate 61 and two sensor bodies 62.
[0129] The substrate 61 is a plate-like member that supports the two sensor bodies 62. The substrate 61 is formed using, for example, silicon (Si), and has a plurality of wirings (not shown) laid on its upper surface.
[0130] The two sensor bodies 62 are sensors that detect a magnetic field generated by a current to be measured that is passed through the conductor 24. The sensor body 62 includes four resistance arms Ra to Rd connected in a Wheatstone bridge circuit shape using magnetoresistance elements 51 arranged on a substrate 61, similarly to the magnetic sensor 50 according to the first embodiment or the magnetic sensor 59 according to the second embodiment. The two sensor bodies 62 are arranged on the substrate 61 spaced apart in the vertical direction, and their power supply terminals VDD, ground terminal GND, and output terminals Np1, Np2 are connected to wiring on the substrate 61.
[0131] The magnetic sensor 60 is disposed on the curved portion 24c of the conductor 24. As a result, the two sensor bodies 62 are disposed on the two legs of the curved portion 24c, respectively, and the wiring on the substrate 61 connected to the power supply terminal VDD, the ground terminal GND, and the output terminals Np1 and Np2 are connected to the device terminals 17 by wire bonding. As a result, a drive voltage can be applied to the two sensor bodies 62 via the device terminals 17, and each output voltage can be output.
[0132] The current detection device 110 is manufactured by pressing a single metal plate to form a pattern of multiple device terminals 17 and conductors 24, applying step processing to the pattern to form terminal portions 17a at the multiple device terminals 17 and terminal portions 24a, 24e at the conductors 24, placing the magnetic sensor 60 on the curved portion 24c of the conductor 24, connecting the magnetic sensor 60 to the device terminals 17 by wire bonding, molding the pattern while leaving the frame and terminal portions 17a of the multiple device terminals 17 and terminal portions 24a, 24e of the conductors 24 connected thereto to form the package 9, and finally cutting the frame exposed from the package 9 from the pattern.
[0133] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the claims that such modifications and improvements can also be included in the technical scope of the present invention.
[0134] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and may be realized in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is explained using "first," "next," etc. for convenience, it does not mean that it is essential to perform the process in this order. [Explanation of symbols]
[0135] 9...package, 10...base, 11...main body, 12, 14...projection portion, 15, 16, 17...device terminal, 15a, 16a, 17a...terminal portion, 18...insulating member, 24...conductor, 24a...current terminal (terminal portion), 24a, 24e...terminal portion, 24b, 24d...body portion, 24c...curved portion, 24e...current terminal, 44...signal processing device, 50...magnetic sensor, 50a, 50a 2 ,50c,50c 2 ...intersection, 51...magnetic resistance element, 51a, 51b, 51c, 51d...magnetic resistance elements (first magnetic resistance element, second magnetic resistance element, third magnetic resistance element, fourth magnetic resistance element), 51o...fixed layer, 51p...tunnel layer, 51q...free layer, 51r...cap layer, 51s...electrode rod, 52, 53...electrode piece, 52a, 53a, 54a, 55a...electrode piece (first electrode piece, second electrode piece, ninth electrode piece, tenth electrode piece) Electrode pieces), 52b, 53b, 54b, 55b...Electrode pieces (15th electrode piece, 16th electrode piece, 3rd electrode piece, 4th electrode piece), 52c, 53c, 54c, 55c...Electrode pieces (5th electrode piece, 6th electrode piece, 13th electrode piece, 14th electrode piece), 52d, 53d, 54d, 55d...Electrode pieces (11th electrode piece, 12th electrode piece, 7th electrode piece, 8th electrode piece), 59...Magnetic sensor, 59a, 59b...Unit, 59a 0 ,59b 0...intersection, 60...magnetic sensor, 61...substrate, 62...sensor body, 100...current detection device, GND...ground terminal, L...center axis, Np1, Np2...output terminal, Ra, Rb, Rc, Rd...resistance sides (first resistance side, second resistance side, third resistance side, fourth resistance side), VDD...power supply terminal.
Claims
1. a first resistance side including a plurality of first magnetic resistance elements arranged on one surface, a first electrode piece connecting upper surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, and a second electrode piece connecting lower surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, the plurality of first magnetic resistance elements being alternately connected in the arrangement order by the first electrode piece and the second electrode piece; a second resistance side including a plurality of second magnetic resistance elements arranged on the one surface, a third electrode piece connecting upper surfaces of two adjacent second magnetic resistance elements of the plurality of second magnetic resistance elements, and a fourth electrode piece connecting lower surfaces of two adjacent second magnetic resistance elements of the plurality of second magnetic resistance elements, the plurality of second magnetic resistance elements being alternately connected in arrangement order by the third electrode piece and the fourth electrode piece; A magnetic sensor comprising: the first electrode piece is arranged to intersect with the fourth electrode piece at a distance in the vertical direction; and the second electrode piece includes a first intersection portion arranged to intersect with the third electrode piece at a distance in the vertical direction.
2. 2. The magnetic sensor of claim 1, wherein at the first intersection portion, the first electrode piece and the third electrode piece are arranged in parallel, the second electrode piece and the fourth electrode piece are arranged in parallel, and the first electrode piece and the third electrode piece are arranged in a direction that intersects with the second electrode piece and the fourth electrode piece.
3. 3. The magnetic sensor according to claim 2, wherein an angle at which the first and third electrodes intersect with the second and fourth electrodes is 90 degrees.
4. a length of the first electrode piece in a direction connecting the two adjacent first magnetoresistance elements and a length of the third electrode piece in a direction connecting the two adjacent second magnetoresistance elements are equal to each other; The magnetic sensor according to claim 1 , wherein a length of the second electrode piece in a direction connecting the two adjacent first magnetoresistance elements and a length of the fourth electrode piece in a direction connecting the two adjacent second magnetoresistance elements are equal to each other.
5. the first resistor side has an even number of the first electrode pieces and the second electrode pieces, The magnetic sensor according to claim 4 , wherein the second resistor side has an even number of the third electrode pieces and the fourth electrode pieces.
6. a third resistance side including a plurality of third magnetoresistance elements arranged on the one surface, a fifth electrode piece connecting upper surfaces of two adjacent third magnetoresistance elements of the plurality of third magnetoresistance elements, and a sixth electrode piece connecting lower surfaces of two adjacent third magnetoresistance elements of the plurality of third magnetoresistance elements, the plurality of third magnetoresistance elements being alternately connected in arrangement order by the fifth electrode piece and the sixth electrode piece; a fourth resistance side including a plurality of fourth magnetoresistance elements arranged on the one surface, seventh electrode pieces connecting upper surfaces of two adjacent fourth magnetoresistance elements of the plurality of fourth magnetoresistance elements, and eighth electrode pieces connecting lower surfaces of two adjacent fourth magnetoresistance elements of the plurality of fourth magnetoresistance elements, the plurality of fourth magnetoresistance elements being alternately connected in arrangement order by the seventh electrode pieces and the eighth electrode pieces; 2. The magnetic sensor according to claim 1, wherein the fifth electrode piece is arranged to intersect with the eighth electrode piece at a distance in the vertical direction, and the sixth electrode piece includes a second intersecting portion arranged to intersect with the seventh electrode piece at a distance in the vertical direction.
7. 7. The magnetic sensor of claim 6, wherein in the second intersection portion, the fifth electrode piece and the seventh electrode piece are arranged in parallel, the sixth electrode piece and the eighth electrode piece are arranged in parallel, and the fifth electrode piece and the seventh electrode piece are arranged in a direction intersecting with the sixth electrode piece and the eighth electrode piece.
8. 8. The magnetic sensor according to claim 7, wherein the fifth and seventh electrodes intersect with the sixth and eighth electrodes at an angle of 90 degrees.
9. a length of the fifth electrode piece in a direction connecting the two adjacent third magnetoresistance elements and a length of the seventh electrode piece in a direction connecting the two adjacent fourth magnetoresistance elements are equal to each other; The magnetic sensor according to claim 6, wherein a length of the sixth electrode piece in a direction connecting the two adjacent third magnetoresistance elements and a length of the eighth electrode piece in a direction connecting the two adjacent fourth magnetoresistance elements are equal to each other.
10. the third resistor side has an even number of the fifth electrode pieces and the sixth electrode pieces, The magnetic sensor according to claim 9 , wherein the fourth resistor side has an even number of the seventh electrode pieces and the eighth electrode pieces.
11. One end of the first resistor side and one end of the second resistor side are connected to each other, one end of the third resistor side and one end of the fourth resistor side are connected to each other, the other end of the first resistor side and the other end of the third resistor side are connected to each other, the other end of the second resistor side and the other end of the fourth resistor side are connected to each other, 7. The magnetic sensor of claim 6, wherein the magnetic field detection direction of the plurality of first magnetic resistance elements and the plurality of fourth magnetic resistance elements is the same, the magnetic field detection direction of the plurality of second magnetic resistance elements and the plurality of third magnetic resistance elements is the same, and the magnetic field detection direction of the plurality of first magnetic resistance elements and the plurality of fourth magnetic resistance elements is opposite to the magnetic field detection direction of the plurality of second magnetic resistance elements and the plurality of third magnetic resistance elements.
12. The magnetic sensor according to claim 6 , wherein the first magnetoresistance elements, the second magnetoresistance elements, the third magnetoresistance elements, and the fourth magnetoresistance elements are tunneling magnetoresistance elements.
13. A conductor through which the current to be measured flows; The magnetic sensor according to claim 1 , which is disposed on or near the conductor; A current detection device comprising:
14. a first resistance side including a plurality of first magnetic resistance elements arranged on one surface, a first electrode piece connecting upper surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, and a second electrode piece connecting lower surfaces of two adjacent first magnetic resistance elements of the plurality of first magnetic resistance elements, the plurality of first magnetic resistance elements being alternately connected in the arrangement order by the first electrode piece and the second electrode piece; a second resistance side including a plurality of second magnetoresistance elements arranged on the one surface, a third electrode piece connecting upper surfaces of two adjacent second magnetoresistance elements of the plurality of second magnetoresistance elements, and a fourth electrode piece connecting lower surfaces of two adjacent second magnetoresistance elements of the plurality of second magnetoresistance elements, the plurality of second magnetoresistance elements being alternately connected in the arrangement order by the third electrode piece and the fourth electrode piece; a third resistance side including a plurality of third magnetoresistance elements arranged on the one surface, a fifth electrode piece connecting upper surfaces of two adjacent third magnetoresistance elements of the plurality of third magnetoresistance elements, and a sixth electrode piece connecting lower surfaces of two adjacent third magnetoresistance elements of the plurality of third magnetoresistance elements, the plurality of third magnetoresistance elements being alternately connected in arrangement order by the fifth electrode piece and the sixth electrode piece; a fourth resistance side including a plurality of fourth magnetoresistance elements arranged on the one surface, seventh electrode pieces connecting upper surfaces of two adjacent fourth magnetoresistance elements of the plurality of fourth magnetoresistance elements, and eighth electrode pieces connecting lower surfaces of two adjacent fourth magnetoresistance elements of the plurality of fourth magnetoresistance elements, the plurality of fourth magnetoresistance elements being alternately connected in arrangement order by the seventh electrode pieces and the eighth electrode pieces; A magnetic sensor including an intersection portion in which the first electrode piece is arranged to intersect with the eighth electrode piece at a distance in the vertical direction, the second electrode piece is arranged to intersect with the third electrode piece at a distance in the vertical direction, the fifth electrode piece is arranged to intersect with the fourth electrode piece at a distance in the vertical direction, and the sixth electrode piece is arranged to intersect with the seventh electrode piece at a distance in the vertical direction.
15. The magnetic sensor of claim 14, wherein at the intersection portion, the first resistor side and the third resistor side are arranged in parallel, the second resistor side and the fourth resistor side are arranged in parallel, and the first resistor side and the third resistor side are arranged in a direction intersecting with the second resistor side and the fourth resistor side.
16. The magnetic sensor according to claim 15 , wherein an angle at which the first resistor side and the third resistor side intersect with the second resistor side and the fourth resistor side is 90 degrees.
17. The magnetic sensor described in claim 14, wherein the first resistance side is arranged in a first direction with a first partial side including two of the second electrode pieces and one of the first electrode pieces between them in an arrangement order via the multiple first magnetic resistance elements, and a second partial side including two of the first electrode pieces connected to the first partial side and one of the second electrode pieces between them in a second direction intersecting the first direction.
18. the two second electrode pieces included in the first partial side and the two first electrode pieces included in the second partial side have equal lengths in a direction connecting the two first magnetoresistance elements adjacent to each other, 18. The magnetic sensor according to claim 17, wherein the one first electrode piece included in the first partial side and the one second electrode piece included in the second partial side have equal lengths in a direction connecting the two adjacent first magnetoresistance elements.
19. the second resistor side is shifted relative to the first resistor side in each of the first direction and the second direction, the third resistor side is disposed so as to be shifted with respect to the first resistor side in each of a direction opposite to the first direction and a direction opposite to the second direction, and is disposed symmetrically with respect to the second resistor side with respect to a central axis intersecting with each of the first direction and the second direction, The magnetic sensor according to claim 18 , wherein the fourth resistor side is disposed symmetrically with the first resistor side with respect to the central axis.
20. 20. The magnetic sensor of claim 19, wherein the first resistive side, the second resistive side, the third resistive side, and the fourth resistive side form one or more pairs of closed loops having equal areas and opposite polarities in at least one of the vertical direction, a direction parallel to the central axis, or a direction intersecting the vertical direction and the direction parallel to the central axis.
21. The magnetic sensor of claim 17 comprising a plurality of the first partial sides and the second partial sides.
22. The magnetic sensor of claim 14 comprising a plurality of the intersecting portions.
23. One end of the first resistor side and one end of the second resistor side are connected to each other, one end of the third resistor side and one end of the fourth resistor side are connected to each other, the other end of the first resistor side and the other end of the third resistor side are connected to each other, the other end of the second resistor side and the other end of the fourth resistor side are connected to each other, The magnetic sensor of claim 14, wherein the magnetic field detection direction of the plurality of first magnetic resistance elements and the plurality of fourth magnetic resistance elements is the same, the magnetic field detection direction of the plurality of second magnetic resistance elements and the plurality of third magnetic resistance elements is the same, and the magnetic field detection direction of the plurality of first magnetic resistance elements and the plurality of fourth magnetic resistance elements is opposite to the magnetic field detection direction of the plurality of second magnetic resistance elements and the plurality of third magnetic resistance elements.
24. The magnetic sensor according to claim 14 , wherein the first magnetoresistance elements, the second magnetoresistance elements, the third magnetoresistance elements, and the fourth magnetoresistance elements are tunneling magnetoresistance elements.
25. A conductor through which the current to be measured flows; The magnetic sensor of claim 14 disposed on or near the conductor; A current detection device comprising:
