Sensor and inspection device

According to one embodiment, a sensor includes a first magnetic member, a first counter magnetic member, a first magnetic element, and a first magnetic interconnect. A direction from the first magnetic member to the first counter magnetic member is along a first direction. A first gap is provided between the first magnetic member and the first counter magnetic member. The first magnetic element includes a first magnetic region. A second direction from the first magnetic region to the first gap crosses the first direction. A direction from the first magnetic interconnect to the first magnetic region is along the second direction.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2021-145587, filed on Sep. 7, 2021; the entire contents of which are incorporated herein by reference.

FIELD

Embodiments described herein relate generally to a sensor and an inspection device.

BACKGROUND

There is a sensor that uses a magnetic layer. There is an inspection device that uses a sensor. It is desired to improve the characteristics of the sensor.

DETAILED DESCRIPTION

According to one embodiment, a sensor includes a first magnetic member, a first counter magnetic member, a first magnetic element, and a first magnetic interconnect. A direction from the first magnetic member to the first counter magnetic member is along a first direction. A first gap is provided between the first magnetic member and the first counter magnetic member. The first magnetic element includes a first magnetic region. A second direction from the first magnetic region to the first gap crosses the first direction. A direction from the first magnetic interconnect to the first magnetic region is along the second direction.

According to one embodiment, an inspection device includes the sensor described above, and a processor configured to process a signal output from the sensor.

First Embodiment

FIGS.1A and1Bare schematic views illustrating a sensor according to a first embodiment.

FIG.1Ais a cross-sectional view taken along the line A1-A2ofFIG.1B.FIG.1Bis a plan view.

As shown inFIGS.1A and1B, a sensor110according to the embodiment includes an element part10U. The element part10U includes a first magnetic member51, a first counter magnetic member51A, a first magnetic element11E, and a first magnetic interconnect21.

A direction from the first magnetic member51to the first counter magnetic member51A is along a first direction D1. The first direction is defines as an X-axis direction. One direction perpendicular to the X-axis direction is defined as a Z-axis direction. A direction perpendicular to the X-axis direction and the Z-axis direction is defined as a Y-axis direction.

As shown inFIG.1A, a first gap51gis provided between the first magnetic member51and the first counter magnetic member51A.

As shown inFIG.1A, the element part10U may include an insulating member65. At least a part of the insulating member65may be provided in the first gap51g. InFIG.1B, the insulating member65is omitted.

The first magnetic element11E includes a first magnetic region11r. A second direction D2from the first magnetic region11rto the first gap51gcrosses the first direction D1. The second direction D2is, for example, the Z-axis direction. A direction from the first magnetic interconnect21to the first magnetic region11ris along the second direction D2.

The magnetic field to be detected is concentrated by the first magnetic member51and the first counter magnetic member51A and applied to the first magnetic element11E. For example, the magnetic field that has passed through the first magnetic member51passes through the first magnetic element11E and heads toward the first counter magnetic member51A. The first magnetic member51and the first counter magnetic member51A function as, for example, an MFC (Magnetic Flux Concentrator). High sensitivity can be obtained by providing the first magnetic member51and the first counter magnetic member51A.

The first magnetic interconnect21includes, for example, at least one selected from the group consisting of Fe, Co and Ni.

As shown inFIG.1B, the sensor110may include a control circuit part70. The control circuit part70may include a first current circuit71. The first current circuit71may be provided separately from the sensor110. The first current circuit71is possible to supply the first current I1to the first magnetic interconnect21. The first current I1includes an AC component. The first current I1is, for example, an alternating current.

For example, the first magnetic interconnect21includes a first magnetic interconnect one part21eand a first magnetic interconnect other part21f. A third direction D3from the first magnetic interconnect one part21eto the first magnetic interconnect other part21fcrosses the plane including the first direction D1and the second direction D2. The third direction D3is, for example, the Y-axis direction.

The first current I1flows in the direction from the first magnetic interconnect one part21eto the first magnetic interconnect other part21f, or from the first magnetic interconnect other part21fto the first magnetic interconnect one part21e. A magnetic field based on the first current I1is applied to the first magnetic element11E. The magnetic field includes a component in the first direction D1.

As the first current I1including the AC component flows through the first magnetic interconnect21, the characteristics of the first magnetic interconnect21change according to the first current I1. For example, the effective magnetic permeability of the first magnetic interconnect21changes according to the first current I1. For example, the current magnetic field generated by the first current I1includes a component that crosses the direction of high magnetic permeability in the first magnetic interconnect21. When the first current I1flows through the first magnetic interconnect21, the magnetic permeability of the first magnetic interconnect21changes. The direction in which the magnetic permeability of the first magnetic interconnect21is high corresponds to the third direction D3. For example, the magnetic field to be detected is modulated by the magnetic field generated by the first current I1and applied to the first magnetic element11E. As a result, the magnetic field to be detected can be detected with higher sensitivity by suppressing noise.

FIGS.2A and2Bare schematic cross-sectional views illustrating operations of the sensor according to the first embodiment.

As shown inFIGS.2A and2B, the first state ST1and the second state ST2can be formed in the sensor110. For example, the first state ST1corresponds to when the first current I1is either positive or negative, and the second state ST2corresponds to when the first current I1is positive or negative. Alternatively, for example, the absolute value of the first current I1in the first state ST1is different from the absolute value of the first current I1in the second state ST2.

In these two states, the magnetic field Hs to be detected passes through the first magnetic member51and the first counter magnetic member51A. For example, in the first state ST1, the magnetic field Hs1between the first magnetic member51and the first counter magnetic member51A is unlikely to pass through the first magnetic element11E. For example, in the second state ST2, the magnetic field Hs1easily passes through the first magnetic element11E. The strength of the magnetic field Hs1passing through the first magnetic element11E differs between the first state ST1and the second state ST2. In this way, the magnetic field Hs1modulated by the first current I1is applied to the first magnetic element11E.

For example, the frequency of the AC component of the first current I1is set higher than the frequency of the magnetic field Hs to be detected (in the case of direct current, the frequency is set to 0). The magnetic field Hs1in which the magnetic field Hs is modulated into harmonics is applied to the first magnetic element11E. The electrical resistance of the first magnetic element11E changes according to the magnetic field Hs1applied to the first magnetic element11E. In the embodiment, the electrical resistance of the first magnetic element11E changes according to the magnetic field Hs1modulated by the harmonics. For example, a change in the electrical resistance of the first magnetic element11E is detected, and the detected signal is demodulated (for example, detected) based on the frequency of the AC component. During demodulation, at least some of the noise is removed. As a result, the magnetic field Hs to be detected can be detected while suppressing noise.

