Position sensor, position detection method, and vehicle

By setting up detection elements with different sensitivities in automotive position sensors and performing signal correction, the problem of stray field interference under low-frequency magnetic fields is solved, and the detection quality and high-precision detection capabilities in the frequency range are improved.

CN118565320APending Publication Date: 2024-08-30DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410504503.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing high-sensitivity automotive position sensors are susceptible to stray field interference under low-frequency magnetic field changes, resulting in reduced stability and accuracy.

Method used

The first field strength detection element and the second field strength detection element with different sensitivities are set in the permanent magnet magnetic field, and the signal output circuit is used to correct the first field strength signal according to the second field strength signal to eliminate errors caused by stray fields. Achieve high-accuracy signal output at low frequencies.

Benefits of technology

It improves the detection quality of the position sensor, expands the frequency range of high-precision detection, and ensures signal stability and accuracy under low-frequency magnetic field changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565320A
    Figure CN118565320A
Patent Text Reader

Abstract

The invention discloses a position sensor, a position detection method and a vehicle. The position sensor comprises a permanent magnet, a first field intensity detection element, a second field intensity detection element and a signal output circuit. The permanent magnet emits a magnetic field. The first field intensity detection element and the second field intensity detection element are arranged on one side of the permanent magnet at intervals and located in the magnetic field, and the sensitivity of the first field intensity detection element is higher than that of the second field intensity detection element. The signal output circuit receives a first field intensity signal and a second field intensity signal detected by the first field intensity detection element and the second field intensity detection element respectively, and corrects the first field intensity signal according to the second field intensity signal. When the change frequency of the magnetic field is low, the interference of the stray field on the first field intensity detection element is obvious, the first field intensity signal is corrected through the second field intensity signal, the interference of the stray field is eliminated, stable output of a high-accuracy signal at a low frequency can be realized, and the detection quality of the position sensor is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to sensor The technical field relates particularly to a position sensor, a position detection method and a vehicle. Background Art

[0002] Automotive position sensors are mainly used in automobiles to monitor and record the positions of crankshafts, camshafts, throttles, brakes or accelerator pedals. Common ones include camshaft phase sensors, crankshaft speed sensors, etc. These sensors currently sense changes in the surrounding set magnetic field through sensitive elements to output sensor signals.

[0003] When the vehicle is running, each harness and component will generate an induced magnetic field when current is transmitted, and the induced magnetic field forms a stray field. The structure of the sensitive element is different, and the sensitivity and stability of the induction to the change of the set magnetic field are different. Generally, the sensitive element with high sensitivity is sensitive to the smaller change of the magnetic field caused by the stray field.

[0004] When the frequency of the magnetic field change is set to be low, the amplitude of the resistance change of the sensitive element is not very significant. At this time, if there is a stray field, the resistance change of the sensitive element caused by the stray field and the set magnetic field change is equivalent, which will cause obvious interference to the signal output by the sensitive element, resulting in a reduction in the stability and accuracy of the position sensor. Summary of the invention

[0005] The present application provides a position sensor, a position detection method and a vehicle to solve the technical problems of low stability and recognition accuracy of existing high-sensitivity automobile position sensors.

[0006] In view of the above problems, the present application is proposed to provide a position sensor, a position detection method and a vehicle that overcome the above problems or at least partially solve the above problems.

[0007] In a first aspect, a position sensor is provided, comprising: a permanent magnet, a first field strength detection element, a second field strength detection element, and a signal output circuit;

[0008] Permanent magnets are used to emit magnetic fields;

[0009] The first field strength detection element and the second field strength detection element are arranged at one side of the permanent magnet and are located in the magnetic field. The first field strength detection element and the second field strength detection element are used to detect the strength of the magnetic field and output it. The first field strength detection element has a first sensitivity, and the second field strength detection element has a second sensitivity, and the first sensitivity is greater than the second sensitivity.

[0010] The signal output circuit is electrically connected to the first field strength detection element and the second field strength detection element respectively, and is used to receive a first field strength signal detected by the first field strength detection element, receive a second field strength signal detected by the second field strength detection element, correct the first field strength signal according to the second field strength signal and output a sensor signal; wherein the sensor signal is output to the controller so that the controller determines the position of the object to be detected moving in the magnetic field according to the sensor signal.

[0011] Optionally, the first field intensity signal includes a first rising edge and a first falling edge, the time range corresponding to the first rising edge is 0.1 microseconds to 1.5 microseconds, and the time range corresponding to the first falling edge is 0.15 microseconds to 2.5 microseconds;

[0012] The second field intensity signal includes a second rising edge and a second falling edge. The time range corresponding to the second rising edge is 5 microseconds to 20 microseconds, and the time range corresponding to the second falling edge is 7 microseconds to 30 microseconds.

[0013] Optionally, the first sensitivity is more than 10 times the second sensitivity.

[0014] Optionally, the magnetic field includes a symmetrical first magnetic field region and a second magnetic field region, the first field strength detection element is located in the first magnetic field region, and the second field strength detection element is located in the second magnetic field region, wherein the intensity of the magnetic field at the first field strength detection element is the same as the intensity at the second field strength detection element, and the direction of the magnetic field at the first field strength detection element is symmetrical to the direction at the second field strength detection element.

[0015] Optionally, the first field intensity detection element is a tunneling magnetoresistive element;

[0016] The tunneling magnetoresistive element comprises a bridge circuit, the bridge circuit comprises at least one bridge arm, each bridge arm is provided with a magnetoresistive junction, or a plurality of magnetoresistive junctions connected in series;

[0017] The magnetoresistance junction includes an antiferromagnetic layer, a pinned layer, a barrier layer, a free layer, and an electrode layer arranged in sequence, wherein the electrode layer includes a first isolation layer and a conductive layer arranged in sequence, and the first isolation layer is close to the free layer; wherein the first isolation layer includes more than two non-magnetic metal layers.

[0018] Optionally, the pinned layer includes a first magnetic layer, a second isolation layer, and a second magnetic layer arranged in sequence, the first magnetic layer is close to the antiferromagnetic layer, and the second magnetic layer is close to the barrier layer; the first magnetic layer and the second magnetic layer have a fixed magnetic moment, wherein the first isolation layer includes more than two non-magnetic metal layers.

[0019] Optionally, the magnetoresistive junction further includes a substrate and a third isolation layer, wherein the substrate and the third isolation layer are located on a side of the antiferromagnetic layer away from the pinned layer, wherein the third isolation layer is close to the antiferromagnetic layer, and the third isolation layer includes at least two non-magnetic metal layers.

