Magnetic sensor

By placing the lead-out part of the compensation coil in the solenoid part inner diameter area of ​​the magnetic sensor and using formed members and connecting pins for positioning, the problem of interference noise in the magnetic sensor is solved and higher stability and accuracy are achieved.

CN118613734APending Publication Date: 2024-09-06TDK CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280090495.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-01-31
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In a magnetic sensor in which a compensation coil is wound around a rod-shaped external magnetic body, the lead-out portion of the compensation coil tends to function as an antenna, making it susceptible to interference noise.

Method used

By accommodating the second lead-out part of the compensation coil in the inner diameter area of ​​the solenoid part and connecting it to the terminal electrode at the other end of the solenoid part, the lead-out part is prevented from functioning as an antenna, while being fixed using a forming member and a connecting pin and position the coil to ensure that the coil does not come into contact with external magnetic objects.

Benefits of technology

It effectively reduces the impact of interference noise, simplifies the connection between the coil and the connecting pin, and improves the stability and accuracy of the magnetic sensor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613734A
    Figure CN118613734A
Patent Text Reader

Abstract

The present invention addresses the problem of reducing the influence of interference noise in a magnetic sensor provided with an external magnetic body around which a compensation coil is wound. A magnetic sensor (100) is provided with an external magnetic body (30) for collecting a magnetic field to be detected to a magnetosensitive element, and a compensation coil (C). The compensation coil (C) has a solenoid portion (C0) wound around the outer magnetic body (30), and lead-out portions (C1, C2) connecting both ends of the solenoid portion (C0) to the connection pins (P1, P2), respectively. The lead-out section (C2) is connected to the connection pin (P2) via the inner diameter region of the solenoid section (C0). Therefore, the second lead-out part is difficult to function as an antenna, so that the influence of interference noise can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a magnetic sensor, and more particularly to a magnetic sensor having an external magnetic body for collecting magnetic flux in a magnetic sensing element and a compensation coil. Background Art

[0002] As a magnetic sensor having an external magnetic body and a compensation coil for collecting magnetic flux in a magnetic sensitive element, a magnetic sensor described in Patent Document 1 is known. The magnetic sensor described in Patent Document 1 has a magnetic sensitive element integrated in a sensor chip, an external magnetic body, and a compensation coil wound around the external magnetic body. In addition, a so-called closed-loop control is performed by applying a magnetic field collected by the external magnetic body to the magnetic sensitive element and eliminating the magnetic field applied to the magnetic sensitive element by the compensation coil. As a result, the magnetic field applied to the magnetic sensitive element is always kept at zero, so that no offset due to temperature changes or the like occurs, and accurate magnetic field measurement can be performed. Prior art literature Patent Literature

[0003] Patent Document 1: International Publication No. 2021 / 100252 Summary of the invention Problems to be solved by the invention

[0004] However, when the compensation coil is wound around the rod-shaped external magnetic body, there is a problem that the lead-out portion of the compensation coil functions as an antenna and is easily affected by interference noise.

[0005] Therefore, an object of the present invention is to reduce the influence of disturbance noise in a magnetic sensor including an external magnetic body around which a compensation coil is wound. Methods used to solve problems

[0006] The magnetic sensor of the present invention is characterized in that it comprises: a magnetic sensitive element; an external magnetic body that collects the magnetic field of the detection object to the magnetic sensitive element; and a compensation coil connected to the first and second terminal electrodes, the compensation coil including a solenoid portion wound around the external magnetic body, a first lead portion located between one end of the solenoid portion and the first terminal electrode, and a second lead portion located between the other end of the solenoid portion and the second terminal electrode, the one end of the solenoid portion is located on one side of the external magnetic body in the axial direction, the other end of the solenoid portion is located on the other side in the axial direction, the first and second terminal electrodes are located on the one side in the axial direction, and the second lead portion is connected to the second terminal electrode via the inner diameter area of ​​the solenoid portion.