As described above, in the embodiment, the magnetic field Hs to be detected is modulated by the first magnetic interconnect21and applied to the first magnetic element11E. Noise can be suppressed by modulation and demodulation. According to the embodiment, it is possible to provide a sensor whose characteristics can be improved.

As shown inFIG.1(b), in this example, the control circuit part70further includes an element circuit75. The element circuit75may be provided separately from the sensor110. The element circuit75is configured to supply the element current Id to the first magnetic element11E.

The first magnetic element11E includes a first magnetic element one end part11Ee and a first magnetic element other end part11Ef. The first magnetic interconnect one part21ecorresponds to, for example, the first magnetic element one end part11Ee. The first magnetic interconnect other part21fcorresponds to the first magnetic element other end part11Ef. For example, in the second direction D2, the first magnetic interconnect one part21emay overlap the first magnetic element one end part11Ee. In the second direction D2, the first magnetic interconnect other part21fmay overlap the first magnetic element other end part11Ef.

The element current Id flows from, for example, the first magnetic element one end part11Ee to the first magnetic element other end part11Ef. The electrical resistance of the first magnetic element11E and the change in the electrical resistance can be detected by the element current Id. In the embodiment, electrical resistance may be detected by constant current or constant voltage operation.

As shown inFIG.1B, the control circuit part70may include a detection circuit73. The detection circuit73may be provided separately from the sensor110. The detection circuit73is electrically connected to, for example, the first magnetic element one end part11Ee and the first magnetic element other end part11Ef. The detection circuit73can detect a change in potential between the first magnetic element one end part11Ee and the first magnetic element other end part11Ef. The change in potential depends on the magnetic field Hs1modulated according to the first current I1flowing through the first magnetic interconnect21. The detection circuit73can, for example, demodulate the change in potential and output the signal Sg1according to the magnetic field Hs to be detected. Demodulation is performed based on the frequency of the AC component of the first current I1.

As shown inFIG.1A, the first magnetic element11E includes a first magnetic layer11, a first counter magnetic layer110, and a first non-magnetic layer11n. The first non-magnetic layer11nis provided between the first magnetic layer11and the first counter magnetic layer110. For example, a direction from the first opposed magnetic layer110to the first magnetic layer11is along the second direction D2. The first non-magnetic layer11nincludes, for example, at least one selected from the group consisting of Cu, Au and Ag. The first magnetic element11E is, for example, a GMR (Giant Magneto Resistive effect) element. In the embodiment, the first non-magnetic layer11nmay be insulating. For example, the first non-magnetic layer11nmay include MgO. The first magnetic element11E may be a TMR (Tunnel Magneto Resistive) element.

For example, a position of the first magnetic element11E in the second direction D2is between a position of the first magnetic interconnect21in the second direction D2and a position of the first magnetic member51in the second direction D2. The position of the first magnetic element11E in the second direction D2is between the position of the first magnetic interconnect21in the second direction D2and a position of the first counter magnetic member51A in the second direction D2.

The position of the first magnetic interconnect21in the second direction D2may be between the position of the first magnetic element11E in the second direction D2and the position of the first magnetic member51in the second direction D2. The position of the first magnetic interconnect21in the second direction D2may be between the position of the first magnetic element11E in the second direction D2and the position of the first counter magnetic member51A in the second direction D2.

As shown inFIG.1A, for example, a part of the first magnetic element11E may overlap the first magnetic member51in the second direction D2. Another part of the first magnetic element11E may overlap the first counter magnetic member51A in the second direction D2. For example, a part of the first magnetic element11E is between a part of the first magnetic interconnect21and the first magnetic member51in the second direction D2. Another part of the first magnetic element11E is between another part of the first magnetic interconnect21and the first counter magnetic member51A in the second direction D2.

As shown inFIG.1A, a distance between the first magnetic member51and the first counter magnetic member51A along the first direction D1is defined as a distance g1. The distance g1may be, for example, not less than 1 μm and not more than 30 μm. A distance between the first magnetic element11E and the first counter magnetic member51A (or first magnetic member51) is defined as a distance d1. The distance d1may be, for example, not less than 1 μm and not more than 30 μm. The distance d1may be, for example, not less than 0.3 μm and not more than 30 μm. A distance between the first magnetic interconnect21and the first magnetic element11E is defined as a distance d2. The distance d2may be, for example, not less than 1 μm and not more than 3 μm. The distance d2may be, for example, not less than 0.3 μm and not more than 3 μm.

As shown inFIG.1B, a length L1of the first magnetic element11E along the third direction D3is longer than a length w1(for example, width) of the first magnetic element11E along the first direction D1. For example, stable magnetization can be easily obtained.

FIG.3is a schematic cross-sectional view illustrating a sensor according to the first embodiment.

As shown inFIG.3, in a sensor111according to the embodiment, the configuration of the first magnetic element11E is different from the configuration of the sensor110. The configuration of the sensor111other than this may be the same as the configuration of the sensor110.

In the sensor111, the first magnetic element11E does not overlap the first magnetic member51and does not overlap the first counter magnetic member51A in the second direction D2. Also in this case, the modulated magnetic field Hs1(seeFIG.2Aand the like) is applied to the first magnetic element11E.

For example, the distance g1between the first magnetic member51and the first counter magnetic member51A along the first direction D1may be the same as the length w1(for example, width) along the first direction D1of the first magnetic element11E. The distance g1may be larger than the length w1.

FIGS.4A to4Dare schematic cross-sectional views illustrating sensors according to the first embodiment.

As shown inFIGS.4A to4D, in sensors112ato112daccording to the embodiment, the first magnetic interconnect21includes a first surface21aand a second surface21b. A position of the second surface21bin the second direction D2is between a position of the first surface21ain the second direction D2and the position of the first magnetic member51in the second direction D2. At least a part of the first surface21ais non-parallel to at least a part of the second surface21b. At least a part of the first surface21amay be inclined with respect to the X-Y plane.

In the sensors112ato112d, at least a part of the first surface21acrosses the X-Y plane. On the other hand, the second surface21bis substantially parallel to the X-Y plane.

For example, the first magnetic interconnect21includes a first partial region21pand a second partial region21q. A direction from the first partial region21pto the second partial region21qis along the first direction D1. A first thickness s1along the second direction D1of the first partial region21pis different from a second thickness s2along the second direction D2of the second partial region21q.