[0020] In a second aspect, a position detection method is provided, comprising:

[0021] receiving a first field strength signal detected by a first field strength detection element;

[0022] A second field strength signal detected by a second field strength detection element is received, wherein the first field strength detection element and the second field strength detection element are arranged at intervals on one side of the permanent magnet and are located in the magnetic field emitted by the permanent magnet; wherein the first field strength detection element has a first sensitivity, the second field strength detection element has a second sensitivity, and the first sensitivity is greater than the second sensitivity.

[0023] Correcting the first field intensity signal according to the second field intensity signal and outputting a sensor signal;

[0024] The position of the object to be measured moving in the magnetic field is determined based on the sensor signal.

[0025] Optionally, determining the position of the object to be measured moving in the magnetic field according to the field strength signal includes:

[0026] Determine a first curve of the field intensity signal detected by the first field intensity detection element changing with time;

[0027] Determine a second curve of the field intensity signal detected by the second field intensity detection element changing with time;

[0028] The abnormal band of the first curve is cut off and the first curve is compensated by the second curve to obtain a third curve; the abnormal band includes the intensity information of the stray field detected by the first field intensity detection element when the intensity change of the magnetic field is lower than the set frequency;

[0029] converting the third curve into a square wave signal according to the set reference value;

[0030] Output sensor signal according to square wave signal;

[0031] Determine the position of the object to be measured moving in the magnetic field based on the sensor signal, including:

[0032] According to the square wave signal, the position of the object to be measured moving in the first magnetic field area is obtained.

[0033] According to a third aspect, a vehicle is provided, comprising the position sensor according to the first aspect.

[0034] The technical solution provided by this application has at least the following technical effects or advantages:

[0035] The position sensor, position detection method and vehicle provided by the present application simultaneously sense the change of the magnetic field by setting field strength detection elements with different sensitivities in the magnetic field of the permanent magnet. When the frequency of magnetic field change is high, the first field strength detection element with higher sensitivity can directly output a stable signal with high sensitivity. When the frequency of magnetic field change is low, the second field strength signal output by the second field strength detection element with lower sensitivity is highly accurate and not interfered by stray fields. The first field strength detection element is interfered by the stray field due to its high sensitivity, and there is an error signal caused by the stray field in the first field strength signal output by it. At this time, the first field strength signal is compensated and corrected by the second field strength signal, and the error caused by the first field strength signal being interfered by the stray field is eliminated, so that the stable output of the signal with high accuracy at low frequency can be achieved, the detection quality of the position sensor is improved, and the frequency range of the position sensor for high-precision detection is expanded.

[0036] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0038] Figure 1 This is a structural block diagram of a position sensor in an embodiment of the present application;

[0039] Figure 2 This is a structural diagram of a camshaft phase sensor in an embodiment of the present application;

[0040] Figure 3 This is a structural diagram of a bridge circuit in an embodiment of the present application;

[0041] Figure 4 This is a diagram of the magnetoresistive junction structure in an embodiment of the present application;

[0042] Figure 5 A stacked structure diagram of a magnetoresistive junction in an embodiment of the present application;

[0043] Figure 6 This is a flow chart of position detection in an embodiment of the present application;

[0044] Figure 7 This is a schematic diagram of a sine wave signal in an embodiment of the present application;

[0045] Figure 8This is a schematic diagram of a square wave signal in an embodiment of the present application;

[0046] Fig. 9 A schematic diagram of a vehicle in an embodiment of the present application;

[0047] Fig.10 This is a schematic diagram of a signal disk of a camshaft in an embodiment of the present application;

[0048] Fig.11 Schematic diagram showing the correspondence between the camshaft and the square wave signal in the embodiment of the present application. DETAILED DESCRIPTION

[0049] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings.

[0050] Various structural schematic diagrams according to embodiments of the present application are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may further design regions / layers with different shapes, sizes, and relative positions according to actual needs.

[0051] In order to better understand the above-mentioned technical scheme, the above-mentioned technical scheme will be described in detail below in combination with specific implementation methods. It should be understood that the embodiments of the present disclosure and the specific features in the embodiments are detailed descriptions of the technical scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.

[0052] In the field of position measurement applied to vehicles, in response to the rotation of a target object (such as a wheel, camshaft, crankshaft, etc.) in a magnetic field, a magnetic sensor can sense the change in the set magnetic field generated by a permanent magnet when the target object moves and output a sensor signal. The sensor signal can be converted into a pulse, which is further converted into a phase, movement detection or speed output.

[0053] Magnetic sensors sense changes in magnetic fields through sensitive elements. Existing sensitive elements used in magnetic sensors include TMR (Tunnel Magneto Resistance) tunnel magnetoresistance elements, AMR (Anisotropic Magnetoresistance) anisotropic magnetoresistance elements, GMR (Giant Magnetoresistance) giant magnetoresistance elements, and Hall elements.

[0054] Different structures of sensitive elements have different sensitivity and stability to changes in the set magnetic field. Generally, sensitive elements with high sensitivity can detect small changes in the set magnetic field, that is, a small change in the magnetic field can cause a large sensor output. When the target object moves, the position changes relatively slowly and the frequency of changes in the set magnetic field is low. The slow change in the magnetic field causes an insignificant change in magnetic resistance. At this time, if there is stray field interference, the stray field and the set magnetic field cause the same change in magnetic resistance. Then, the sensor signal output based on the change in the resistance of the sensitive element will have errors, making it difficult for the position sensor to stably output high-precision sensor signals under low-frequency conditions.

[0055] In view of this, the present application provides a position sensor 100, please refer to Figure 1 , Figure 1 1 is a structural block diagram of a position sensor 100 in an embodiment of the present application. The position sensor 100 includes a permanent magnet 101 , a first field strength detection element 102 , a second field strength detection element 103 , and a signal output circuit 104 .

[0056] The permanent magnet 101 is used to emit a magnetic field, and one side of the magnetic field has a symmetrical first magnetic field region 1011 and a second magnetic field region 1012. The magnetic field strengths of the first magnetic field region 1011 and the second magnetic field region 1012 are the same and the directions are symmetrical. The permanent magnet 101 can be a bar magnet with one end as a positive pole and the other end as a negative pole, which is not limited here.

