Autoregressive magnetic coding sensor structure and use method

Through the autoregressive magnetic encoding sensor structure, the use of multiple signals for magnetic encoding is solved, and the existing magnetic sensor system depends on analog-to-digital converter accuracy when detecting continuously changing magnetic fields, achieving higher anti-interference ability and system reliability.

CN120008656APending Publication Date: 2025-05-16SONGLI MICROELECTRONICS (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510460346.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-14
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

When detecting continuously changing magnetic fields, existing magnetic sensor systems rely too much on analog-to-digital converters, resulting in increased hardware costs and limited anti-interference capabilities, especially in complex industrial electromagnetic environments, which are susceptible to noise and reduce overall reliability.

Method used

The autoregressive magnetic encoding sensor structure is adopted, and through the characteristics of the magnetic hysteresis curve, multiple signals are used for magnetic encoding, including magnetic sensing units, multiple signal processing units, encoding logic circuits and status marking units, to improve the anti-interference ability of magnetic field detection.

Benefits of technology

It improves the anti-interference ability of magnetic field detection, reduces resource waste, and enhances the reliability of the system, especially in complex electromagnetic environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120008656A_ABST
    Figure CN120008656A_ABST
Patent Text Reader

Abstract

The invention provides an autoregressive magnetic coding sensor structure, and the structure comprises a magnetic sensing unit which is used for detecting the change of the magnetic field intensity and outputting an analog signal; the multi-path signal processing unit comprises a plurality of groups of amplifiers (AMPs) and comparators (COMPs) which are arranged in parallel, and each group of AMP / COMP is provided with different reference coefficients; the coding logic circuit is used for receiving output signals of the comparators and generating digital codes; the state marking unit is used for generating a marking signal representing the position change of the magnet; wherein each group of AMP / COMP of the multi-path signal processing unit is provided with different operation points (Bop) and release points (Brp), when the magnetic field intensity reaches the preset Bop, the corresponding channel output signal is triggered to be overturned and kept, and when the magnetic field intensity drops back to the Brp, the corresponding channel output signal is triggered to be reset. The characteristics of a hysteresis curve are utilized, magnetic coding is carried out through simple multi-path signals, the anti-interference capability of magnetic field detection is improved, and meanwhile resource waste is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of magnetic sensor control, and in particular to an autoregressive magnetic encoding sensor structure and a use method thereof. Background Art

[0002] As the core component that converts magnetic field signals into electrical signals, magnetic sensors are widely used in industrial automation, automotive electronics, consumer electronics and other fields. In traditional technology, for the detection of continuously changing magnetic fields, magnetic sensitive devices such as Hall effect sensors and magnetoresistive elements are usually used to output analog signals, which are then digitized by high-precision analog-to-digital converters (ADCs) for subsequent processing. For example, for a switch-type Hall sensor, when the external magnetic field strength exceeds the South Pole / North Pole operating point (BopS / BopN), its output state will change in a step-like manner (such as jumping from a high level to a low level), and will return to its original state when the magnetic field strength drops below the release point (BrpS / BrpN).

[0003] However, the system accuracy of the existing technology is overly dependent on the resolution of the analog-to-digital converter, which increases the hardware cost and limits the anti-interference ability. Especially in complex industrial electromagnetic environments, the analog-to-digital converter is easily affected by noise, which reduces the overall reliability. Summary of the invention

[0004] The embodiments of the present disclosure at least provide an autoregressive magnetic encoding sensor structure and a method of use, which can utilize the characteristics of the hysteresis curve to perform magnetic encoding through simple multi-path signals, thereby improving the anti-interference ability of magnetic field detection and reducing resource waste.

[0005] The present disclosure provides an autoregressive magnetic encoding sensor structure, including:

[0006] A magnetic sensing unit, used to detect changes in magnetic field strength and output analog signals;

[0007] A multi-channel signal processing unit includes a plurality of amplifiers (AMP) and comparators (COMP) arranged in parallel, and each AMP / COMP group is set with a different reference coefficient;

[0008] An encoding logic circuit, used for receiving the output signals of each comparator and generating a digital code;

[0009] A state flag unit, used for generating a flag signal representing a change in the position of the magnet;

[0010] Among them, each group of AMP / COMP of the multi-channel signal processing unit is configured with differentiated operating points (Bop) and release points (Brp). When the magnetic field strength reaches the preset Bop, the output signal of the corresponding channel is triggered to flip and maintain. When the magnetic field strength drops back to Brp, the output signal of the corresponding channel is triggered to reset.

[0011] In some embodiments, the multi-channel signal processing unit includes four AMP / COMP combinations, which correspond to the output of four channels of signals OutA, OutB, OutC, and OutD, respectively, to form a four-bit digital code.

[0012] In some embodiments, the operating points (Bop) of the four AMP / COMP groups are set according to the gradient of BopA<BopB<BopC<BopD, and the release points (Brp) are set according to the gradient of BrpA<BrpB<BrpC<BrpD.

[0013] In some embodiments, the reference coefficient is set by an adjustable resistor network or a digital-to-analog converter so that each group of AMP / COMP has a different reference voltage value.

[0014] In some embodiments, the encoding logic circuit includes a priority encoder, which generates corresponding binary codes according to preset priorities when multiple channel signals are valid at the same time.

[0015] In some embodiments, the magnetic sensing unit adopts a Hall effect sensor or a magnetoresistive sensor, and its output end is connected to a signal conditioning circuit.

[0016] In some embodiments, the status flag unit includes an RS trigger. When the initial signals of each comparator output signal are low level, when any channel output signal flips, the flag signal changes from low level to high level and remains until all channel output signals are reset, and the flag signal returns to low level.

[0017] In some embodiments, the status flag unit includes an RS trigger. When the initial signals of each comparator output signal are high level, when any channel output signal flips, the flag signal changes from high level to low level and remains until all channel output signals are reset, and the flag signal returns to high level.

[0018] The present disclosure also provides a method for using an autoregressive magnetic encoding sensor, including:

[0019] Roughly adjust the reference coefficient of each group of amplifiers (AMP) and comparators (COMP) of the autoregressive magnetic encoding sensor, and set the autoregressive magnetic encoding sensor in the detection area;

[0020] The autoregressive magnetic encoding sensor is moved, and when the flag signal of the autoregressive magnetic encoding sensor is flipped, it is determined that the target magnetic field is at the current position of the autoregressive magnetic encoding sensor;

[0021] According to the digital code generated by the autoregressive magnetic encoding sensor, the positional relationship between the target magnetic field and the autoregressive magnetic encoder is determined.

[0022] In some embodiments, it also includes:

[0023] The reference coefficients of each group of amplifiers (AMP) and comparators (COMP) of the autoregressive magnetic encoding sensor are finely adjusted multiple times to obtain the magnetic field strength of the target magnetic field.

[0024] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0026] Figure 1 A schematic diagram of an autoregressive magnetic encoding sensor structure provided by an embodiment of the present disclosure is shown;

