CN111781546A - Background calibration method and system for eliminating nonideality of two paths of mutually orthogonal signals - Google Patents

Background calibration method and system for eliminating nonideality of two paths of mutually orthogonal signals Download PDF

Info

Publication number
CN111781546A
CN111781546A CN202010312319.3A CN202010312319A CN111781546A CN 111781546 A CN111781546 A CN 111781546A CN 202010312319 A CN202010312319 A CN 202010312319A CN 111781546 A CN111781546 A CN 111781546A
Authority
CN
China
Prior art keywords
wave
paths
axis
orthogonal signals
axis signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010312319.3A
Other languages
Chinese (zh)
Other versions
CN111781546B (en
Inventor
陆游
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mcgowan Electronics Shanghai Co ltd
Original Assignee
Mcgowan Electronics Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mcgowan Electronics Shanghai Co ltd filed Critical Mcgowan Electronics Shanghai Co ltd
Priority to CN202010312319.3A priority Critical patent/CN111781546B/en
Publication of CN111781546A publication Critical patent/CN111781546A/en
Application granted granted Critical
Publication of CN111781546B publication Critical patent/CN111781546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/0023Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
    • G01R33/0035Calibration of single magnetic sensors, e.g. integrated calibration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/0023Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
    • G01R33/0029Treating the measured signals, e.g. removing offset or noise
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The invention discloses a background calibration method and a system for eliminating nonidealities of two paths of mutually orthogonal signals, wherein the background calibration method comprises the following steps: s1, obtaining wave crests and wave troughs of the two orthogonal signals by utilizing the phase relation between the orthogonal signals; step S2, calculating a direct current offset error and an amplitude mismatch error according to the wave crests and the wave troughs of the two paths of orthogonal signals obtained in the step S1; and step S3, compensating the direct current offset error and the amplitude mismatch error acquired in the step S2 to a signal processing link in real time through an interpolation algorithm. The background calibration method and the background calibration system for eliminating the nonidealities of the two paths of orthogonal signals can monitor and eliminate the loss regulation error and the amplitude mismatch error in real time.

Description

Background calibration method and system for eliminating nonideality of two paths of mutually orthogonal signals
Technical Field
The invention belongs to the technical field of magnetic sensors, relates to a signal calibration method, and particularly relates to a background calibration method and a background calibration system for eliminating nonidealities of two paths of mutual orthogonal signals.
Background
The magnetic sensor is a device for converting the change of the magnetic property of a sensitive element caused by external factors such as magnetic field, current, stress strain, temperature, light and the like into an electric signal, and detecting the corresponding physical quantity in such a way. The magnetic sensor has wide application and plays an important role in the fields of national economy, national defense construction, scientific technology, medical treatment and health and the like. Among them, products such as angle sensors and encoders are important components of magnetic sensing technology, and have wide applications in the automobile industry, including throttle control, power systems, and vehicle body control.
Fig. 1 shows a typical system block diagram of an angle sensor based on magnetic sensing technology, in which: the magneto-sensitive unit-X and the magneto-sensitive unit-Y are two mutually orthogonal Wheatstone bridges which are respectively used for detecting the magnetic field intensity in the X direction and the Y direction and converting the magnetic field intensity into a voltage or current signal (Vx/Vy); then the signal is amplified, filtered (Vxp/Vyp) and subjected to analog-to-digital conversion (Dx/Dy), and then the signal is sent to a digital signal processing unit (DSP); and the DSP calculates the magnetic field angle according to the value of Dx/Dy. From the physical properties of the magneto-sensitive cells, the following expression can be obtained:
Figure RE-GDA0002652478160000011
Figure RE-GDA0002652478160000012
wherein alpha is the angle to be measured, and theta is the actually measured angle.
In the practical application process, parameters (such as sensitivity, disorder, consistency and the like) of the magnetic sensitive unit and the signal processing circuit are influenced by manufacturing process fluctuation, application environment change, aging and the like, and non-ideal effects can be generated. The following were used:
Figure BDA0002458319460000013
wherein, bx、byIt is known that k is the amplitude mismatch error (amplitude) for the direct current offset error (DC offset) it can be derived by simple mathematical derivation that the error e of the angle value θ calculated by equation (2) compared to the actual angle value α can be approximated by equation (4) when these three errors are present.
Figure BDA0002458319460000014
The error can cause the defects of poor consistency, large temperature drift, poor reliability and the like of the angle sensor, and finally influences the application of the product in a client.
In view of the above, there is a need to design a signal processing method for an angle sensor to overcome the above-mentioned drawbacks of the existing angle sensors.
Disclosure of Invention
The invention provides a background calibration method and a background calibration system for eliminating nonidealities of two paths of mutually orthogonal signals, which can monitor and eliminate direct current offset errors and amplitude mismatch errors in real time.
In order to solve the technical problem, according to one aspect of the present invention, the following technical solutions are adopted:
a background calibration method for eliminating non-ideality of two paths of mutually orthogonal signals comprises the following steps:
s1, obtaining wave crests and wave troughs of the two orthogonal signals by utilizing the phase relation between the orthogonal signals;
step S2, calculating a direct current mismatch error and an amplitude mismatch error according to the wave crests and the wave troughs of the two paths of orthogonal signals acquired in the step S1;
and step S3, compensating the direct current offset error and the amplitude mismatch error acquired in the step S2 into a signal processing link in real time through an interpolation algorithm.
As an embodiment of the present invention, in step S1, three sets of adjacent sampling points are obtained, which are a first sampling point, a second sampling point, and a third sampling point, respectively, where coordinates of the first sampling point are (x1, y1), coordinates of the second sampling point are (x2, y2), and coordinates of the third sampling point are (x3, y 3):
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (5), obtaining that the wave trough of the X-axis signal is X _ min-X2;
Figure BDA0002458319460000021
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), obtaining the peak of the X-axis signal as X _ max ═ X2;
Figure BDA0002458319460000022
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (52), obtaining that the trough of the Y-axis signal is Y _ min-Y2;
Figure BDA0002458319460000023
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (62), obtaining the peak of the Y-axis signal as Y _ max ═ Y2;
Figure BDA0002458319460000024
as an embodiment of the present invention, in step S2, according to the four parameters of the valley X _ min of the X-axis signal, the peak X _ max of the X-axis signal, the valley Y _ min of the Y-axis signal, and the peak Y _ max of the Y-axis signal obtained in step S1, the dc offset error and the amplitude mismatch error of the two signals of the X-axis and the Y-axis are derived, which are respectively expressed as formula (7);
Figure BDA0002458319460000031
wherein bx is the DC offset error of the X-axis signal, by is the DC offset error of the Y-axis signal, and k is the amplitude mismatch error between the X-axis and the Y-axis.
As an embodiment of the present invention, the step S3 includes:
when the compensation data (bx, by, k) changes, the new compensation parameters are compared with the compensation parameters output by the interpolation algorithm, the meaning of the comparison function sign () is shown as a formula (8), and the output of the comparison function sign () is summed with the compensation parameters output by the interpolation algorithm at the previous time, so that the latest compensation parameters are obtained:
Figure BDA0002458319460000032
where a is a set value.
In one embodiment of the present invention, a is 1.
According to another aspect of the invention, the following technical scheme is adopted: a background calibration system for eliminating two paths of mutual orthogonal signal nonidealities comprises:
the wave crest and trough acquisition module is used for acquiring wave crests and wave troughs of the two orthogonal signals by utilizing the phase relationship between the orthogonal signals;
the error acquisition module is used for calculating a direct current offset error and an amplitude mismatch error according to the wave crests and the wave troughs of the two orthogonal signals acquired by the wave crest and wave trough acquisition module;
and the interpolation compensation module is used for compensating the direct current offset error and the amplitude mismatch error acquired by the error acquisition module into a signal processing link in real time through an interpolation algorithm.
As an embodiment of the present invention, the peak and valley acquiring module is configured to acquire three sets of adjacent sampling points, which are a first sampling point, a second sampling point and a third sampling point, respectively, where coordinates of the first sampling point are (x1, y1), coordinates of the second sampling point are (x2, y2), and coordinates of the third sampling point are (x3, y 3):
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (5), the wave crest and wave trough obtaining module obtains that the wave trough of the X-axis signal is X _ min ═ X2;
Figure BDA0002458319460000033
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), the peak and trough obtaining module obtains a peak of the X-axis signal as X _ max being X2;
Figure BDA0002458319460000041
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (52), the wave crest and wave trough obtaining module obtains the wave trough of the Y-axis signal as Y _ min-Y2;
Figure BDA0002458319460000042
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), the peak and trough obtaining module obtains a Y-axis signal peak Y _ max which is Y2;
Figure BDA0002458319460000043
as an embodiment of the present invention, the error obtaining module derives the dc offset error and the amplitude mismatch error of the two signals of the X-axis and the Y-axis according to four parameters, namely, the valley X _ min of the X-axis signal, the peak X _ max of the X-axis signal, the valley Y _ min of the Y-axis signal, and the peak Y _ max of the Y-axis signal, which are obtained by the peak and valley obtaining module, as shown in formula (7);
Figure BDA0002458319460000044
wherein bx is the DC offset error of the X-axis signal, by is the DC offset error of the Y-axis signal, and k is the amplitude mismatch error between the X-axis and the Y-axis.
As an embodiment of the present invention, the interpolation compensation module is configured to compare a new compensation parameter with a compensation parameter output by an interpolation algorithm when the compensation data (bx, by, k) changes, where the meaning of the comparison function sign () is shown in formula (8), and the comparison function sign () is summed with the compensation parameter output by the interpolation algorithm at the previous time to obtain a latest compensation parameter:
Figure BDA0002458319460000045
where a is a set value.
In one embodiment of the present invention, a is 1.
The invention has the beneficial effects that: the background calibration method and the background calibration system for eliminating the nonidealities of the two paths of orthogonal signals can monitor and eliminate the loss modulation error and the amplitude mismatch error in real time.
The method utilizes the phase relation between two paths of mutually orthogonal signals to monitor the peak value and the valley value of the two paths of signals in real time; calculating the direct current offset error and the amplitude mismatch error of the two paths of signals according to the peak value/valley value, and further updating the compensation parameters in real time; and (4) interpolating the updated compensation parameters and then sending the interpolated compensation parameters to a compensation network, thereby eliminating the non-ideality of the original signal in real time (the non-ideality means that direct current loss modulation errors and amplitude mismatch errors exist).
The method for obtaining the system compensation parameter by utilizing the phase relation between two paths of mutually orthogonal signals has the advantages of high sensitivity, high reliability and the like; the mode of updating the compensation parameters by using an interpolation algorithm can prevent the system output from sudden change and ensure the continuity and stability of the system output; the background calibration algorithm of real-time monitoring and real-time compensation can prevent the fluctuation of the manufacturing process, can also cope with the parameter drift of the sensor caused by factors such as the application environment change of the product, the aging of devices and the like, and improves the stability and the reliability of the product.
Drawings
Fig. 1 is a typical system block diagram of an angle sensor based on magnetic sensing technology.
Fig. 2 is a schematic diagram of a background calibration method based on peak-to-valley detection according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a technique for detecting peak-to-valley values of signals by using a phase relationship between mutually orthogonal signals according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of a compensation parameter interpolation algorithm according to an embodiment of the present invention.
FIG. 5 is a waveform diagram of an input and an output of an interpolation algorithm according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
For a further understanding of the invention, reference will now be made to the preferred embodiments of the present invention by way of example, and it is to be understood that the description is intended to further illustrate the features and advantages of the present invention and is not intended to limit the scope of the appended claims.
The description in this section is for several exemplary embodiments only, and the present invention is not limited only to the scope of the embodiments described. It is within the scope of the present disclosure and protection that the same or similar prior art means and some features of the embodiments may be interchanged.
The invention discloses a background calibration method for eliminating non-ideality of two paths of mutually orthogonal signals, and fig. 2 is a schematic diagram of the background calibration method based on peak-to-valley detection in an embodiment of the invention; referring to fig. 2, in an embodiment of the present invention, the background calibration method includes:
step S1, obtaining wave crests and wave troughs of the two paths of orthogonal signals by utilizing the phase relation between the orthogonal signals;
step S2, calculating a direct current offset error and an amplitude mismatch error according to the wave crests and the wave troughs of the two paths of orthogonal signals obtained in the step S1;
step S3, the dc offset error and the amplitude mismatch error obtained in step S2 are compensated in real time to the signal processing link by an interpolation algorithm.
In an embodiment of the present invention, in the step S1, three sets of adjacent sampling points are obtained, which are a first sampling point, a second sampling point and a third sampling point, respectively, where coordinates of the first sampling point are (x1, y1), coordinates of the second sampling point are (x2, y2), and coordinates of the third sampling point are (x3, y 3).
FIG. 3 is a schematic diagram of a technique for detecting peak-to-valley values of signals using a phase relationship between mutually orthogonal signals according to an embodiment of the present invention; referring to fig. 3, in an embodiment of the invention:
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (5), obtaining that the wave trough of the X-axis signal is X _ min-X2;
Figure BDA0002458319460000061
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), obtaining the peak of the X-axis signal as X _ max ═ X2;
Figure BDA0002458319460000062
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (52), obtaining that the trough of the Y-axis signal is Y _ min-Y2;
Figure BDA0002458319460000063
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (62), obtaining the peak of the Y-axis signal as Y _ max ═ Y2;
Figure BDA0002458319460000064
as an embodiment of the present invention, in step S2, according to the four parameters of the valley X _ min of the X-axis signal, the peak X _ max of the X-axis signal, the valley Y _ min of the Y-axis signal, and the peak Y _ max of the Y-axis signal obtained in step S1, the dc offset error and the amplitude mismatch error of the two signals of the X-axis and the Y-axis are derived, which are respectively expressed as formula (7);
Figure BDA0002458319460000065
wherein bx is the DC offset error of the X-axis signal, by is the DC offset error of the Y-axis signal, and k is the amplitude mismatch error between the X-axis and the Y-axis.
If direct current offset errors and amplitude mismatch errors (bx, by, k) of the two paths of signals are directly substituted into the compensation network in the graph (2), sudden change of output signals of the sensor can be caused, and misjudgment of a user is caused. In order to prevent such phenomena, the present invention adds an interpolation algorithm, and fig. 4 is a schematic diagram of a compensation parameter interpolation algorithm according to an embodiment of the present invention; referring to fig. 4, in an embodiment of the present invention, when the compensation data (bx, by, k) changes, a difference comparison is performed between a new compensation parameter and a compensation parameter output by the interpolation algorithm, the meaning of the comparison function sign () is shown in formula (8), and the latest compensation parameter is obtained by summing the output of the comparison function sign () and the compensation parameter output by the interpolation algorithm at the previous time:
Figure BDA0002458319460000071
where a is a set value. In one embodiment of the present invention, a is 1. FIG. 5 is a waveform diagram of an input and an output of an interpolation algorithm according to an embodiment of the present invention.
The invention also discloses a background calibration system for eliminating the nonideality of two paths of mutually orthogonal signals, which comprises the following steps: the device comprises a peak and trough obtaining module 1, an error obtaining module 2 and an interpolation compensation module 3. The peak and trough obtaining module 1 is used for obtaining peaks and troughs of two orthogonal signals by using a phase relationship between the orthogonal signals. The error obtaining module 2 is configured to calculate a dc offset error and an amplitude mismatch error according to the peaks and troughs of the two orthogonal signals obtained by the peak and trough obtaining module 1. The interpolation compensation module 3 is used for compensating the direct current offset error and the amplitude mismatch error acquired by the error acquisition module 2 into a signal processing link in real time through an interpolation algorithm.
In an embodiment of the present invention, the peak and valley obtaining module 1 is configured to obtain three sets of adjacent sampling points, which are a first sampling point, a second sampling point and a third sampling point, respectively, where coordinates of the first sampling point are (x1, y1), coordinates of the second sampling point are (x2, y2), and coordinates of the third sampling point are (x3, y 3):
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (5), the peak and trough obtaining module obtains X _ min as X2 (fig. 3 can be combined with);
Figure BDA0002458319460000072
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), the peak and valley obtaining module obtains that the peak of the X-axis signal is X _ max ═ X2 (fig. 3 can be combined);
Figure BDA0002458319460000073
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (52), the wave crest and wave trough obtaining module obtains the wave trough of the Y-axis signal as Y _ min-Y2;
Figure BDA0002458319460000074
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), the peak and trough obtaining module obtains a Y-axis signal peak Y _ max which is Y2;
Figure BDA0002458319460000081
in an embodiment of the present invention, the error obtaining module 2 derives the dc offset error and the amplitude mismatch error of the two signals of the X-axis and the Y-axis according to four parameters, namely, the valley X _ min of the X-axis signal, the peak X _ max of the X-axis signal, the valley Y _ min of the Y-axis signal, and the peak Y _ max of the Y-axis signal, which are obtained by the peak and valley obtaining module, respectively as in formula (7);
Figure BDA0002458319460000082
wherein bx is the DC offset error of the X-axis signal, by is the DC offset error of the Y-axis signal, and k is the amplitude mismatch error between the X-axis and the Y-axis.
With reference to fig. 4 and 5, in an embodiment of the present invention, the interpolation compensation module 3 is configured to compare a new compensation parameter with a compensation parameter output by an interpolation algorithm when the compensation data (bx, by, k) changes, a meaning of the comparison function sign () is shown in formula (8), and the latest compensation parameter is obtained by summing an output of the comparison function sign () with a compensation parameter output by the interpolation algorithm at the previous time:
Figure BDA0002458319460000083
where a is a set value. In one embodiment of the present invention, a is 1.
In summary, the background calibration method and system for eliminating the nonidealities of the two paths of orthogonal signals provided by the invention can monitor and eliminate the direct current offset error and the amplitude mismatch error in real time.
The method utilizes the phase relation between two paths of mutually orthogonal signals to monitor the peak value and the valley value of the two paths of signals in real time; calculating the direct current offset error and the amplitude mismatch error of the two paths of signals according to the peak value/valley value, and further updating the compensation parameters in real time; and (4) interpolating the updated compensation parameters and then sending the interpolated compensation parameters to a compensation network, thereby eliminating the non-ideality of the original signal in real time (the non-ideality means that direct current loss modulation errors and amplitude mismatch errors exist).
The method for obtaining the system compensation parameter by utilizing the phase relation between two paths of mutually orthogonal signals has the advantages of high sensitivity, high reliability and the like; the mode of updating the compensation parameters by using an interpolation algorithm can prevent the system output from sudden change and ensure the continuity and stability of the system output; the background calibration algorithm of real-time monitoring and real-time compensation can prevent the fluctuation of the manufacturing process, can also cope with the parameter drift of the sensor caused by factors such as the application environment change of the product, the aging of devices and the like, and improves the stability and the reliability of the product.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The description and applications of the invention herein are illustrative and are not intended to limit the scope of the invention to the embodiments described above. Variations and modifications of the embodiments disclosed herein are possible, and alterations and equivalents of the various elements of the embodiments are known to those skilled in the art. It will be clear to those skilled in the art that the present invention may be embodied in other forms, structures, arrangements, proportions, and with other components, materials, and parts, without departing from the spirit or essential characteristics thereof. Other variations and modifications of the embodiments disclosed herein may be made without departing from the scope and spirit of the invention.