[0057] The first field strength detection element 102 and the second field strength detection element 103 are arranged at intervals on one side of the permanent magnet 101 and are located in the magnetic field. Exemplarily, the first field strength detection element 102 is arranged in the first magnetic field region 1011, and is used to detect the strength of the magnetic field in the first magnetic field region 1011. The second field strength detection element 103 is arranged in the second magnetic field region 1012, and is used to detect the strength of the magnetic field in the second magnetic field region 1012. The first field strength detection element 102 has a first sensitivity, and the second field strength detection element 103 has a second sensitivity, and the first sensitivity is greater than the second sensitivity.

[0058] The resistance value of the first field strength detection element 102 changes with the change of the magnetic field strength, and outputs a first field strength signal representing the change law of the magnetic field strength of the first magnetic field region 1011. The resistance value of the second field strength detection element 103 changes with the change of the magnetic field strength, and outputs a second field strength signal representing the change law of the magnetic field strength of the second magnetic field region 1012. The first field strength signal and the second field strength signal respectively include information about the change of the strength of the magnetic field detected by the first field strength detection element 102 and the second field strength detection element 103.

[0059] Since the sensitivity of the first field strength detection element 102 is greater than the sensitivity of the second field strength detection element 103, when the target object's movement frequency is very high and causes a high-frequency change in the set magnetic field, the first field strength detection element 102 with higher sensitivity quickly outputs a sensor signal with a large change amplitude. When there is a stray field, the stray field causes a small change in the magnetic field, and the change in the sensor signal caused by the stray field accounts for a very small proportion compared to the change in the sensor signal caused by the movement of the target object, and thus will not affect the result of determining the target displacement change through the sensor signal.

[0060] When the target object moves at a very low frequency, causing the set magnetic field to change at a low frequency, the first field strength detection element 102 is interfered by the stray field due to its high sensitivity, and there is an error in the first field strength signal it outputs, while the second field strength detection element 103 is not sensitive to the slight change of the stray field due to its low sensitivity, and the output second field strength signal is not interfered by the stray field. At this time, the part of the first field strength signal interfered by the stray field is cut off, and the first field strength signal is compensated and corrected by the second field strength signal, so that the error caused by the interference of the stray field on the first field strength signal can be eliminated, and the stable output of the high-sensitivity signal at low frequency can be achieved, thereby improving the detection quality of the position sensor.

[0061] The signal output circuit 104 is electrically connected to the first field strength detection element 102 and the second field strength detection element 103, respectively, and is used to receive the first information of the change of magnetic field strength detected by the first field strength detection element 102, that is, to receive the first field strength signal detected by the first field strength detection element 102. The signal output circuit 104 also receives the second information of the change of magnetic field strength detected by the second field strength detection element 103, that is, to receive the second field strength signal detected by the second field strength detection element 103. The signal output circuit 104 is also used to correct the first field strength signal according to the second field strength signal and output a sensor signal, wherein the sensor signal is used to determine the position of the object to be detected moving in the magnetic field.

[0062] The signal output circuit 104, which may be referred to as a sensor circuit or a signal conditioning circuit, receives one or more signals in the form of raw measurement data from one or more field intensity detection elements, and obtains sensor signals representing magnetic field changes from these signals.

[0063] The signal output circuit 104 can process the received signal, including but not limited to circuits, chips or components with functions such as analog to digital conversion, amplification, filtering, conversion, biasing, range matching, isolation, and judgment, etc., with the purpose of outputting the sensor signal required by the subsequent signal processing device. The subsequent signal processing device can be a device that parses the location information of the target object from the sensor signal, such as a processor.

[0064] For example, the signal output circuit 104 may include an analog-to-digital converter (ADC) that converts analog signals from one or more field intensity detection elements into digital signals. The signal output circuit 104 may also include a digital signal processor (DSP).

[0065] It is understandable that the signal output circuit 104 can be an integrated circuit directly processed on an integrated circuit board with functions such as analog-to-digital conversion, amplification, filtering, biasing, range matching, isolation, and judgment, or it can be a plurality of components with corresponding functions connected in sequence to realize the processing of electrical signals.

[0066] The position sensor 100 is applied to a vehicle and may be a camshaft phase sensor or a crankshaft speed sensor.

[0067] Taking the TMR tunneling magnetoresistance element as a sensitive element, it has the advantages of high sensitivity, low power consumption, good linearity, and wide dynamic range, and can be installed on the car as a camshaft phase sensor. When the car is running, external devices (such as wires and conductive elements) located in the environment near the camshaft phase sensor will introduce an induced magnetic field, thereby forming a stray field.

[0068] The stray field is a random signal. The low-frequency rotation of the camshaft causes the low-frequency change of the magnetic field of the permanent magnet to be equivalent to the change of the stray field. Therefore, under low-frequency conditions, the stray field is superimposed on the magnetic field of the permanent magnet, causing the signal output of the TMR tunneling magnetoresistance element to change considerably, which is difficult to separate.

[0069] Therefore, when the camshaft speed is low, the stray field along the sensing axis of the camshaft phase sensor may additionally introduce an error component into the output signal of the camshaft phase sensor, causing the camshaft phase sensor to simultaneously output a camshaft phase signal and a signal caused by the stray field during operation. Especially when the camshaft speed is low, the signal caused by the stray field will change the sensitivity and linear range of the camshaft phase sensor, seriously affecting the signal output and reliability, and reducing the phase detection quality.

[0070] For example, Figure 2 The structure diagram of the camshaft phase sensor in the embodiment of the present application. The magnet 201 is a permanent magnet and is arranged in the housing 202. The magnetic field emitted by the magnet 201 has a symmetrical first magnetic field region 2011 and a second magnetic field region 2012. The first magnetic field region 2011 and the second magnetic field region 2012 are located on the same side of the magnet. The first field strength detection element 203 is arranged in the first magnetic field region 2011 as a sensitive element, and the second field strength detection element 204 is arranged in the second magnetic field region 2012 as a sensitive element. The intensity of the magnetic field at the first field strength detection element 203 and the intensity at the second field strength detection element 204 are the same and the direction is symmetrical.

[0071] like Figure 2 As shown, the first field strength detection element 203 and the second field strength detection element 204 are closer to the bottom of the housing 202 than the magnetic steel 201. It should be noted that a signal disk 206 is provided on the camshaft to be detected, and the camshaft and the signal disk 206 have the same rotation phase, and a plurality of convex teeth are evenly distributed circumferentially on the signal disk 206.