[0007] According to the present invention, since the second lead portion having a long wiring distance is accommodated in the inner diameter region of the solenoid portion, the second lead portion is less likely to function as an antenna, thereby reducing the influence of interference noise.

[0008] The magnetic sensor of the present invention may further include a molded component including a bobbin located between the external magnetic body and the solenoid portion, the solenoid portion being wound around the bobbin, and the second lead portion being located between the bobbin and the solenoid portion. This can prevent the compensation coil from contacting the external magnetic body.

[0009] In the present invention, the first and second terminal electrodes may be respectively formed of first and second connecting pins, and the molded component may further include a holding portion for holding the first and second connecting pins. This can reduce the number of parts and fix the positional relationship between the first and second connecting pins and the bobbin.

[0010] In the present invention, the first and second connecting pins may protrude from the retaining portion in a predetermined direction perpendicular to the axial direction of the external magnetic body, and the first and second lead portions may be fixed to portions closer to the front ends of the first and second connecting pins than the retaining portion. Thus, the connection operation between the first and second connecting pins and the compensation coil using the solder bath becomes easy.

[0011] In the present invention, the first and second connection pins may include a first positioning portion for positioning the positions of the first and second lead-out portions in a predetermined direction. Thus, the positions of the first and second lead-out portions in the predetermined direction can be fixed.

[0012] In the present invention, the molded component may include a second positioning portion located between the bobbin and the holding portion for positioning the first and second lead portions in a predetermined direction. This facilitates connection work between the first and second connection pins and the compensation coil using the solder bath.

[0013] In the present invention, the external magnetic body, the compensation coil, and the first and second connection pins may be fixed to the molded component to form a magnetic collecting module, and the sensor chip including the magnetic sensitive element and the magnetic collecting module may be mounted on the same plane of the substrate. Using such a magnetic collecting module, the assembly operation becomes easy.

[0014] In the present invention, the external magnetic body may have a wide width portion and a narrow width portion whose cross section is perpendicular to the axial direction and is smaller than the wide width portion, the bobbin accommodates the narrow width portion of the external magnetic body, the retaining portion accommodates the wide width portion of the external magnetic body, an opening is provided on the bottom surface of the bobbin and the retaining portion opposite to the substrate, the wide width portion of the external magnetic body protrudes from the opening of the retaining portion, the narrow width portion of the external magnetic body does not protrude from the opening of the bobbin, and the wide width portion of the external magnetic body protruding from the opening of the retaining portion is fixed to the substrate. In this way, the external magnetic body can be accurately positioned on the substrate, and contact between the external magnetic body and the compensation coil can be prevented. Effects of the Invention

[0015] As described above, according to the present invention, the influence of disturbance noise can be reduced in a magnetic sensor including an external magnetic body around which a compensation coil is wound. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic perspective view showing the appearance of a magnetic sensor 100 according to one embodiment of the present invention. Figure 2 It is a schematic exploded perspective view of the magnetic sensor 100 . Figure 3 It is a schematic perspective view showing the appearance of the magnetic sensor module 1 . Figure 4 It is a schematic exploded perspective view of the magnetic sensor module 1 . Figure 5 It is a schematic top view of the sensor chip 20 . Figure 6 It is along Figure 5 Schematic cross-sectional view along line AA. Figure 7 This is a schematic cross-sectional view for explaining an example in which a magnetic layer and a magnetic sensing element overlap. Figure 8 This is a circuit diagram for explaining the connection relationship between the magnetic sensing elements R1 to R4 and the compensation coil C. Fig. 9 It is a schematic perspective view for explaining the structure of the magnetic flux collecting module 60 . Fig.10 It is a schematic perspective view for explaining the structure of the magnetic flux collecting module 60 . Fig.11 It is a schematic exploded perspective view of the magnetic flux collecting module 60 in a state where the compensation coil C is removed. Fig.12 It is a schematic exploded perspective view showing a state where the solenoid portion C0 of the compensation coil C is omitted from the magnetic flux collecting module 60 . Fig.13 It is a schematic exploded perspective view showing a state where the solenoid portion C0 of the compensation coil C is omitted from the magnetic flux collecting module 60 . Fig.14 This is a schematic diagram for explaining a method of fixing one end and the other end of the compensation coil C to the connection pins P1 and P2. Fig.15 It is a schematic perspective view showing the structure of a magnetic flux collecting module 60B of a comparative example. Fig.16 It is a graph showing the frequency characteristics of noise density. DETAILED DESCRIPTION