In the sensors112ato112d, the first thickness s1is thinner than the second thickness s2. In the sensor112a, the thickness changes continuously. In the sensor112b, the thickness changes in one step. The change is gradual. In the sensor112c, the thickness changes discontinuously in one step. In the sensor112d, the thickness changes in two steps.

FIGS.5A to5Dare schematic cross-sectional views illustrating sensors according to the first embodiment.

As shown inFIGS.5A to5D, in sensors112eto112haccording to the embodiment, the first magnetic interconnect21includes the first surface21aand the second surface21b. At least a part of the first surface21ais non-parallel to at least a part of the second surface21b.

In the sensors112eto112h, at least a part of the second surface21bcrosses the X-Y plane. On the other hand, the first surface21ais substantially parallel to the X-Y plane.

For example, the first magnetic interconnect21includes the first partial region21pand the second partial region21q. The first thickness s1along the second direction D1of the first partial region21pis different from the second thickness s2along the second direction D2of the second partial region21q.

In the sensors112eto112h, the first thickness s1is thinner than the second thickness s2. In the sensor112e, the thickness changes continuously. In the sensor112f, the thickness changes in one step. The change is gradual. In the sensor112g, the thickness changes discontinuously in one step. In the sensor112h, the thickness changes in two steps.

In the sensors112ato112h, the thickness of the first magnetic interconnect21(the length along the second direction D2) changes along the first direction D1. By supplying the first current I1including an AC component to the first magnetic interconnect21, the effective magnetic permeability of the first magnetic interconnect21is likely to change effectively and stably. For example, formation of multiple magnetic domains is more effectively suppressed. Stable modulation is easy to be performed.

FIGS.6A and6Bare schematic cross-sectional views illustrating sensors according to the first embodiment.

As shown inFIGS.6A and6B, in sensors113aand113baccording to the embodiment, the first magnetic interconnect21includes the first partial region21pand the second partial region21q. The direction from the first partial region21pto the second partial region21qis along the first direction D1. A material of at least a part of the first partial region21pis different from a material of at least a part of the second partial region21q.

In the sensors113aand113b, the material of the first magnetic interconnect21changes in the first direction D1. By supplying the first current I1including an AC component to the first magnetic interconnect21, the effective magnetic permeability of the first magnetic interconnect21is likely to change effectively and stably. For example, formation of multiple magnetic domains is more effectively suppressed. Stable modulation is easy to be performed.

Boundaries of multiple regions of different materials, such as the sensor113b, may cross (eg, tilt) the X-Y plane.

In the sensors112ato112h,113aand113b, the first partial region21pmay overlap the first magnetic member51in the second direction D2. The second partial region21qmay overlap the first counter magnetic member51A in the second direction D2.

The configurations of the sensors112ato112h,113aand113bother than the above may be the same as the configurations of the sensors110and111.

Hereinafter, an example of the characteristics of the first magnetic element11E in the above sensor will be described.

FIGS.7A and7Bare schematic views illustrating characteristics of the sensor according to the first embodiment;

The horizontal axis of these figures corresponds to the value of the first current I1flowing through the first magnetic interconnect21. The vertical axis is the electrical resistance Rx of the first magnetic element11E. As shown inFIGS.7A and7B, in the embodiment, the electrical resistance Rx shows the characteristic of an even function with respect to the change of the first current I1.

For example, the electrical resistance Rx of the first magnetic element11E is a first resistance value R1when the first current I1is a first value current Ia1. The electrical resistance Rx is a second resistance value R2when the first current I1is a second value current Ia2. The electrical resistance Rx is a third resistance value R3when the first current I1is a third value current Ia3. The orientation of the second value current Ia2is opposite to the orientation of the third value current Ia3. The absolute value of the first value current Ia1is smaller than the absolute value of the second value current Ia2and smaller than the absolute value of the third value current Ia3. The first value current Ia1may be, for example, substantially 0.

In the example ofFIG.7A, the first resistance value R1is lower than the second resistance value R2and lower than the third resistance value R3. The first resistance value R1is, for example, the minimum value of electrical resistance. In the example ofFIG.7B, the first resistance value R1is higher than the second resistance value R2and higher than the third resistance value R3. The first resistance value R1is, for example, the maximum value of electrical resistance.

For example, the electrical resistance Rx is a fourth resistance value R4when a current does not substantially flow through the first magnetic interconnect21. For example, the first resistance value R1may be substantially the same as the fourth resistance value R4when no current flows substantially. For example, a ratio of the absolute value of the difference between the first resistance value R1and the fourth resistance value R4to the fourth resistance value R4is 0.01 or less. The ratio may be not more than 0.001. For positive and negative currents, the characteristics of an even function can be obtained.

Such a relationship between the first current I1and the electric resistance Rx is based on that the magnetic field due to the first current I1is applied to the first magnetic element11E, and the electrical resistance Rx of the first magnetic element11E changes depending on the strength of the magnetic field.

The electrical resistance Rx when an external magnetic field is applied to the first magnetic element11E also shows the characteristics of an even function as in the example shown inFIG.7AorFIG.7B.

FIGS.8A and8Bare schematic views illustrating characteristics of the sensor according to the first embodiment.

The horizontal axis of these figures is the strength of the external magnetic field Hex applied to the first magnetic element11E. The vertical axis is the electrical resistance Rx of the first magnetic element11E. These figures correspond to the RH characteristics. As shown inFIGS.8A and8B, the electric resistance Rx has the property of even function with respect to a magnetic field applied to the first magnetic element11E (external magnetic field Hex, for example, a magnetic field including a component in the X-axis direction).

As shown inFIGS.8A and8B, the electrical resistance Rx of the first magnetic element11E is the first resistance value R1when the first magnetic field Hex1is applied to the first magnetic element11E. The electrical resistance Rx is the second resistance value R2when the second magnetic field Hex2is applied to the first magnetic element11E. The electric resistance Rx is the third resistance value R3when the third magnetic field Hex3is applied to the first magnetic element11E. The orientation of the second magnetic field Hex2is opposite to the orientation of the third magnetic field Hex3. The absolute value of the first magnetic field Hex1is smaller than the absolute value of the second magnetic field Hex2and smaller than the absolute value of the third magnetic field Hex3.

In the example ofFIG.8A, the first resistance value R1is lower than the second resistance value R2and lower than the third resistance value R3. In the example ofFIG.8B, the first resistance value R1is higher than the second resistance value R2and higher than the third resistance value R3. For example, when the external magnetic field Hex is not applied to the first magnetic element11E, the electrical resistance Rx is the fourth resistance value R4. The first resistance value R1is substantially the same as the fourth resistance value R4when the external magnetic field Hex is not applied. For example, a ratio of the absolute value of the difference between the first resistance value R1and the fourth resistance value R4to the fourth resistance value R4is not more than 0.01. The ratio may be not more than 0.001. Substantially even function characteristics are obtained for positive and negative external magnetic fields.