[0027] Figure 2 A schematic diagram of the operation of an autoregressive magnetic encoding sensor provided by an embodiment of the present disclosure is shown;

[0028] Figure 3 A schematic diagram of the operation of another autoregressive magnetic encoding sensor provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0030] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0031] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0032] Based on the above research, the present disclosure provides an autoregressive magnetic encoding sensor structure and a method of use, which utilizes the characteristics of the hysteresis curve and performs magnetic encoding through a simple multi-channel signal, thereby improving the anti-interference ability of magnetic field detection and reducing resource waste.

[0033] like Figure 1 As shown, Figure 1 A schematic diagram of an autoregressive magnetic encoding sensor structure provided in an embodiment of the present disclosure, the structure comprising:

[0034] A magnetic sensing unit, used to detect changes in magnetic field strength and output analog signals;

[0035] A multi-channel signal processing unit includes a plurality of amplifiers (AMP) and comparators (COMP) arranged in parallel, and each AMP / COMP group is set with a different reference coefficient;

[0036] An encoding logic circuit, used for receiving the output signals of each comparator and generating a digital code;

[0037] A state flag unit, used for generating a flag signal representing a change in the position of the magnet;

[0038] Among them, each group of AMP / COMP of the multi-channel signal processing unit is configured with differentiated operating points (Bop) and release points (Brp). When the magnetic field strength reaches the preset Bop, the output signal of the corresponding channel is triggered to flip and maintain. When the magnetic field strength drops back to Brp, the output signal of the corresponding channel is triggered to reset.

[0039] Specifically, each signal path in the multi-channel signal processing unit is composed of an amplifier (AMP) and a comparator (COMP). The embodiment of the present application takes four-channel signals as an example, and in actual applications, there is no limit on the number of signal paths in the multi-channel signal processing unit.

