Vibration signal dynamic threshold updating method and device, equipment and storage medium

By dynamically updating the threshold, the problem of low accuracy of dynamic threshold of the vibration signal in the grating array is solved, and higher signal extraction accuracy and environmental impact removal are achieved.

CN119848510APending Publication Date: 2025-04-18WUHAN FENGLI OPTOELECTRONICS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411988487.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The long distance of the grating array, large detection range, and the influence of the physical environment such as road section construction and structure, lead to low accuracy of the dynamic threshold of the vibration signal.

Method used

By obtaining the total vibration signal distribution sequence of the rail plane of the grating array, setting the initial threshold, and extracting and squared sum of the total vibration signal distribution sequence per frame according to the preset window matrix, multiple noise distribution sequences are obtained. Then, the first noise distribution sequence is calculated and partitioned according to the initial threshold value to obtain the system performance coefficient and a plurality of subsequences. Next, the first sub-sequence is filtered and eliminated according to the initial threshold to obtain a dynamic noise floor data sequence. Finally, the initial threshold is dynamically updated according to the maximum value in the dynamic noise floor data sequence and the system performance coefficient, and the subsequences in the second subsequence and the second noise distribution sequence are processed through the updated initial threshold.

Benefits of technology

By dynamically updating the threshold, the accuracy of vibration signal extraction is improved, the amount of processing data is reduced, the removal of environmental impact is enhanced, and the accuracy of threshold update is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848510A_ABST
    Figure CN119848510A_ABST
Patent Text Reader

Abstract

The invention relates to a vibration signal dynamic threshold updating method and device, equipment and a storage medium, and the method comprises the steps: carrying out the extraction of each frame and the quadratic sum accumulation of a total vibration signal distribution sequence according to a preset window matrix, and obtaining a plurality of noise distribution sequences; calculating and partitioning the first noise distribution sequence according to an initial threshold value to obtain a system performance coefficient and a plurality of subsequences; screening and rejecting the first sub-sequence according to an initial threshold value to obtain a dynamic bottom noise data sequence; dynamically updating an initial threshold value of a system performance coefficient according to a maximum value in the dynamic bottom noise data sequence, and processing the second sub-sequence and sub-sequences in the second noise distribution sequence through the updated initial threshold value; according to the method, the vibration signal distribution sequence is subjected to decentralized processing, and the sub-sequence is used as a processing object for processing, so that the data volume processed each time is reduced; the first sub-sequence is screened and rejected, the influence of the environment is removed, and the accuracy of dynamic updating of the threshold value is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optical fiber sensors, and in particular to a vibration signal dynamic threshold updating method, device, equipment and storage medium. Background Art

[0002] Thresholds are widely used in many fields. In machine learning and data, they are used to classify data into different categories. In anomaly detection, they are used to identify abnormal situations. In image processing, they are used for edge detection and image segmentation. In risk assessment, they help determine the risk level. The use of threshold methods solves many technical application problems. In the field of vibration signal processing based on fiber optic sensing, using thresholds to distinguish between signals and noise is a routine processing operation. It is a basic means of effectively extracting signals, but the commonly used threshold method uses a large number of empirical values, which requires a lot of data for repeated verification, especially under the influence of vibration signal propagation in different media. For random vibration signals, the threshold method based on empirical values ​​is not enough to guarantee the accuracy of signal extraction.

[0003] The extraction of effective signals from grating array road surface vibration sensors is the basis for the intelligent implementation of road surface systems. However, the long distance and large detection range of grating arrays increase the complexity of vibration signal extraction. In particular, the influence of physical environments such as road construction and structure leads to differences in vibration response distribution, resulting in low accuracy of the dynamic threshold of vibration signals.

[0004] Therefore, it is urgently necessary to propose a method, device, equipment and storage medium for updating the dynamic threshold of a vibration signal to solve the technical problems in the prior art that the grating array has a long distance, a large detection range, and is affected by the physical environment such as road construction and structure, resulting in low accuracy of the dynamic threshold of the vibration signal. Summary of the invention