Utilizing such characteristics of even functions, high-sensitivity detection is possible as follows.

In the following, an example will be described in which the first current I1is an alternating current and does not substantially include a DC component. A first current I1(alternating current) is supplied to the first magnetic interconnect21, and an alternating magnetic field generated by the alternating current is applied to the first magnetic element11E. An example of the change in the electrical resistance Rx at this time will be described.

FIGS.9A and9Bare graphs illustrating characteristics of the sensor according to the first embodiment.

FIG.9Ashows the characteristics when the signal magnetic field Hsig (external magnetic field) applied to the first magnetic element11E is 0.FIG.9Bshows the characteristics when the signal magnetic field Hsig is positive.FIG.9Cshows the characteristics when the signal magnetic field Hsig is negative. These figures show the relationship between the magnetic field H and the resistance R (corresponding to electrical resistance Rx).

As shown inFIG.9A, when the signal magnetic field Hsig is 0, the resistance R exhibits a characteristic symmetric with respect to the positive and negative magnetic fields H. When the alternating magnetic field Hac is zero, the resistance R is a low resistance Ro. For example, the magnetization of the magnetic layer included in the first magnetic element11E rotates in substantially the same manner with respect to the positive and negative magnetic fields H. Therefore, a symmetrical change in resistance can be obtained. The fluctuation of the resistance R with respect to the alternating magnetic field Hac has the same value for positive and negative polarities. The period of change of the resistance R is ½ times the period of the alternating magnetic field Hac. The frequency of change of the resistance R is twice the frequency of the alternating magnetic field Hac. The change of the resistance R has substantially no frequency component of the alternating magnetic field Hac.

As shown inFIG.9B, when a positive signal magnetic field Hsig is applied, the characteristic of the resistance R shifts to a side of the positive magnetic field H. In the alternating magnetic field Hac on the positive side, for example, the resistance R becomes high. In the alternating magnetic field Hac on the negative side, the resistance R becomes low.

As shown inFIG.9C, when a negative signal magnetic field Hsig is applied, the characteristic of the resistance R shifts to a side of the negative magnetic field H. In the alternating magnetic field Hac on the positive side, for example, the resistance R becomes low. In the alternating magnetic field Hac on the negative side, the resistance R becomes high.

When a signal magnetic field Hsig of a predetermined magnitude is applied, the resistance R fluctuates differently with respect to the positive and negative of the alternating magnetic field Hac. The period of fluctuation of the resistance R with respect to the alternating magnetic field Hac or negative is the same as the period of the alternating magnetic field Hac. The component of the alternating magnetic field Hac in the obtained output voltage becomes a voltage corresponding to the signal magnetic field Hsig.

The above characteristics are obtained when the signal magnetic field Hsig does not change with time. When the signal magnetic field Hsig changes with time at a frequency lower than that of the AC magnetic field Hac, it becomes as follows. The frequency of the signal magnetic field Hsig is defined as a signal frequency fsig. The frequency of the alternating magnetic field Hac is defined as an alternating frequency fac. At this time, an output corresponding to the signal magnetic field Hsig is generated at a frequency of fac±fsig.

When the signal magnetic field Hsig changes with time, the signal frequency fsig is, for example, not more than 1 kHz. On the other hand, the alternating frequency fac is sufficiently higher than the signal frequency fsig. For example, the alternating frequency fac is not less than 10 times the signal frequency fsig.

For example, the signal magnetic field Hsig can be detected with high accuracy by extracting the output voltage of a component (AC frequency component) having the same frequency as the frequency of the alternating magnetic field Hac. In the sensor110according to the embodiment, it is possible to detect the external magnetic field Hex (signal magnetic field Hsig) generated from the detection target with high sensitivity by utilizing such characteristics.

In the embodiment, as described with respect toFIGS.2A and2B, the magnetic field Hs to be detected is modulated by the first current I1flowing through the first magnetic interconnect21and applied to the first magnetic element11E. In addition to the modulation of the twice high frequency of the magnetic field Hs to be detected, the modulation of the high frequency of the first magnetic element11E having the even function characteristic is performed. By demodulating the detection result based on such modulation, noise can be further suppressed. Higher sensitivity detection is possible. A sensor that can improve the characteristics can be provided.

In the embodiment, the element part10U may include a half bridge or a full bridge.

FIGS.10A and10Bare schematic plan views illustrating a sensor according to the first embodiment.

As shown inFIG.10A, in a sensor120according to the embodiment, the element part10U includes the first magnetic element11E including the first magnetic element one end part11Ee and the first magnetic element other end part11Ef, a second magnetic element12E including a second magnetic element one end part12Ee and a second magnetic element other end part12Ef, a first resistance element11R including a first resistance element one end part11Re and a first resistance element other end part11Rf, and a second second resistance element12R including a resistance element one end part12Re and a second resistance element other end part12Rf.

The first magnetic element one end part11Ee is electrically connected to the first resistance element one end part11Re. The second magnetic element one end part12Ee is electrically connected to the first magnetic element other end part11Ef. The second resistance element one end part12Re is electrically connected to the first resistance element other end part11Rf. The second magnetic element other end part12Ef is electrically connected to the second resistance element other end part12Rf.

As shown inFIG.10B, the first current circuit71is configured to supply the first current I1to the second magnetic interconnect21. As shown inFIG.10A, the control circuit part70includes the detection circuit73. The detection circuit73is configured to detect a change in potential between the first magnetic element other end part11Ef and the first resistance element other end part11Rf. The detection circuit73is configured to detect the change in potential between a connection point CP3of the first magnetic element other end part11Ef and the second magnetic element one end part12Ee, and a connection point CP4of the first resistance element other end part11Rf and the second resistance element one end part12Re.

As shown inFIG.10A, the control circuit part70may include the element circuit75. The element circuit75is configured to supply the element current Id between a connection point CP1of the first magnetic element one end part11Ee and the first resistance element one end part11Re, and a connection point CP2of the second magnetic element other end part12Ef and the second resistance element other end part12Rf. In the embodiment, the electrical resistance may be detected by the constant current or the constant voltage operation.