[0072] When the camshaft phase sensor is installed on the vehicle, the signal disk 206 is located in the first magnetic field area 2011. When the vehicle is running, the camshaft rotates and drives the signal disk 206 to rotate synchronously. When the convex teeth rotate in the first magnetic field area 2011, the magnetic field changes regularly. The first field intensity detection element 203 senses the change in the magnetic field and outputs a first field intensity signal, which is a sine wave signal.

[0073] During actual operation, when the camshaft rotates slowly, the frequency of changes in the magnetic field is low. At this time, if there is interference from stray fields causing slight changes in the magnetic field, this change will be detected by the first field strength detection element 203 with higher sensitivity, resulting in the first field strength signal output by it being mixed with information about the changes in the magnetic field caused by the stray fields, causing errors in the output signal of the first field strength detection element 203.

[0074] Since the second field strength detection element 204 has a low sensitivity and is not interfered by stray fields, the signal it outputs only represents the information about the change in the magnetic field caused by the rotation of the camshaft. At this time, the interference of the stray field on the sensor signal can be eliminated by correcting the first field strength signal through the second field strength signal, thereby improving the detection quality of the camshaft phase sensor and achieving high-precision camshaft phase output. It can be understood that the low sensitivity of the second field strength detection element 204 means that it takes a long time to output the signal when sensing a high-frequency changing magnetic field, and it does not represent its low accuracy. When the camshaft rotates slowly, the magnetic field changes slowly, and the second field strength detection element 204 can accurately detect the change in the magnetic field, thereby outputting a high-precision second field strength signal that is not interfered by stray fields. Therefore, it can be used to compensate for the truncated part of the first field strength signal, so that the sensor signal is complete, stable and accurate.

[0075] The first field intensity detection element and the second field intensity detection element are sensitive elements for sensing magnetic field changes, and tunneling magnetoresistance elements, anisotropic magnetoresistance elements, giant magnetoresistance elements and Hall elements can be used.

[0076] In some optional embodiments, the field intensity signal detected by the first field intensity detection element includes a first rising edge and a first falling edge. Exemplarily, the first field intensity detection element 203 may be a tunneling magnetoresistive element. The tunneling magnetoresistive element includes a bridge circuit, the bridge circuit includes at least one bridge arm, and each bridge arm is provided with a magnetoresistive junction, or a plurality of magnetoresistive junctions connected in series.

[0077] The tunneling magnetoresistive element detects the first information of the intensity change of the magnetic field and generates a first field strength signal; the first field strength signal includes a first rising edge and a first falling edge, the time range corresponding to the first rising edge is 0.1 microseconds to 1.5 microseconds, and the time range corresponding to the first falling edge is 0.15 microseconds to 2.5 microseconds.

[0078] In some optional embodiments, the field intensity signal detected by the second field intensity detection element includes a second rising edge and a second falling edge. Exemplarily, the second field intensity detection element 204 may be a Hall element. The Hall element includes a bridge circuit, the bridge circuit includes at least one bridge arm, and each bridge arm is provided with a Hall plate, or multiple Hall plates connected in series.

[0079] The Hall element detects the second information of the intensity change of the magnetic field and generates a second field strength signal; the second field strength signal includes a second rising edge and a second falling edge, the time range corresponding to the second rising edge is 5 microseconds to 20 microseconds, and the time range corresponding to the second falling edge is 7 microseconds to 30 microseconds.

[0080] In this way, the sensitivity of the tunneling magnetoresistive element is more than 10 times that of the Hall element. When the frequency of magnetic field change is low, the first field strength signal output by the tunneling magnetoresistive element due to the influence of the stray field has errors, and the Hall element has low sensitivity and is insensitive to changes in the magnetic field caused by stray fields. Therefore, the output second field strength signal includes information about the changes in the magnetic field caused by the camshaft rotating in the magnetic field. The second field strength signal is used to correct the first field strength signal to avoid interference of stray fields on the output signal of the tunneling magnetoresistive element, thereby improving the detection quality of the camshaft phase sensor and achieving high-precision camshaft phase output.

[0081] In some optional implementations, the magnetoresistive junction in the first field intensity detection element 203 is also coupled in parallel with at least one resistor. Figure 3 As shown, Figure 3 : is a structural diagram of a bridge circuit in an embodiment of the present application. Exemplarily, the bridge circuit may adopt a Wheatstone bridge structure, including four bridge arms 301, each bridge arm 301 is provided with a resistor element 302, the input end is provided with a constant current power supply Vin, and the output end outputs a voltage signal Uout, and the voltage signal can also be replaced by a current signal. It can be understood that when the bridge circuit is applied to the first field strength detection element 203, the voltage signal Uout is the output first field strength signal, and when the bridge circuit is applied to the second field strength detection element 204, the voltage signal Uout is the output second field strength signal.

[0082] The bridge circuit can be a full-bridge circuit, a half-bridge circuit, or a single-bridge circuit, wherein one resistor element 302 in the single-bridge circuit is a magnetoresistive junction, and the other three resistor elements 302 are fixed-value resistors, and the two opposite resistor elements 302 in the half-bridge circuit are magnetoresistive junctions, and the other two opposite resistor elements 302 are fixed-value resistors. The four resistor elements 302 in the full-bridge circuit are all magnetoresistive junctions.

[0083] Similarly, the Hall element can also be used as Figure 3 It should be noted that the bridge circuit structure shown in FIG. 2 is symmetrical in the magnetic field between the tunneling magnetoresistive element and the Hall element. Specifically, the magnetoresistive junction in the first magnetic field region 2011 and the Hall plates in the second magnetic field region 2012 have a one-to-one symmetrical relationship, that is, the magnetic field at the magnetoresistive junction and the Hall plate has the same strength but opposite directions.

[0084] In some optional embodiments, such as Figure 4 As shown, Figure 4 The magnetoresistive junction structure diagram in the embodiment of the present application. The magnetoresistive junction includes an antiferromagnetic layer 401, a pinned layer 402, a barrier layer 403, a free layer 404, and an electrode layer 405 arranged in sequence, wherein the electrode layer 405 includes a first isolation layer 4051 and a conductive layer 4052 arranged in sequence, and the first isolation layer 4051 is close to the free layer 404; wherein the first isolation layer 4051 includes more than two non-magnetic metal layers.

