Part quality acquisition method, device, computer equipment and storage medium
By decomposing the impact signal with wavelet packets and using a preset quality estimation function, the problem of large errors in mass acquisition of loose parts in the existing technology is solved, and higher accuracy is achieved.
Patent Information
- Application Number
- CN202011465060.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-14
AI Technical Summary
Existing methods for obtaining the quality of loose parts rely on the spectrum or frequency information of the signal, resulting in large errors and low accuracy in the quality of the obtained parts.
By obtaining the impact signal generated by the component to be detected hitting the monitoring area, decomposing the wavelet packet, obtaining the energy peak frequency band number, and using the preset quality estimation function and the quality data of the known component to determine the quality of the component to be detected.
The accuracy of mass acquisition of loose parts is improved, errors are reduced, and more accurate part quality assessment is achieved.
Smart Images

Figure CN112613705B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of industrial equipment monitoring, and in particular to a component quality acquisition method, device, computer equipment and storage medium. Background Art
[0002] There are a large number of screws, pins and other components in the primary reactor of a nuclear power plant. Although the impact of loosening is taken into account during the design and manufacture of the reactor and anti-loosening devices are designed, the high-temperature, high-pressure and fast-flowing water in the primary circuit will impact these screws and pins, causing them to loosen or even fall off. Therefore, in the process of monitoring and maintaining industrial equipment, it is usually necessary to estimate and calculate the mass of loose parts, so as to measure the threat caused by the loose parts falling off and specify corresponding maintenance plans and programs. At present, the mass acquisition method for loose parts is usually based on the bending waves generated by the collision of parts or Fourier analysis of the impact signal. However, the mass acquisition in these methods depends on the spectrum or frequency information of the signal, resulting in large errors in the mass of the acquired parts.
[0003] Therefore, the current method for obtaining the mass of loose parts has the defect of low accuracy. Summary of the invention
[0004] Based on this, it is necessary to provide a component quality acquisition method, device, computer equipment and storage medium that can improve the accuracy of quality acquisition of loose parts in order to solve the above technical problems.
[0005] A method for obtaining component quality, the method comprising:
[0006] Acquiring impact signals generated by the components to be detected hitting the monitoring area detected by multiple data acquisition devices; the multiple data acquisition devices are arranged in the monitoring area;
[0007] Performing wavelet packet decomposition on the plurality of impact signals to obtain a plurality of frequency bands corresponding to the plurality of impact signals, and obtaining energy peak frequency band sequence numbers corresponding to the component to be detected based on the plurality of frequency bands;
[0008] According to the energy peak frequency band sequence number and a preset quality estimation function, an estimated quality corresponding to the component to be detected is obtained; the quality estimation function is obtained based on the quality of multiple components and the energy peak frequency band sequence number;
[0009] The mass corresponding to the component to be inspected is determined according to the estimated mass and the component masses of a plurality of preset components.
[0010] In one of the embodiments, the plurality of data acquisition devices include: at least three acceleration sensors.
[0011] In one embodiment, performing wavelet packet decomposition on the plurality of impulse signals to obtain a plurality of frequency bands corresponding to the plurality of impulse signals includes:
[0012] According to the preset high-frequency filter function and low-frequency filter function, the multiple impulse signals are decomposed by wavelet packets to obtain multiple frequency bands corresponding to each impulse signal decomposed at a preset level; the frequency band sequence number of the frequency band corresponds to the preset level.
[0013] In one embodiment, the acquiring, based on the multiple frequency bands, the energy peak frequency band sequence number corresponding to the component to be detected includes:
[0014] According to the multiple frequency bands and a preset energy function, obtaining wavelet packet coefficient energies corresponding to the multiple frequency bands at the preset level;
[0015] The maximum value among the plurality of wavelet packet coefficient energies is obtained, and the frequency band number of the frequency band corresponding to the maximum value is used as the energy peak frequency band number.
[0016] In one embodiment, before obtaining the estimated mass corresponding to the component to be inspected according to the energy peak frequency band sequence number and a preset mass estimation function, the method further includes:
[0017] Acquire multiple impact signals generated by multiple known components detected by the at least three acceleration sensors when they fall from multiple different heights to the monitoring area and hit the monitoring area; the masses of the multiple known components are known;
[0018] Performing wavelet packet decomposition on the impact signals corresponding to each of the known components at different heights detected by the at least three acceleration sensors to obtain multiple frequency bands decomposed based on a preset series when each of the known components falls at different heights and is detected by different acceleration sensors;
[0019] Acquire multiple wavelet packet coefficient energies corresponding to the multiple frequency bands, and acquire the maximum value of the wavelet packet coefficient energies of each of the known components under different drop heights and different acceleration sensor detection conditions, and use the frequency band number corresponding to the maximum value as the energy peak frequency band number of each of the known components under the current drop height and current acceleration sensor detection conditions;
[0020] Obtaining the energy peak frequency band number corresponding to the mass of each of the known components according to the average value of the multiple energy peak frequency band numbers corresponding to each of the known components;
[0021] The mass estimation function is obtained by performing function curve fitting on the masses of the plurality of known components and the energy peak frequency band numbers corresponding to the masses.
[0022] In one embodiment, before determining the mass corresponding to the component to be inspected according to the estimated mass and the mass of the components of the plurality of preset components, the method further comprises:
[0023] Obtaining the mass corresponding to the loosened component whose probability of falling off is greater than the set probability in the device where the component to be detected is located;
[0024] The component masses of the plurality of preset components are obtained according to the corresponding masses of the plurality of loose components.
[0025] In one embodiment, determining the mass corresponding to the component to be inspected according to the estimated mass and the mass of a plurality of preset components includes:
[0026] Obtaining a relative error between the estimated mass and the mass of each of the preset components;
[0027] The component mass having the smallest relative error with the estimated mass among the component masses of the plurality of preset components is used as the mass corresponding to the component to be detected.
[0028] A component quality acquisition device, the device comprising:
[0029] A signal acquisition module, used to acquire impact signals generated by the components to be detected hitting the monitoring area detected by multiple data acquisition devices; the multiple data acquisition devices are arranged in the monitoring area;
[0030] A sequence number acquisition module, used for performing wavelet packet decomposition on the plurality of impact signals to obtain a plurality of frequency bands corresponding to the plurality of impact signals, and acquiring the energy peak frequency band sequence number corresponding to the component to be detected based on the plurality of frequency bands;
[0031] A first quality acquisition module, configured to obtain an estimated quality corresponding to the component to be detected according to the energy peak frequency band serial number and a preset quality estimation function; the quality estimation function is obtained based on the quality of multiple components and the energy peak frequency band serial numbers;
[0032] The second quality acquisition module is used to determine the quality corresponding to the component to be detected according to the estimated quality and the quality of a plurality of preset components.
[0033] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0034] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.
[0035] The above-mentioned component quality acquisition method, device, computer equipment and storage medium obtain the impact signal generated by the component to be detected hitting the monitoring area detected by multiple data acquisition devices, and perform wavelet packet decomposition on the multiple impact signals collected to obtain multiple frequency bands corresponding to the multiple impact signals, and based on the multiple frequency bands, obtain the energy peak frequency band number corresponding to the component to be detected, and then obtain the estimated mass corresponding to the component to be detected based on the energy peak frequency band number and the mass estimation function, and determine the mass corresponding to the component to be detected based on the estimated mass and the component mass of multiple preset components. Compared with the traditional method based on the bending wave generated by the collision of the component or Fourier analysis of the impact signal, this scheme achieves the effect of improving the accuracy of component quality acquisition by performing wavelet packet decomposition on the impact signal and using a preset mass estimation function to make a preliminary estimate of the mass of the component, and then determining the mass of the component to be detected based on the masses of multiple preset components. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A diagram showing an application environment of a component quality acquisition method in an embodiment;
[0037] Figure 2 A schematic diagram of a flow chart of a method for obtaining component quality in one embodiment;
[0038] Figure 3 is a schematic diagram of component drop information in one embodiment;
[0039] Figure 4 is a schematic diagram of a quality estimation function in one embodiment;
[0040] Figure 5 A schematic flow chart of a method for obtaining component quality in another embodiment;
[0041] Figure 6 It is a structural block diagram of a component quality acquisition device in one embodiment;
[0042] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The component quality acquisition method provided in this application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The terminal 102 can be connected to the data acquisition device, the data acquisition device can detect the signal and transmit the detected signal to the terminal 102, the terminal 102 can obtain the impact signal generated by the impact of the component to be detected by multiple data acquisition devices, and the terminal 102 can perform wavelet packet decomposition on the multiple impact signals to obtain multiple frequency bands corresponding to the multiple impact signals, and obtain the energy peak frequency band sequence number corresponding to the component to be detected based on the multiple frequency bands. The terminal 102 can also obtain the estimated quality corresponding to the component to be detected according to the energy peak frequency band sequence number and the preset quality estimation function, and determine the quality corresponding to the component to be detected according to the estimated quality and the component quality of multiple preset components. The terminal 102 can send the obtained component quality to the server 104, and the server 104 can store the quality information sent by the terminal 102. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones and tablets, the server 104 can be implemented by an independent server or a server cluster composed of multiple servers, and the data acquisition device can be implemented by multiple data acquisition devices.
[0045] In one embodiment, Figure 2 As shown, a method for obtaining component quality is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:
[0046] Step S202, acquiring impact signals generated by the component to be detected hitting the monitoring area detected by multiple data acquisition devices; multiple data acquisition devices are set in the monitoring area.
[0047] Among them, the components to be detected can be internal loose parts in industrial equipment, such as loose parts in the main equipment of nuclear power or petrochemical industry. The falling of these parts can easily cause equipment operation accidents. In order to realize the monitoring and maintenance of equipment safety in industry, it is necessary to calculate the mass of these loose parts. The monitoring area can be an area used to monitor the falling of the above-mentioned components to be detected, that is, the above-mentioned components to be detected can fall into the monitoring area when falling, for example, the loose screws fall on the steel plate at the bottom of the equipment, and the steel plate can be used as the monitoring area; at the same time, multiple data acquisition devices can be arranged in the monitoring area, and the data acquisition devices can be used to collect various signals generated when the components to be detected fall into the monitoring area, such as the impact signal generated when the components to be detected hit the monitoring area. The above-mentioned data acquisition devices can include multiple, specifically, at least three acceleration sensors, each of which is arranged in the monitoring area in a specific manner, and each of which can be used to detect the impact signal and other signals generated when the components to be detected fall and hit. It should be noted that the above-mentioned data acquisition devices can also be other sensors that can realize impact signal detection. The terminal 102 can obtain the impact signal detected by multiple data acquisition devices set in the monitoring area. The impact signal can be the impact signal generated by the component to be detected hitting the monitoring area. There can be multiple impact signals. For example, when a component in the equipment is loose and falls onto the steel plate, multiple sensors set on the steel plate can detect the impact signal generated by the component hitting the steel plate. Each sensor can have a specific channel number. Specifically, the above impact signal can be recorded as x(t).
[0048] Step S204 , performing wavelet packet decomposition on the multiple impact signals to obtain multiple frequency bands corresponding to the multiple impact signals, and obtaining energy peak frequency band numbers corresponding to the components to be detected based on the multiple frequency bands.
[0049] Among them, wavelet packet decomposition can be a process of decomposing a signal into multiple levels of signals. The terminal 102 can perform wavelet packet decomposition on the multiple impact signals for the components to be detected detected by the above-mentioned multiple sensors, so as to obtain multiple layers of frequency bands corresponding to the multiple impact signals. Each layer of frequency band may include a corresponding identifier, such as a frequency band number. Specifically, the terminal 102 can decompose the above-mentioned impact signal into multiple frequency bands through a preset function.
[0050] In addition, each frequency band after decomposition can have a corresponding energy value, and the frequency bands at each level can also have corresponding frequency band numbers. The terminal 102 can calculate the energy values of each frequency band after the impact signal is decomposed based on the multiple frequency bands obtained above, and can obtain the corresponding energy peak frequency band number of the component to be detected based on the energy value, which can be denoted as n, where the energy peak frequency band number can be the frequency band number corresponding to the frequency band representing the largest energy value, and can also be called the characteristic frequency band number.
[0051] Step S206, obtaining the estimated mass corresponding to the component to be inspected according to the energy peak frequency band serial number and a preset mass estimation function; the mass estimation function is obtained based on the masses of multiple components and the energy peak frequency band serial numbers.
[0052] The energy peak frequency band number may be the frequency band number corresponding to the frequency band with the largest energy among the energies of the above-mentioned multiple frequency bands, and the preset quality estimation function may be obtained by performing drop tests on multiple components of different masses in advance and calculating based on the energy peak frequency band numbers of multiple components. The terminal 102 may obtain the estimated quality corresponding to the component to be detected based on the energy peak frequency band number of the component to be detected and the quality estimation function calculated above, and the estimated quality may be the estimated quality of the component to be detected, which may be denoted as m e , which needs to be further confirmed. Specifically, the quality estimation function can be m e =f(n).
[0053] Step S208, determining the mass corresponding to the component to be inspected according to the estimated mass and the mass of the components of a plurality of preset components.
[0054] Among them, the preset component can be a component whose quality is known in advance, and the component can be a component in industrial equipment, that is, the preset component can be a component of known quality set in the industrial equipment. The terminal 102 can determine the corresponding quality of the component to be detected based on the component quality of multiple preset components and the estimated quality obtained in the above steps. For example, the terminal 102 can determine the quality of the component to be detected by matching the component quality. The more matched component qualities are, the more accurate the quality of the component to be detected is.
[0055] In the above-mentioned component quality acquisition method, the impact signal generated by the component to be detected hitting the monitoring area detected by multiple data acquisition devices is acquired, and the multiple impact signals collected are decomposed by wavelet packets to obtain multiple frequency bands corresponding to the multiple impact signals, and based on the multiple frequency bands, the energy peak frequency band number corresponding to the component to be detected is obtained, and then the estimated mass corresponding to the component to be detected is obtained according to the energy peak frequency band number and the mass estimation function, and the mass corresponding to the component to be detected is determined based on the estimated mass and the component mass of multiple preset components. Compared with the traditional method based on the bending wave generated by the collision of components or Fourier analysis of the impact signal, this scheme achieves the effect of improving the accuracy of component quality acquisition by performing wavelet packet decomposition on the impact signal and using a preset mass estimation function to make a preliminary estimate of the mass of the component, and then determining the mass of the component to be detected based on the masses of multiple preset components.
[0056] In one embodiment, wavelet packet decomposition is performed on multiple impact signals to obtain multiple frequency bands corresponding to the multiple impact signals, including: according to a preset high-frequency filter function and a low-frequency filter function, wavelet packet decomposition is performed on multiple impact signals to obtain multiple frequency bands corresponding to each impact signal decomposed at a preset level; the frequency band sequence number corresponds to the preset level.
[0057] In this embodiment, the terminal 102 can perform wavelet packet decomposition on the above-mentioned multiple impact signals, wherein the multiple impact signals can be impact signals detected by multiple data acquisition devices, and are generated when the detected component hits the monitoring area, wherein each data acquisition device can send the collected impact signal to the terminal 102 through the channel number corresponding to the device, and the terminal 102 can perform wavelet packet decomposition on the multiple impact signals, and the wavelet packet decomposition can use the preset high-frequency filter function and the low-frequency filter function. The terminal 102 can perform wavelet packet decomposition on the multiple impact signals based on the above-mentioned high-frequency filter function and the low-frequency filter function, so as to obtain multiple frequency bands corresponding to each impact signal decomposed at a preset level, that is, the terminal 102 can decompose the impact signal into multiple frequency bands at the preset level based on the preset level, wherein each frequency band can have a corresponding frequency band number, and the frequency band number can be determined based on the level in which it is located. Specifically, the calculation formula of the above-mentioned wavelet packet decomposition can be as follows:
[0058]
[0059]
[0060] in, and They are The low-frequency overview and high-frequency details of The above impact signal can be filtered at a low frequency. The above impulse signal can be subjected to high-frequency filtering to obtain multiple frequency bands corresponding to the impulse signal decomposed at a preset level, where j is the level of wavelet packet decomposition, i.e., the above preset level, and the subscript l is the number of the frequency band decomposed at level j, and l takes a value of [0, 2 j-1 ], that is, each level can include multiple frequency band numbers.
[0061] Through this embodiment, the terminal 102 can use the preset low-frequency filter function and the high-frequency filter function to perform wavelet packet decomposition on the impact signal based on a preset series, thereby obtaining multiple frequency bands under the series, so that the quality of the component to be detected can be calculated based on the multiple frequency bands, thereby improving the accuracy of the quality acquisition of the component to be detected.
[0062] In one embodiment, based on multiple frequency bands, the energy peak frequency band number corresponding to the component to be detected is obtained, including: according to the multiple frequency bands and a preset energy function, obtaining the wavelet packet coefficient energies corresponding to the multiple frequency bands at a preset level; obtaining the maximum value of the multiple wavelet packet coefficient energies, and using the frequency band number of the frequency band corresponding to the maximum value as the energy peak frequency band number.
[0063] In this embodiment, the multiple frequency bands may be the multiple frequency bands obtained by the terminal 102 after decomposing the above-mentioned impulse signal. The terminal 102 may perform wavelet packet decomposition on the impulse signal based on a preset number of levels. Each frequency band after decomposition may have corresponding energy, which may be called wavelet packet coefficient energy. The terminal 102 may obtain the wavelet packet coefficient energy corresponding to the multiple frequency bands at the preset number of levels based on the multiple frequency bands and a preset energy function, wherein the preset energy function may be obtained based on the natural logarithm of each frequency band after the above decomposition. Specifically, the terminal 102 may calculate the wavelet packet coefficient energy of each frequency band after decomposition. The wavelet packet coefficient energy of the lth segment decomposed at the jth level may be recorded as e l , the preset energy function can be as follows: Since the signal decomposed based on the preset level has multiple frequency bands, the value range of frequency band l can be [0, 2 j-1 ], therefore, for the impulse signal decomposed at level j, the energy of each frequency band can be obtained as:
[0064] The terminal 102 may also obtain the maximum value among the plurality of wavelet packet coefficient energies, and use the frequency band number of the frequency band corresponding to the maximum value as the energy peak frequency band number. Specifically, the terminal 102 may obtain the energy peak frequency band number. The maximum energy value e l , the corresponding frequency band number l is the frequency band number where the energy peak is located, which can be recorded as l hi Therefore, the terminal 102 may use the frequency band number corresponding to the frequency band with the largest energy value as the energy peak frequency band number.
[0065] Through this embodiment, the terminal 102 can obtain the energy peak frequency band number with the largest energy value from the wavelet packet coefficient energy of multiple frequency bands based on a preset energy function, so that the quality of the component to be detected can be calculated based on the energy frequency band number, thereby improving the accuracy of obtaining the quality of the component to be detected.
[0066] In one embodiment, before obtaining the estimated mass corresponding to the component to be detected according to the energy peak frequency band number and the preset mass estimation function, the method further includes: obtaining multiple impact signals generated by the impact monitoring area when multiple known components detected by at least three acceleration sensors fall from multiple different heights to the monitoring area; the masses of the multiple known components are known; performing wavelet packet decomposition on the impact signals corresponding to each known component detected by at least three acceleration sensors at different heights to obtain multiple frequency bands corresponding to each known component falling at different heights and under different acceleration sensor detection based on a preset series decomposition; obtaining multiple wavelet packet coefficient energies corresponding to the multiple frequency bands, and obtaining the maximum value of the wavelet packet coefficient energy of each known component under different height drops and different acceleration sensor detection conditions, and using the frequency band number corresponding to the maximum value as the energy peak frequency band number of each known component under the current height drop and current acceleration sensor detection conditions; obtaining the energy peak frequency band number corresponding to the mass of each known component according to the average value of the multiple energy peak frequency band numbers corresponding to each known component; performing function curve fitting on the masses of the multiple known components and the energy peak frequency band numbers corresponding to the masses to obtain the mass estimation function.
[0067] In this embodiment, the terminal 102 can obtain a mass estimation function for calculating the component to be tested by testing a known component, wherein the known component can be a component of known mass. The terminal 102 can obtain multiple impact signals generated by multiple known components falling from different heights to the monitoring area and hitting the monitoring area through at least three data acquisition devices, such as acceleration sensors, set in the monitoring area. The impact signals can be recorded as , where m represents the mass of the component to be detected, such as the mass of a steel ball, h represents the height of the drop, and i represents the number of different sensor channels.
[0068] The terminal 102 may perform wavelet packet decomposition on the collected impulse signals to obtain different frequency bands. Specifically, the terminal 102 may decompose the multiple impulse signals based on a preset number of levels to obtain multiple frequency bands corresponding to each impulse signal under the preset number of levels. Each frequency band may have a corresponding frequency band number and energy.
[0069] The terminal 102 can also calculate the energy of the wavelet packet coefficients of each frequency band after decomposition, for example, it can use the above-mentioned preset energy function to calculate, so as to obtain the frequency band energy sequence corresponding to each impact signal under the above-mentioned preset level. The terminal 102 can obtain the maximum value of the wavelet packet coefficient energy of the impact signal corresponding to each known component, and use the corresponding frequency band number as the frequency band where the energy peak of the impact signal is located.
[0070] The terminal 102 can process the impact signals of the same steel ball dropped from different heights and measured by different data acquisition devices in the above manner, thereby obtaining a series of frequency band numbers corresponding to the energy peaks of the impact signals, namely, the above l hi , the terminal 102 can obtain the energy peak frequency band number corresponding to the mass of each known component according to the average value of the frequency band numbers corresponding to the multiple energy peaks corresponding to each known component. Specifically, after obtaining the frequency band numbers corresponding to the multiple energy peaks corresponding to each known component, the terminal 102 can remove a maximum value and a minimum value from the frequency band number and take the average value as the energy peak frequency band number of each known component, that is, the characteristic frequency band number, which can be recorded as l m , the calculation formula can be shown as follows:
[0071]
[0072] The terminal 102 may also perform function curve fitting on the masses of the above-mentioned multiple known components and the energy peak frequency band numbers corresponding to the masses, so as to obtain the above-mentioned mass estimation function. Specifically, the known components may be steel balls of different masses, and the terminal 102 may fit the mass m of the steel ball and the energy peak frequency band number l of the mass. m Perform function curve fitting and obtain the mass m from the energy peak frequency band number l m The quality estimation function represented by m=f(l m ); It should be noted that when establishing the quality estimation function, the more quality sequences are used, the better the effect of the quality estimation function.
[0073] The following is an application example. In this application example, a flat plate experiment is used as an example. The steel plate used in the experiment has a size of 40cm×60cm×0.8cm. In order to reduce the impact of environmental noise on the experiment, buffer distances are added under the four corners of the steel plate. Each buffer distance consists of a solid wood support and a sponge. Starting from the bottom layer, they are solid wood supports and sponges. In this application example, steel balls with masses m of 10g, 47g, 110g, 175g and 260g are used, and the drop heights are 5cm, 10cm, and 15cm respectively. The data acquisition device uses an acceleration sensor, and the sensor channels i=1, 2, and 3. Terminal 102 can perform the above wavelet packet decomposition on the collected multiple impact signals, for example, it can perform 4-level wavelet packet decomposition to obtain the energy peak frequency band number under the level. Terminal 102 can perform data processing on the impact signals of the same steel ball dropped from different heights and measured by different sensors in the above manner to obtain a series of frequency band numbers corresponding to the energy peaks of the impact signals. After removing a maximum value and a minimum value from the frequency band number, the average value is taken as the energy peak frequency band number of the steel ball of this mass. Specifically, Figure 3 As shown, Figure 3A schematic diagram of component drop information in an embodiment. Figure 3 The figure shows the mass estimation functions at different heights obtained after the impact signals obtained from falling from different heights are processed, wherein the dotted line 302 may be the mass estimation function when falling from a height of 15 cm; the dotted line 304 may be the mass estimation function when falling from a height of 10 cm; and the dotted line 306 may be the mass estimation function when falling from a height of 5 cm. It can be seen that the height will affect the frequency band energy number of the impact signal.
[0074] Terminal 102 can perform the above processing on the steel balls of various masses, thereby obtaining energy peak frequency band numbers of different masses, and calculating the energy peak frequency band number l of the steel ball mass m and the energy peak frequency band number l of the steel ball mass m. m Perform function curve fitting to obtain the quality estimation function. Specifically, Figure 4 As shown, Figure 4 The terminal 102 eliminates the influence of the height factor by collecting statistics on the data at different heights and performing function fitting, and obtains the following: Figure 4 The quality estimation function in .
[0075] Through the above embodiments, the terminal 102 can perform a series of tests based on multiple known components with known qualities to obtain a quality estimation function, so that the terminal 102 can use the quality estimation function to obtain the quality of the component to be tested, thereby improving the accuracy of component quality acquisition.
[0076] In one embodiment, before determining the mass corresponding to the component to be detected based on the estimated mass and the mass of multiple preset components, it also includes: obtaining the mass corresponding to the loose component whose probability of falling off is greater than the set probability in the device where the component to be detected is located; and obtaining the mass of multiple preset components based on the masses corresponding to the multiple loose components.
[0077] In this embodiment, the terminal 102 can obtain the component quality of the component to be detected by matching the preset component. Therefore, the terminal 102 can first set the preset component. The terminal 102 can analyze the structure and operation status of the device to obtain the loose parts that may fall off in the device where the component to be detected is located, such as the loose parts with a probability of falling off greater than the set probability, and obtain the quality of these loose parts to establish a quality sequence of the loose parts that may fall off. Specifically, the sequence can be: m=(m1, m2, ..., m n ); thus, the terminal 102 can obtain the component qualities of multiple preset components based on the corresponding qualities of the multiple loose components.
[0078] Through this embodiment, the terminal 102 can use the mass of the easily loosened component to obtain the component mass of the above-mentioned preset component, and thus can obtain the component mass of the component to be tested based on the mass of the preset component, thereby improving the accuracy of component mass acquisition.
[0079] In one embodiment, the mass corresponding to the component to be inspected is determined based on the estimated mass and the component masses of multiple preset components, including: obtaining the relative error between the estimated mass and the component masses of each preset component; and taking the component mass with the smallest relative error with the estimated mass among the component masses of multiple preset components as the mass corresponding to the component to be inspected.
[0080] In this embodiment, the terminal 102 can determine the mass of the component to be detected based on the component mass of the preset component obtained above, wherein the preset component can be a component in the device obtained above whose probability of loosening is greater than the set probability. The terminal 102 can obtain the relative error between the estimated mass corresponding to the above-mentioned component to be detected and the mass of each preset component, and use the mass of the component with the smallest relative error with the estimated mass among the mass of multiple preset components as the mass corresponding to the component to be detected. Specifically, the mass of the above-mentioned preset component can be represented by the sequence m=(m1, m2, ..., m n ) indicates. The terminal 102 can query the m in the quality sequence established above. i (i=1,2,…n); calculate the estimated mass m e With m i The relative error δ i , the specific calculation formula can be shown as follows:
[0081]
[0082] Where i=1, 2, ...n. According to the above calculation formula, the relative error between the estimated quality and the component quality of the preset component can be obtained. The size of the relative error reflects the degree of matching. The smaller the relative error, the greater the degree of matching. Then the terminal 102 can use the quality of the preset component corresponding to the minimum relative error as the final quality estimation result, that is, as the component quality of the above-mentioned component to be detected. The corresponding preset component is numbered in the above-mentioned sequence m as follows: The terminal 102 can obtain the mass estimation result from the mass sequence m of the loose parts that may fall according to the serial number, and the mass is m. i , as the mass corresponding to the above-mentioned component to be tested.
[0083] Specifically, an application embodiment is provided. Taking the above flat plate experiment as an example, the terminal 102 can first obtain the estimated mass of the component to be detected, such as a steel ball, through the mass estimation function. Specifically, if the actual mass of the steel ball used is 110g, after the terminal 102 processes the impact signal, the obtained frequency band energy number n=8, and the mass estimation result calculated by the mass estimation function can be m e =112.66g. The terminal 102 can obtain the mass of the preset component, that is, the easy-to-fall-off component, to form a mass sequence of the easy-to-fall-off component, specifically, m=(10, 47, 110, 175, 260, 375), and obtain the relative error, specifically; δ=(1026.6%, 139.7%, 2.42%, 35.62%, 56.67%, 69.96%); the terminal 102 can obtain the minimum value in the relative error, that is, the number The mass of the third loose component obtained from the sequence is 110 g, which is used as the mass of the component to be tested.
[0084] Through this embodiment, the terminal 102 can form a sequence based on the mass of the easily detached parts in the device, and match the sequence with the above-mentioned estimated mass to obtain the mass of the part to be detected, thereby improving the accuracy of obtaining the mass of the part to be detected.
[0085] In one embodiment, Figure 5 As shown, Figure 5 It is a flowchart of a component quality acquisition method in another embodiment. The terminal 102 can first construct a quality estimation function. The terminal 102 can collect impact signals of multiple components of different masses falling to the monitoring area at different heights, and perform wavelet packet decomposition on the multiple impact signals to obtain multiple frequency bands corresponding to each impact signal. The terminal 102 can obtain the frequency band number corresponding to the frequency band with the largest energy from the multiple frequency bands, thereby obtaining the energy peak frequency band number corresponding to each impact signal. The terminal 102 can perform function curve fitting on the energy peak frequency band numbers of multiple components and the masses of multiple components to obtain the functional relationship between the mass and the frequency band number, thereby obtaining the above-mentioned quality estimation function.
[0086] The terminal 102 can collect the above-mentioned impact signal of the fallen part to be detected on site, perform wavelet packet decomposition, and obtain the energy peak frequency band number, so as to calculate the estimated mass of the part to be detected through the mass estimation function obtained above. The terminal 102 can also pre-establish a sequence of masses of known possible loose parts, such as parts with a probability of falling off greater than a set probability, and obtain the masses of these parts. The terminal 102 can perform similarity matching between the above-mentioned estimated mass and the mass of the loose parts, so as to obtain the specific loose parts, and use the corresponding mass as the mass of the part to be detected.
[0087] Through this embodiment, the terminal 102 performs wavelet packet decomposition on the impact signal and uses a preset quality estimation function to preliminarily estimate the quality of the component, and then determines the quality of the component to be tested based on the qualities of multiple preset components, thereby achieving the effect of improving the accuracy of component quality acquisition.
[0088] It should be understood that although Figure 2 and Figure 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 and Figure 5 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0089] In one embodiment, Figure 6 As shown, a component quality acquisition device is provided, comprising: a signal acquisition module 500, a sequence number acquisition module 502, a first quality acquisition module 504 and a second quality acquisition module 506, wherein:
[0090] The signal acquisition module 500 is used to acquire the impact signal generated by the component to be detected hitting the monitoring area detected by multiple data acquisition devices; multiple data acquisition devices are set in the monitoring area.
[0091] The serial number acquisition module 502 is used to perform wavelet packet decomposition on the multiple impact signals to obtain multiple frequency bands corresponding to the multiple impact signals, and based on the multiple frequency bands, obtain the energy peak frequency band serial number corresponding to the component to be detected.
[0092] The first quality acquisition module 504 is used to obtain the estimated quality of the component to be detected according to the energy peak frequency band number and a preset quality estimation function; the quality estimation function is obtained based on the quality of multiple components and the energy peak frequency band numbers.
[0093] The second quality acquisition module 506 is used to determine the quality corresponding to the component to be inspected according to the estimated quality and the component qualities of a plurality of preset components.
[0094] In one embodiment, the serial number acquisition module 502 is specifically used to perform wavelet packet decomposition on multiple impact signals according to a preset high-frequency filter function and a low-frequency filter function to obtain multiple frequency bands corresponding to each impact signal decomposed at a preset level; the frequency band serial number of the frequency band corresponds to the preset level.
[0095] In one embodiment, the serial number acquisition module 502 is specifically used to obtain the wavelet packet coefficient energies corresponding to multiple frequency bands at a preset level according to multiple frequency bands and a preset energy function; obtain the maximum value of the multiple wavelet packet coefficient energies, and use the frequency band serial number of the frequency band corresponding to the maximum value as the energy peak frequency band serial number.
[0096] In one embodiment, the above-mentioned device also includes: a construction module, which is used to obtain multiple impact signals generated by the impact monitoring area when multiple known components detected by at least three acceleration sensors fall from multiple different heights to the monitoring area; the masses of the multiple known components are known; the impact signals corresponding to each known component detected by at least three acceleration sensors at different heights are decomposed by wavelet packets to obtain multiple frequency bands corresponding to each known component falling at different heights and under different acceleration sensor detection based on a preset series decomposition; multiple wavelet packet coefficient energies corresponding to the multiple frequency bands are obtained, and the maximum value of the wavelet packet coefficient energy of each known component falling at different heights and under different acceleration sensor detection conditions is obtained, and the frequency band number corresponding to the maximum value is used as the energy peak frequency band number of each known component under the current height drop and current acceleration sensor detection conditions; according to the average value of the multiple energy peak frequency band numbers corresponding to each known component, the energy peak frequency band number corresponding to the mass of each known component is obtained; the mass of the multiple known components and the energy peak frequency band number corresponding to the mass are fitted with a function curve to obtain a mass estimation function.
[0097] In one embodiment, the above-mentioned device also includes: a preset component acquisition module, which is used to obtain the mass corresponding to the loose components whose probability of falling off is greater than the set probability in the equipment where the component to be detected is located; and obtain the component masses of multiple preset components based on the masses corresponding to multiple loose components.
[0098] In one embodiment, the second quality acquisition module 506 is specifically used to obtain the relative error between the estimated quality and the component quality of each preset component; and the component quality with the smallest relative error with the estimated quality among the component qualities of multiple preset components is used as the quality corresponding to the component to be detected.
[0099] The specific definition of the component quality acquisition device can be found in the definition of the component quality acquisition method above, which will not be repeated here. Each module in the above-mentioned component quality acquisition device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0100] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a component quality acquisition method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0101] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0102] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above-mentioned component quality acquisition method when executing the computer program.
[0103] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned component quality acquisition method is implemented.
[0104] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0105] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0106] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for obtaining component quality, characterized in that: The method comprises: Acquiring impact signals generated by the components to be detected hitting the monitoring area detected by multiple data acquisition devices; the multiple data acquisition devices are arranged in the monitoring area; Performing wavelet packet decomposition on the plurality of impact signals to obtain a plurality of frequency bands corresponding to the plurality of impact signals, and obtaining the energy peak frequency band sequence number corresponding to the component to be detected based on the plurality of frequency bands, including: performing wavelet packet decomposition on the plurality of impact signals according to a preset high-frequency filter function and a preset low-frequency filter function to obtain a plurality of frequency bands corresponding to each impact signal decomposed at a preset level; the frequency band sequence number of the frequency band corresponds to the preset level; obtaining the wavelet packet coefficient energies corresponding to the plurality of frequency bands at the preset level according to the plurality of frequency bands and a preset energy function; obtaining the maximum value among the plurality of wavelet packet coefficient energies, and using the frequency band sequence number of the frequency band corresponding to the maximum value as the energy peak frequency band sequence number; According to the energy peak frequency band sequence number and a preset quality estimation function, the estimated quality corresponding to the component to be detected is obtained; the quality estimation function is based on a plurality of frequency bands decomposed by a preset series after wavelet packet decomposition of each impact signal corresponding to a plurality of components of known quality, and is obtained based on the energy peak frequency band sequence number corresponding to the frequency band with the largest energy of the wavelet packet coefficient among the plurality of frequency bands and the quality of the plurality of known components; The mass corresponding to the component to be inspected is determined according to the estimated mass and the component masses of a plurality of preset components.
2. The method according to claim 1, characterized in that The multiple data acquisition devices include: at least three acceleration sensors.
3. The method according to claim 2, characterized in that Before obtaining the estimated mass corresponding to the component to be inspected according to the energy peak frequency band sequence number and the preset mass estimation function, the method further includes: Acquire multiple impact signals generated by multiple known components detected by the at least three acceleration sensors when they fall from multiple different heights to the monitoring area and hit the monitoring area; the masses of the multiple known components are known; Performing wavelet packet decomposition on the impact signals corresponding to each of the known components at different heights detected by the at least three acceleration sensors to obtain multiple frequency bands decomposed based on a preset series when each of the known components falls at different heights and is detected by different acceleration sensors; Acquire multiple wavelet packet coefficient energies corresponding to the multiple frequency bands, and acquire the maximum value of the wavelet packet coefficient energies of each of the known components under different drop heights and different acceleration sensor detection conditions, and use the frequency band number corresponding to the maximum value as the energy peak frequency band number of each of the known components under the current drop height and current acceleration sensor detection conditions; Obtaining the energy peak frequency band number corresponding to the mass of each of the known components according to the average value of the multiple energy peak frequency band numbers corresponding to each of the known components; The mass estimation function is obtained by performing function curve fitting on the masses of the plurality of known components and the energy peak frequency band numbers corresponding to the masses.
4. The method according to claim 1, characterized in that Before determining the mass corresponding to the component to be inspected according to the estimated mass and the mass of the components of the plurality of preset components, the method further includes: Obtaining the mass corresponding to the loosened component whose probability of falling off is greater than the set probability in the device where the component to be detected is located; The component masses of the plurality of preset components are obtained according to the corresponding masses of the plurality of loose components.
5. The method according to claim 4, characterized in that The step of determining the mass corresponding to the component to be inspected according to the estimated mass and the mass of the components of the plurality of preset components includes: Obtaining a relative error between the estimated mass and the mass of each of the preset components; The component mass having the smallest relative error with the estimated mass among the component masses of the plurality of preset components is used as the mass corresponding to the component to be detected.
6. A component quality acquisition device, characterized in that: The device comprises: A signal acquisition module, used to acquire impact signals generated by the components to be detected hitting the monitoring area detected by multiple data acquisition devices; the multiple data acquisition devices are arranged in the monitoring area; A sequence number acquisition module is used to perform wavelet packet decomposition on the multiple impact signals to obtain multiple frequency bands corresponding to the multiple impact signals, and based on the multiple frequency bands, obtain the energy peak frequency band sequence number corresponding to the component to be detected, specifically, it is used to perform wavelet packet decomposition on the multiple impact signals according to a preset high-frequency filter function and a low-frequency filter function to obtain multiple frequency bands corresponding to each impact signal decomposed at a preset level; the frequency band sequence number of the frequency band corresponds to the preset level; according to the multiple frequency bands and the preset energy function, the wavelet packet coefficient energies corresponding to the multiple frequency bands at the preset level are obtained; the maximum value among the multiple wavelet packet coefficient energies is obtained, and the frequency band sequence number of the frequency band corresponding to the maximum value is used as the energy peak frequency band sequence number; A first quality acquisition module is used to obtain the estimated quality corresponding to the component to be detected according to the energy peak frequency band sequence number and a preset quality estimation function; the quality estimation function is based on a plurality of frequency bands decomposed by a preset series after wavelet packet decomposition of each impact signal corresponding to a plurality of components of known quality, and is obtained based on the energy peak frequency band sequence number corresponding to the frequency band with the largest energy of the wavelet packet coefficient among the plurality of frequency bands and the quality of the plurality of known components; The second quality acquisition module is used to determine the quality corresponding to the component to be detected according to the estimated quality and the quality of a plurality of preset components.
7. The device according to claim 6, characterized in that The multiple data acquisition devices include: at least three acceleration sensors.
8. The device according to claim 6, characterized in that The device also includes: A preset component acquisition module is used to obtain the mass corresponding to the loose component whose probability of falling off is greater than the set probability in the device where the component to be detected is located; The component masses of the plurality of preset components are obtained according to the corresponding masses of the plurality of loose components.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