As shown inFIG.10B, the element part10U includes the first magnetic interconnect21and a second magnetic interconnect22. The first magnetic interconnect21includes the first magnetic interconnect one part21ecorresponding to the first magnetic element one end part11Ee and the first magnetic interconnect other part21fcorresponding to the first magnetic element other end part11Ef. The second magnetic interconnect22includes a second magnetic interconnect one part22ecorresponding to the second magnetic element one end part12Ee and a second magnetic interconnect other part22fcorresponding to the second magnetic element other end part12Ef.

When the first current I1is flowing in the orientation from the first magnetic interconnect other part21fto the first magnetic interconnect one part21e, the first current I1flows in the orientation from the second magnetic interconnect one part22eto the second magnetic interconnect other part22f.

For example, the first current circuit71supplies the first current I1between a connection point CP5of the first magnetic interconnect other part21fand the second magnetic interconnect one part22e, and a connection point CP6of the first magnetic interconnect one part21eand the second magnetic interconnect other part22f.

FIG.11, andFIGS.12A to12Dare schematic plan views illustrating sensors according to the first embodiment.

As shown inFIG.11, in a sensor121according to the embodiment, the element part10U includes a first magnetic element11E including the first magnetic element one end part11Ee and the first magnetic element other end part11Ef, a second magnetic element12E including the second magnetic element one end part12Ee and the second magnetic element other end part12Ef, a third magnetic element13E including a third magnetic element one end part13Ee and a third magnetic element other end part13Ef, and a fourth magnetic element14E including a fourth magnetic element one end part14Ee and a fourth magnetic element other end part14Ef.

The first magnetic element one end part11Ee is electrically connected to the third magnetic element one end part13Ee. The second magnetic element one end part12Ee is electrically connected to the first magnetic element other end part11Ef. The fourth magnetic element one end part14Ee is electrically connected to the third magnetic element other end part13Ef. The second magnetic element other end part12Ef is electrically connected to the fourth magnetic element other end part14Ef.

As shown inFIG.12A, the first current circuit71is configured to supply the first current I1to the first magnetic interconnect21, the second magnetic interconnect22, a third magnetic interconnect23, and a fourth magnetic interconnect24.

As shown inFIG.11, the control circuit part70includes the detection circuit73. The detection circuit73is configured to detect a change in potential between the first magnetic element other end part11Ef and the third magnetic element other end part13Ef. For example, the detection circuit73detects a change in potential between the connection point CP3of the first magnetic element the other end part11Ef and the second magnetic element one end part12Ee, and the connection point CP4of the third magnetic element other end part13Ef and the fourth magnetic element one end part14Ee.

As shown inFIG.11, the control circuit part70may include the element circuit75. The element circuit75is configured to supply the element current Id between the connection point CP1of the first magnetic element one end part11Ee and the third magnetic element one end part13Ee, and the connection point CP2of the second magnetic element other end part12Ef and the fourth magnetic element other end part14Ef.

As shown inFIG.12A, for example, the element part10U includes the first magnetic interconnect21, the second magnetic interconnect22, the third magnetic interconnect23, and the fourth magnetic interconnect24. The first magnetic interconnect21includes the first magnetic interconnect one part21ecorresponding to the first magnetic element one end part11Ee and the first magnetic interconnect other part21fcorresponding to the first magnetic element other end part11Ef. The second magnetic interconnect22includes the second magnetic interconnect one part22ecorresponding to the second magnetic element one end part12Ee and the second magnetic interconnect other part22fcorresponding to the second magnetic element other end part12Ef. The third magnetic interconnect23includes a third magnetic interconnect one part23ecorresponding to the third magnetic element one end part13Ee and a third magnetic interconnect other part23fcorresponding to the third magnetic element other end part13Ef. The fourth magnetic interconnect24includes a fourth magnetic interconnect one part24ecorresponding to the fourth magnetic element one end part14Ee and a fourth magnetic interconnect other part24fcorresponding to the fourth magnetic element other end part14Ef.

When the first current I1is flowing in the orientation from the first magnetic interconnect other part21fto the first magnetic interconnect one part21e, the first current I1flows in the orientation from the second magnetic interconnect one part22eto the second magnetic interconnect other part22f, the first current I1flows in the orientation from the third magnetic interconnect one part23eto the third magnetic interconnect other part23f, and the first current I1flows in the orientation from the fourth magnetic interconnect other part24fto the fourth magnetic interconnect one part24e.

As shown inFIG.12A, in the sensor121, the first current circuit71supplies the first current I1between the connection point CP5of the first magnetic interconnect other part21fand the second magnetic interconnect one part22e, and the connection point CP6of the third magnetic interconnect other part23fand the fourth magnetic interconnect one part24e.

As shown inFIGS.12B to12D, in the sensors121ato121c, the configurations of the first to fourth magnetic elements11E to14E are the same as those in the sensor121.

As shown inFIG.12B, in the sensor121a, the first current circuit71supplies the first current I1between a connection point CP7of the first magnetic interconnect one part21eand the second magnetic interconnect other part22f, and a connection point CP8of the third magnetic interconnect one part23eand the fourth magnetic interconnect other part24f. In the sensor112a, the first magnetic interconnect other part21fis electrically connected to the fourth magnetic interconnect one part24e. The second magnetic interconnect one part22eis electrically connected to the third magnetic interconnect other part23f.

As shown inFIG.12C, in the sensor121b, the first current circuit71supplies the first current I1between the first magnetic interconnect one part21eand the third magnetic interconnect one part23e. In the sensor112b, the first magnetic interconnect other part21fis electrically connected to the fourth magnetic interconnect one part24e. The second magnetic interconnect one part22eis electrically connected to the third magnetic interconnect other part23f. The second magnetic interconnect other part22fis electrically connected to the fourth magnetic interconnect other part24f.

As shown inFIG.12D, in the sensor121c, the first current circuit71supplies the first current I1between a connection point CP9of the first magnetic interconnect one part21e, the second magnetic interconnect other part22f, the third magnetic interconnect other part23f, and the fourth magnetic interconnect one part24e, and a connection point CP10of the first magnetic interconnect other part21f, the second magnetic interconnect one part22e, the third magnetic interconnect one part23e, and the fourth magnetic interconnect other part24f.

FIGS.13A to13Care schematic cross-sectional views illustrating the sensor according to the first embodiment.

As shown inFIG.13A, the element part10U includes a second magnetic member52, a second counter magnetic member52A, the second magnetic element12E, and the second magnetic interconnect22. A direction from the second magnetic member52to the second opposing magnetic member52A is along the first direction D1. A second gap52gis provided between the second magnetic member52and the second counter magnetic member52A.

The second magnetic element12E includes a second magnetic region12r. A direction from the second magnetic region12rto the second gap52gis along the second direction D2. A direction from the second magnetic interconnect22to the second magnetic region12ris along the second direction D2.