[0005] In view of this, it is necessary to provide a vibration signal dynamic threshold updating method, device, equipment and storage medium to solve the technical problems existing in the prior art, such as the long distance and large detection range of the grating array and the influence of the physical environment such as road construction and structure, which lead to low accuracy of the dynamic threshold of the vibration signal.

[0006] In order to solve the above problem, the present invention provides a vibration signal dynamic threshold updating method, comprising: Obtain the total vibration signal distribution sequence of the grating array pavement and set the initial threshold; Extracting and accumulating squares of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain a plurality of noise distribution sequences; the plurality of noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; Calculate and partition the first noise distribution sequence according to the initial threshold to obtain a system performance coefficient and a plurality of subsequences; the plurality of subsequences include a first subsequence and a second subsequence; Screening and eliminating the first subsequence according to the initial threshold to obtain a dynamic background noise data sequence; The initial threshold is dynamically updated according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and the second subsequence and the subsequence in the second noise distribution sequence are processed by the updated initial threshold.

[0007] In a possible implementation, the total vibration signal distribution sequence is extracted frame by frame and squared and accumulated according to a preset window matrix to obtain multiple noise distribution sequences, including: Extracting each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain a plurality of initial vibration signal distribution sequences; Each initial vibration signal distribution sequence is squared and accumulated to obtain the corresponding noise distribution sequence.

[0008] In a possible implementation manner, calculating and partitioning the first noise distribution sequence according to the initial threshold to obtain a system performance coefficient and multiple subsequences includes: Calculating the first noise distribution sequence according to a preset background noise value to obtain an initial background noise energy value of the system; Calculate according to the initial threshold value and the initial background noise energy value of the system to obtain a system performance coefficient; The first noise distribution sequence is partitioned to obtain a plurality of subsequences.

[0009] In a possible implementation, screening and eliminating the first subsequence according to the initial threshold to obtain a dynamic background noise data sequence includes: Screening the first subsequence according to the initial threshold to obtain an initial first subsequence; The initial first subsequence is eliminated according to a preset redundancy factor to obtain a dynamic background noise data sequence.

[0010] In a possible implementation manner, the processing the second subsequence and the subsequence in the second noise distribution sequence by using the updated initial threshold includes: After screening and eliminating the second subsequence by using the updated initial threshold, dynamically updating the updated initial threshold again; When all the multiple subsequences in the first noise distribution sequence are processed, the second noise distribution sequence is calculated and partitioned by using the latest initial threshold to obtain a system performance coefficient and multiple subsequences of the second noise distribution sequence; A subsequence of the second noise distribution sequence is processed according to the system performance coefficient of the second noise distribution sequence and the latest initial threshold, and the latest initial threshold is dynamically updated.

[0011] In a possible implementation manner, screening the first subsequence according to the initial threshold to obtain an initial first subsequence includes: Continuous intervals of bits in the first subsequence whose data are greater than the initial threshold are screened, and the data in the continuous intervals of bits in the first subsequence are removed to obtain an initial first subsequence.

[0012] In a possible implementation manner, screening the first subsequence according to the initial threshold to obtain an initial first subsequence includes: Continuous intervals of bits in the first subsequence whose data are greater than the initial threshold are screened, and the data in the continuous intervals of bits in the first subsequence are removed to obtain an initial first subsequence.

[0013] On the other hand, the present invention also provides a vibration signal dynamic threshold updating device, comprising: A signal acquisition module is used to acquire the total vibration signal distribution sequence of the grating array pavement and set an initial threshold; A sequence partitioning module, used for extracting and accumulating squares of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; A sequence calculation module, configured to calculate and partition the first noise distribution sequence according to the initial threshold value to obtain a system performance coefficient and a plurality of subsequences; the plurality of subsequences include a first subsequence and a second subsequence; A sequence screening module, used for screening and eliminating the first subsequence according to the initial threshold value to obtain a dynamic background noise data sequence; A threshold updating module is used to dynamically update the initial threshold according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and process the second subsequence and the subsequence in the second noise distribution sequence through the updated initial threshold.

[0014] On the other hand, an embodiment of the present invention discloses an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the various steps of the above-mentioned vibration signal dynamic threshold update method embodiment are implemented.