[0085] The magnetization direction of the free layer 404 changes with the change of the magnetic field strength. When the magnetization direction of the free layer 404 changes to be parallel to the magnetization direction of the pinned layer 402, the possibility of electrons tunneling through the barrier layer 403 will be greater, and the macroscopic manifestation is that the resistance of the magnetoresistive junction becomes smaller; if the magnetization direction of the free layer 404 changes to be antiparallel to the magnetization direction of the pinned layer 402, the possibility of electrons tunneling through the barrier layer 403 becomes smaller, and the macroscopic manifestation is that the resistance of the magnetoresistive junction is extremely large.

[0086] When the camshaft rotates in the first magnetic field region, the magnetic field strength changes regularly, and the resistance of the magnetoresistance junction in the second field strength detection element changes regularly, outputting a first field strength signal that switches rapidly between two resistance states (high resistance state and low resistance state). Based on this signal, the rotation phase of the camshaft can be obtained.

[0087] The antiferromagnetic layer 401 pins the magnetic moment of the pinned layer 402, so that the pinned layer 402 has a fixed magnetic moment. The material of the antiferromagnetic layer 401 can be one or more of platinum manganese alloy (PtMn), iridium manganese alloy (IrMn), and iron manganese alloy (FeMn). The thickness of the antiferromagnetic layer 401 can be 5 to 20 nm.

[0088] The barrier layer 403 is also called an insulating barrier layer, has a high resistance state, is the main source of resistance in the magnetoresistive junction, and directly determines the performance of the magnetoresistive junction. The barrier layer 403 can be made of magnesium oxide (MgO) material, and its thickness can be 2-3 nm.

[0089] The free layer 404 is a film layer that can change its magnetization direction with the change of stray field (current, voltage, magnetic field), and its material can be cobalt iron boron alloy. x1 Fe y1 B z1 , wherein x1+y1+z1=100, x1 is 40 to 80, y1 is 10 to 40, and z1 is 10 to 30. The free layer 404 may have a thickness of 2 to 8 nm.

[0090] The conductive layer 4052 has a conductive function and is mainly used to connect to an external circuit to derive the sensor signal generated on the magnetoresistive junction. The conductive layer 4052 can be a heavy metal, a topological insulator, or other conductive materials, selected from one or more of the following: platinum (Pt), gold (Au), tungsten (W), aluminum (Al), copper (Cu), silver (Ag), ruthenium (Ru), tantalum (Ta), and titanium (Ti).

[0091] The first isolation layer 4051 is a multilayer structure, and can be made of magnesium, tantalum, or ruthenium. For example, the first isolation layer 4051 is a double-layer structure composed of a magnesium layer and ruthenium. The magnesium layer contacts the free layer 404, preventing atoms of the free layer 404 from diffusing to the conductive layer 4052 under high temperature conditions, thereby reducing the performance fluctuation of the magnetoresistance junction at different temperatures. The ruthenium layer has good oxidation resistance and good density, which can prevent the magnetoresistance junction from being contaminated during the film deposition process, thereby avoiding the impact on the device performance. Furthermore, the thickness of the magnesium layer is 0.5 to 1 nm and the thickness of the ruthenium layer is 2 to 10 nm, which can ensure good temperature stability of the magnetoresistance junction while maintaining a small size.

[0092] It is to be understood that the high temperature conditions mentioned here refer to the relatively high temperature conditions experienced in the annealing process of producing magnetoresistive junctions and when magnetoresistive junctions are used as sensitive elements in automotive position sensors, and are not limited here.

[0093] In some optional embodiments, Figure 4 As shown, the pinned layer 402 includes a first magnetic layer 4021, a second isolation layer 4022, and a second magnetic layer 4023 arranged in sequence, the first magnetic layer 4021 is close to the antiferromagnetic layer 401, and the second magnetic layer 4023 is close to the barrier layer 403; the first magnetic layer 4021 and the second magnetic layer 4023 have fixed magnetic moments, wherein the first isolation layer 4051 includes more than two non-magnetic metal layers

[0094] The first magnetic layer 4021 is closest to the antiferromagnetic layer 401, so the magnetization direction is directly pinned by the antiferromagnetic layer 401. At least one of cobalt-iron-boron alloy, cobalt-iron alloy, iron-nickel alloy, iron-gallium-boron alloy, cobalt, iron, nickel-iron-cobalt alloy, and cobalt-niobium-zirconium alloy can be used. The magnetization direction of the second magnetic layer 4023 is pinned by the first magnetic layer 4021, and cobalt-iron-boron alloy can be used.

[0095] The second magnetic layer 4023, the barrier layer 403 and the free layer 404 constitute the core structure of the magnetoresistive junction. Under the action of the external magnetic field, the magnetization direction of the free layer 404 changes compared with the magnetization direction of the second magnetic layer 4023, so as to realize that the magnetization directions of the second magnetic layer 4023 and the free layer 404 change between parallel and anti-parallel states, so that the magnetoresistive junction exhibits different resistance states, thereby generating a sensor signal.

[0096] The second isolation layer 4022 adopts a multi-layer structure to isolate the first magnetic layer 4021 and the second magnetic layer 4023, so as to avoid the diffusion of atoms in the second magnetic layer 4023 under high temperature conditions, thereby further ensuring the stable performance of the magnetoresistive junction under high temperature conditions. A layer of the second isolation layer 4022 close to the first magnetic layer 4021 can be made of a ruthenium layer, which has a good inhibitory effect on atomic diffusion. A layer of the second isolation layer 4022 close to the second magnetic layer 4023 can be made of an aluminum-titanium alloy layer, which can be used to absorb atoms diffused in the second magnetic layer 4023 under high temperature conditions, so as to improve the tunneling magnetoresistance of the magnetoresistive junction under high temperature conditions, thereby improving the temperature stability of the automotive position sensor that uses the magnetoresistive junction as a sensitive element to output sensor signals.

[0097] In some optional embodiments, Figure 4 As shown, the magnetoresistive junction also includes a substrate 406 and a third isolation layer 407. The substrate 406 and the third isolation layer 407 are located on a side of the antiferromagnetic layer 401 away from the pinned layer 402, wherein the third isolation layer 407 is close to the antiferromagnetic layer 401 and includes at least two non-magnetic metal layers.