The second magnetic element12E includes a second magnetic layer12, a second counter magnetic layer12o, and a second non-magnetic layer12n. The second non-magnetic layer12nis provided between the second magnetic layer12and the second counter magnetic layer12o. A direction from the second opposed magnetic layer12oto the second magnetic layer12is along the second direction D2.

As shown inFIG.13B, the element part10U includes a third magnetic member53, a third counter magnetic member53A, the third magnetic element13E, and the third magnetic interconnect23. A direction from the third magnetic member53to the third opposed magnetic member53A is along the first direction D1. A third gap53gis provided between the third magnetic member53and the third opposed magnetic member53A.

The third magnetic element13E includes a third magnetic region13r. A direction from the third magnetic region13rto the third gap53gis along the second direction D2. A direction from the third magnetic interconnect23to the third magnetic region13ris along the second direction D2.

The third magnetic element13E includes a third magnetic layer13, a third counter magnetic layer13o, and a third non-magnetic layer13n. The third non-magnetic layer13nis provided between the third magnetic layer13and the third counter magnetic layer13o. A direction from the third magnetic layer13oto the third magnetic layer13is along the second direction D2.

As shown inFIG.13C, the element part10U includes a fourth magnetic member54, a fourth counter magnetic member54A, the fourth magnetic element14E, and the fourth magnetic interconnect24. A direction from the fourth magnetic member54to the fourth counter magnetic member54A is along the first direction D1. A fourth gap54gis provided between the fourth magnetic member54and the fourth counter magnetic member54A.

The fourth magnetic element14E includes a fourth magnetic region14r, and a direction from the fourth magnetic region14rto the fourth gap54gis along the second direction D2.

The fourth magnetic element14E includes a fourth magnetic layer14, a fourth counter magnetic layer14o, and a fourth non-magnetic layer14n. The fourth non-magnetic layer14nis provided between the fourth magnetic layer14and the fourth counter magnetic layer14o. A direction from the fourth magnetic layer14oto the fourth magnetic layer14is along the second direction D2.

The configurations and materials of the second to fourth magnetic elements12E to14E may be the same as the configurations and materials of the first magnetic elements11E.

FIGS.14A to14Dare schematic perspective views illustrating the sensor according to the first embodiment.

As shown inFIG.14A, a length of the first magnetic layer11along the first direction D1is defined as a length L1. A length of the first magnetic layer11along the third direction D3is defined as a length w1. A length of the first magnetic layer11along the second direction D2is defined as a length t1. The length L1is longer than the length t1. The length w1is, for example, longer than the length t1.

As shown inFIG.14B, a length of the second magnetic layer12along the first direction D1is defined as a length L2. A length of the second magnetic layer12along the third direction D3is defined as a length w2. A length of the second magnetic layer12along the second direction D2is defined as a length t2. The length L2is longer than the length t2. The length w2is, for example, longer than the length t2.

As shown inFIG.14C, a length of the third magnetic layer13along the first direction D1is defined as a length L3. A length of the third magnetic layer13along the third direction D3is defined as a length w3. A length of the third magnetic layer13along the second direction D2is defined as a length t3. The length L3is longer than the length t3. The length w3is, for example, longer than the length t3.

As shown inFIG.14D, a length of the fourth magnetic layer14along the first direction D1is defined as a length L4. A length of the fourth magnetic layer14along the third direction D3is defined as a length w4. A length of the fourth magnetic layer14along the second direction D2is defined as a length t4. The length L4is longer than the length t4. The length w4is, for example, longer than the length t4.

In the embodiment, each of the lengths L1to L4is, for example, not less than 0.1 μm and not more than 10 mm. Each of the lengths w1to w4is, for example, not less than 0.01 μm and not more than 1 mm. Each of the lengths t1to t4is, for example, not less than 1 nm and not more than 100 nm. It is easy to obtain good even function characteristics.

Second Embodiment

The second embodiment relates to an inspection device. As described later, the inspection device may include a diagnostic device.

FIG.15is a schematic perspective view illustrating an inspection device according to a second embodiment.

As shown inFIG.15, an inspection device710according to the embodiment includes a sensor150aand a processor770. The sensor150amay be the sensor according to any one of the first embodiments and a modification thereof. The processor770processes an output signal obtained from the sensor150a. The processor770may compare the signal obtained from the sensor150awith the reference value. The processor770can output the inspection result based on the processing result.

For example, the inspection device710inspects an inspection target680. The inspection target680is, for example, an electronic device (including a semiconductor circuit or the like). The inspection target680may be, for example, a battery610or the like.

For example, the sensor150aaccording to the embodiment may be used together with the battery610. For example, a battery system600includes the battery610and the sensor150a. The sensor150acan detect the magnetic field generated by the current flowing through the battery610.

FIG.16is a schematic plan view illustrating the inspection device according to the second embodiment.

As shown inFIG.16, the sensor150aincludes, for example, multiple sensors according to the embodiment. In this example, the sensor150aincludes multiple sensors (eg, sensor110, etc.). The multiple sensors are arranged along, for example, two directions (for example, the X-axis direction and the Y-axis direction). The multiple sensors110are provided, for example, on a base body.

The sensor150acan detect the magnetic field generated by the current flowing through the inspection target680(for example, the battery610may be used). For example, when the battery610approaches an abnormal state, an abnormal current may flow through the battery610. By detecting the abnormal current with the sensor150a, it is possible to know the change in the state of the battery610. For example, in a state where the sensor150ais placed close to the battery610, the entire battery610can be inspected in a short time by using the sensor group driving means in two directions. The sensor150amay be used for inspection of the battery610in manufacturing the battery610.

The sensor according to the embodiment can be applied to, for example, the inspection device710such as a diagnostic device.

FIG.17is a schematic view illustrating the sensor and the inspection device according to the second embodiment.

As shown inFIG.17, a diagnostic device500, which is an example of the inspection device710, includes a sensor150. The sensor150includes the sensors described with respect to the first embodiment and modifications thereof.

In the diagnostic apparatus500, the sensor150is, for example, a magnetoencephalograph. The magnetoencephalograph detects the magnetic field generated by the cranial nerves. When the sensor150is used in a magnetoencephalograph, the size of the magnetic element included in the sensor150is, for example, not less than 1 mm and less than 10 mm.

As shown inFIG.17, the sensor150(magnetoencephalogram) is attached to, for example, the head of a human body. The sensor150(magnetoencephalogram) includes a sensor part301. The sensor150(magnetoencephalogram) may include multiple sensor parts301. The number of the multiple sensor parts301is, for example, about 100 (for example, not less than 50 and not more than 150). The multiple sensor parts301are provided on a flexible base body302.