[0015] On the other hand, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various steps of the above-mentioned vibration signal dynamic threshold updating method embodiment are implemented.

[0016] The beneficial effects of the present invention are as follows: obtaining the total vibration signal distribution sequence of the grating array pavement and setting an initial threshold; extracting and accumulating the square sum of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; calculating and partitioning the first noise distribution sequence according to the initial threshold to obtain a system performance coefficient and multiple subsequences; the multiple subsequences include a first subsequence and a second subsequence; screening and eliminating the first subsequence according to the initial threshold to obtain a dynamic background noise data sequence; dynamically updating the initial threshold for the system performance coefficient according to the maximum value in the dynamic background noise data sequence, and processing the second subsequence and the subsequences in the second noise distribution sequence through the updated initial threshold; the present invention can perform decentralized processing on the vibration signal distribution sequence, and process the subsequences as the processing objects, thereby reducing the amount of data processed each time, and can also screen and eliminate the first subsequence to eliminate the influence of the environment, thereby improving the accuracy of dynamic updating of the threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic flow chart of an embodiment of a method for updating a dynamic threshold value of a vibration signal provided by the present invention; Figure 2 For the present invention Figure 1 A schematic flow chart of an embodiment of step S103; Figure 3 For the present invention Figure 1 A schematic flow chart of an embodiment of step S105; Figure 4 A schematic diagram of the structure of an embodiment of the distribution of vehicle vibration signals on each road section provided by the present invention; Figure 5 A schematic diagram of the structure of an embodiment of a vibration signal dynamic threshold updating device provided by the present invention; Figure 6 A schematic structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0018] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0019] like Figure 1 As shown, a specific embodiment of the present invention discloses a method for updating a dynamic threshold value of a vibration signal, comprising: S101, obtaining a total vibration signal distribution sequence of a grating array pavement and setting an initial threshold; S102, extracting and accumulating squares of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; S103, calculating and partitioning the first noise distribution sequence according to the initial threshold value to obtain a system performance coefficient and multiple subsequences; the multiple subsequences include a first subsequence and a second subsequence; S104, screening and eliminating the first subsequence according to the initial threshold value to obtain a dynamic background noise data sequence; S105 , dynamically update the initial threshold according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and process the second subsequence and the subsequence in the second noise distribution sequence using the updated initial threshold.

[0020] It should be understood that the laying method of the grating array on the road surface can be set according to actual conditions, and the embodiments of the present invention are not limited here. The original high-frequency vibration signal data is based on the real-time data of the detection emitted by the grating array vibration sensor instrument. Usually, due to the performance of the instrument itself and the laying environment, the signal fluctuates slightly. Under the condition of high sampling frequency, the original high-frequency vibration signal data ensures the authenticity of the sensor signal and lays the foundation for the monitoring of the sensor signal data.

[0021] In a specific embodiment of the present invention, the instrument adopts a phase demodulation method to obtain the original high-frequency vibration signal data as phase data (signal). The total vibration signal distribution sequence of the original high-frequency vibration signal data is shown in formula (1): (1) In the formula, for n Grating acquisition m Phase data collected at a certain moment.

[0022] For example, the system sampling frequency is 1kHz, so the number of sampling points in 1 minute is 60,000, the link measurement area is 2,000, the grating spacing is 5m (actually adjustable), and the actual link monitoring length is nearly 10km, distributed in different sections. The data single lane acquisition matrix is ​​60,000·2000, and the total vibration signal distribution sequence is shown in formula (2): (2) Then, the total vibration signal distribution sequence can be extracted and squared and accumulated for each frame according to the preset window matrix to obtain multiple noise distribution sequences. In order to distinguish the noise distribution sequences respectively, the multiple noise distribution sequences can be divided into a first noise distribution sequence and a second noise distribution sequence, wherein the second noise distribution sequence can be multiple, and then the first noise distribution sequence can be calculated and partitioned according to the initial threshold to obtain a system performance coefficient and multiple subsequences; wherein the multiple subsequences can include a first subsequence and a second subsequence; wherein the second subsequence can be multiple, and then the first subsequence can be screened and eliminated according to the initial threshold to obtain a dynamic background noise data sequence, and then the initial threshold of the system performance coefficient can be dynamically updated according to the maximum value in the dynamic background noise data sequence, and the second subsequence and the subsequences in the second noise distribution sequence are processed through the updated initial threshold.