[0040] In some embodiments, the multi-channel signal processing unit includes four AMP / COMP combinations, which correspond to the output of four channels of signals OutA, OutB, OutC, and OutD, respectively, to form a four-bit digital code.

[0041] In some embodiments, the operating points (Bop) of the four AMP / COMP groups are set according to the gradient of BopA<BopB<BopC<BopD, and the release points (Brp) are set according to the gradient of BrpA<BrpB<BrpC<BrpD.

[0042] In some embodiments, the reference coefficient is set by an adjustable resistor network or a digital-to-analog converter so that each group of AMP / COMP has a different reference voltage value.

[0043] In some embodiments, the encoding logic circuit includes a priority encoder, which generates corresponding binary codes according to preset priorities when multiple channel signals are valid at the same time.

[0044] In some embodiments, the magnetic sensing unit adopts a Hall effect sensor or a magnetoresistive sensor, and its output end is connected to a signal conditioning circuit.

[0045] In some embodiments, the status flag unit includes an RS trigger. When the initial signals of each comparator output signal are low level, when any channel output signal flips, the flag signal changes from low level to high level and remains until all channel output signals are reset, and the flag signal returns to low level.

[0046] Specifically, Figure 2 As shown in the figure, as the magnet enters the sensor detection range and moves along A, B, C, and D, the magnetic field strength reaches BopA, BopB, BopC, and BopD in turn, and the four outputs OutD / OutC / OutB / OutA show changes of 0000, 0001, 0011, 0111, and 1111, realizing the digital encoding of the magnet position. Each output signal of OutD, OutC, OutB, and OutA remains unchanged after changing from low to high.

[0047] The initial value of the flag signal (Flag) is 0. When the magnet reaches position A, the flag signal becomes 1 and remains unchanged until the magnet moves to position D, which is used to indicate whether the magnet position has changed.

[0048] The magnet position returns to the initial state and moves along D, C, B, and A. The magnet strength weakens to reach BrpD, BrpC, BrpB, and BrpA in sequence. The four outputs OutD / OutC / OutB / OutA change to 1111, 0111, 0011, 0001, and 0000. When the magnet position is reset, the digital code of the magnet position automatically returns to 0.

[0049] When the magnet is at position D, the flag signal is 1. When the magnet passes through D, C, B, and A in sequence, the Flag signal always remains 1 until the magnet returns to the initial position, and the flag signal becomes 0, which is used to indicate that the magnet position is reset.

[0050] In some embodiments, the status flag unit includes an RS trigger. When the initial signals of each comparator output signal are high level, when any channel output signal flips, the flag signal changes from high level to low level and remains until all channel output signals are reset, and the flag signal returns to high level.

[0051] Specifically, Figure 3 As shown in the figure, as the magnet enters the sensor detection range and moves along A, B, C, and D, the magnetic field strength reaches BopA, BopB, BopC, and BopD in turn, and the four outputs OutD / OutC / OutB / OutA show changes of 1111, 1110, 1100, 1000, and 0000, realizing the digital encoding of the magnet position. Each output signal of OutD, OutC, OutB, and OutA remains unchanged after changing from high to low.

[0052] The initial value of the flag signal (Flag) is 1. When the magnet reaches position A, the flag signal becomes 0 and remains at 0 until the magnet moves to position D, which is used to indicate whether the magnet position has changed.

[0053] The magnet position returns to the initial state and moves along D, C, B, and A. The magnet strength weakens to reach BrpD, BrpC, BrpB, and BrpA in sequence. The four outputs OutD / OutC / OutB / OutA change to 0000, 1000, 1100, 1110, and 1111. When the magnet position is reset, the digital code of the magnet position automatically returns to 1.

[0054] When the magnet is at position D, the flag signal is 0. When the magnet passes through D, C, B, and A in sequence, the Flag signal always remains 0 until the magnet returns to the initial position, and the flag signal becomes 1, which is used to indicate that the magnet position is reset.

[0055] The present disclosure also provides a method for using an autoregressive magnetic encoding sensor, including:

[0056] Roughly adjust the reference coefficient of each group of amplifiers (AMP) and comparators (COMP) of the autoregressive magnetic encoding sensor, and set the autoregressive magnetic encoding sensor in the detection area;