The sensor150may include, for example, a circuit such as differential detection. The sensor150may include a sensor other than the sensor (for example, a potential terminal or an acceleration sensor).

A size of the sensor150is smaller than a size of a conventional SQUID (Superconducting Quantum Interference Device) sensor. Therefore, it is easy to install the multiple sensor parts301. Installation of the multiple sensor parts301and other circuits is easy. The coexistence of the multiple sensor parts301and other sensors is easy.

The base body302may include an elastic body such as a silicone resin. For example, the multiple sensor parts301are provided to be connected to the base body302. The base body302can be in close contact with the head, for example.

The input/output code303of the sensor part301is connected to a sensor driver506and a signal input/output504of the diagnostic device500. The magnetic field measurement is performed in the sensor part301based on the electric power from the sensor driver506and the control signal from the signal input/output504. The result is input to the signal input/output504. The signal obtained by the signal input/output504is supplied to a signal processor508. The signal processor508performs processing such as noise removal, filtering, amplification, and signal calculation. The signal processed by the signal processor508is supplied to a signal analyzer510. The signal analyzer510extracts, for example, a specific signal for magnetoencephalography measurement. In the signal analyzer510, for example, signal analysis for matching signal phases is performed.

The output of the signal analyzer510(data for which signal analysis has been completed) is supplied to a data processor512. The data processor512performs data analysis. In this data analysis, for example, image data such as MRI (Magnetic Resonance Imaging) can be incorporated. In this data analysis, for example, scalp potential information such as EEG (Electroencephalogram) can be incorporated. For example, a data part514such as MRI or EEG is connected to the data processor512. By the data analysis, for example, nerve ignition point analysis, inverse problem analysis, and the like are performed.

The result of the data analysis is supplied to, for example, an imaging diagnostic516. Imaging is performed in the imaging diagnostic516. Imaging assists in diagnosis.

The above series of operations is controlled by, for example, a control mechanism502. For example, necessary data such as primary signal data or metadata in the middle of data processing is stored in the data server. The data server and the control mechanism may be integrated.

The diagnostic device500according to the embodiment includes the sensor150and the processor that processes an output signal obtained from the sensor150. This processor includes, for example, at least one of a signal processor508and a data processor512. The processor includes, for example, a computer.

In the sensor150shown inFIG.17, the sensor part301is installed on the head of the human body. The sensor part301may be installed on the chest of the human body. This enables magnetocardiography measurement. For example, the sensor part301may be installed on the abdomen of a pregnant woman. This makes it possible to perform a fetal heartbeat test.

The sensor device including the subject is preferably installed in a shield room. Thereby, for example, the influence of geomagnetism or magnetic noise can be suppressed.

For example, a mechanism for locally shielding the measurement site of the human body or the sensor part301may be provided. For example, the sensor part301may be provided with a shield mechanism. For example, effective shielding may be performed in the signal analysis or the data processing.

In embodiments, the base body302may be flexible and may be substantially non-flexible. In the example shown inFIG.17, the base body302is a continuous film processed into a hat shape. The base body302may be in a net shape. Thereby, for example, good wearability can be obtained. For example, the adhesion of the base body302to the human body is improved. The base body302may be helmet-shaped and may be rigid.

FIG.18is a schematic view illustrating the inspection device according to the second embodiment.

FIG.18is an example of a magnetocardiograph. In the example shown inFIG.18, the sensor part301is provided on a flat plate-shaped hard base body305.

In the example shown inFIG.18, the input/output of the signal obtained from the sensor part301is the same as the input/output described with respect toFIG.17. In the example shown inFIG.18, the processing of the signal obtained from the sensor part301is the same as the processing described with respect toFIG.17.

There is a reference example of using a SQUID (Superconducting Quantum Interference Device) sensor as a device for measuring a weak magnetic field such as a magnetic field generated from a living body. In this reference example, since superconductivity is used, the device is large and the power consumption is also large. The burden on the measurement target (patient) is heavy.

According to the embodiment, the device can be downsized. Power consumption can be suppressed. The burden on the measurement target (patient) can be reduced. According to the embodiment, the SN ratio of magnetic field detection can be improved. Sensitivity can be improved.

The embodiment may include the following configurations (eg, technical proposals).

A sensor, comprising:a first magnetic member;a first counter magnetic member, a direction from the first magnetic member to the first counter magnetic member being along a first direction, a first gap being provided between the first magnetic member and the first counter magnetic member;a first magnetic element including a first magnetic region, a second direction from the first magnetic region to the first gap crossing the first direction; anda first magnetic interconnect, a direction from the first magnetic interconnect to the first magnetic region being along the second direction.
Configuration 2

The sensor according to Configuration 1, further comprising: a control circuit part including a first current circuit, andthe first current circuit is configured to supply a first current to the first magnetic interconnect, the first current including an AC component.
Configuration 3

The sensor according to Configuration 2, whereinthe first magnetic interconnect includes a first magnetic interconnect one part and a first magnetic interconnect other part,a third direction from the first magnetic interconnect one part to the first magnetic interconnect other part crosses a plane including the first direction and the second direction, andthe first current flows in an orientation from the first magnetic interconnect one part to the first magnetic interconnect other part, or in an orientation from the first magnetic interconnect other part to the first magnetic interconnect one part.
Configuration 4

The sensor according to Configuration 2 or 3, whereinthe first current is supplied to the first magnetic interconnect,an electrical resistance of the first magnetic element is a first resistance value when the first current is a first value current, the electrical resistance is a second resistance value when the first current is a second value current, and the electrical resistance is a third resistance value when the first current is a third value current,an orientation of the second value current is opposite to an orientation of the third value current,an absolute value of the first value current is smaller than an absolute value of the second value current, and smaller than an absolute value of the third value current, andthe first resistance value is lower than the second resistance value and the third resistance value, or higher than the second resistance value and the third resistance value.
Configuration 5

The sensor according to Configuration 2 or 3, whereinan electrical resistance of the first magnetic element has characteristics of an even function with respect to the first current when the first current is supplied to the first magnetic interconnect.

The sensor according to any one of Configurations 1 to 5, whereinthe first magnetic interconnect includes a first surface and a second surface,a position of the second surface in the second direction is between a position of the first surface in the second direction and a position of the first magnetic member in the second direction, andat least a part of the first surface is non-parallel to at least a part of the second surface.
Configuration 7