[0023] Compared with the prior art, the present embodiment provides a method for obtaining a total vibration signal distribution sequence of a grating array pavement and setting an initial threshold; extracting and accumulating the square sum of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; calculating and partitioning the first noise distribution sequence according to the initial threshold to obtain a system performance coefficient and multiple subsequences; the multiple subsequences include a first subsequence and a second subsequence; screening and eliminating the first subsequence according to the initial threshold to obtain a dynamic background noise data sequence; dynamically updating the initial threshold for the system performance coefficient according to the maximum value in the dynamic background noise data sequence, and processing the second subsequence and the subsequences in the second noise distribution sequence through the updated initial threshold; the present invention can perform decentralized processing on the vibration signal distribution sequence, and process the subsequences as the processing objects, thereby reducing the amount of data processed each time, and can also screen and eliminate the first subsequence to eliminate the influence of the environment, thereby improving the accuracy of dynamic updating of the threshold.

[0024] In some embodiments of the present invention, step S102 includes: Extract the total vibration signal distribution sequence frame by frame according to a preset window matrix to obtain multiple initial vibration signal distribution sequences; Each initial vibration signal distribution sequence is squared and accumulated to obtain the corresponding noise distribution sequence.

[0025] In the specific embodiment of the present invention, it is obvious that a large matrix is ​​not conducive to the real-time processing principle. In the case of feature extraction and real-time, a preset window matrix can be set, for example, 200·2000, that is, 200ms of link acquisition data, so that the total vibration signal distribution sequence can be extracted per frame to obtain multiple initial vibration signal distribution sequences. For example, by extracting formula (2) per frame, the obtained 200·2000 initial vibration signal distribution sequence is shown in formula (3): (3) The square sum of the 200·2000 initial vibration signal distribution sequence is accumulated using formula (4), that is, the accumulated square of each measurement area in the time domain. Formula (4) is as follows: (4) In the formula, T For the time domain.

[0026] The calculation is shown in formula (5): (5) Then we can get the noise distribution sequence is a one-dimensional sequence of 1·2000. Similarly, the noise distribution sequence corresponding to each initial vibration signal distribution sequence can be obtained.

[0027] In some embodiments of the present invention, Figure 2 As shown, step S103 includes: S201, calculating a first noise distribution sequence according to a preset background noise value to obtain an initial background noise energy value of the system; S202, calculating according to the initial threshold and the system initial background noise energy value to obtain the system performance coefficient; S203 . Partition the first noise distribution sequence to obtain multiple subsequences.

[0028] In a specific embodiment of the present invention, when the noise system is collected, the background noise of the collection system is infinitely close to zero, and in the absence of interference, a preset background noise value can be set. For example, the preset background noise value is ±0.1, which is less than 1 and much larger than the actual background noise. Then, the initial background noise energy value of the system can be calculated. The calculation of the initial background noise energy value of the system is shown in formula (6): E= (6) Where 200 is the time domain of the first noise distribution sequence T .

[0029] The system performance coefficient needs to satisfy the signal greater than 1, there are 5 consecutive sampling points greater than the absolute value 1 in the single-side measurement area, and the absolute value 1.1 is much larger than the absolute value of the system noise floor close to 0 (the ideal noise floor is close to zero), then the system performance coefficient is as shown in formula (7): Thd= (7) Then, the system performance coefficient can be calculated based on the initial threshold and the initial background noise energy value of the system, as shown in formula (8): K=Thd / E=3.025 (8) In the formula, K is the system performance coefficient.

[0030] The first noise distribution sequence can be partitioned according to the actual engineering section configuration information to obtain multiple subsequences. For example, the vibration distribution of 1·2000 can be divided into three sections: 1~600, 601~1200, and 1201~2000.

[0031] In some embodiments of the present invention, step S104 includes: Screening the first subsequence according to the initial threshold to obtain an initial first subsequence; The initial first subsequence is eliminated according to a preset redundancy factor to obtain a dynamic background noise data sequence.