[0098] The material of the substrate 406 is SiO 2 、MgO、Al 2 O 3 , Si, SiN, SiC, GaAs, InP, SrTiO 3 、LaAlO 3 、SrRuO 3At least one of the following. The third isolation layer 407 is disposed between the substrate 406 and the antiferromagnetic layer 401 to prevent the atoms of the antiferromagnetic layer 401 from diffusing under high temperature conditions to reduce the sensitivity of the magnetoresistance junction. The third isolation layer 407 includes at least two non-magnetic metal layers; the material of each non-magnetic metal layer is at least one of tantalum, ruthenium, hafnium, molybdenum, and iron-nickel alloy. Exemplarily, the third isolation layer 407 may adopt a double-layer structure of a tantalum layer and a ruthenium layer disposed in sequence, or a double-layer structure of a tantalum layer and an iron-nickel alloy disposed in sequence, or a three-layer structure of a tantalum layer, a ruthenium layer, and a tantalum layer disposed in sequence. The third isolation layer 407 may have a thickness of 5 to 15 nm, and the thickness of a single layer is 2 to 5 nm.

[0099] For example, Figure 5 As shown, Figure 5 This is a stacked structure diagram of the magnetoresistive junction in an embodiment of the present application, including a conductive layer 4052, a first isolation layer 4051, a free layer 404, a barrier layer 403, a second magnetic layer 4023, a second isolation layer 4022, a first magnetic layer 4021, an antiferromagnetic layer 401, a third isolation layer 407, and a substrate 406 arranged in sequence.

[0100] The conductive layer 4052 is made of a tantalum (Ta) layer, the first isolation layer 4051 is made of a ruthenium (Ru) layer and a magnesium (Mg) layer arranged in sequence, and the free layer 404 is made of a cobalt iron boron alloy (Co x1 Fe y1 B z1 ) layer, specifically Co 40 Fe 40 B 20 The barrier layer 403 is made of magnesium oxide (MgO), and the second magnetic layer 4023 is made of cobalt iron boron alloy (Co x2 Fe y2 B z2 ) layer, specifically Co 40 Fe 40 B 20 The first intermediate layer 1022 is made of a ruthenium (Ru) layer and an aluminum-titanium alloy (TiAl) layer arranged in sequence, and the first magnetic layer 4021 is made of a cobalt-iron alloy (Co x3 Fe y3 ) layer, specifically Co 70 Fe 30 The antiferromagnetic layer 401 is made of an iridium manganese alloy (IrMn) layer, the third isolation layer 407 is made of a ruthenium (Ru) layer and a tantalum (Ta) layer arranged in sequence, and the substrate 406 is made of silicon dioxide (SiO 2 )layer.

[0101] The performance indicators of the magnetoresistive junction at different temperatures were tested, and the results obtained were: the tunneling magnetoresistance rate was 100-300% at 25°C, 60-180% at 85°C, 30-40% at 125°C, and not less than 10% at 150°C. The magnetoresistive junction has a high sensitivity when used as a sensitive element in a camshaft phase sensor, and its sensitivity is more than 10 times that of a conventional Hall element.

[0102] Based on the same inventive concept, the present application also provides a position detection method, such as Figure 6 As shown, Figure 6 This is a flow chart of position detection in an embodiment of the present application. The method includes:

[0103] S601, receiving a first field intensity signal detected by a first field intensity detection element.

[0104] When the object to be detected moves in the area where the magnetic field is located and causes the magnetic field strength to change, the resistance value of the first field strength detection element changes with the change in magnetic field strength, and a first field strength signal representing the change in magnetic field strength is correspondingly output.

[0105] S602, receiving a second field strength signal detected by a second field strength detection element. The first field strength detection element and the second field strength detection element are arranged at intervals on one side of the permanent magnet and are located in the magnetic field emitted by the permanent magnet; wherein the first field strength detection element has a first sensitivity, and the second field strength detection element has a second sensitivity, and the first sensitivity is greater than the second sensitivity.

[0106] S603, correcting the first field intensity signal according to the second field intensity signal and outputting a sensor signal.

[0107] When there is a stray field, it is superimposed on the magnetic field generated by the permanent magnet, causing changes in the strength and direction of the magnetic field. The difference in the magnetic field components of the signals output by the second field strength detection element and the third field strength detection element will change, and this change is considered to be caused by the stray field.

[0108] Therefore, the operation of S603 specifically includes:

[0109] The first step is to determine a first curve of a field intensity signal detected by a first field intensity detection element varying with time.

[0110] Step 2: Determine a second curve of the field intensity signal detected by the second field intensity detection element varying with time.

[0111] The third step is to cut off the abnormal band of the first curve and compensate the first curve with the second curve to obtain the third curve; the abnormal band includes the intensity information of the stray field detected by the first field intensity detection element when the intensity change of the magnetic field is lower than the set frequency.

[0112] Step 4: convert the third curve into a square wave signal according to the set reference value;

[0113] Step 5: Output the sensor signal according to the square wave signal.

[0114] When the frequency of magnetic field change is high, the first field strength detection element with higher sensitivity can directly output a high-sensitivity signal stably. When the frequency of magnetic field change is low, the second field strength detection element with lower sensitivity outputs a second field strength signal with high accuracy and is not interfered by stray fields. The first field strength detection element is interfered by stray fields due to its high sensitivity, and there is an error signal caused by stray fields in the first field strength signal it outputs. At this time, the second field strength signal is used to compensate and correct the first field strength signal, and the error caused by the first field strength signal being interfered by stray fields is eliminated, so that the stable output of high-accuracy signals at low frequencies can be achieved, the detection quality of the position sensor is improved, and the frequency range of the position sensor for high-precision detection is expanded.

[0115] S604: Determine the position of the object to be measured moving in the magnetic field according to the sensor signal.

[0116] The specific operation of S604 is as follows:

[0117] According to the square wave signal, the position of the object to be measured moving in the first magnetic field area is obtained.

[0118] The position detection method provided in the embodiment of the present application is introduced below in conjunction with an example of vehicle camshaft phase detection.

[0119] The first field strength detection element, the second field strength detection element, and the permanent magnet constitute a camshaft phase sensor, and its structure is referenced Figures 1 to 3 , wherein the first field strength detection element adopts Figure 4 , 5 The tunneling magnetoresistive element shown in the figure, the second field intensity detection element adopts a Hall element, and the sensitivity of the tunneling magnetoresistive element is more than ten times that of the Hall element.