Claims (10)

1. A background calibration method for eliminating non-ideality of two paths of mutually orthogonal signals is characterized by comprising the following steps:
s1, obtaining wave crests and wave troughs of the two orthogonal signals by utilizing the phase relation between the orthogonal signals;
step S2, calculating a direct current offset error and an amplitude mismatch error according to the wave crests and the wave troughs of the two paths of orthogonal signals obtained in the step S1;
and step S3, compensating the direct current offset error and the amplitude mismatch error acquired in the step S2 to a signal processing link in real time through an interpolation algorithm.
2. The background calibration method for eliminating the non-ideality of two paths of mutually orthogonal signals according to claim 1, characterized in that:
in step S1, three groups of adjacent sampling points are obtained, which are respectively a first sampling point, a second sampling point, and a third sampling point, where coordinates of the first sampling point are (x1, y1), coordinates of the second sampling point are (x2, y2), and coordinates of the third sampling point are (x3, y 3):
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (5), obtaining that the wave trough of the X-axis signal is X _ min-X2;
Figure FDA0002458319450000011
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), obtaining the peak of the X-axis signal as X _ max ═ X2;
Figure FDA0002458319450000012
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (52), obtaining that the trough of the Y-axis signal is Y _ min-Y2;
Figure FDA0002458319450000013
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (62), obtaining the peak of the Y-axis signal as Y _ max ═ Y2;
Figure FDA0002458319450000014
3. the background calibration method for eliminating the non-ideality of two paths of mutually orthogonal signals according to claim 1, characterized in that:
in step S2, deriving a dc offset error and an amplitude mismatch error of the two signals of the X-axis and the Y-axis according to the four parameters of the wave trough X _ min of the X-axis signal, the wave crest X _ max of the X-axis signal, the wave trough Y _ min of the Y-axis signal, and the wave crest Y _ max of the Y-axis signal, which are obtained in step S1, as shown in formula (7);
Figure FDA0002458319450000021
wherein bx is the DC offset error of the X-axis signal, by is the DC offset error of the Y-axis signal, and k is the amplitude mismatch error between the X-axis and the Y-axis.
4. The background calibration method for eliminating the non-ideality of two paths of mutually orthogonal signals according to claim 1, characterized in that:
the step S3 includes:
when the compensation data (bx, by, k) changes, the new compensation parameters are compared with the compensation parameters output by the interpolation algorithm, the meaning of the comparison function sign () is shown as a formula (8), and the output of the comparison function sign () is summed with the compensation parameters output by the interpolation algorithm at the previous time, so that the latest compensation parameters are obtained:
Figure FDA0002458319450000022
where a is a set value.
5. The background calibration method for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 4, is characterized in that:
wherein a is 1.
6. A background calibration system for eliminating two paths of mutual orthogonal signal nonidealities is characterized in that the background calibration system comprises:
the wave crest and trough acquisition module is used for acquiring wave crests and troughs of the two orthogonal signals by utilizing the phase relationship between the orthogonal signals;
the error acquisition module is used for calculating a direct current offset error and an amplitude mismatch error according to the wave crests and the wave troughs of the two orthogonal signals acquired by the wave crest and wave trough acquisition module;
and the interpolation compensation module is used for compensating the direct current offset error and the amplitude mismatch error acquired by the error acquisition module into a signal processing link in real time through an interpolation algorithm.
7. The background calibration system for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 6, wherein:
the peak and trough acquiring module is used for acquiring three groups of adjacent sampling points, namely a first sampling point, a second sampling point and a third sampling point, wherein the coordinates of the first sampling point are (x1, y1), the coordinates of the second sampling point are (x2, y2), and the coordinates of the third sampling point are (x3, y 3):
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (5), the wave crest and wave trough obtaining module obtains that the wave trough of the X-axis signal is X _ min ═ X2;
Figure FDA0002458319450000031
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), the peak and trough obtaining module obtains a peak of the X-axis signal as X _ max being X2;
Figure FDA0002458319450000032
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (52), the wave crest and trough acquiring module acquires that the trough of the Y-axis signal is Y _ min-Y2;
Figure FDA0002458319450000033
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), the peak and trough obtaining module obtains a Y-axis signal peak Y _ max which is Y2;
Figure FDA0002458319450000034
8. the background calibration system for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 6, wherein:
the error acquisition module deduces the direct current offset error and the amplitude mismatch error of the two paths of signals of the X-axis and the Y-axis according to four parameters of a wave trough X _ min of the X-axis signal, a wave crest X _ max of the X-axis signal, a wave trough Y _ min of the Y-axis signal and a wave crest Y _ max of the Y-axis signal acquired by the wave crest and wave trough acquisition module, wherein the four parameters are respectively shown in a formula (7);
Figure FDA0002458319450000035
wherein bx is the DC offset error of the X-axis signal, by is the DC offset error of the Y-axis signal, and k is the amplitude mismatch error between the X-axis and the Y-axis.
9. The background calibration system for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 6, wherein:
the interpolation compensation module is used for comparing a new compensation parameter with a compensation parameter output by an interpolation algorithm when the compensation data (bx, by, k) change, the meaning of a comparison function sign () is shown in a formula (8), and the output of the comparison function sign () is summed with the compensation parameter output by the interpolation algorithm at the previous time to obtain the latest compensation parameter:
Figure FDA0002458319450000041
where a is a set value.
10. The background calibration system for eliminating two paths of mutually orthogonal signal nonidealities as recited in claim 9, wherein:
wherein a is 1.
CN202010312319.3A 2020-04-20 2020-04-20 Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals Active CN111781546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010312319.3A CN111781546B (en) 2020-04-20 2020-04-20 Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010312319.3A CN111781546B (en) 2020-04-20 2020-04-20 Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals

Publications (2)

Publication Number Publication Date
CN111781546A true CN111781546A (en) 2020-10-16
CN111781546B CN111781546B (en) 2023-04-07

Family

ID=72753576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010312319.3A Active CN111781546B (en) 2020-04-20 2020-04-20 Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals

Country Status (1)

Country Link
CN (1) CN111781546B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112904261A (en) * 2021-01-11 2021-06-04 深圳麦歌恩科技有限公司 Harmonic calibration system and method, and error harmonic component coefficient calculation system and method
CN114608629A (en) * 2021-11-02 2022-06-10 杭州微光技术有限公司 Incremental encoder based on AMR technology
CN114858062A (en) * 2022-06-13 2022-08-05 探维科技(北京)有限公司 Detection signal processing method, device, medium, equipment and grating ruler

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009008445A1 (en) * 2007-07-10 2009-01-15 Nec Corporation Signal processor and signal processing method
CN102291141A (en) * 2011-04-22 2011-12-21 合肥工业大学 Time-interleaved split ADC (Analog-to-Digital Converter) calibration structure without redundant channel and adaptive calibration method thereof
US20130335074A1 (en) * 2012-06-18 2013-12-19 Allegro Microsystems, Inc. Magnetic Field Sensors and Related Techniques That Can Provide Self-Test Information
US20160103197A1 (en) * 2014-10-12 2016-04-14 John Weber Schultz Correction of transmission line induced phase and amplitude errors in reflectivity measurements
US20160146903A1 (en) * 2014-11-20 2016-05-26 Apple Inc. Low-power magnetometer assemblies with high offset stability
CN106100305A (en) * 2016-08-24 2016-11-09 电子科技大学 DC maladjustment removing method in COT ripple compensation circuit
CN106341131A (en) * 2015-07-07 2017-01-18 美国亚德诺半导体公司 Background Estimation Of Comparator Offset Of An Analog-To-Digital Converter
CN106936519A (en) * 2015-12-31 2017-07-07 联芯科技有限公司 A kind of signal calibration method, device and signal processing system
CN107084662A (en) * 2017-04-12 2017-08-22 合肥工业大学 Orthogonal signalling real-time processing method based on FPGA
CN107588793A (en) * 2017-04-24 2018-01-16 上海麦歌恩微电子股份有限公司 Magnetic angular sensor calibrating method based on discrete Sine and cosine transform
CN108132448A (en) * 2017-12-26 2018-06-08 北京无线电计量测试研究所 For the device and method of phase generator phase zero point correction
CN108959183A (en) * 2018-06-05 2018-12-07 上海麦歌恩微电子股份有限公司 The forward interpolation method of angular transducer and rotary encoder
CN110943748A (en) * 2019-11-08 2020-03-31 芯原微电子(上海)股份有限公司 Automatic mismatch calibration circuit, radio frequency receiver system and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009008445A1 (en) * 2007-07-10 2009-01-15 Nec Corporation Signal processor and signal processing method
CN102291141A (en) * 2011-04-22 2011-12-21 合肥工业大学 Time-interleaved split ADC (Analog-to-Digital Converter) calibration structure without redundant channel and adaptive calibration method thereof
US20130335074A1 (en) * 2012-06-18 2013-12-19 Allegro Microsystems, Inc. Magnetic Field Sensors and Related Techniques That Can Provide Self-Test Information
US20160103197A1 (en) * 2014-10-12 2016-04-14 John Weber Schultz Correction of transmission line induced phase and amplitude errors in reflectivity measurements
US20160146903A1 (en) * 2014-11-20 2016-05-26 Apple Inc. Low-power magnetometer assemblies with high offset stability
CN106341131A (en) * 2015-07-07 2017-01-18 美国亚德诺半导体公司 Background Estimation Of Comparator Offset Of An Analog-To-Digital Converter
CN106936519A (en) * 2015-12-31 2017-07-07 联芯科技有限公司 A kind of signal calibration method, device and signal processing system
CN106100305A (en) * 2016-08-24 2016-11-09 电子科技大学 DC maladjustment removing method in COT ripple compensation circuit
CN107084662A (en) * 2017-04-12 2017-08-22 合肥工业大学 Orthogonal signalling real-time processing method based on FPGA
CN107588793A (en) * 2017-04-24 2018-01-16 上海麦歌恩微电子股份有限公司 Magnetic angular sensor calibrating method based on discrete Sine and cosine transform
CN108132448A (en) * 2017-12-26 2018-06-08 北京无线电计量测试研究所 For the device and method of phase generator phase zero point correction
CN108959183A (en) * 2018-06-05 2018-12-07 上海麦歌恩微电子股份有限公司 The forward interpolation method of angular transducer and rotary encoder
CN110943748A (en) * 2019-11-08 2020-03-31 芯原微电子(上海)股份有限公司 Automatic mismatch calibration circuit, radio frequency receiver system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡必尧: "基于隧道磁电阻传感器的磁探测技术", 《探测与控制学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112904261A (en) * 2021-01-11 2021-06-04 深圳麦歌恩科技有限公司 Harmonic calibration system and method, and error harmonic component coefficient calculation system and method
CN112904261B (en) * 2021-01-11 2024-03-19 深圳麦歌恩科技有限公司 Harmonic calibration system and method, error harmonic component coefficient calculation system and method
CN114608629A (en) * 2021-11-02 2022-06-10 杭州微光技术有限公司 Incremental encoder based on AMR technology
CN114858062A (en) * 2022-06-13 2022-08-05 探维科技(北京)有限公司 Detection signal processing method, device, medium, equipment and grating ruler
CN114858062B (en) * 2022-06-13 2022-09-16 探维科技(北京)有限公司 Detection signal processing method, device, medium, equipment and grating ruler