[0032] In a specific embodiment of the present invention, the first subsequence may then be screened according to the initial threshold to obtain an initial first subsequence. Specifically: In some embodiments of the present invention, the first subsequence is screened according to the initial threshold to obtain an initial first subsequence, including: The continuous interval bits in the first subsequence whose data are greater than the initial threshold are screened, and the data in the continuous interval bits in the first subsequence are removed to obtain an initial first subsequence.

[0033] In a specific embodiment of the present invention, the continuous interval bits in the first subsequence whose data are greater than the initial threshold value can be screened, and the screened continuous interval bits are [x_z, x_y]. The continuous interval bits are represented by all data from x_z to x_y in the first subsequence being greater than the initial threshold value, thereby obtaining the continuous interval bits [x_z, x_y], and then the data of the continuous interval bits in the first subsequence can be removed to obtain the initial first subsequence.

[0034] In some embodiments of the present invention, the initial first subsequence is eliminated according to a preset redundancy factor to obtain a dynamic background noise data sequence, including: Determine the elimination interval according to the preset redundancy factor and the continuous interval position; The data belonging to the elimination interval in the initial first subsequence is eliminated to obtain a dynamic background noise data sequence.

[0035] In a specific embodiment of the present invention, a preset redundancy factor can also be set. For example, if the preset redundancy factor is 3, the elimination interval can be determined based on the preset redundancy factor and the continuous interval bit. For example, if the elimination interval is [x_z-3, x_y+3], the data of [x_z+3, x_y+3] in the initial first subsequence can be eliminated, and the remaining is the dynamic background noise data sequence of the road section.

[0036] Furthermore, the initial threshold may be dynamically updated according to the maximum value in the dynamic background noise data sequence and the system performance coefficient. For example, the maximum value in the dynamic background noise data sequence is A_MAX, and the updated initial threshold is Thd_new1=A_MAX·K.

[0037] In some embodiments of the present invention, Figure 3 As shown, step S105 includes: S301, after screening and eliminating the second subsequence by using the updated initial threshold, dynamically updating the updated initial threshold again; S302, when all the subsequences in the first noise distribution sequence are processed, the second noise distribution sequence is calculated and partitioned by using the latest initial threshold to obtain the system performance coefficient and multiple subsequences of the second noise distribution sequence; S303: Process the subsequence of the second noise distribution sequence according to the system performance coefficient of the second noise distribution sequence and the latest initial threshold, and dynamically update the latest initial threshold.

[0038] In a specific embodiment of the present invention, after the first subsequence is processed to obtain an updated initial threshold, the second subsequence can be screened and eliminated by the updated initial threshold, so that it can be updated according to the maximum value Thd_new1 in the dynamic background noise data sequence of the second subsequence to obtain an updated Thd_new2. Similarly, the dynamic update of Thd_new2 can be achieved. When all the subsequences in the first noise distribution sequence are processed, the second noise distribution sequence can be calculated and partitioned by the latest initial threshold. The process is the same as the steps of calculating and partitioning the first noise distribution sequence. The system initial background noise energy value E and the system performance coefficient K of the second noise distribution sequence can be obtained. Therefore, the subsequence of the second noise distribution sequence can be processed according to the latest initial threshold and the latest initial threshold. The processing process is the same as the second subsequence of the first noise distribution sequence. Until the sequence processing of all partitions of the total vibration signal distribution sequence is completed, all processes can be completed.

[0039] like Figure 4As shown, the subsequences are divided into section 1, section 2 and section 3, then the initial threshold of the first subsequence is threshold 1, the initial threshold of the second subsequence is threshold 2, and the initial threshold of the third subsequence is threshold 3, and the vehicle vibration signal distribution of the first noise distribution sequence and the second noise distribution sequence can be obtained, wherein the continuous interval is [x_z, x_y]. In the vehicle vibration signal distribution of the first subsequence, the continuous interval [x_z, x_y] is removed above threshold 1, and the interval [x_z-3, x_y+3] is removed, then the updated initial threshold, that is, threshold 2 of section 2, can be obtained. Similarly, threshold 3 of section 3 can be obtained.