The sensor according to any one of Configurations 1 to 5, whereinthe first magnetic interconnect includes a first partial region and a second partial region,a direction from the first partial region to the second partial region is along the first direction, anda first thickness of the first partial region along the second direction is different from a second thickness of the second partial region along the second direction.
Configuration 8

The sensor according to any one of Configurations 1 to 5, whereinthe first magnetic interconnect includes a first partial region and a second partial region,a direction from the first partial region to the second partial region is along the first direction, anda material of at least a part of the first partial region is different from a material of at least a part of the second partial region.
Configuration 9

The sensor according to Configuration 3, wherein the control circuit part further includes an element circuit configured to supply an element current to the first magnetic element,the first magnetic element includes a first magnetic element one end part and a first magnetic element other end part,the first magnetic interconnect one part corresponds to the first magnetic element one end part,the first magnetic interconnect other part corresponds to the first magnetic element other end part, andthe first element current flows from the first magnetic element one end part to the first magnetic element other end part.
Configuration 10

The sensor according to Configuration 1 or 2, whereinthe element part further includesa second magnetic element including a second magnetic element one end part and a second magnetic element other end part,a first resistance element including a first resistance element one end part and a first resistance element other end part, anda second resistance element including a second resistance element one end part and a second resistance element other end part,the first magnetic element includes a first magnetic element one end part and a first magnetic element other end part,the first magnetic element one end part is electrically connected to the first resistance element one end part,the second magnetic element one end part is electrically connected to the first magnetic element other end part,the second resistance element one end part is electrically connected to the first resistance element other end part,the second magnetic element other end part is electrically connected to the second resistance element other end part,the first current circuit is configured to supply the first current to the second magnetic interconnect,the control circuit part further includes a detection circuit, andthe detection circuit is configured to detect a change in potential between the first magnetic element other end part and the first resistance element other end part.
Configuration 11

The sensor according to Configuration 10, whereinthe control circuit part further includes an element circuit, andthe element circuit is configured to supply an element current between a connection point of the first magnetic element one end part and the first resistance element one end part, and a connection point of the second magnetic element other end part and the second resistance element other end part.
Configuration 12

The sensor according to Configuration 10 or 11, whereinthe element part further includes a second magnetic interconnect,the first magnetic interconnect includesa first magnetic interconnect one part corresponding to the first magnetic element one end part, anda first magnetic interconnect other part corresponding to the first magnetic element other end part,the second magnetic interconnect includesa second magnetic interconnect one part corresponding to the second magnetic element one end part, anda second magnetic interconnect other part corresponding to the second magnetic element other end part, andwhen the first current flows in an orientation from the first magnetic interconnect other part to the first magnetic interconnect one part, the first current flows in an orientation from the second magnetic interconnect one part to the second magnetic interconnect other part.
Configuration 13

The sensor according to Configuration 1 or 2, whereinthe element part further includesa second magnetic element including a second magnetic element one end part and a second magnetic element other end part,a third magnetic element including a third magnetic element one end part and a third magnetic element other end part, anda fourth magnetic element including a fourth magnetic element one end part and a fourth magnetic element other end part,the first magnetic element includes a first magnetic element one end part and the first magnetic element other end part,the first magnetic element one end part is electrically connected to the third magnetic element one end part,the second magnetic element one end part is electrically connected to the first magnetic element other end part,the fourth magnetic element one end part is electrically connected to the third magnetic element other end part,the second magnetic element other end part is electrically connected to the fourth magnetic element other end part,the first current circuit is configured to supply the first current to the second magnetic interconnect, the third magnetic interconnect and the fourth magnetic interconnect,the control circuit part further includes a detection circuit, andthe detection circuit is configured to detect a change in potential between the first magnetic element other end part and the third magnetic element other end part.
Configuration 14The sensor according to Configuration 13, whereinthe control circuit part further includes an element circuit, and

the element circuit is configured to supply an element current between a connection point of the first magnetic element one end part and the third magnetic element one end part, and a connection point of the second magnetic element other end part and the fourth magnetic element one other end part.

The sensor according to Configuration 13 or 14, whereinthe element part further includes a second magnetic interconnect, a third magnetic interconnect, and a fourth magnetic interconnect,the first magnetic interconnect includesa first magnetic interconnect one part corresponding to the first magnetic element one end part, anda first magnetic interconnect other part corresponding to the first magnetic element other end part,the second magnetic interconnect includesa second magnetic interconnect one part corresponding to the second magnetic element one end part, anda second magnetic interconnect other part corresponding to the second magnetic element other end part,the third magnetic interconnect includesa third magnetic interconnect one part corresponding to the third magnetic element one end part, anda third magnetic interconnect other part corresponding to the third magnetic element other end part,the fourth magnetic interconnect includesa fourth magnetic interconnect one part corresponding to the third magnetic element one end part, anda fourth magnetic interconnect other part corresponding to the fourth magnetic element other end part, andwhen the first current flows in an orientation from the first magnetic interconnect other part to the first magnetic interconnect one part, the first current flows in an orientation from the second magnetic interconnect one part to the second magnetic interconnect other part, the first current flows in an orientation from the third magnetic interconnect one part to the third magnetic interconnect other part, and the first current flows in an orientation from the fourth magnetic interconnect other part to the fourth magnetic interconnect one part.
Configuration 16

The sensor according to any one of Configurations 1 to 15, whereinthe first magnetic element includesa first magnetic layer,a first counter magnetic layer, anda first non-magnetic layer provided between the first magnetic layer and the first counter magnetic layer, anda direction from the first counter magnetic layer to the first magnetic layer is along the second direction.
Configuration 17

The sensor according to any one of Configurations 1 to 16, whereina position of the first magnetic element in the second direction is between a position of the first magnetic interconnect in the second direction and a position of the first magnetic member in the second direction.
Configuration 18

The sensor according to any one of Configurations 1 to 17, whereina part of the first magnetic element overlaps the first magnetic member in the second direction, andan other part of the first magnetic element overlaps the first counter magnetic member in the second direction.
Configuration 19

The sensor according to any one of Configurations 1 to 18, whereinthe first magnetic element does not overlap the first magnetic member and the first counter magnetic member in the second direction.
Configuration 20

An inspection device, comprising:the sensor according to any one of Configurations 1 to 19; anda processor configured to process a signal output from the sensor.

According to the embodiment, a sensor and an inspection device can be provided, in which characteristics are possible to be improved.

Moreover, all sensors, and inspection devices practicable by an appropriate design modification by one skilled in the art based on the sensors, and the inspection devices described above as embodiments of the invention also are within the scope of the invention to the extent that the purport of the invention is included.