[0017] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0018] Figure 1 1 is a schematic perspective view showing the appearance of a magnetic sensor 100 according to an embodiment of the present invention. Figure 2 It is a schematic exploded perspective view of the magnetic sensor 100 .

[0019] like Figure 1 and Figure 2 As shown, the magnetic sensor 100 of this embodiment includes a magnetic sensor module 1 as a main body, and a lower shell 2 and an upper shell 3 that accommodate the magnetic sensor module 1. The lower shell 2 and the upper shell 3 are formed of non-magnetic insulating materials such as resin, and the magnetic sensor module 1 is accommodated in an internal space formed by being fitted in the Y direction. The magnetic sensor 100 is a rod-shaped body with the Z direction as the long side direction, and the end on the +Z direction side constitutes a sensor head. A wiring not shown in the figure is led out from the end on the -Z direction side to be connected to the magnetic sensor module 1.

[0020] Figure 3 : is a schematic perspective view showing the appearance of the magnetic sensor module 1. Figure 4 It is a schematic exploded perspective view of the magnetic sensor module 1 .

[0021] like Figure 3 and Figure 4 As shown, the magnetic sensor module 1 includes a substrate 10, a sensor chip 20 mounted on a surface 11 constituting an XZ plane of the substrate 10, an external magnetic body 40, an auxiliary chip 50, and a magnetic collecting module 60 including an external magnetic body 30. The sensor chip 20 has an element forming surface 21 and a back surface 22 constituting an XY plane, side surfaces 23 and 24 constituting a YZ plane, and side surfaces 25 and 26 constituting an XZ plane, and is mounted on the substrate 10 in a manner that the side surface 26 faces the surface 11 of the substrate 10. On the element forming surface 21 of the sensor chip 20, magnetic sensitive elements and magnetic layers M1 to M3 described later are formed. Thus, in the present embodiment, the surface 11 of the substrate 10 is perpendicular to the element forming surface 21 of the sensor chip 20. However, in the present invention, the two do not necessarily have to be completely perpendicular, and may have a predetermined inclination relative to the perpendicular.

[0022] The external magnetic bodies 30 and 40 play a role in collecting magnetic flux in the sensor chip 20, and are both made of a high permeability material such as ferrite. Among them, the external magnetic body 30 is a rod-shaped body with the Z direction as the longitudinal direction, and is positioned at the approximately central part of the element forming surface 21 in the X direction so as to cover a part of the magnetic body layer M1. The external magnetic body 40 is located on the opposite side of the external magnetic body 30 as seen from the sensor chip 20. The external magnetic body 40 has a rod-shaped portion 41 with the Z direction as the longitudinal direction, which covers the back surface 22 of the sensor chip 20, and suspended portions 42 and 43 that protrude from the rod-shaped portion 41 to the element forming surface 21 side so as to cover the side surfaces 23 and 24 of the sensor chip 20 and are bent so as to cover a part of the magnetic body layers M2 and M3. According to this structure, the magnetic field in the Z direction is selectively collected, and the collected magnetic field is applied to the sensor chip 20.