[0057] The autoregressive magnetic encoding sensor is moved, and when the flag signal of the autoregressive magnetic encoding sensor is flipped, it is determined that the target magnetic field is at the current position of the autoregressive magnetic encoding sensor;

[0058] According to the digital code generated by the autoregressive magnetic encoding sensor, the positional relationship between the target magnetic field and the autoregressive magnetic encoder is determined.

[0059] Specifically, whether the target magnetic field is recognized is confirmed by checking whether the flag signal of the autoregressive magnetic encoding sensor is flipped, and then the direction of the target magnetic field in the recognition range of the autoregressive magnetic encoding sensor is determined based on the digital code generated by the autoregressive magnetic encoding sensor.

[0060] In some embodiments, it also includes:

[0061] The reference coefficients of each group of amplifiers (AMP) and comparators (COMP) of the autoregressive magnetic encoding sensor are finely adjusted multiple times to obtain the magnetic field strength of the target magnetic field.

[0062] Specifically, by adjusting the reference coefficients of each set of AMP / COMP multiple times, the magnetic field strength of the target magnetic field can be gradually determined.

[0063] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0065] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. An autoregressive magnetic encoding sensor structure, characterized in that: include: A magnetic sensing unit, used to detect changes in magnetic field strength and output analog signals; A multi-channel signal processing unit includes a plurality of amplifiers (AMP) and comparators (COMP) arranged in parallel, and each AMP / COMP group is set with a different reference coefficient; An encoding logic circuit, used for receiving the output signals of each comparator and generating a digital code; A state flag unit, used for generating a flag signal representing a change in the position of the magnet; Among them, each group of AMP / COMP of the multi-channel signal processing unit is configured with differentiated operating points (Bop) and release points (Brp). When the magnetic field strength reaches the preset Bop, the corresponding channel output signal is triggered to flip and maintain, and when the magnetic field strength drops back to Brp, the corresponding channel output signal is triggered to reset.

2. The structure according to claim 1, characterized in that The multi-channel signal processing unit includes four AMP / COMP combinations, which correspond to the output of four channels of signals OutA, OutB, OutC, and OutD, respectively, to form a four-bit digital code.

3. The structure according to claim 2, characterized in that The operating points (Bop) of the four groups of AMP / COMP are set according to the gradient of BopA<BopB<BopC<BopD, and the release points (Brp) are set according to the gradient of BrpA<BrpB<BrpC<BrpD.

4. The structure according to claim 1, characterized in that The reference coefficient is set by an adjustable resistor network or a digital-to-analog converter so that each group of AMP / COMP has a different reference voltage value.

5. The structure according to claim 1, characterized in that The encoding logic circuit includes a priority encoder, which generates corresponding binary codes according to preset priorities when multiple channel signals are valid at the same time.

6. The structure according to claim 1, characterized in that The magnetic sensing unit adopts a Hall effect sensor or a magnetoresistive sensor, and its output end is connected to a signal conditioning circuit.

7. The structure according to claim 1, characterized in that The status flag unit includes an RS trigger. When the initial signals of the output signals of each comparator are all low level, when any channel output signal is flipped, the flag signal changes from low level to high level and remains until all channel output signals are reset, and the flag signal returns to low level.

8. The structure according to claim 1, characterized in that The status flag unit includes an RS trigger. When the initial signals of the output signals of each comparator are all high level, when any channel output signal is flipped, the flag signal changes from high level to low level and remains until all channel output signals are reset, and the flag signal returns to high level.

9. A method for using an autoregressive magnetic encoding sensor, characterized in that: include: Roughly adjusting the reference coefficient of each group of amplifiers (AMP) and comparators (COMP) of the autoregressive magnetic encoding sensor, and placing the autoregressive magnetic encoding sensor in a detection area; The autoregressive magnetic encoding sensor is moved, and when the flag signal of the autoregressive magnetic encoding sensor is flipped, it is determined that the target magnetic field is at the current position of the autoregressive magnetic encoding sensor; The positional relationship between the target magnetic field and the autoregressive magnetic encoder is determined according to the digital code generated by the autoregressive magnetic encoding sensor.

10. The method of use according to claim 9, characterized in that: Also includes: The reference coefficients of each group of amplifiers (AMP) and comparators (COMP) of the autoregressive magnetic encoding sensor are finely adjusted multiple times to obtain the magnetic field strength of the target magnetic field.