The present invention relates to the field of vibration test technology, and more particularly to a method for picking up signals from an impact vibration sensor.
As China becomes a major manufacturing country, the reliability of products is increasingly a focus of global attention. Quality products generally undergo a series of rigorous tests before market launch. such as sand and dust tests, salt spray tests. vibration tests. impact tests. and temperature tests, to verify whether the product design meets the requirements.
For impact test equipment, the most critical parameter in an impact test is the impact strength. To accurately set the impact strength, it is necessary to precisely pick up the signals generated by the impact vibration sensor. Currently, the pickup of impact vibration signals is inaccurate due to inherent disturbances and external environmental noise, requiring multiple pickups and judgments based on the results, significantly affecting the quality and efficiency of the tests.
Therefore, there is a need for a technology that can accurately pick up impact vibration signals under external disturbances.
To solve the above problem, the present invention provides a method for picking up signals from an impact vibration sensor, capable of accurately and in real-time picking up impact vibration signals despite internal and external disturbances.
The technical solution of the present invention adopted to solve the above technical problem is a method for picking up signals from an impact vibration sensor, which comprises:
In a further specific embodiment, the method for determining whether the sampling data meets the quantity and trend requirements in step S4 comprises:
In a further specific embodiment, N in steps S41 and S42 is 100.
In a further specific embodiment, the method for determining whether sampling data on the left side of the maximum value increases monotonically in step S6 comprises: dividing sampling data within the response period into q parts, adding up the sampling data in each part to obtain q sums, and selecting several sums on the left side of the maximum value for determining.
In a further specific embodiment, the method for determining whether sampling data on the right side of the maximum value decreases monotonically in step S6 comprises: dividing sampling data within that response period into q parts, adding up the sampling data in each part to obtain q sums, and selecting several sums on the right side of the maximum value for determining.
In a further specific embodiment, after completing picking up of impact vibration signal, sampling data are processed using a frequency-domain processing method to determine whether the impact vibration signal is detected.
In a further specific embodiment, a frequency-domain processing method comprises:
In a further specific embodiment, complex number data in step S72 comprises a real part and an imaginary part, wherein
and
In a further specific embodiment. a formula for converting complex number data into real number data is as follows:
The beneficial effects of the present invention are: using the time-domain method to process the signals collected by the impact vibration sensor, obtaining impact vibration signals that meet the requirements with high accuracy, and achieving real-time signal collection. Meanwhile, further verification of the time-domain processing results is conducted using the frequency-domain method, increasing the reliability and accuracy of the collected signals.
The following, in conjunction with the accompanying drawings, provides a clear and comprehensive description of the technical solution of the present invention. It is evident that the described embodiments are part of the embodiments of the present invention. not the entirety. Based on the embodiments in the present invention. all other embodiments that ordinary skilled artisans may obtain without creative labor are within the scope of protection of the present invention.
In the description of the present invention, it should be noted that terms such as “center”, “upper”, “lower”, “left”, “right”, “vertical”, “horizontal”, “inner”, “outer” etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the drawings. They are used for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as limiting the present invention. In addition, terms such as “first”, “second”, “third” are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that unless otherwise explicitly specified and limited, terms such as “installation”, “connection”, “linkage” should be broadly interpreted. For example, it can be a fixed connection or a detachable connection, mechanical or electrical connection, direct or indirect connection through an intermediate medium, or internal communication within two components. For those skilled in the art. the specific meanings of these terms in the present invention can be understood according to specific situations. In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict.
The response time for impact vibration ranges from 3 to 50 milliseconds. The highest frequency response of impact vibration does not exceed 10 k and varies according to changes in the shock table body and impact strength, with a predominance of low frequencies. Based on the principle of FFT (Fast Fourier Transform), the higher the sampling frequency, the higher the frequency resolution. Taking a frequency response of 10 k as an example, the sampling frequency should not be less than 20 k to accurately reflect the true signal spectrum information. If the A/D (Analog-to-Digital) chip has a sampling frequency of 100 k and a sampling width of 16 bits, with a sampling time of 10 ms, the number of samples taken within the impact vibration response time is 1000, resulting in 2000 bytes of data. Assuming the data storage depth is three times the response time, 6000 bytes of memory need to be allocated. With a time window set to 10 milliseconds, the entire memory data corresponds to three impact response periods.
A method for picking up signals from an impact vibration sensor is shown in
Step S2, averaging the sampling data within the chosen response period, i.e., the D[i] array, to calculate an average Dave, and simultaneously identifying a maximum value Dmax in the D[i] array.
Step S3, determining whether the maximum value is located in the middle of the sampling data's sampling time, meaning a number of sampling data on the left side of Dmax is equal to a number of sampling data on the right side of Dmax; indicating that the sampling data essentially meets requirements and proceeding to step S6 if the maximum value is located in the middle of the sampling data's sampling time; and indicating that the sampling data does not meet requirements, needs adjustment, and proceeding to step S4 if the maximum value is not located in the middle of the sampling data's sampling time.
Step S4, determining whether the sampling data meets quantity and trend requirements, as illustrated in
Step S5, adjusting the position of the response period at this point by starting with an effective value of a current sampling data (either sampling data on the left side of the maximum value Dmax or sampling data on the right side of the maximum value Dmax), moving the position of the response period, re-obtaining a set of complete response periods, selecting sampling data from a first complete response period after position adjustment, reassigning the sampling data from the first complete response period to the D[i] array, and returning to step S2 to restart the operation.
Step S6, determining whether the following three conditions are all met within the response period: sampling data on the left side of the maximum value Dmax increases monotonically, sampling data on the right side of the maximum value Dmax decreases monotonically, and values of monotonic increase and monotonic decrease are the same;
Initially, dividing sampling data within the response period into q parts and obtaining q sums by adding up the sampling data in each part. As maximum value Dmax is located in the middle of the D[i] array, the count of sums of sampling data on the left side of maximum value Dmax is equivalent to the count of sums of sampling data on the right side of maximum value Dmax;
Subsequently. selecting all sums on the left side of maximum value Dmax and determining whether the sums on the left side of maximum value Dmax exhibit monotonic increase based on the order of sampling time;
Subsequently, selecting all sums on the right side of maximum value Dmax and determining whether the sums on the right side of maximum value Dmax exhibit monotonic decrease based on the order of sampling time;
Finally, comparing the value of monotonically increasing sums on the left side of maximum value Dmax and the value of monotonically decreasing sums on the right side of maximum value Dmax. If the difference between the value of monotonic increase and the value of monotonic decrease is within 5%, it is considered to meet requirements;
If all three of the conditions are met, it indicates that the sampling data are accurate and can be used. If any of the conditions are not met, it indicates that the sampled data are inaccurate. In this case, sampling data of a next response period is selected and reassigned to the D[i] array, and return to step S2 to restart an operation.
The aforementioned method is a time-domain approach to obtain impact vibration signals. To ensure the accuracy of the picked-up impact vibration signals, after completing the above steps, a frequency-domain processing method is used to process sampling data and determine whether impact vibration signal is detected, thereby corroborating the accuracy of the impact vibration signal.
A frequency-domain processing method, as illustrated in
Step S72, performing square-law detection on all frequency data within the A[i] array, forming several complex number data with every four frequency data, and each complex number data in step S72 consists of a real part and an imaginary part, wherein
and
Step S73, calculating a first threshold,
and
Step S74, comparing all frequency data in the A[i] array with the first threshold, selecting frequency data below the first threshold to form a new set of frequency data. and calculating a second threshold according to steps S72-S73.
Step S75, comparing all frequency data in the A[i] array with the second threshold and counting a number of frequency data above the second threshold.
Step S76, determining whether the count of frequency data is more than 10% of total number of all frequency data in the A[i] array; indicating the detection of impact vibration signals if the count of frequency data above the second threshold is more than 10% of the total number of all frequency data; and indicating that impact vibration signals are not detected if the count of frequency data above the second threshold is not more than 10% of the total number of all frequency data.
If the frequency-domain processing shows no signal detection, select sampling data of a next response period, reassign the sampling data of the next response period to the D[i] array, and return to step S2 to restart operation.
In summary, the process first involves picking up signals through an impact vibration sensor and then selecting and adjusting the effective signal output through time-domain processing. This approach ensures high accuracy and real-time characteristics in the picked-up signals. Furthermore, by applying frequency-domain processing to the picked-up signals, the accuracy and reliability of the signals are further enhanced.
The above is merely a preferred embodiment of the present invention and should not be construed as limiting the invention in any form. Any simple modifications, equivalent changes, or adaptations made to the above embodiments based on the technical essence of the present invention still fall within the scope of the technical solution of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
202110828847.9 | Jul 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/132459 | 11/23/2021 | WO |