[0040] The present invention contains only one initial threshold value for calibration parameters, which makes full use of the dynamic characteristics of data for the calculation of dynamic initial threshold values, and effectively considers the impact of environmental factors on signals. It can also be flexibly used in the selection of dynamic threshold values ​​for multiple channels and multiple sections, and can be flexibly configured to effectively support the demand for intelligent tracking using vibration distribution. In order to better implement the vibration signal dynamic threshold update method in the embodiment of the present invention, on the basis of the vibration signal dynamic threshold update method, the embodiment of the present invention also provides a vibration signal dynamic threshold update device, such as Figure 5 As shown, the vibration signal dynamic threshold updating device 500 includes: The signal acquisition module 501 is used to acquire the total vibration signal distribution sequence of the grating array road surface and set the initial threshold; A sequence partitioning module 502 is used to extract and accumulate square sums of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; A sequence calculation module 503 is used to calculate and partition the first noise distribution sequence according to the initial threshold value to obtain a system performance coefficient and multiple subsequences; the multiple subsequences include a first subsequence and a second subsequence; A sequence screening module 504 is used to screen and remove the first subsequence according to an initial threshold value to obtain a dynamic background noise data sequence; The threshold updating module 505 is used to dynamically update the initial threshold according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and process the second subsequence and the subsequence in the second noise distribution sequence by using the updated initial threshold.

[0041] The vibration signal dynamic threshold updating device 500 provided in the above embodiment can implement the technical solution described in the above vibration signal dynamic threshold updating method embodiment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above vibration signal dynamic threshold updating method embodiment, which will not be repeated here.

[0042] like Figure 6 As shown, the present invention also provides an electronic device 600. The electronic device 600 includes a processor 601, a memory 602 and a display 603. Figure 6 Only some components of the electronic device 600 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0043] In some embodiments, the memory 602 may be an internal storage unit of the electronic device 600, such as a hard disk or memory of the electronic device 600. In other embodiments, the memory 602 may also be an external storage device of the electronic device 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the electronic device 600.

[0044] Furthermore, the memory 602 may include both an internal storage unit of the electronic device 600 and an external storage device. The memory 602 is used to store application software installed in the electronic device 600 and various data.

[0045] In some embodiments, the processor 601 may be a central processing unit (CPU), a microprocessor or other data processing chip, and is used to run program codes or process data stored in the memory 602, such as the vibration signal dynamic threshold updating method of the present invention.

[0046] In some embodiments, the display 603 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 603 is used to display information of the electronic device 600 and to display a visual user interface. The components 601-603 of the electronic device 600 communicate with each other through a system bus.

[0047] In some embodiments of the present invention, when the processor 601 executes the vibration signal dynamic threshold value update program in the memory 602, the following steps may be implemented: Obtain the total vibration signal distribution sequence of the grating array pavement and set the initial threshold; Extracting and accumulating squares of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; Calculating and partitioning the first noise distribution sequence according to the initial threshold value to obtain a system performance coefficient and a plurality of subsequences; the plurality of subsequences include a first subsequence and a second subsequence; The first subsequence is screened and eliminated according to the initial threshold value to obtain a dynamic background noise data sequence; The initial threshold is dynamically updated according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and the second subsequence and the subsequence in the second noise distribution sequence are processed by the updated initial threshold.

[0048] It should be understood that: when the processor 601 executes the vibration signal dynamic threshold value update program in the memory 602, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.

[0049] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 600 mentioned, and the electronic device 600 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic devices may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 600 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0050] Accordingly, an embodiment of the present application also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, the vibration signal dynamic threshold value updating method steps or functions provided in the above-mentioned method embodiments can be implemented.