Also Published As

Publication number Publication date
CN111781546B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111781546B (en) Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals
Mochizuki et al. A high-resolution, linear resistance-to-frequency converter
CN111051820B (en) Detection circuit, chip and detection system of bridge sensor
CN101131329A (en) Correction circuit for coder signal
CN110146201A (en) A kind of transducing signal conditioning system and temperature-compensation method with temperature-compensating
KR102568070B1 (en) Reduction of non-linearity errors in automotive pressure sensors
US7642875B2 (en) Temperature correcting apparatus and voltage-controlled oscillation apparatus
Li et al. A novel smart resistive-capacitive position sensor
CN113048871B (en) Harmonic component-based nonlinear real-time calibration method for capacitance displacement detection
JPH10311743A (en) Offset correction circuit of encoder
CN105044459A (en) Harmonic analysis method
CN112904261B (en) Harmonic calibration system and method, error harmonic component coefficient calculation system and method
CN113155159B (en) Bridge detector
Shen et al. High-precision magnetic encoder module design based on real-time error compensation algorithm
JP2839341B2 (en) Calibration device for position signal
CN110530544A (en) A kind of temperature correction method and system
Zambrano et al. Online digital offset voltage compensation method for AMR sensors
JPS6197543A (en) Compensation circuit for semiconductor pressure sensor
CN114513251B (en) Continuous phase measurement method based on double mixing
Dong et al. Curve fitting and piecewise linear method for z-type temperature sensor
JP2002131084A (en) Position detector
JPS61273130A (en) State estimate system of power system
Hou et al. Application of signal flow network on calibration capacitive rotary encoder
Yang et al. Research on Compensation Technology of Multi-resonant Current Frequency Conversion Circuit
Bai et al. ADC border effect and suppression of quantization error in the digital dynamic measurement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant