[go: up one dir, main page]

CN118936369A - A system and method for detecting sensitive components of an angle measurement sensor - Google Patents

A system and method for detecting sensitive components of an angle measurement sensor Download PDF

Info

Publication number
CN118936369A
CN118936369A CN202411394858.0A CN202411394858A CN118936369A CN 118936369 A CN118936369 A CN 118936369A CN 202411394858 A CN202411394858 A CN 202411394858A CN 118936369 A CN118936369 A CN 118936369A
Authority
CN
China
Prior art keywords
pulse
measurement
data
original
time interval
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
CN202411394858.0A
Other languages
Chinese (zh)
Other versions
CN118936369B (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.)
Hunan Zhiwo Internet Of Things Technology Co ltd
Original Assignee
Hunan Zhiwo Internet Of Things Technology 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 Hunan Zhiwo Internet Of Things Technology Co ltd filed Critical Hunan Zhiwo Internet Of Things Technology Co ltd
Priority to CN202411394858.0A priority Critical patent/CN118936369B/en
Priority claimed from CN202411394858.0A external-priority patent/CN118936369B/en
Publication of CN118936369A publication Critical patent/CN118936369A/en
Application granted granted Critical
Publication of CN118936369B publication Critical patent/CN118936369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/02Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
    • G01B21/04Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness by measuring coordinates of points
    • G01B21/045Correction of measurements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/2433Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/27Regression, e.g. linear or logistic regression

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The invention relates to the technical field of sensor testing, and discloses a detection system and a detection method for a sensitive component of an angle measurement sensor, wherein the detection system comprises the following steps: acquiring an original pulse signal set acquired by an angle measurement sensor; when judging that pulse abnormality occurs in the original pulse signal set according to a preset pulse time interval threshold, acquiring pulse characteristic data, and inputting the pulse characteristic data into a pre-trained pulse abnormality detection model to acquire the number of lost pulses or the number of repeated pulses occurring in a measurement time period; inputting the original measured pulse number M, the lost pulse number and the repeated pulse number into a pre-trained angle correction detection model together to obtain a real rotation angle measured value of the angle measuring sensor; the invention is favorable for continuously ensuring that the angular position sensor has high measurement precision and high reliability under the condition of dynamic environment change.

Description

Detection system and method for angle measurement sensor sensitive component
Technical Field
The invention relates to the technical field of sensor testing, in particular to a system and a method for detecting a sensitive component of an angle measuring sensor.
Background
The angular position sensor is key equipment for measuring the rotation angle, is widely applied to various fields such as industrial automation, automotive electronics, aerospace, precision instruments and the like, and can be divided into photoelectric angular position sensors, capacitive angular position sensors, inductive angular position sensors and magnetic angular position sensors according to different sensitive components; the photoelectric angular position sensor has the advantages of quick response, low power consumption and the like; however, in practical applications, due to environmental changes, electromagnetic interference, and the sensor itself, deviations may occur in measurement accuracy and stability of the photoelectric angular position sensor; such deviations, if not effectively detected and adjusted, may lead to reduced performance of the application equipment and even to system failure; therefore, how high measurement accuracy and reliability of the angular position sensor must be ensured.
At present, the traditional angular position sensor testing method usually focuses on the detection of overall performance, is difficult to deeply detect the tiny change of a sensitive component in the sensor, and relies on a static calibration mode to adjust the tiny change; however, static calibration cannot cope with dynamic environmental changes, which causes cumulative errors in the angular position sensor; there are, of course, some related technical improvements, for example, patent CN111256735B discloses a method and apparatus for processing data of an optical-electrical encoder, which can solve the measurement error caused by water drops or dust, but studies and practical applications of the above method and the prior art find that the above method and the prior art have at least the following partial drawbacks:
(1) The lack of an abnormality detection mechanism cannot judge whether pulse loss or pulse repetition occurs during the measurement of the angular position sensor, and further, nonlinear influences caused by ambient temperature and electromagnetic noise are difficult to avoid as much as possible;
(2) The number of lost or repeated pulses cannot be accurately and automatically obtained on the basis of finding pulse anomalies, and further, the measurement result of the angular position sensor cannot be corrected according to the number of lost or repeated pulses, so that it is difficult to continuously ensure that the angular position sensor has high measurement accuracy and high reliability under the dynamic environment change condition.
Disclosure of Invention
In order to overcome the above-described drawbacks of the prior art, embodiments of the present invention provide an angle measurement sensor sensitive component detection system and method.
In order to achieve the above purpose, the present invention provides the following technical solutions:
An angle measurement sensor sensitive component detection system, the system comprising:
The data acquisition module is used for acquiring an original pulse signal set acquired by the angle measurement sensor during the measurement time; the original pulse signal set comprises M original measurement pulses acquired in a measurement time period, wherein M is an integer larger than zero;
The pulse detection module is used for acquiring pulse characteristic data when judging that pulse abnormality occurs in an original pulse signal set according to a preset pulse time interval threshold value, inputting the pulse characteristic data into a pre-trained pulse abnormality detection model to acquire the number of lost pulses or the number of repeated pulses occurring in a measurement time period, wherein the pulse abnormality comprises pulse loss or pulse repetition;
The measurement correction module is used for inputting the original measurement pulse number M, the lost pulse number and the repeated pulse number into a pre-trained angle correction detection model together so as to obtain a real rotation angle measurement value of the angle measurement sensor.
Further, before determining that a pulse abnormality occurs in the original pulse signal set, the method includes:
Taking every two adjacent original measurement pulses in the original pulse signal set as a group of measurement pulse pairs to obtain N groups of measurement pulse pairs, wherein N is an integer greater than zero;
taking one original measurement pulse in each measurement pulse pair as a first measurement pulse, and taking the other original measurement pulse in each measurement pulse pair as a second measurement pulse;
Respectively extracting time stamps of the first measurement pulse and the second measurement pulse, calculating a time stamp difference value between the first measurement pulse and the second measurement pulse, and taking the time stamp difference value as a pulse time interval Ti;
comparing the pulse time interval Ti with a preset pulse time interval threshold Td, wherein Td is more than 0;
if Ti is more than Td, judging that pulse abnormality which is pulse loss occurs in the original pulse signal set, and marking the corresponding measuring pulse pair as a pulse loss data pair;
if ti=td, determining that no pulse abnormality exists in the original pulse signal set;
If Ti is less than Td, judging that pulse abnormality which is pulse repetition occurs in the original pulse signal set, and marking the corresponding measuring pulse pair as a pulse repetition data pair.
Further, the pulse characteristic data includes a number G of pulse missing data pairs, a number H of pulse repetition data pairs, a pulse time interval ratio of each pulse missing data pair, and a pulse time interval ratio of each pulse time interval, G and H being integers greater than zero.
Further, the pulse feature data acquisition logic includes:
a1: counting all pulse missing data pairs to obtain the number G of the pulse missing data pairs;
a2: extracting a pulse time interval Ti of a g-th pulse missing data pair, wherein g is an integer greater than zero;
a3: calculating the ratio of the pulse time interval Ti of the g-th pulse missing data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the g-th pulse missing data pair, enabling g to be equal to g+1, and returning to the step a2;
a4: repeating the steps a 2-a 3 until G=g, ending the cycle, and obtaining the pulse time interval ratio of each pulse loss data pair.
Further, the pulse feature data acquisition logic further comprises:
b1: counting all pulse repetition data pairs to obtain the number H of the pulse repetition data pairs;
b2: extracting a pulse time interval Ti of an h pulse repetition data pair, wherein h is an integer greater than zero;
b3: calculating the ratio of the pulse time interval Ti of the h pulse repetition data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the h pulse repetition data pair, enabling h=h+1, and returning to the step b2;
b4: repeating the steps b 2-b 3 until H=h, ending the cycle, and obtaining the pulse time interval ratio of each pulse time interval.
Further, the training logic of the pulse anomaly detection model is as follows:
Acquiring historical pulse abnormal training data, and dividing the historical pulse abnormal training data into a pulse abnormal training set and a pulse abnormal testing set, wherein the historical pulse abnormal training data comprises pulse characteristic data and the corresponding lost pulse number or repeated pulse number;
Constructing a first regression network, taking pulse characteristic data in a pulse abnormal training set as input data of the first regression network, taking the lost pulse number or repeated pulse number in the pulse abnormal training set as output data of the first regression network, and training the first regression network to obtain an initial pulse abnormal detection network;
And performing model verification on the initial pulse abnormality detection network by using the pulse abnormality test set, and outputting the initial pulse abnormality detection network with the value smaller than or equal to a preset first test error threshold as a pre-trained pulse abnormality detection model.
Further, the training logic of the angle correction detection model is as follows:
Acquiring historical angle correction training data, dividing the historical angle correction training data into an angle correction training set and an angle correction testing set, wherein the historical angle correction training data comprises angle correction characteristic data and corresponding real rotation angle measurement values;
wherein the angle correction characteristic data comprises an original measurement pulse number M, a lost pulse number and a repeated pulse number;
the logic for generating the actual rotation angle measured value in the historical angle correction training data is as follows:
Extracting the original measured pulse number M, the lost pulse number and the repeated pulse number in the angle correction characteristic data;
Inputting the original measured pulse number M, the lost pulse number and the repeated pulse number into a pre-constructed mathematical calculation model to obtain a real rotation angle measurement value;
Wherein the mathematical calculation model is expressed as follows:
;
Wherein: As a true rotation angle measurement value, For the number M of pulses originally measured,In order to lose the number of pulses,For the number of the repeated pulses,In order to achieve a resolution of the image,The value of the circumferential angle is 360 degrees;
Constructing a second regression network, taking angle correction characteristic data in an angle correction training set as input data of the second regression network, taking a real rotation angle measured value in the angle correction training set as output data of the second regression network, and training the second regression network to obtain an initial angle correction detection network;
And performing model verification on the initial angle correction detection network by using angle correction detection, and outputting the initial angle correction detection network with the value smaller than or equal to the second test error threshold as a trained angle correction detection model.
A method of detecting an angular measurement sensor sensitive component, the method comprising:
acquiring an original pulse signal set acquired by an angle measurement sensor during measurement time; the original pulse signal set comprises M original measurement pulses acquired in a measurement time period, wherein M is an integer larger than zero;
When judging that pulse abnormality occurs in the original pulse signal set according to a preset pulse time interval threshold, acquiring pulse characteristic data, and inputting the pulse characteristic data into a pre-trained pulse abnormality detection model to acquire the number of lost pulses or the number of repeated pulses occurring in a measurement time period, wherein the pulse abnormality comprises pulse loss or pulse repetition;
the original measured pulse number M, the lost pulse number and the repeated pulse number are input into a pre-trained angle correction detection model together to obtain a real rotation angle measured value of the angle measuring sensor.
Compared with the prior art, the invention has the beneficial effects that:
The application discloses a detection system and a detection method for a sensitive component of an angle measurement sensor, wherein the detection system comprises the following steps: acquiring an original pulse signal set acquired by an angle measurement sensor; when judging that pulse abnormality occurs in the original pulse signal set according to a preset pulse time interval threshold, acquiring pulse characteristic data, and inputting the pulse characteristic data into a pre-trained pulse abnormality detection model to acquire the number of lost pulses or the number of repeated pulses occurring in a measurement time period; inputting the original measured pulse number M, the lost pulse number and the repeated pulse number into a pre-trained angle correction detection model together to obtain a real rotation angle measured value of the angle measuring sensor; based on the above, the application can judge whether the pulse is lost or repeated when the angular position sensor is used for measuring, thereby avoiding nonlinear influence caused by ambient temperature and electromagnetic noise as much as possible; in addition, the number of lost or repeated pulses is accurately and automatically obtained on the basis of finding pulse anomalies, and further, the measurement result of the angular position sensor is corrected according to the number of lost or repeated pulses, so that the angular position sensor is favorable for continuously ensuring high measurement accuracy and high reliability under the dynamic environment change condition.
Drawings
FIG. 1 is a block diagram of a sensing system for an angular measurement sensor sensing assembly in accordance with the present invention;
FIG. 2 is a flow chart of a method for detecting an angular measurement sensor sensitive component provided by the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to the present invention;
fig. 4 is a schematic structural diagram of a computer readable storage medium according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, the disclosure provides a detection system for a sensing component of an angle measurement sensor, which includes:
A data acquisition module 110 for acquiring a set of raw pulse signals acquired by the angular measurement sensor during a measurement time; the original pulse signal set comprises M original measurement pulses acquired in a measurement time period, wherein M is an integer larger than zero;
It should be appreciated that: for the angle measuring sensor (i.e., the photoelectric angle sensor), in addition to the measurement error caused by water drops or dust, the measurement error caused by the ambient temperature and electromagnetic noise is more obvious, and the angle measuring sensor (i.e., the photoelectric angle sensor) is also more susceptible to the ambient temperature and electromagnetic noise; however, for such effects, most of the existing methods solve the problem of measurement errors caused by ambient temperature and electromagnetic noise by training a linear model with ambient temperature and electromagnetic noise as inputs and measurement errors as outputs; the problem is that such a model is a linear model, but the measurement error caused by the ambient temperature and the electromagnetic noise belongs to the problem of nonlinearity, and further explaining that the measurement error caused by the ambient temperature and the electromagnetic noise does not represent a linear development mode, which leads to inaccurate error detection results of the existing linear model, further, the nonlinear influence caused by the ambient temperature and the electromagnetic noise cannot be avoided as much as possible, and further, it cannot be ensured that the angle measurement sensor (i.e., the photoelectric angular position sensor) still can maintain higher measurement accuracy under the influence of the ambient temperature and the electromagnetic noise.
The pulse detection module 120 is configured to, when it is determined that a pulse abnormality occurs in the original pulse signal set according to a preset pulse time interval threshold, acquire pulse feature data, and input the pulse feature data into a pre-trained pulse abnormality detection model to acquire a missing pulse number or a repeated pulse number occurring in a measurement time period, where the pulse abnormality includes a pulse missing or a pulse repetition;
in an implementation, before determining that a pulse abnormality occurs in the original pulse signal set, the method includes:
Taking every two adjacent original measurement pulses in the original pulse signal set as a group of measurement pulse pairs to obtain N groups of measurement pulse pairs, wherein N is an integer greater than zero;
It should be noted that: each set of measurement pulse pairs allows for the presence of repeated raw measurement pulses, an exemplary explanation being that assuming that there are 4 raw measurement pulses in the raw pulse signal set, Z1, Z2, Z3 and Z4 respectively, thus, when every two adjacent raw measurement pulses in the raw pulse signal set are taken as a set of measurement pulse pairs, a measurement pulse pair Y1, a measurement pulse pair Y2 and a measurement pulse pair Y3 are obtained, wherein Y1 comprises Z1 and Z2, Y2 comprises Z2 and Z3, and Y3 comprises Z2 and Z3, then 3 sets of measurement pulse pairs are obtained, wherein each two adjacent sets of measurement pulse pairs have repeated raw measurement pulses;
taking one original measurement pulse in each measurement pulse pair as a first measurement pulse, and taking the other original measurement pulse in each measurement pulse pair as a second measurement pulse;
Respectively extracting time stamps of the first measurement pulse and the second measurement pulse, calculating a time stamp difference value between the first measurement pulse and the second measurement pulse, and taking the time stamp difference value as a pulse time interval Ti;
comparing the pulse time interval Ti with a preset pulse time interval threshold Td, wherein Td is more than 0;
if Ti is more than Td, judging that pulse abnormality which is pulse loss occurs in the original pulse signal set, and marking the corresponding measuring pulse pair as a pulse loss data pair;
if ti=td, determining that no pulse abnormality exists in the original pulse signal set;
if Ti is less than Td, judging that pulse abnormality which is pulse repetition occurs in the original pulse signal set, and marking the corresponding measuring pulse pair as a pulse repetition data pair;
The pulse characteristic data comprises the number G of pulse missing data pairs, the number H of pulse repeated data pairs, a pulse time interval ratio of each pulse missing data pair and a pulse time interval ratio of each pulse time interval, wherein G and H are integers larger than zero;
in one embodiment, the pulse feature data acquisition logic comprises:
a1: counting all pulse missing data pairs to obtain the number G of the pulse missing data pairs;
a2: extracting a pulse time interval Ti of a g-th pulse missing data pair, wherein g is an integer greater than zero;
a3: calculating the ratio of the pulse time interval Ti of the g-th pulse missing data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the g-th pulse missing data pair, enabling g to be equal to g+1, and returning to the step a2;
by way of example, assuming that there are 1 pulse missing data pairs, U1, where U1 includes a first measurement pulse and a second measurement pulse, and the time stamps of the first measurement pulse and the second measurement pulse are 0 seconds and 0.00010 seconds, respectively, the pulse time interval Ti of U1 is 0.00010 seconds, and if the preset pulse time interval threshold Td is assumed to be 0.00005 seconds, the pulse time interval ratio of U1 is 2, which means that the actual time interval is twice the preset value, so it can be inferred that one pulse may be missing in the measurement period, and it can be understood that by using the pulse time interval ratio as the pulse characteristic data, important data support can be provided for accurately predicting the missing pulse number or the repetition pulse number;
a4: repeating the steps a2 to a3 until G=g, ending the cycle, and obtaining the pulse time interval ratio of each pulse loss data pair;
In another embodiment, the pulse feature data acquisition logic further comprises:
b1: counting all pulse repetition data pairs to obtain the number H of the pulse repetition data pairs;
b2: extracting a pulse time interval Ti of an h pulse repetition data pair, wherein h is an integer greater than zero;
b3: calculating the ratio of the pulse time interval Ti of the h pulse repetition data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the h pulse repetition data pair, enabling h=h+1, and returning to the step b2;
b4: repeating the steps b 2-b 3 until H=h, ending the cycle, and obtaining the pulse time interval ratio of each pulse time interval;
in practice, the training logic of the pulse anomaly detection model is as follows:
Acquiring historical pulse abnormal training data, and dividing the historical pulse abnormal training data into a pulse abnormal training set and a pulse abnormal testing set, wherein the historical pulse abnormal training data comprises pulse characteristic data and the corresponding lost pulse number or repeated pulse number;
It should be noted that: pulse characteristic data, missing pulse number or repeated pulse number in the historical pulse abnormal training data are obtained by actually collecting and recording by technicians according to experimental data or historical data;
Constructing a first regression network, taking pulse characteristic data in a pulse abnormal training set as input data of the first regression network, taking the lost pulse number or repeated pulse number in the pulse abnormal training set as output data of the first regression network, and training the first regression network to obtain an initial pulse abnormal detection network;
Performing model verification on an initial pulse abnormality detection network by using a pulse abnormality test set, and outputting the initial pulse abnormality detection network which is smaller than or equal to a preset first test error threshold value as a pre-trained pulse abnormality detection model;
It should be noted that: the first regression network is a specific one of algorithm models such as decision tree regression, random forest regression, support vector machine regression, polynomial regression, LSTM neural network or RNN neural network.
The measurement correction module 130 is configured to input the number M of original measurement pulses, the number M of lost pulses, and the number of repeated pulses into a pre-trained angle correction detection model together, so as to obtain a real rotation angle measurement value of the angle measurement sensor;
Specifically, the training logic of the angle correction detection model is as follows:
Acquiring historical angle correction training data, dividing the historical angle correction training data into an angle correction training set and an angle correction testing set, wherein the historical angle correction training data comprises angle correction characteristic data and corresponding real rotation angle measurement values;
wherein the angle correction characteristic data comprises an original measurement pulse number M, a lost pulse number and a repeated pulse number;
It should be noted that: angle correction characteristic data in the historical angle correction training data are obtained by actual acquisition and recording of technicians according to experimental data or historical data;
the logic for generating the actual rotation angle measured value in the historical angle correction training data is as follows:
Extracting the original measured pulse number M, the lost pulse number and the repeated pulse number in the angle correction characteristic data;
Inputting the original measured pulse number M, the lost pulse number and the repeated pulse number into a pre-constructed mathematical calculation model to obtain a real rotation angle measurement value;
Wherein the mathematical calculation model is expressed as follows:
;
Wherein: As a true rotation angle measurement value, For the number M of pulses originally measured,In order to lose the number of pulses,For the number of the repeated pulses,In order to achieve a resolution of the image,The value of the circumferential angle is 360 degrees;
It should be noted that: in the application of angular position sensors and encoders, resolution (PPR, pulses Per Revolution) is a key parameter that represents the number of pulses output by the sensor per revolution; the minimum angle change which can be measured by the sensor is determined, and the measurement precision and detail are affected; thus, the resolution The specific value of (2) is determined according to the specific model and specification of the angular position sensor;
Constructing a second regression network, taking angle correction characteristic data in an angle correction training set as input data of the second regression network, taking a real rotation angle measured value in the angle correction training set as output data of the second regression network, and training the second regression network to obtain an initial angle correction detection network;
Performing model verification on the initial angle correction detection network by using angle correction detection, and outputting the initial angle correction detection network which is smaller than or equal to a second test error threshold value as a trained angle correction detection model;
It should be noted that: the second regression network is a specific one of algorithm models such as decision tree regression, random forest regression, support vector machine regression, polynomial regression, LSTM neural network or RNN neural network;
By analyzing and acquiring the lost pulse number or the repeated pulse number of the angle measurement sensor, the invention can deeply detect the tiny change of the sensitive component in the angle measurement sensor and predict the real rotation angle measured value according to the learned tiny change, compared with the prior art, the invention can excavate the nonlinear influence caused by the environmental temperature and electromagnetic noise, further, it can be ensured that the angular position sensor (namely, the photoelectric angular position sensor) still can maintain high measurement accuracy under the influence of ambient temperature and electromagnetic noise, and the angular position sensor can be continuously ensured to have high measurement accuracy and high reliability under the dynamic environment change condition.
Example 2
Referring to fig. 2, the disclosure provides a method for detecting a sensitive component of an angle measurement sensor, which includes:
s201: acquiring an original pulse signal set acquired by an angle measurement sensor during measurement time; the original pulse signal set comprises M original measurement pulses acquired in a measurement time period, wherein M is an integer larger than zero;
It should be appreciated that: for the angle measuring sensor (i.e., the photoelectric angle sensor), in addition to the measurement error caused by water drops or dust, the measurement error caused by the ambient temperature and electromagnetic noise is more obvious, and the angle measuring sensor (i.e., the photoelectric angle sensor) is also more susceptible to the ambient temperature and electromagnetic noise; however, for such effects, most of the existing methods solve the problem of measurement errors caused by ambient temperature and electromagnetic noise by training a linear model with ambient temperature and electromagnetic noise as inputs and measurement errors as outputs; the problem is that such a model is a linear model, but the measurement error caused by the ambient temperature and the electromagnetic noise belongs to the problem of nonlinearity, and further explaining that the measurement error caused by the ambient temperature and the electromagnetic noise does not represent a linear development mode, which leads to inaccurate error detection results of the existing linear model, further, the nonlinear influence caused by the ambient temperature and the electromagnetic noise cannot be avoided as much as possible, and further, it cannot be ensured that the angle measurement sensor (i.e., the photoelectric angular position sensor) still can maintain higher measurement accuracy under the influence of the ambient temperature and the electromagnetic noise.
S202: when judging that pulse abnormality occurs in the original pulse signal set according to a preset pulse time interval threshold, acquiring pulse characteristic data, and inputting the pulse characteristic data into a pre-trained pulse abnormality detection model to acquire the number of lost pulses or the number of repeated pulses occurring in a measurement time period, wherein the pulse abnormality comprises pulse loss or pulse repetition;
in an implementation, before determining that a pulse abnormality occurs in the original pulse signal set, the method includes:
Taking every two adjacent original measurement pulses in the original pulse signal set as a group of measurement pulse pairs to obtain N groups of measurement pulse pairs, wherein N is an integer greater than zero;
It should be noted that: each set of measurement pulse pairs allows for the presence of repeated raw measurement pulses, an exemplary explanation being that assuming that there are 4 raw measurement pulses in the raw pulse signal set, Z1, Z2, Z3 and Z4 respectively, thus, when every two adjacent raw measurement pulses in the raw pulse signal set are taken as a set of measurement pulse pairs, a measurement pulse pair Y1, a measurement pulse pair Y2 and a measurement pulse pair Y3 are obtained, wherein Y1 comprises Z1 and Z2, Y2 comprises Z2 and Z3, and Y3 comprises Z2 and Z3, then 3 sets of measurement pulse pairs are obtained, wherein each two adjacent sets of measurement pulse pairs have repeated raw measurement pulses;
taking one original measurement pulse in each measurement pulse pair as a first measurement pulse, and taking the other original measurement pulse in each measurement pulse pair as a second measurement pulse;
Respectively extracting time stamps of the first measurement pulse and the second measurement pulse, calculating a time stamp difference value between the first measurement pulse and the second measurement pulse, and taking the time stamp difference value as a pulse time interval Ti;
comparing the pulse time interval Ti with a preset pulse time interval threshold Td, wherein Td is more than 0;
if Ti is more than Td, judging that pulse abnormality which is pulse loss occurs in the original pulse signal set, and marking the corresponding measuring pulse pair as a pulse loss data pair;
if ti=td, determining that no pulse abnormality exists in the original pulse signal set;
if Ti is less than Td, judging that pulse abnormality which is pulse repetition occurs in the original pulse signal set, and marking the corresponding measuring pulse pair as a pulse repetition data pair;
The pulse characteristic data comprises the number G of pulse missing data pairs, the number H of pulse repeated data pairs, a pulse time interval ratio of each pulse missing data pair and a pulse time interval ratio of each pulse time interval, wherein G and H are integers larger than zero;
in one embodiment, the pulse feature data acquisition logic comprises:
a1: counting all pulse missing data pairs to obtain the number G of the pulse missing data pairs;
a2: extracting a pulse time interval Ti of a g-th pulse missing data pair, wherein g is an integer greater than zero;
a3: calculating the ratio of the pulse time interval Ti of the g-th pulse missing data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the g-th pulse missing data pair, enabling g to be equal to g+1, and returning to the step a2;
by way of example, assuming that there are 1 pulse missing data pairs, U1, where U1 includes a first measurement pulse and a second measurement pulse, and the time stamps of the first measurement pulse and the second measurement pulse are 0 seconds and 0.00010 seconds, respectively, the pulse time interval Ti of U1 is 0.00010 seconds, and if the preset pulse time interval threshold Td is assumed to be 0.00005 seconds, the pulse time interval ratio of U1 is 2, which means that the actual time interval is twice the preset value, so it can be inferred that one pulse may be missing in the measurement period, and it can be understood that by using the pulse time interval ratio as the pulse characteristic data, important data support can be provided for accurately predicting the missing pulse number or the repetition pulse number;
a4: repeating the steps a2 to a3 until G=g, ending the cycle, and obtaining the pulse time interval ratio of each pulse loss data pair;
In another embodiment, the pulse feature data acquisition logic comprises:
b1: counting all pulse repetition data pairs to obtain the number H of the pulse repetition data pairs;
b2: extracting a pulse time interval Ti of an h pulse repetition data pair, wherein h is an integer greater than zero;
b3: calculating the ratio of the pulse time interval Ti of the h pulse repetition data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the h pulse repetition data pair, enabling h=h+1, and returning to the step b2;
b4: repeating the steps b 2-b 3 until H=h, ending the cycle, and obtaining the pulse time interval ratio of each pulse time interval;
in practice, the training logic of the pulse anomaly detection model is as follows:
Acquiring historical pulse abnormal training data, and dividing the historical pulse abnormal training data into a pulse abnormal training set and a pulse abnormal testing set, wherein the historical pulse abnormal training data comprises pulse characteristic data and the corresponding lost pulse number or repeated pulse number;
It should be noted that: pulse characteristic data, missing pulse number or repeated pulse number in the historical pulse abnormal training data are obtained by actually collecting and recording by technicians according to experimental data or historical data;
Constructing a first regression network, taking pulse characteristic data in a pulse abnormal training set as input data of the first regression network, taking the lost pulse number or repeated pulse number in the pulse abnormal training set as output data of the first regression network, and training the first regression network to obtain an initial pulse abnormal detection network;
Performing model verification on an initial pulse abnormality detection network by using a pulse abnormality test set, and outputting the initial pulse abnormality detection network which is smaller than or equal to a preset first test error threshold value as a pre-trained pulse abnormality detection model;
It should be noted that: the first regression network is a specific one of algorithm models such as decision tree regression, random forest regression, support vector machine regression, polynomial regression, LSTM neural network or RNN neural network.
S203: inputting the original measured pulse number M, the lost pulse number and the repeated pulse number into a pre-trained angle correction detection model together to obtain a real rotation angle measured value of the angle measuring sensor;
Specifically, the training logic of the angle correction detection model is as follows:
Acquiring historical angle correction training data, dividing the historical angle correction training data into an angle correction training set and an angle correction testing set, wherein the historical angle correction training data comprises angle correction characteristic data and corresponding real rotation angle measurement values;
wherein the angle correction characteristic data comprises an original measurement pulse number M, a lost pulse number and a repeated pulse number;
It should be noted that: angle correction characteristic data in the historical angle correction training data are obtained by actual acquisition and recording of technicians according to experimental data or historical data;
the logic for generating the actual rotation angle measured value in the historical angle correction training data is as follows:
Extracting the original measured pulse number M, the lost pulse number and the repeated pulse number in the angle correction characteristic data;
Inputting the original measured pulse number M, the lost pulse number and the repeated pulse number into a pre-constructed mathematical calculation model to obtain a real rotation angle measurement value;
Wherein the mathematical calculation model is expressed as follows:
;
Wherein: As a true rotation angle measurement value, For the number M of pulses originally measured,In order to lose the number of pulses,For the number of the repeated pulses,In order to achieve a resolution of the image,The value of the circumferential angle is 360 degrees;
It should be noted that: in the application of angular position sensors and encoders, resolution (PPR, pulses Per Revolution) is a key parameter that represents the number of pulses output by the sensor per revolution; the minimum angle change which can be measured by the sensor is determined, and the measurement precision and detail are affected; thus, the resolution The specific value of (2) is determined according to the specific model and specification of the angular position sensor;
Constructing a second regression network, taking angle correction characteristic data in an angle correction training set as input data of the second regression network, taking a real rotation angle measured value in the angle correction training set as output data of the second regression network, and training the second regression network to obtain an initial angle correction detection network;
Performing model verification on the initial angle correction detection network by using angle correction detection, and outputting the initial angle correction detection network which is smaller than or equal to a second test error threshold value as a trained angle correction detection model;
It should be noted that: the second regression network is a specific one of algorithm models such as decision tree regression, random forest regression, support vector machine regression, polynomial regression, LSTM neural network or RNN neural network;
By analyzing and acquiring the lost pulse number or the repeated pulse number of the angle measurement sensor, the invention can deeply detect the tiny change of the sensitive component in the angle measurement sensor and predict the real rotation angle measured value according to the learned tiny change, compared with the prior art, the invention can excavate the nonlinear influence caused by the environmental temperature and electromagnetic noise, further, it can be ensured that the angular position sensor (namely, the photoelectric angular position sensor) still can maintain high measurement accuracy under the influence of ambient temperature and electromagnetic noise, and the angular position sensor can be continuously ensured to have high measurement accuracy and high reliability under the dynamic environment change condition.
Example 3
Referring to fig. 3, the disclosure provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the method for detecting the angle measurement sensor sensitive component provided by the above methods when executing the computer program.
Since the electronic device described in this embodiment is an electronic device for implementing the method for detecting an angle sensor sensitive component in the embodiment of the present application, based on the method for detecting an angle sensor sensitive component described in the embodiment of the present application, those skilled in the art can understand the specific implementation of the electronic device in this embodiment and various modifications thereof, so how to implement the method in the embodiment of the present application for this electronic device will not be described in detail herein. As long as the person skilled in the art implements the electronic device used in the detection method of the sensitive component of the angle measurement sensor in the embodiment of the application, the electronic device belongs to the scope of protection of the application.
Example 4
Referring to fig. 4, a computer readable storage medium has a computer program stored thereon, which when executed implements the method for detecting an angular measurement sensor sensitive component described above.
The above formulas are all formulas with dimensionality removed and numerical value calculated, the formulas are formulas with the latest real situation obtained by software simulation by collecting a large amount of data, and preset parameters, weights and threshold selection in the formulas are set by those skilled in the art according to the actual situation.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present invention are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center over a wired network or a wireless network. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely one, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1.一种角测量传感器敏感组件检测系统,其特征在于,所述系统包括:1. A detection system for a sensitive component of an angle measurement sensor, characterized in that the system comprises: 数据采集模块,用于在测量时间期间,获取角测量传感器所采集到的原始脉冲信号集;所述原始脉冲信号集包括在测量时间期间内采集到的M个原始测量脉冲,M为大于零的整数;A data acquisition module, used to acquire an original pulse signal set collected by the angle measurement sensor during the measurement time; the original pulse signal set includes M original measurement pulses collected during the measurement time, where M is an integer greater than zero; 脉冲检测模块,用于当根据预设脉冲时间间隔阈值判断出原始脉冲信号集内出现脉冲异常时,则将获取脉冲特征数据,将脉冲特征数据输入预先训练好的脉冲异常检测模型中,以获取在测量时间期间内出现的丢失脉冲数或重复脉冲数,所述脉冲异常包括脉冲丢失或脉冲重复;A pulse detection module, for obtaining pulse feature data when a pulse anomaly is determined to occur in the original pulse signal set according to a preset pulse time interval threshold, and inputting the pulse feature data into a pre-trained pulse anomaly detection model to obtain the number of lost pulses or repeated pulses occurring during the measurement time period, wherein the pulse anomaly includes pulse loss or pulse repetition; 测量修正模块,用于将原始测量脉冲数M、丢失脉冲数和重复脉冲数一并输入预先训练好的角度修正检测模型中,以获取角测量传感器出现的真实旋转角度测量值。The measurement correction module is used to input the original measurement pulse number M, the lost pulse number and the repeated pulse number into a pre-trained angle correction detection model to obtain the real rotation angle measurement value of the angle measurement sensor. 2.根据权利要求1所述的一种角测量传感器敏感组件检测系统,其特征在于,在判断出原始脉冲信号集内出现脉冲异常之前,包括:2. The angle measurement sensor sensitive component detection system according to claim 1, characterized in that before determining that a pulse anomaly occurs in the original pulse signal set, it comprises: 将原始脉冲信号集内每两两相邻的原始测量脉冲作为一组测量脉冲对,得到N组测量脉冲对,N为大于零的整数;Taking every two adjacent original measurement pulses in the original pulse signal set as a group of measurement pulse pairs, to obtain N groups of measurement pulse pairs, where N is an integer greater than zero; 将每组测量脉冲对中的一个原始测量脉冲作为第一测量脉冲,以及将每组测量脉冲对中的另一个原始测量脉冲作为第二测量脉冲;Using one original measurement pulse in each group of measurement pulse pairs as a first measurement pulse, and using the other original measurement pulse in each group of measurement pulse pairs as a second measurement pulse; 分别提取第一测量脉冲和第二测量脉冲的时间戳,计算第一测量脉冲和第二测量脉冲之间的时间戳差值,将时间戳差值作为脉冲时间间隔Ti;Extracting the timestamps of the first measurement pulse and the second measurement pulse respectively, calculating the timestamp difference between the first measurement pulse and the second measurement pulse, and using the timestamp difference as the pulse time interval Ti; 将脉冲时间间隔Ti与预设脉冲时间间隔阈值Td进行比较,其中,Td>0;Compare the pulse time interval Ti with a preset pulse time interval threshold Td, where Td>0; 若Ti>Td,则判定原始脉冲信号集内出现为脉冲丢失的脉冲异常,并将对应的测量脉冲对标记为脉冲丢失数据对;If Ti>Td, it is determined that a pulse anomaly of pulse loss occurs in the original pulse signal set, and the corresponding measured pulse pair is marked as a pulse loss data pair; 若Ti=Td,则判定原始脉冲信号集内未出脉冲异常;If Ti = Td, it is determined that there is no pulse anomaly in the original pulse signal set; 若Ti<Td,则判定原始脉冲信号集内出现为脉冲重复的脉冲异常,并将对应的测量脉冲对标记为脉冲重复数据对。If Ti<Td, it is determined that a pulse anomaly of pulse repetition appears in the original pulse signal set, and the corresponding measured pulse pair is marked as a pulse repetition data pair. 3.根据权利要求2所述的一种角测量传感器敏感组件检测系统,其特征在于,所述脉冲特征数据包括脉冲丢失数据对的数量G、脉冲重复数据对的数量H、每个脉冲丢失数据对的脉冲时间间隔比以及每个脉冲时间间隔的脉冲时间间隔比,G和H为大于零的整数。3. An angle measurement sensor sensitive component detection system according to claim 2, characterized in that the pulse characteristic data includes the number G of pulse missing data pairs, the number H of pulse repetition data pairs, the pulse time interval ratio of each pulse missing data pair and the pulse time interval ratio of each pulse time interval, and G and H are integers greater than zero. 4.根据权利要求3所述的一种角测量传感器敏感组件检测系统,其特征在于,所述脉冲特征数据获取逻辑,包括:4. The angle measurement sensor sensitive component detection system according to claim 3, characterized in that the pulse characteristic data acquisition logic comprises: a1:统计所有脉冲丢失数据对,得到脉冲丢失数据对的数量G;a1: Count all pulse loss data pairs to obtain the number of pulse loss data pairs G; a2:提取第g个脉冲丢失数据对的脉冲时间间隔Ti,g为大于零的整数;a2: extract the pulse time interval Ti of the g-th pulse loss data pair, where g is an integer greater than zero; a3:将第g个脉冲丢失数据对的脉冲时间间隔Ti与预设脉冲时间间隔阈值Td进行比值计算,得到第g个脉冲丢失数据对的脉冲时间间隔比,并令g=g+1,并返回步骤a2;a3: Calculate the ratio of the pulse time interval Ti of the g-th pulse loss data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the g-th pulse loss data pair, set g=g+1, and return to step a2; a4:重复上述a2~a3,直至G=g时,结束循环,得到每个脉冲丢失数据对的脉冲时间间隔比。a4: Repeat steps a2 to a3 above until G=g, then end the loop and obtain the pulse time interval ratio of each pulse loss data pair. 5.根据权利要求4所述的一种角测量传感器敏感组件检测系统,其特征在于,所述脉冲特征数据获取逻辑,还包括:5. The angle measurement sensor sensitive component detection system according to claim 4, characterized in that the pulse characteristic data acquisition logic further comprises: b1:统计所有脉冲重复数据对,得到脉冲重复数据对的数量H;b1: Count all pulse repetition data pairs to obtain the number of pulse repetition data pairs H; b2:提取第h个脉冲重复数据对的脉冲时间间隔Ti,h为大于零的整数;b2: extract the pulse time interval Ti of the h-th pulse repetition data pair, where h is an integer greater than zero; b3:将第h个脉冲重复数据对的脉冲时间间隔Ti与预设脉冲时间间隔阈值Td进行比值计算,得到第h个脉冲重复数据对的脉冲时间间隔比,并令h=h+1,并返回步骤b2;b3: Calculate the ratio of the pulse time interval Ti of the h-th pulse repetition data pair to the preset pulse time interval threshold Td to obtain the pulse time interval ratio of the h-th pulse repetition data pair, set h=h+1, and return to step b2; b4:重复上述b2~b3,直至H=h时,结束循环,得到每个脉冲时间间隔的脉冲时间间隔比。b4: Repeat steps b2 to b3 above until H=h, then end the loop and obtain the pulse time interval ratio of each pulse time interval. 6.根据权利要求5所述的一种角测量传感器敏感组件检测系统,其特征在于,所述脉冲异常检测模型的训练逻辑如下:6. The angle measurement sensor sensitive component detection system according to claim 5, characterized in that the training logic of the pulse anomaly detection model is as follows: 获取历史脉冲异常训练数据,将历史脉冲异常训练数据划分为脉冲异常训练集和脉冲异常测试集,所述历史脉冲异常训练数据包括脉冲特征数据及其对应的丢失脉冲数或重复脉冲数;Acquire historical pulse anomaly training data, and divide the historical pulse anomaly training data into a pulse anomaly training set and a pulse anomaly test set, wherein the historical pulse anomaly training data includes pulse feature data and its corresponding number of lost pulses or repeated pulses; 构建第一回归网络,将脉冲异常训练集中的脉冲特征数据作为第一回归网络的输入数据,以及将脉冲异常训练集中的丢失脉冲数或重复脉冲数作为第一回归网络的输出数据,对第一回归网络进行训练,得到初始脉冲异常检测网络;Constructing a first regression network, taking the pulse feature data in the pulse anomaly training set as input data of the first regression network, and taking the number of lost pulses or repeated pulses in the pulse anomaly training set as output data of the first regression network, training the first regression network, and obtaining an initial pulse anomaly detection network; 利用脉冲异常测试集对初始脉冲异常检测网络进行模型验证,输出小于等于预设第一测试误差阈值的初始脉冲异常检测网络作为预先训练好的脉冲异常检测模型。The initial pulse anomaly detection network is model verified using the pulse anomaly test set, and the initial pulse anomaly detection network that is less than or equal to a preset first test error threshold is output as a pre-trained pulse anomaly detection model. 7.根据权利要求6所述的一种角测量传感器敏感组件检测系统,其特征在于,所述角度修正检测模型的训练逻辑如下:7. The angle measurement sensor sensitive component detection system according to claim 6, characterized in that the training logic of the angle correction detection model is as follows: 获取历史角度修正训练数据,将历史角度修正训练数据划分为角度修正训练集和角度修正测试集,所述历史角度修正训练数据包括角度修正特征数据及其对应的真实旋转角度测量值;Acquire historical angle correction training data, and divide the historical angle correction training data into an angle correction training set and an angle correction test set, wherein the historical angle correction training data includes angle correction feature data and its corresponding real rotation angle measurement value; 其中,所述角度修正特征数据包括原始测量脉冲数M、丢失脉冲数和重复脉冲数;Wherein, the angle correction characteristic data includes the original measurement pulse number M, the number of lost pulses and the number of repeated pulses; 其中,所述历史角度修正训练数据中的真实旋转角度测量值的生成逻辑如下:The logic for generating the real rotation angle measurement value in the historical angle correction training data is as follows: 提取角度修正特征数据中的原始测量脉冲数M、丢失脉冲数和重复脉冲数;Extracting the original measured pulse number M, the number of lost pulses and the number of repeated pulses in the angle correction characteristic data; 将原始测量脉冲数M、丢失脉冲数和重复脉冲数输入预构建的数学计算模型中,得到真实旋转角度测量值;The original measured pulse number M, the number of lost pulses and the number of repeated pulses are input into the pre-built mathematical calculation model to obtain the real rotation angle measurement value; 其中,所述数学计算模型的表达式如下:The mathematical calculation model is expressed as follows: ; ; 式中:为真实旋转角度测量值,为原始测量脉冲数M,为丢失脉冲数,为重复脉冲数,为分辨率,为圆周角度,取值为360度;Where: is the actual rotation angle measurement value, is the original measured pulse number M, is the number of lost pulses, is the number of repetitive pulses, is the resolution, is the circular angle, the value is 360 degrees; 构建第二回归网络,将角度修正训练集中的角度修正特征数据作为第二回归网络的输入数据,以及将角度修正训练集中的真实旋转角度测量值作为第二回归网络的输出数据,对第二回归网络进行训练,得到初始角度修正检测网络;Constructing a second regression network, taking the angle correction feature data in the angle correction training set as input data of the second regression network, and taking the real rotation angle measurement value in the angle correction training set as output data of the second regression network, training the second regression network, and obtaining an initial angle correction detection network; 利用角度修正检测对初始角度修正检测网络进行模型验证,输出小于等于第二测试误差阈值的初始角度修正检测网络作为训练好的角度修正检测模型。The initial angle correction detection network is model verified by using angle correction detection, and an initial angle correction detection network that is less than or equal to a second test error threshold is output as a trained angle correction detection model. 8.一种角测量传感器敏感组件检测方法,其特征在于,所述方法包括:8. A method for detecting a sensitive component of an angle measurement sensor, characterized in that the method comprises: 在测量时间期间,获取角测量传感器所采集到的原始脉冲信号集;所述原始脉冲信号集包括在测量时间期间内采集到的M个原始测量脉冲,M为大于零的整数;During the measurement time, an original pulse signal set collected by the angle measurement sensor is obtained; the original pulse signal set includes M original measurement pulses collected during the measurement time, where M is an integer greater than zero; 当根据预设脉冲时间间隔阈值判断出原始脉冲信号集内出现脉冲异常时,则将获取脉冲特征数据,将脉冲特征数据输入预先训练好的脉冲异常检测模型中,以获取在测量时间期间内出现的丢失脉冲数或重复脉冲数,所述脉冲异常包括脉冲丢失或脉冲重复;When a pulse anomaly is determined to occur in the original pulse signal set according to a preset pulse time interval threshold, pulse feature data is obtained and input into a pre-trained pulse anomaly detection model to obtain the number of lost pulses or repeated pulses occurring during the measurement time period, wherein the pulse anomaly includes pulse loss or pulse repetition; 将原始测量脉冲数M、丢失脉冲数和重复脉冲数一并输入预先训练好的角度修正检测模型中,以获取角测量传感器出现的真实旋转角度测量值。The original measured pulse number M, the number of lost pulses and the number of repeated pulses are input into the pre-trained angle correction detection model to obtain the real rotation angle measurement value of the angle measurement sensor. 9.一种电子设备,包括存储器、处理器以及存储在存储器上并在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求8所述的角测量传感器敏感组件检测方法。9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the method for detecting sensitive components of an angle measurement sensor as described in claim 8 when executing the computer program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被执行时实现权利要求8所述的角测量传感器敏感组件检测方法。10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed, the method for detecting sensitive components of an angle measurement sensor according to claim 8 is implemented.
CN202411394858.0A 2024-10-08 Detection system and method for angle measurement sensor sensitive component Active CN118936369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411394858.0A CN118936369B (en) 2024-10-08 Detection system and method for angle measurement sensor sensitive component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411394858.0A CN118936369B (en) 2024-10-08 Detection system and method for angle measurement sensor sensitive component

Publications (2)

Publication Number Publication Date
CN118936369A true CN118936369A (en) 2024-11-12
CN118936369B CN118936369B (en) 2025-07-22

Family

ID=

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3665430A (en) * 1969-02-18 1972-05-23 Erc Elect Res Corp Digital tape error recognition method utilizing complementary information
US20070104353A1 (en) * 2003-12-16 2007-05-10 Michael Vogel Calibration of a surveying instrument
US20080298514A1 (en) * 2007-05-30 2008-12-04 Ben Jones Method And Apparatus For Real-Time Pulse Parameter Estimator
CN110781433A (en) * 2019-10-11 2020-02-11 腾讯科技(深圳)有限公司 Data type determination method and device, storage medium and electronic device
US20210173088A1 (en) * 2019-12-10 2021-06-10 Melexis Technologies Nv Phase angle correction value calculation apparatus and method of calculating a phase angle correction value
CN113739828A (en) * 2020-05-29 2021-12-03 上海禾赛科技有限公司 Method, circuit, device and medium for measuring angle of code wheel of photoelectric encoder
DE102020132003A1 (en) * 2020-12-02 2022-06-02 Valeo Schalter Und Sensoren Gmbh Timing of an event dependent on an angular position of a rotatable object
CN117076932A (en) * 2023-10-13 2023-11-17 源予半导体南京有限公司 High-sensitivity capacitance change detection method, system, electronic device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3665430A (en) * 1969-02-18 1972-05-23 Erc Elect Res Corp Digital tape error recognition method utilizing complementary information
US20070104353A1 (en) * 2003-12-16 2007-05-10 Michael Vogel Calibration of a surveying instrument
US20080298514A1 (en) * 2007-05-30 2008-12-04 Ben Jones Method And Apparatus For Real-Time Pulse Parameter Estimator
CN110781433A (en) * 2019-10-11 2020-02-11 腾讯科技(深圳)有限公司 Data type determination method and device, storage medium and electronic device
US20210173088A1 (en) * 2019-12-10 2021-06-10 Melexis Technologies Nv Phase angle correction value calculation apparatus and method of calculating a phase angle correction value
CN113739828A (en) * 2020-05-29 2021-12-03 上海禾赛科技有限公司 Method, circuit, device and medium for measuring angle of code wheel of photoelectric encoder
DE102020132003A1 (en) * 2020-12-02 2022-06-02 Valeo Schalter Und Sensoren Gmbh Timing of an event dependent on an angular position of a rotatable object
CN117076932A (en) * 2023-10-13 2023-11-17 源予半导体南京有限公司 High-sensitivity capacitance change detection method, system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN107621279B (en) Data processing method, sensor data calibration method and device
JP2009505062A5 (en)
JP2013073414A (en) Sensor diagnostic device and sensor diagnostic method for plant
CN110223489A (en) A kind of monitoring method and device of engineering object
CN117147022B (en) Force sensor nonlinear compensation method and system
KR101018702B1 (en) Partial discharge amount calibrator with self calibration and tracking
CN118936369B (en) Detection system and method for angle measurement sensor sensitive component
CN118936369A (en) A system and method for detecting sensitive components of an angle measurement sensor
CN117332205B (en) High-precision automatic optimization method and device for temperature compensation resistance of piezoresistor
JP7032035B2 (en) Devices and methods for inspecting operating clock signals of position measuring devices
CN113608953A (en) Test data generation method and device, electronic equipment and readable storage medium
CN117131469B (en) Error checking method of intelligent differential pressure transmitter
CN118548944A (en) High-precision flow measurement method and device based on Hall element
CN112731815A (en) Method for improving analog quantity acquisition precision
CN103438899A (en) Method and system for compensating errors generated by inertia measurement system during moving
CN112906681A (en) Meter reading method and device, electronic equipment and storage medium
Gaitan et al. A dynamic uncertainty protocol for digital sensor networks
CN108489459B (en) Attitude sensing system and inclination angle measuring method
Buonocore et al. Propagation of Measurement Uncertainty in IMU Orientation Tracking Algorithms
CN114817373A (en) An intelligent identification method and system for error jump of dam safety monitoring data system
CN109917637B (en) A high-precision timing method for data acquisition card
CN114117339B (en) A method for detecting outliers in arrival time difference based on multidimensional scaling
CN111176931A (en) Operation monitoring method, operation monitoring device, server and storage medium
CN117076932A (en) High-sensitivity capacitance change detection method, system, electronic device and storage medium
Li et al. On-site scale factor linearity calibration of MEMS triaxial gyroscopes

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