CN111781546B - Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals - Google Patents
Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals Download PDFInfo
- Publication number
- CN111781546B CN111781546B CN202010312319.3A CN202010312319A CN111781546B CN 111781546 B CN111781546 B CN 111781546B CN 202010312319 A CN202010312319 A CN 202010312319A CN 111781546 B CN111781546 B CN 111781546B
- Authority
- CN
- China
- Prior art keywords
- wave
- axis signal
- error
- paths
- orthogonal signals
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R33/00—Arrangements or instruments for measuring magnetic variables
- G01R33/0023—Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
- G01R33/0035—Calibration of single magnetic sensors, e.g. integrated calibration
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R33/00—Arrangements or instruments for measuring magnetic variables
- G01R33/0023—Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
- G01R33/0029—Treating the measured signals, e.g. removing offset or noise
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 two paths of orthogonal signals by utilizing a phase relation between the orthogonal signals; 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 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. 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
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 mutually 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, 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 and filtered (Vxp/Vyp) and is sent to a digital signal processing unit (DSP) after analog-to-digital conversion (Dx/Dy); 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:
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:
wherein, b x 、b y Is the direct current offset error (DC offset) and k is the amplitude mismatch error (amplitude mismatch). By simple mathematical derivation, it can be concluded that the error e of the comparison of the angle value θ calculated using equation (2) with the actual angle value α can be approximately expressed using equation (4) when these three errors exist.
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 non-ideality 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 two paths of orthogonal signals by utilizing a phase relation between the orthogonal signals;
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 obtained in the step S1;
and 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 (x 1, y 1), coordinates of the second sampling point are (x 2, y 2), and coordinates of the third sampling point are (x 3, y 3):
if the 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;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (6), obtaining the peak of the X-axis signal as X _ max = X2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (52), obtaining the trough of the Y-axis signal as Y _ min = Y2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), obtaining the peak of the Y-axis signal as Y _ max = Y2;
as an embodiment of the present invention, in step S2, 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 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 as in formula (7);
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:
where a is a set value.
As an embodiment of the present invention, wherein a =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 adjacent sets of 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 (x 1, y 1), coordinates of the second sampling point are (x 2, y 2), and coordinates of the third sampling point are (x 3, y 3):
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (5), the wave trough of the X-axis signal obtained by the wave crest and wave trough obtaining module is X _ min = X2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (6), the peak and trough obtaining module obtains the peak of the X-axis signal as X _ max = X2;
if the 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;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), the peak-to-valley obtaining module obtains the peak of the Y-axis signal as Y _ max = Y2;
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 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 by the wave crest and wave trough obtaining module, and the dc offset error and the amplitude mismatch error are respectively given as formula (7);
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:
where a is a set value.
As an embodiment of the present invention, wherein a =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 parameters 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 one 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 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;
and (S3) compensating the direct current misadjustment error and the amplitude misadjustment error acquired in the step S2 into a signal processing link in real time through an interpolation algorithm.
In an embodiment of the present invention, in step S1, three sets 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 (x 1, y 1), coordinates of the second sampling point are (x 2, y 2), and coordinates of the third sampling point are (x 3, 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 the 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;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (6), obtaining the peak of the X-axis signal as X _ max = X2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (52), obtaining the trough of the Y-axis signal as Y _ min = Y2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), obtaining the peak of the Y-axis signal as Y _ max = Y2;
as an embodiment of the present invention, in step S2, 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 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 as in formula (7);
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:
where a is a set value. In an embodiment of the present invention, a =1. FIG. 5 is a schematic diagram of waveforms input and output by the interpolation algorithm of the present invention 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 acquiring module 1 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 (x 1, y 1), coordinates of the second sampling point are (x 2, y 2), and coordinates of the third sampling point are (x 3, y 3):
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (5), the peak and trough obtaining module obtains that the trough of the X-axis signal is X _ min = X2 (fig. 3 can be combined);
if three groups of adjacent sampling points simultaneously satisfy two conditions in the formula (6), the peak-valley obtaining module obtains that the peak of the X-axis signal is X _ max = X2 (fig. 3 can be combined);
if the 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;
if three groups of adjacent sampling points simultaneously meet two conditions in a formula (62), the peak and trough obtaining module obtains the peak of the Y-axis signal as Y _ max = Y2;
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);
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:
where a is a set value. In an embodiment of the present invention, a =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 (8)
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 two paths of orthogonal signals by utilizing a phase relation between the orthogonal signals;
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;
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;
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:
where a is a set value.
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 a first sampling point, a second sampling point, and a third sampling point, respectively, where coordinates of the first sampling point are (x 1, y 1), coordinates of the second sampling point are (x 2, y 2), and coordinates of the third sampling point are (x 3, y 3):
if the 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;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (6), obtaining the peak of the X-axis signal as X _ max = X2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (52), obtaining the trough of the Y-axis signal as Y _ min = Y2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (62), obtaining the peak of the Y-axis signal as Y _ max = Y2;
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 the step S2, 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 obtained in the step S1, the direct current misadjustment error and the amplitude misadjustment error of the X-axis signal and the Y-axis signal are deduced, and are respectively shown in a formula (7);
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:
wherein a =1.
5. 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;
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;
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:
where a is a set value.
6. The background calibration system for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 5, 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 (x 1, y 1), the coordinates of the second sampling point are (x 2, y 2), and the coordinates of the third sampling point are (x 3, y 3):
if three groups of adjacent sampling points simultaneously meet two conditions in the formula (5), the wave trough of the X-axis signal obtained by the wave crest and wave trough obtaining module is X _ min = X2;
if the three groups of adjacent sampling points simultaneously meet two conditions in the formula (6), the peak and trough obtaining module obtains the peak of the X-axis signal as X _ max = X2;
if three groups of adjacent sampling points simultaneously meet two conditions in a formula (52), the wave trough of the Y-axis signal obtained by the wave crest and wave trough obtaining module is Y _ min = Y2;
if three groups of adjacent sampling points simultaneously meet two conditions in a formula (62), the peak and trough obtaining module obtains the peak of the Y-axis signal as Y _ max = Y2;
7. the background calibration system for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 5, 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);
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.
8. The background calibration system for eliminating the non-idealities of the two paths of mutually orthogonal signals according to claim 5, wherein:
wherein a =1.
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 CN111781546A (en) | 2020-10-16 |
CN111781546B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN114858062B (en) * | 2022-06-13 | 2022-09-16 | 探维科技(北京)有限公司 | Detection signal processing method, device, medium, equipment and grating ruler |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936519A (en) * | 2015-12-31 | 2017-07-07 | 联芯科技有限公司 | A kind of signal calibration method, device and signal processing system |
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 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5365516B2 (en) * | 2007-07-10 | 2013-12-11 | 日本電気株式会社 | Signal processing apparatus and signal processing method |
CN102291141B (en) * | 2011-04-22 | 2014-03-12 | 合肥工业大学 | Time-interleaved split ADC (Analog-to-Digital Converter) calibration structure without redundant channel and adaptive calibration method thereof |
US9222990B2 (en) * | 2012-06-18 | 2015-12-29 | Allegro Microsystems, Llc | Magnetic field sensors and related techniques that can communicate at least one of three or more potential categories in which one or more characteristic values of a proximity signal responsive to a proximity of a sensed object are categorized |
US11215655B2 (en) * | 2014-10-12 | 2022-01-04 | Compass Technology Group, LLC | Correction of transmission line induced phase and amplitude errors in reflectivity measurements |
US10094888B2 (en) * | 2014-11-20 | 2018-10-09 | Apple Inc. | Low-power magnetometer assemblies with high offset stability |
US9602121B2 (en) * | 2015-07-07 | 2017-03-21 | Analog Devices, Inc. | Background estimation of comparator offset of an analog-to-digital converter |
CN106100305B (en) * | 2016-08-24 | 2018-07-20 | 电子科技大学 | DC maladjustment removing method in COT ripple compensation circuits |
CN107084662A (en) * | 2017-04-12 | 2017-08-22 | 合肥工业大学 | Orthogonal signalling real-time processing method based on FPGA |
CN110943748B (en) * | 2019-11-08 | 2022-04-12 | 芯原微电子(上海)股份有限公司 | Automatic mismatch calibration circuit, radio frequency receiver system and method |
-
2020
- 2020-04-20 CN CN202010312319.3A patent/CN111781546B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936519A (en) * | 2015-12-31 | 2017-07-07 | 联芯科技有限公司 | A kind of signal calibration method, device and signal processing system |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN111781546A (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111781546B (en) | Background calibration method and system for eliminating nonidealities of two paths of mutually orthogonal signals | |
CN111051820B (en) | Detection circuit, chip and detection system of bridge sensor | |
CN110146201A (en) | A kind of transducing signal conditioning system and temperature-compensation method with temperature-compensating | |
US10101230B2 (en) | Reduction of non-linearity errors in automotive pressure sensors | |
US20070229179A1 (en) | Temperature Correcting Apparatus and Voltage-Controlled Oscillation Apparatus | |
Zhang et al. | Dynamic angular velocity modeling and error compensation of one-fiber fiber optic gyroscope (OFFOG) in the whole temperature range | |
CN108593203B (en) | Pressure sensor calibration method based on MC8051 | |
CN115979324A (en) | Nonlinear calibration method and device for magnetic encoder | |
CN112415458A (en) | Current sensor linearity testing system and calibration method | |
JP2008304249A (en) | Encoder signal processing device and its signal processing method | |
CN113048871B (en) | Harmonic component-based nonlinear real-time calibration method for capacitance displacement detection | |
CN108680616B (en) | Humidity sensing device and method for digital processing | |
KR20120032907A (en) | A area-varying capacitive sensor and a self-compensation and signal linearization method thereof | |
CN117804646A (en) | Pressure sensor and method for realizing pressure sensing | |
CN110530544A (en) | A kind of temperature correction method and system | |
CN114513251B (en) | Continuous phase measurement method based on double mixing | |
CN107747946B (en) | On-line identification compensation method for error of inter-satellite-sensitive orbit periodic system | |
JP2839341B2 (en) | Calibration device for position signal | |
CN211085271U (en) | Detection circuit, chip and detection system of bridge sensor | |
Shen et al. | High-precision magnetic encoder module design based on real-time error compensation algorithm | |
CN115754886A (en) | Electric energy meter metering compensation method, storage medium and electric energy meter | |
CN112904261B (en) | Harmonic calibration system and method, error harmonic component coefficient calculation system and method | |
Zambrano et al. | Online digital offset voltage compensation method for AMR sensors | |
JPS6197543A (en) | Compensation circuit for semiconductor pressure sensor | |
Dong et al. | Curve fitting and piecewise linear method for z-type temperature sensor |
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 |