[0051] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0052] The above is a detailed introduction to the vibration signal dynamic threshold updating method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for updating a dynamic threshold of a vibration signal, characterized in that: include: Obtain the total vibration signal distribution sequence of the grating array pavement and set the initial threshold; Extracting and accumulating squares of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain a plurality of noise distribution sequences; the plurality of noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; Calculate and partition the first noise distribution sequence according to the initial threshold to obtain a system performance coefficient and a plurality of subsequences; the plurality of subsequences include a first subsequence and a second subsequence; Screening and eliminating the first subsequence according to the initial threshold to obtain a dynamic background noise data sequence; The initial threshold is dynamically updated according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and the second subsequence and the subsequence in the second noise distribution sequence are processed by the updated initial threshold.

2. The vibration signal dynamic threshold updating method according to claim 1, characterized in that: The total vibration signal distribution sequence is extracted and squared and accumulated for each frame according to the preset window matrix to obtain multiple noise distribution sequences, including: Extracting each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain a plurality of initial vibration signal distribution sequences; Each initial vibration signal distribution sequence is squared and accumulated to obtain the corresponding noise distribution sequence.

3. The vibration signal dynamic threshold updating method according to claim 1, characterized in that: The calculating and partitioning the first noise distribution sequence according to the initial threshold to obtain a system performance coefficient and a plurality of subsequences includes: Calculating the first noise distribution sequence according to a preset background noise value to obtain an initial background noise energy value of the system; Calculate according to the initial threshold value and the initial background noise energy value of the system to obtain a system performance coefficient; The first noise distribution sequence is partitioned to obtain a plurality of subsequences.

4. The vibration signal dynamic threshold updating method according to claim 1, characterized in that: The step of screening and eliminating the first subsequence according to the initial threshold to obtain a dynamic background noise data sequence includes: Screening the first subsequence according to the initial threshold to obtain an initial first subsequence; The initial first subsequence is eliminated according to a preset redundancy factor to obtain a dynamic background noise data sequence.

5. The vibration signal dynamic threshold updating method according to claim 1, characterized in that: The processing of the second subsequence and the subsequence in the second noise distribution sequence by using the updated initial threshold comprises: After screening and eliminating the second subsequence by using the updated initial threshold, dynamically updating the updated initial threshold again; When all the multiple subsequences in the first noise distribution sequence are processed, the second noise distribution sequence is calculated and partitioned by using the latest initial threshold to obtain a system performance coefficient and multiple subsequences of the second noise distribution sequence; A subsequence of the second noise distribution sequence is processed according to the system performance coefficient of the second noise distribution sequence and the latest initial threshold, and the latest initial threshold is dynamically updated.

6. The vibration signal dynamic threshold updating method according to claim 4, characterized in that: The step of screening the first subsequence according to the initial threshold to obtain an initial first subsequence includes: Continuous intervals of bits in the first subsequence whose data are greater than the initial threshold are screened, and the data in the continuous intervals of bits in the first subsequence are removed to obtain an initial first subsequence.

7. The vibration signal dynamic threshold updating method according to claim 5, characterized in that: The step of removing the initial first subsequence according to a preset redundancy factor to obtain a dynamic background noise data sequence includes: Determine a removal interval according to the preset redundancy factor and the continuous interval bit; The data belonging to the elimination interval in the initial first subsequence is eliminated to obtain a dynamic background noise data sequence.

8. A vibration signal dynamic threshold updating device, characterized in that: include: A signal acquisition module is used to acquire the total vibration signal distribution sequence of the grating array pavement and set an initial threshold; A sequence partitioning module, used for extracting and accumulating squares of each frame of the total vibration signal distribution sequence according to a preset window matrix to obtain multiple noise distribution sequences; the multiple noise distribution sequences include a first noise distribution sequence and a second noise distribution sequence; A sequence calculation module, configured to calculate and partition the first noise distribution sequence according to the initial threshold value to obtain a system performance coefficient and a plurality of subsequences; the plurality of subsequences include a first subsequence and a second subsequence; A sequence screening module, used for screening and eliminating the first subsequence according to the initial threshold value to obtain a dynamic background noise data sequence; A threshold updating module is used to dynamically update the initial threshold according to the maximum value in the dynamic background noise data sequence and the system performance coefficient, and process the second subsequence and the subsequence in the second noise distribution sequence through the updated initial threshold.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the vibration signal dynamic threshold updating method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vibration signal dynamic threshold updating method according to any one of claims 1 to 7 are implemented.