[0023] The auxiliary chip 50 plays a role in improving the strength of the sensor chip 20, and is attached to the back surface 22 of the sensor chip 20 using an adhesive or the like. As a material of the auxiliary chip 50, the same material as that of the sensor chip 20 may be used. Although not particularly limited, the thickness of the auxiliary chip 50 in the Z direction is greater than the thickness of the sensor chip 20 in the Z direction, thereby being able to sufficiently improve the mechanical strength of the sensor chip 20.

[0024] The magnetic collecting module 60 includes a molded component 70 for accommodating the external magnetic body 30 and a compensation coil C wound on the molded component 70. The number of turns of the wire constituting the compensation coil C is not particularly limited, as long as it is the number of turns required to generate the target cancellation magnetic field. The molded component 70 is formed of a non-magnetic insulating material such as resin. The structure and function of the molded component 70 will be described later.

[0025] Figure 5 is a schematic top view of the sensor chip 20. Figure 6 It is along Figure 5 Schematic cross-sectional view along line AA.

[0026] like Figure 5 and Figure 6 As shown, four magnetic sensitive elements R1 to R4 are formed on the element forming surface 21 of the sensor chip 20. The magnetic sensitive elements R1 to R4 are not particularly limited as long as they are elements whose resistance changes according to the direction of the magnetic flux, and for example, MR elements can be used. The fixed magnetization directions of the magnetic sensitive elements R1 to R4 are consistent with each other in the same direction (for example, the positive side in the X direction). The magnetic sensitive elements R1 to R4 are covered by an insulating layer 27, and magnetic layers M1 to M3 formed of Permalloy and the like are formed on the surface of the insulating layer 27. The magnetic layers M1 to M3 are covered by an insulating layer 28. Moreover, among the magnetic layers M1 to M3, one side located in the Y direction ( Figure 5 The part located on the upper side of the Y direction is defined as the magnetic layer M11, M21, M31, and the part located on the other side ( Figure 5 When the portion (to the lower side) is defined as the magnetic body layer M12, M22, and M32, in a plan view (seen from the Z direction), the magnetic sensitive element R1 is located between the magnetic body layer M11 and the magnetic body layer M21, the magnetic sensitive element R2 is located between the magnetic body layer M12 and the magnetic body layer M22, the magnetic sensitive element R3 is located between the magnetic body layer M11 and the magnetic body layer M31, and the magnetic sensitive element R4 is located between the magnetic body layer M12 and the magnetic body layer M32. Thus, the magnetic field passing through the magnetic gaps G1 to G4 is applied to the magnetic sensitive elements R1 to R4.

[0027] However, in the present invention, each magnetic sensitive element R1 to R4 is not necessarily located between two magnetic layers in a plan view, but each magnetic sensitive element R1 to R4 can be arranged near the magnetic gap G1 to G4 formed by the two magnetic layers, that is, on the magnetic path formed by the magnetic gap G1 to G4. In addition, the width of the magnetic gap G1 to G4 is not necessarily wider than the width of the magnetic sensitive element R1 to R4, and the width of the magnetic gap G1 to G4 can also be narrower than the magnetic sensitive element R1 to R4. Figure 7 In the example shown, the width Gx of the magnetic gap G1 in the X direction is narrower than the width Rx of the magnetic sensor R1 in the X direction. Therefore, the magnetic layers M1 and M2 overlap the magnetic sensor R1 from the Z direction. The relationship between the magnetic gaps G1 to G4 and the magnetic sensors R1 to R4 can also be Figure 7 The relationship shown.

[0028] exist Figure 5 and Figure 6 In the figure, the areas indicated by reference numerals 30a and 40a respectively represent the areas covered by the external magnetic bodies 30 and 40. Figure 5 and Figure 6 As shown, the external magnetic body 30 covers the magnetic body layer M1, and the external magnetic body 40 covers the magnetic body layers M2 and M3. Here, in order to more efficiently apply the magnetic field collected by the external magnetic body 30 through the magnetic sensitive elements R1 to R4, it is preferred that the XY end surface of the external magnetic body 30 opposite to the element forming surface 21 is directly or through an adhesive in contact with the insulating layer 28 on the magnetic body layer M1.

[0029] Figure 8 This is a circuit diagram for explaining the connection relationship between the magnetic sensing elements R1 to R4 and the compensation coil C.

[0030] like Figure 8 As shown, the magnetic sensor element R1 is connected between the terminal electrodes T11 and T13, the magnetic sensor element R2 is connected between the terminal electrodes T12 and T14, the magnetic sensor element R3 is connected between the terminal electrodes T11 and T12, and the magnetic sensor element R4 is connected between the terminal electrodes T13 and T14. The terminal electrodes T11 to T14 constitute Figure 4 The terminal electrode group T10 is provided on the sensor chip 20 and is connected to the sensor chip 20 through wiring (not shown) formed on the substrate 10. Figure 3 and Figure 4The terminal electrode group T30 shown is connected. The power supply potential Vcc is given to the terminal electrode T11, and the ground potential GND is given to the terminal electrode T14. Moreover, the magnetic sensing elements R1 to R4 all have the same fixed magnetization direction, so there is a difference between the resistance change amount of the magnetic sensing elements R1 and R2 located on one side when viewed from the external magnetic body 30 and the resistance change amount of the magnetic sensing elements R3 and R4 located on the other side when viewed from the external magnetic body 30. As a result, the magnetic sensing elements R1 to R4 form a differential bridge circuit, and the change in the resistance of the magnetic sensing elements R1 to R4 corresponding to the magnetic flux density appears as a differential signal Va at the terminal electrodes T12 and T13.

[0031] The differential signal Va outputted from the terminal electrodes T12 and T13 is inputted to the differential amplifier 81 provided on the substrate 10 or the sensor chip 20. The output signal of the differential amplifier 81 is fed back to the terminal electrode T21. Figure 8 As shown in FIG. 1 , a compensation coil C is connected between the terminal electrode T21 and the terminal electrode T22, and thus the compensation coil C generates a canceling magnetic field corresponding to the output signal of the differential amplifier 81. The terminal electrodes T21 and T22 are connected to the connection pins P1 and P2 held on the molded member 70, respectively. According to this structure, when a differential signal Va corresponding to the change in resistance of the magnetic sensitive elements R1 to R4 based on the magnetic flux density of the detection target magnetic field appears at the terminal electrodes T12 and T13, a current corresponding thereto flows in the compensation coil C, generating a canceling magnetic field in the opposite direction. As a result, the detection target magnetic field is canceled. Furthermore, if the current output from the differential amplifier 81 is converted into a current-voltage by the detection circuit 82, the intensity of the detection target magnetic field can be detected. By such a closed-loop control, the magnetic field collected by the external magnetic bodies 30 and 40 can be detected with high accuracy.

[0032] Fig. 9 and Fig.10 1 is a schematic three-dimensional diagram for explaining the structure of the magnetic flux collecting module 60, showing the state seen from different angles. Fig.11 It is a schematic exploded perspective view of the magnetic flux collecting module 60 in a state where the compensation coil C is removed.

[0033] like Figures 9 to 11As shown, the magnetic collecting module 60 includes a forming member 70 and an external magnetic body 30 fixed to the forming member 70, a compensation coil C and connecting pins P1, P2. The forming member 70 is a single member including a bobbin 71, a retaining portion 72, a front end portion 73 and positioning portions 74, 75. The bobbin 71 is a portion that accommodates the narrow width portion 31 of the external magnetic body 30, and a front end portion 73 is provided at the front end in the +Z direction. The front end portion 73 has a slit 73a extending in the X direction. The retaining portion 72 is located on the -Z direction side of the bobbin 71, accommodates the wide width portion 32 of the external magnetic body 30, and retains the connecting pins P1, P2 passing through the through hole 76. The XY cross section of the narrow width portion 31 of the external magnetic body 30 is smaller than that of the wide width portion 32 of the external magnetic body 30.

[0034] The connecting pins P1 and P2 are terminal electrodes formed of a roughly U-shaped metal member. The connecting pin P1 has protrusions P1a and P1b protruding from the surface of the retaining portion 72 in the +Y direction, and the connecting pin P2 has protrusions P2a and P2b protruding from the surface of the retaining portion 72 in the +Y direction. The protrusion P1a is the portion connected to one end of the compensation coil C, and the protrusion P2a is the portion connected to the other end of the compensation coil C. The protrusions P1a and P2a are arranged in the X direction and are located on the -Z direction side of the bobbin 71. The protrusions P1b and P2b are connected to the bobbin 71 through wiring (not shown). Figure 8 The terminal electrodes T21 and T22 are shown connected.

[0035] like Fig.10 As shown, a part of the XZ bottom surface of the bobbin 71 and the holding portion 72 is open, and the external magnetic body 30 is exposed from the opening. The XZ bottom surface of the wide portion 32 of the external magnetic body 30 protrudes from the holding portion 72 in the -Y direction, and when the magnetic collecting module 60 is mounted on the substrate 10, the wide portion 32 of the external magnetic body 30 is fixed to the surface 11 of the substrate 10. In contrast, the XZ bottom surface of the narrow portion 31 of the external magnetic body 30 does not protrude from the bobbin 71. It is not necessary to set an opening on the XZ bottom surface of the bobbin 71, but by setting such an opening, the external magnetic body 30 can be mounted on the molded component 70 from the Y direction.

[0036] The compensation coil C is wound around the bobbin 71 with the Z direction as the winding axis direction. One end of the compensation coil C is connected to the protrusion P1a of the connecting pin P1, and the other end of the compensation coil C is connected to the protrusion P2a of the connecting pin P2. Positioning portions 84 and 85 with locally narrow diameters are provided on the protrusions P1a and P2a, and one end and the other end of the compensation coil C are respectively wound around the positioning portions 84 and 85, and are further fixed by welding. Thus, the positions of one end and the other end of the compensation coil C connected to the protrusions P1a and P2a in the Y direction are fixed. Here, the positioning portions 84 and 85 are provided at positions closer to the front ends of the connecting pins P1 and P2 in the +Y direction than the retaining portion 72. Thus, one end and the other end of the compensation coil C are also fixed at portions closer to the front ends of the connecting pins P1 and P2 in the +Y direction than the retaining portion 72.

[0037] The compensation coil C includes a solenoid portion C0 wound on the bobbin 71, a lead portion C1 located between one end of the solenoid portion C0 and the connection pin P1, and a lead portion C2 located between the other end of the solenoid portion C0 and the connection pin P2. The solenoid portion C0 is a portion that functions as a coil and is wound on the bobbin 71 with the Z direction as the winding axis direction. The solenoid portion C0 is wound on the bobbin 71 in such a manner that the position in the Z direction changes with each turn. That is, with the lead portion C1 as the starting point and the lead portion C2 as the end point, the position of the conductive wire constituting the solenoid portion C0 moves toward the +Z direction with each turn.

[0038] In this way, the compensation coil C is not directly wound around the external magnetic body 30, but is wound around the external magnetic body 30 via the bobbin 71, so the compensation coil C and the external magnetic body 30 do not contact each other, thereby preventing the damage of the compensation coil C and the external magnetic body 30 caused by the contact between the two. Here, one end of the solenoid portion C0 is located on the -Z direction side, so the wiring distance of the lead portion C1 is short. In contrast, the other end of the solenoid portion C0 is located on the +Z direction side, so the wiring distance of the lead portion C2 is long.

[0039] Fig.12 and Fig.13 It is a schematic exploded perspective view showing a state in which the solenoid portion C0 of the compensation coil C is omitted from the magnetic flux collecting module 60 , and shows the state seen from different angles.

[0040] like Fig.12 and Fig.13As shown, the lead portion C2 of the compensation coil C extends almost straight along the Z direction and then bypasses the slit 73a of the front end portion 73. When the compensation coil C is wound on the bobbin 71, the wire constituting the compensation coil C is passed through the slit 73a of the front end portion 73, and then the wire is wound multiple times, thereby forming the solenoid portion C0. As a result, the lead portion C2 is connected to the connecting pin P2 via the inner diameter area of ​​the solenoid portion C0 instead of the outside of the solenoid portion C0. As a result, most of the lead portion C2 with a long wiring distance is covered by the solenoid portion C0, so it is difficult for the lead portion C2 to function as an antenna. In addition, since the lead portion C2 is sandwiched between the bobbin 71 and the solenoid portion C0, the position of the lead portion C2 is stable.

[0041] Furthermore, the molded component 70 has positioning parts 74 and 75 located between the bobbin 71 and the holding part 72. The positioning part 74 is a protrusion for positioning the lead-out part C1 of the compensation coil C, and protrudes in the +X direction. The positioning part 75 is a protrusion for positioning the lead-out part C2 of the compensation coil C, and protrudes in the -X direction. Moreover, the lead-out parts C1 and C2 extending in the Z direction are connected to the connecting pins P1 and P2 through the -Y direction sides of the positioning parts 74 and 75, respectively. As a result, the movement of the lead-out parts C1 and C2 in the +Y direction is restricted.

[0042] When one end and the other end of the compensation coil C are fixed to the connecting pins P1 and P2, one end and the other end of the compensation coil C are wound around the protruding parts P1a and P2a, respectively. Fig.14 As shown in FIG. 1 , the front ends of the protrusions P1a and P2a are immersed in the solder pot 90. Thus, the connection between one end and the other end of the compensation coil C and the connection pins P1 and P2 is completed at one time. In addition, when the front ends of the protrusions P1a and P2a are immersed in the solder pot, the movement of the lead portions C1 and C2 of the compensation coil C in the +Y direction is restricted by the positioning portions 74 and 75 of the molding member 70, so that the lead portions C1 and C2 do not hang down and contact the solder pot 90.

[0043] Thus, in this embodiment, after the external magnetic body 30 and the connection pins P1 and P2 are fixed to the molded member 70, the compensation coil C is wound and the connection pins P1 and P2 are connected to the compensation coil C to manufacture the magnetic collecting module 60, and by mounting the magnetic collecting module 60 on the substrate 10, the magnetic sensor module 1 can be efficiently manufactured. Furthermore, since the lead portion C2 of the compensation coil C included in the magnetic collecting module 60 is connected to the connection pin P2 via the inner diameter region of the solenoid portion C0, the lead portion C2 is unlikely to function as an antenna, and the influence of interference noise can be reduced.

[0044] Fig.156B is a schematic perspective view showing the structure of a magnetic flux collecting module 60B of a comparative example. The lead portion C2 of the compensation coil C of the magnetic flux collecting module 60B of the comparative example is connected to the connecting pin P2 through the radially outer side of the solenoid portion C0 instead of passing through the inner diameter region of the solenoid portion C0. Fig. 9 The magnetic flux collecting modules 60 shown are different. Fig.16 is a graph showing the frequency characteristics of noise density, reference numeral A indicates the characteristics of the magnetic sensor module 1 of the present embodiment, and reference numeral B indicates the characteristics of a magnetic sensor module that uses a magnetic sensor module 60B of a comparative example instead of the magnetic flux collecting module 60. Fig.16 As shown in the figure, the magnetic sensor module 1 of the present embodiment has lower noise density in the low-frequency region than the magnetic sensor module using the magnetic flux collecting module 60B.

[0045] Although preferred embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention. Such modifications are naturally included in the scope of the present invention.

[0046] For example, in the above-described embodiment, both ends of the compensation coil C are connected to the connection pins P1 and P2 , but the connection pins P1 and P2 do not necessarily have to be used as terminal electrodes connected to both ends of the compensation coil C. Description of Reference Numerals

[0047] 1 Magnetic sensor module 2 Lower shell 3 Upper shell 10 substrates 11 Surface of substrate 20 sensor chips 21 Component forming surface 22 The back of the sensor chip 23-26 Side of sensor chip 27, 28 insulation layer 30, 40 external magnetic body 30a, 40a Area covered by external magnetic body 31 Narrow Width 32 Wide section 41 rod-shaped part 42, 43 suspended part 50 auxiliary chips 60, 60B magnetic collecting module 70 Forming components 71 Spools 72 holding part 73 front end 73a Slit 74, 75 positioning part 76 through holes 81 Differential Amplifier 82 detection circuit 84, 85 positioning part 90 solder tank 100 Magnetic Sensors C compensation coil C0 Solenoid C1, C2 lead-out section G1~G4 magnetic gap M1~M3, M11, M21, M31, M12, M22, M32 magnetic layer P1, P2 connecting pins P1a, P1b, P2a, P2b protrusions R1~R4 magnetic sensitive element T10, T30 terminal electrode set T11~T14, T21, T22 terminal electrodes

Claims

1. A magnetic sensor, Features: have: Magnetic sensitive element; an external magnetic body that collects the magnetic field of the detection object to the magnetic sensitive element; and a compensation coil connected to the first and second terminal electrodes, The compensation coil includes a solenoid portion wound around the external magnetic body, a first lead portion located between one end of the solenoid portion and the first terminal electrode, and a second lead portion located between the other end of the solenoid portion and the second terminal electrode. The one end of the solenoid portion is located on one side in the axial direction of the external magnetic body, The other end of the solenoid portion is located on the other side in the axial direction, The first and second terminal electrodes are located on the one side in the axial direction, The second lead portion is connected to the second terminal electrode via an inner diameter region of the solenoid portion.

2. The magnetic sensor according to claim 1, Features: The invention further comprises: a molded component including a bobbin located between the external magnetic body and the solenoid portion; The solenoid portion is wound around the bobbin, The second lead portion is located between the bobbin and the solenoid portion.

3. The magnetic sensor according to claim 2, Features: The first and second terminal electrodes are respectively constituted by first and second connecting pins, The forming member further includes a holding portion that holds the first and second connecting pins.

4. The magnetic sensor according to claim 3, Features: The first and second connection pins protrude from the holding portion in a predetermined direction orthogonal to the axial direction of the external magnetic body. The first and second lead-out portions are fixed to portions closer to front ends of the first and second connecting pins than the holding portion.

5. The magnetic sensor according to claim 4, Features: The first and second connecting pins include a first positioning portion for positioning the first and second lead portions in the predetermined direction.

6. The magnetic sensor according to claim 4 or 5, Features: The molding member includes a second positioning portion that is located between the bobbin and the holding portion and that positions the first and second lead-out portions in the predetermined direction.

7. The magnetic sensor according to any one of claims 3 to 6, Features: The external magnetic body, the compensation coil, and the first and second connection pins are fixed to the molded component to form a magnetic flux collection module. The sensor chip including the magnetic sensitive element and the magnetic collecting module are mounted on the same plane of the substrate.

8. The magnetic sensor according to claim 7, Features: The external magnetic body has a wide portion and a narrow portion having a cross section perpendicular to the axial direction and smaller than the wide portion. The bobbin accommodates the narrow width portion of the external magnetic body, The holding portion accommodates the wide portion of the external magnetic body, An opening is provided on the bottom surface of the bobbin and the holding portion opposite to the substrate, The wide portion of the external magnetic body protrudes from the opening of the holding portion, The narrow width portion of the external magnetic body does not protrude from the opening of the bobbin, The wide portion of the external magnetic body protruding from the opening of the holding portion is fixed to the substrate.