[0120] A signal disk is provided on the camshaft to be detected. The camshaft and the signal disk have the same rotation phase, and a plurality of convex teeth are evenly distributed on the signal disk in the circumferential direction. The camshaft phase sensor is installed on the vehicle. When the vehicle is running, the camshaft rotates and drives the signal disk to rotate synchronously. When the convex teeth pass through the magnetic field, the magnetic field intensity changes regularly. The resistance of the tunneling magnetoresistive element changes with the intensity of the magnetic field, and the corresponding output voltage signal is the first field intensity signal. The first field intensity signal is a sine wave signal. The resistance of the Hall element changes with the intensity of the magnetic field, and the corresponding output voltage signal is the second field intensity signal. The second field intensity signal is also a sine wave signal.

[0121] During vehicle operation, when the camshaft rotates slowly, the frequency of magnetic field changes is low. If there is interference from stray fields, which causes a slight change in the magnetic field, this change will be detected by the tunneling magnetoresistive element with higher sensitivity, resulting in the first field strength signal outputted by it being mixed with information about the magnetic field change caused by the stray field. The Hall element is less sensitive and is not affected by stray fields, so its second field strength signal is not affected by stray fields.

[0122] By adopting the operation of S603, the band of the sine curve of the first field strength signal that is interfered by the stray field is cut off, and then the sine wave band of the first field strength signal is compensated by the sine wave band of the second field strength signal, so as to obtain the following: Figure 7 The sinusoidal curve shown has been stripped of stray field interference.

[0123] Convert the sine curve into a square wave signal. Specifically, when the voltage exceeds a certain value (for example, when the maximum amplitude is 5V, 1.8V or 2.5V may be selected), it is a high level, and when the voltage is lower than a certain value, it is a low level. For example, the sine wave outputs a high level signal in the time interval above 2.5V, and a low level signal in the time interval below 2.5V. The final square wave signal is as follows: Figure 8 As shown in the figure, when the voltage rises to the range above 2.5V, the square wave signal jumps to a high level, and when the voltage value drops to the range below 2.5V, the square wave signal jumps to a low level. The square wave signal obtained so far is the sensor signal.

[0124] It can be understood that the square wave signal is a periodic regular signal, and one cycle represents one convex tooth on the signal disk passing through. For example, if there are 4 convex teeth evenly distributed on the signal disk in the circumferential direction, when two adjacent convex teeth pass through the magnetic field in sequence, the angle of rotation of the camshaft is 90°, that is, the time corresponding to each cycle of the square wave is the time taken for the camshaft to rotate 90°, so the phase angle of the camshaft rotation can be obtained through the square wave signal.

[0125] It is understood that the operations S601 to S603 are performed by the signal output circuit in the position sensor, and the operation S604 is performed by the controller provided in the device in which the position sensor is installed. For example, when the position sensor is used as a camshaft phase sensor in a vehicle, the electronic control unit (Electronic Control Unit) in the vehicle is electrically connected to the signal output circuit of the sensor. S601 to S603 are performed by the signal output circuit, and operation S604 is performed by the ECU.

[0126] Based on the same inventive concept, the present application also provides a vehicle, such as Fig. 9 As shown, Fig. 9Schematic diagram of a vehicle in an embodiment of the present application. The vehicle 900 includes a position sensor 901, which may be the position sensor provided in the above embodiment. The position sensor 901 may be a camshaft phase sensor or a crankshaft speed sensor.

[0127] When the position sensor 901 is used as a camshaft phase sensor in a vehicle 900, a controller in the vehicle 900, such as an electronic control unit 902, is electrically connected to a signal output circuit of the position sensor 901, for receiving a sensor signal output by the position sensor 901 and obtaining a rotation phase angle of the camshaft based on the sensor signal.

[0128] For example, a signal disc 1001 is provided on the camshaft to be detected, and the camshaft and the signal disc 1001 have the same rotation phase, such as Fig.10 As shown, the signal disk 1001 is located on one side of the camshaft phase sensor 1002. The structure of the camshaft phase sensor 1002 is shown in FIG. Figure 2 The specific structure of the position sensor is not described here. It can be understood that the signal disk 1001 is located in the first magnetic field area of ​​the camshaft phase sensor 1002, that is, Figure 2 The first magnetic field region 2011 of the magnetic steel 201 is shown.

[0129] The signal disk 1001 is circumferentially arranged with a first protruding tooth 10011, a second protruding tooth 10012, a third protruding tooth 10013, and a fourth protruding tooth 10014. The first protruding tooth 10011 and the second protruding tooth 10012 have the same first width, the third protruding tooth 10013 and the fourth protruding tooth 10014 have the same second width, and the first width is greater than the second width. The first protruding tooth 10011 and the second protruding tooth 10012 and the fourth protruding tooth 10014 have the same first gap 10015, respectively, and the third protruding tooth 10013 and the second protruding tooth 10012 and the fourth protruding tooth 10014 have the same second gap 10016, and the first gap 10015 is greater than the second gap 10016.

[0130] It can be understood that the space where the camshaft phase sensor 1002 is installed on the vehicle as a position sensor is a three-dimensional space, and the three-dimensional coordinate axes X axis, Y axis, and Z axis intersect perpendicularly at the origin O. Figure 2 The perspective of the position sensor can be understood as a front view based on the XOY plane. Fig.10 The given viewing angle of the signal disk 1001 and the camshaft phase sensor 1002 may be understood as a front view based on the XOZ plane.

[0131] Taking the case that the first field intensity detection element of the camshaft phase sensor 1002 adopts a tunneling magnetoresistive element and the second field intensity detection element adopts a Hall element as an example, when the vehicle is running, the camshaft rotates and drives the signal disk 1001 to rotate synchronously, and the first convex tooth 10011, the second convex tooth 10012, the third convex tooth 10013, and the fourth convex tooth 10014 sequentially pass through the magnetic field, causing a regular change in the magnetic field intensity. The resistance of the tunneling magnetoresistive element changes with the intensity of the magnetic field, and the corresponding output voltage signal changes, that is, the first field intensity signal. The resistance of the Hall element changes with the intensity of the magnetic field, and the corresponding output voltage signal changes, that is, the first field intensity signal. Since the first convex tooth 10011, the second convex tooth 10012, the third convex tooth 10013, and the fourth convex tooth 10014 are not evenly arranged and have different widths, the first curve of the first field intensity signal changing with time and the second curve of the second field intensity signal changing with time are non-sinusoidal waveform curves.

[0132] During vehicle operation, when the camshaft rotates slowly, the frequency of magnetic field changes is low. At this time, if there is interference from stray fields, which causes a slight change in the magnetic field, this change will be detected by the tunneling magnetoresistive element with higher sensitivity, resulting in the first voltage signal outputted by it being mixed with information about the magnetic field change caused by the stray field. Since the Hall element has a low sensitivity, it is not affected by stray field interference, and the second voltage signal it outputs is not affected by stray field interference.

[0133] By adopting the above-mentioned S603 operation, the band of the first curve affected by stray field interference is truncated, and then the truncated part of the first curve is compensated by the second curve, so as to obtain a third curve without stray field interference, and the third curve is converted into a square wave signal, which can be input as a sensor signal.

[0134] The high level point of the square wave signal has a corresponding relationship with the convex teeth on the signal disk 1001, such as Fig. 9 As shown, the square wave signal 1101 without stray field interference corresponds one to one with the protruding teeth on the signal disk 1001. The square wave signal 1102 with stray field interference may have a problem that some protruding teeth cannot be detected, resulting in missing teeth.

[0135] It can be understood that the above-mentioned operation of compensating the first curve through the second curve is realized by the signal output circuit of the position sensor 701. The electronic controller unit 702 on the vehicle receives the square wave signal 1101 output by the signal output circuit. According to the square wave signal 1101, the phase angle of the signal disk 1001 can be obtained, thereby obtaining the phase angle of the camshaft.

[0136] The vehicle provided in the embodiment of the present application uses the camshaft phase sensor 1002 to compensate the first voltage signal with the detected second voltage signal to eliminate the influence of the stray field on the first voltage signal, thereby outputting an accurate sensor signal, improving the detection quality of the camshaft phase sensor, and achieving high-precision cam phase output.

[0137] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by a processor to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. The non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a controller, enables the controller to perform the above method. Figure 6 method.

[0138] The present application also provides a computer program product, including a computer program, which, when executed by a processor, Figure 6 method.

[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0140] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

Claims

1. A position sensor, characterized in that: include: A permanent magnet, a first field strength detection element, a second field strength detection element, and a signal output circuit; The permanent magnet is used to emit a magnetic field; The first field strength detection element and the second field strength detection element are arranged at one side of the permanent magnet and are located in the magnetic field, and the first field strength detection element and the second field strength detection element are used to detect the intensity of the magnetic field, wherein the first field strength detection element has a first sensitivity, and the second field strength detection element has a second sensitivity, and the first sensitivity is greater than the second sensitivity; The signal output circuit is electrically connected to the first field strength detection element and the second field strength detection element, respectively, and is used to receive a first field strength signal detected by the first field strength detection element, receive a second field strength signal detected by the second field strength detection element, and correct the first field strength signal according to the second field strength signal and output a sensor signal; wherein the sensor signal is output to a controller so that the controller determines the position of the object to be detected moving in the magnetic field according to the sensor signal.

2. The position sensor according to claim 1, characterized in that The first field intensity signal includes a first rising edge and a first falling edge, the time range corresponding to the first rising edge is 0.1 microseconds to 1.5 microseconds, and the time range corresponding to the first falling edge is 0.15 microseconds to 2.5 microseconds; The second field intensity signal includes a second rising edge and a second falling edge. The time range corresponding to the second rising edge is 5 microseconds to 20 microseconds, and the time range corresponding to the second falling edge is 7 microseconds to 30 microseconds.

3. The position sensor according to claim 1 or 2, characterized in that: The first sensitivity is more than 10 times the second sensitivity.

4. The position sensor according to claim 1, wherein: The magnetic field includes a symmetrical first magnetic field region and a second magnetic field region, the first field strength detection element is located in the first magnetic field region, and the second field strength detection element is located in the second magnetic field region, wherein the intensity of the magnetic field at the first field strength detection element is the same as the intensity at the second field strength detection element, and the direction of the magnetic field at the first field strength detection element is symmetrical to the direction at the second field strength detection element.

5. The position sensor according to claim 1, wherein: The first field intensity detection element is a tunneling magnetoresistive element; The tunneling magnetoresistive element comprises a bridge circuit, the bridge circuit comprises at least one bridge arm, each of the bridge arms is provided with a magnetoresistive junction, or a plurality of the magnetoresistive junctions connected in series; The magnetoresistance junction includes an antiferromagnetic layer, a pinned layer, a barrier layer, a free layer, and an electrode layer arranged in sequence, wherein the electrode layer includes a first isolation layer and a conductive layer arranged in sequence, and the first isolation layer is close to the free layer; wherein the first isolation layer includes more than two non-magnetic metal layers.

6. The position sensor according to claim 5, characterized in that The pinned layer includes a first magnetic layer, a second isolation layer, and a second magnetic layer arranged in sequence, the first magnetic layer is close to the antiferromagnetic layer, and the second magnetic layer is close to the barrier layer; the first magnetic layer and the second magnetic layer have a fixed magnetic moment, wherein the first isolation layer includes more than two non-magnetic metal layers.

7. The position sensor according to claim 5 or 6, characterized in that: The magnetoresistive junction further includes a substrate and a third isolation layer, wherein the substrate and the third isolation layer are located on a side of the antiferromagnetic layer away from the pinned layer, wherein the third isolation layer is close to the antiferromagnetic layer and includes at least two non-magnetic metal layers.

8. A position detection method, characterized in that: include: receiving a first field strength signal detected by a first field strength detection element; receiving a second field strength signal detected by a second field strength detection element; The first field strength detection element and the second field strength detection element are arranged at a distance on one side of the permanent magnet and are located in the magnetic field emitted by the permanent magnet; wherein the first field strength detection element has a first sensitivity, the second field strength detection element has a second sensitivity, and the first sensitivity is greater than the second sensitivity; Correcting the first field intensity signal according to the second field intensity signal and outputting a sensor signal; The position of the object to be measured moving in the magnetic field is determined according to the sensor signal.

9. The method according to claim 8, characterized in that The correcting the first field intensity signal according to the second field intensity signal and outputting a sensor signal comprises: Determine a first curve of a first field intensity signal varying with time; Determine a second curve of the second field intensity signal varying with time; Cutting off the abnormal band of the first curve and compensating the first curve with the second curve to obtain a third curve; the abnormal band includes the intensity information of the stray field detected by the first field intensity detection element when the intensity change of the magnetic field is lower than the set frequency; Converting the third curve into a square wave signal according to a set reference value; outputting the sensor signal according to the square wave signal; The step of determining the position of the object to be measured moving in the magnetic field according to the sensor signal comprises: The position of the object to be measured moving in the first magnetic field region is obtained according to the square wave signal.

10. A vehicle, characterized in that: A position sensor comprising any one of claims 1 to 7.