Cable tension real-time testing method, system, storage medium and computer
By calculating the theoretical first-order natural frequency of the cable and filtering the frequency spectral lines, the measurement error problem of cable force monitoring under natural excitation conditions is solved, and high-precision cable force monitoring is achieved, which is suitable for a wide range of applications.
Patent Information
- Application Number
- CN202410881142.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Existing automated cable force monitoring has problems with measurement errors and reduced data accuracy under natural excitation conditions, especially measurement errors caused by invalid frequency value calculations and insufficient frequency resolution when wind power is insufficient.
By calculating the theoretical first-order natural frequency of the cable, determining the sampling parameters of the test frequency, obtaining the vibration signal, obtaining the frequency spectrum diagram in real time, screening the test spectrum line with the largest spectrum line amplitude, calculating the signal-to-noise ratio, and correcting the effective spectrum line to obtain The actual natural frequency and cable force values are used to eliminate invalid monitoring values and improve measurement accuracy.
It achieves high-precision measurement of cable force monitoring under natural excitation conditions, is suitable for large-scale promotion, avoids the generation of invalid calculation results, and improves data accuracy.
Smart Images

Figure CN118408667B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of structure safety monitoring, and in particular to a cable tension real-time testing method, system, storage medium and computer. Background Art
[0002] At present, other similar structures such as bridges and hybrid tower wind turbines that need to withstand tension through cables require manual inspection and online monitoring of the stress status of the cables.
[0003] At present, the commonly used method is the vibration frequency method cable force test. Its basic principle is that the vibration frequency of the cable is directly related to the tension, mass and length of the cable. By measuring the natural vibration frequency of the cable, the tension of the cable can be calculated. In the specific implementation, the vibration sensor (acceleration, velocity) is installed on the cable, and the cable vibration frequency sensed by the vibration sensor is measured by the dynamic data acquisition equipment. In addition to regular manual detection, the current automatic online monitoring scheme is mostly used. The prerequisite for the successful implementation of the vibration method for cable force testing is that the cable can be well excited to produce free vibration before the test. At present, the excitation methods are mainly divided into two categories: artificial excitation and natural excitation. The former is suitable for manual detection, and the latter is suitable for online monitoring. Natural excitation mainly relies on the energy of the external environment to excite the vibration of the cable, such as the vibration excitation generated when a car passes through a bridge, the vibration excitation generated by wind, and ground pulsation.
[0004] The current problems with automated monitoring that relies on natural excitation are mainly:
[0005] (1) For some structures, such as the external prestressed restrained cables inside the hybrid tower wind turbine, when there is no wind or the wind force is low, the cable vibration is almost unmeasurable. At this time, if the vibration signal of the automatic monitoring is not judged, the system will use the invalid frequency value for the cable force calculation, thereby obtaining an invalid calculation result;
[0006] (2) For the identified target natural frequency, the average calculation method of multiple excited natural frequencies is often used to improve the measurement accuracy. This method itself is limited by the frequency resolution. When the frequency resolution is insufficient, the measurement error caused by spectrum leakage will also reduce the data accuracy and affect the measurement results. Summary of the invention
[0007] Based on this, the purpose of the present invention is to provide a real-time testing method, system, storage medium and computer for cable tension to solve the technical problems existing in the prior art.
[0008] The present invention provides a real-time cable tension test method, comprising:
[0009] Calculating the theoretical first-order natural frequency of the cable based on the theoretical cable force value of the cable, and determining the sampling parameters of the test frequency according to the theoretical first-order natural frequency;
[0010] Acquire the vibration signal of the cable within a preset time according to the sampling parameters to determine the target natural frequency and target frequency order of the cable;
[0011] Acquire the current frequency spectrum of the cable in real time, and search for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval;
[0012] Calculating a signal-to-noise ratio of the test spectrum line, and judging whether the test spectrum line is valid according to the signal-to-noise ratio;
[0013] If valid, the test spectrum is corrected to obtain the actual natural frequency of the current cable, the actual first-order natural frequency of the current cable is calculated according to the actual natural frequency and the target frequency order, and the actual cable force value of the cable is calculated according to the actual first-order natural frequency;
[0014] If invalid, it is determined that there is no valid data in the currently acquired frequency spectrum and is discarded.
[0015] Preferably, the expression of the theoretical first-order natural frequency is:
[0016]
[0017] In the formula, is the theoretical first-order natural frequency, is the effective length of the cable, is the theoretical cable force, is the cable weight per unit length;
[0018] The sampling parameters include at least: analysis bandwidth , sampling rate , Analysis Points , frequency resolution ,in, , .
[0019] Preferably, the step of acquiring the vibration signal of the cable within a preset time according to the sampling parameters to determine the target natural frequency and target frequency order of the cable includes:
[0020] Sampling the vibration signal of the cable according to the sampling parameters to obtain first sample data in the time domain;
[0021] Processing the first sample data using a Hanning window function to obtain second sample data in a windowed time domain;
[0022] Performing Fourier transform on the second sample data to obtain a single-sided amplitude spectrum diagram of the time domain signal, finding all peak spectrum lines in the single-sided amplitude spectrum diagram, and obtaining all natural frequency spectrum lines and corresponding frequency orders in the peak spectrum lines based on the theoretical first-order natural frequency;
[0023] The natural frequency spectrum line with the largest spectrum amplitude is obtained according to all natural frequency spectrum lines as the target natural frequency spectrum line, and the natural frequency and frequency order corresponding to the target natural frequency spectrum line are used as the target natural frequency and the target frequency order.
[0024] Preferably, the expression of the Hanning window function is:
[0025]
[0026] In the formula, , To analyze the points;
[0027] The expression of the second sample data is:
[0028]
[0029] In the formula, is the first sample data.
[0030] Preferably, the step of acquiring the current frequency spectrum of the cable in real time and searching for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval comprises:
[0031] Acquire the current frequency spectrum of the cable in real time;
[0032] According to the target natural frequency , frequency change range and frequency resolution , calculate the number of target spectral lines to search in the current frequency spectrum ;
[0033] Search near the target natural frequency Item target spectral lines are selected to find the test spectral line with the largest spectral amplitude.
[0034] Preferably, the expression for calculating the signal-to-noise ratio is:
[0035]
[0036] In the formula, is the signal-to-noise ratio, is the amplitude of the spectrum line on the left side of the test spectrum, is the spectral line amplitude of the test spectral line, is the amplitude of the spectrum on the right side of the test spectrum, For the frequency spectrum Neidi The spectral line amplitude of the root spectral line, is the spectral line amplitude of the first spectral line, is the spectral line amplitude of the last spectral line, To calculate the signal-to-noise ratio interval, The spectrum interval The total number of inner spectral lines, is the natural frequency corresponding to the test spectrum line.
[0037] Preferably, the step of correcting the test spectrum line is:
[0038] when :
[0039]
[0040] when :
[0041]
[0042] In the formula, is the actual natural frequency after correction, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the left side of the corresponding target natural frequency spectral line, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the right side of the corresponding target natural frequency spectral line, is the target natural frequency The corresponding spectral line amplitude of the target natural frequency spectral line, is the sampling rate, To analyze the points, is the target natural frequency The position of the corresponding target natural frequency line in the spectrum.
[0043] The present invention also provides a cable tension real-time testing system, comprising:
[0044] A first determination module is used to calculate the theoretical first-order natural frequency of the cable based on the theoretical cable force value of the cable, and determine the sampling parameters of the test frequency according to the theoretical first-order natural frequency;
[0045] A second determination module is used to obtain a vibration signal of the cable within a preset time according to the sampling parameters to determine a target natural frequency and a target frequency order of the cable;
[0046] A search module is used to obtain the current frequency spectrum of the cable in real time, and to search for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval;
[0047] A judgment module, used for calculating the signal-to-noise ratio of the test spectrum line, and judging whether the test spectrum line is valid according to the signal-to-noise ratio;
[0048] If valid, the test spectrum is corrected to obtain the actual natural frequency of the current cable, the actual first-order natural frequency of the current cable is calculated according to the actual natural frequency and the target frequency order, and the actual cable force value of the cable is calculated according to the actual first-order natural frequency;
[0049] If invalid, it is determined that there is no valid data in the currently acquired frequency spectrum and is discarded.
[0050] The present invention also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned cable tension real-time testing method is implemented.
[0051] The present invention also proposes a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned cable tension real-time testing method when executing the computer program.
[0052] The beneficial effects of the present invention compared with the prior art are as follows: the real-time cable tension test method provided by the present application first calculates the theoretical first-order natural frequency according to the theoretical cable tension value of the cable, and determines the sampling parameters of the test frequency according to the theoretical first-order natural frequency, and determines the target natural frequency and target frequency order corresponding to the spectrum with the largest energy in the cable spectrum diagram according to the sampling parameters; the current frequency spectrum diagram of the cable is obtained in real time, the natural frequencies in the frequency spectrum diagram are screened, and the test spectrum line with the largest spectrum line amplitude in the current frequency spectrum diagram is determined; the interval signal-to-noise ratio of the test spectrum line is calculated to eliminate invalid monitoring values and prevent invalid calculation results from being obtained based on invalid monitoring values; further, the valid test spectrum line is corrected to obtain the actual natural frequency of the current cable and improve the test accuracy of the test data; under natural excitation conditions, for automated cable tension monitoring, high-precision measurement of automated cable tension monitoring is achieved, which is suitable for large-scale promotion.
[0053] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a flow chart of a real-time cable tension test method in a first embodiment of the present invention;
[0055] Figure 2 FIG. 4 is a structural block diagram of a computer in a fourth embodiment of the present invention.
[0056] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0057] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0059] Embodiment 1
[0060] See also Figure 1 , which shows a real-time cable tension test method in a first embodiment of the present invention, and the real-time cable tension test method specifically includes steps S10 to S40:
[0061] S10, calculating the theoretical first-order natural frequency of the cable based on the theoretical cable force value of the cable, and determining the sampling parameters of the test frequency according to the theoretical first-order natural frequency;
[0062] In the specific implementation, in this embodiment, the cable vibration generally uses an accelerometer based on the MEMS principle, which is low-cost, small in size, and highly sensitive, and is very suitable for measuring the natural frequency of the cable; the accelerometer is usually installed by fixing it on the HDPE outer sleeve with an elastic band. Considering that the amplitude of the cable near the anchor point or damper is small, the vibration method test is reduced by the influence of the cable boundary, resulting in a decrease in the accuracy of the test results, so the installation position is required to be as far away from the anchor point as possible. At the same time, because the damper will have a stronger constraint on vertical vibration, the general installation direction of the sensor should be in the horizontal lateral direction of the cable, that is, to measure the lateral vibration of the cable;
[0063] Specifically, according to the design requirements, the theoretical cable force value T of the cable is known, and the cable force calculation formula without considering the bending stiffness is:
[0064]
[0065] The expression of the theoretical first-order natural frequency can be deduced in reverse:
[0066]
[0067] In the formula, is the theoretical first-order natural frequency, is the effective length of the cable, is the theoretical cable force, is the cable weight per unit length;
[0068] According to the theoretical first-order natural frequency Determine the sampling parameters of the test frequency, the sampling parameters at least include: analysis bandwidth , sampling rate , Analysis Points , frequency resolution ,in, , .
[0069] Optional, general cable force test focuses on the first 5 stages ( , , , , )'s natural frequency, each order of natural frequency is in multiple relationship; according to the first order natural frequency The maximum useful frequency of the signal can be obtained as = 5 .
[0070] Optionally, in this embodiment, each parameter may be: , , In order to satisfy the integer power operation of 2 in FFT, the number of analysis points You can take 4096, the filter frequency Generally less than 2 times According to the sampling parameters, the acceleration sensor is sampled to obtain the original time domain signal, which is recorded as the first sample data. .
[0071] S20, acquiring a vibration signal of the cable within a preset time according to the sampling parameters to determine a target natural frequency and a target frequency order of the cable;
[0072] Optionally, the step of acquiring the vibration signal of the cable within a preset time according to the sampling parameters to determine the target natural frequency and target frequency order of the cable includes:
[0073] Sampling the vibration signal of the cable according to the sampling parameters to obtain first sample data in the time domain;
[0074] Processing the first sample data using a Hanning window function to obtain second sample data in a windowed time domain;
[0075] Performing Fourier transform on the second sample data to obtain a single-sided amplitude spectrum diagram of the time domain signal, finding all peak spectrum lines in the single-sided amplitude spectrum diagram, and obtaining all natural frequency spectrum lines and corresponding frequency orders in the peak spectrum lines based on the theoretical first-order natural frequency;
[0076] The natural frequency spectrum line with the largest spectrum amplitude is obtained according to all natural frequency spectrum lines as the target natural frequency spectrum line, and the natural frequency and frequency order corresponding to the target natural frequency spectrum line are used as the target natural frequency and the target frequency order.
[0077] In the specific implementation, the cable vibration signal is sampled according to the set sampling parameters to obtain the first sample data in the time domain. , in the right Before performing spectral analysis, it is necessary to select a suitable window function for processing. Since natural excitation is random excitation, the Hanning window function is generally used for random excitation. At the same time, the Hanning window helps to reduce leakage and is suitable for analyzing signals with multiple frequency components. The natural frequency vibration of the cable is the superposition of multiple natural frequencies, which just meets this characteristic.
[0078] The expression of the Hanning window function is:
[0079]
[0080] In the formula, , To analyze the points;
[0081] pass right Windowing is performed to obtain second sample data in the windowed time domain; the expression of the second sample data is:
[0082]
[0083] In the formula, is the first sample data, and then y(n) is subjected to FFT operation to obtain the single-sided amplitude spectrum of the time domain signal ,in ;
[0084] Analyzing bandwidth In the calculation, the natural frequency with the largest amplitude (maximum energy and maximum vibration intensity) is selected to facilitate the subsequent data correction and cable force calculation; all peak spectral lines in the spectrum are found according to the peak search algorithm; and Compare and determine which of all peak spectrum lines belong to the natural frequency spectrum lines; Order natural frequency , , if satisfied and exist If the range is an integer, it means that this spectrum line is a natural frequency spectrum line, and the corresponding frequency order is ; Select the spectrum line with the largest spectrum line amplitude among all the natural frequency spectrum lines as the target natural frequency spectrum line, and the natural frequency and frequency order corresponding to the target natural frequency spectrum line are used as the target natural frequency and the target frequency order m; optionally, in this embodiment, the fixed frequency corresponding to the spectrum line with the maximum spectrum amplitude found by the peak search algorithm is 2.39 Hz, then the order ; 2.39 Hz corresponds to the third order natural frequency of the cable. In some optional embodiments, the target natural frequency can also be selected manually, that is, by directly observing the data, observing the data of one or several days, and choosing to obtain sample data every 10 minutes, considering the factors such as the maximum vibration energy, the longest duration, and the easiest vibration, and choosing the optimal natural frequency.
[0085] S30, acquiring a current frequency spectrum of the cable in real time, and searching for a test spectrum with a maximum spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval;
[0086] Optionally, after determining the target natural frequency and the target frequency order m, because at every moment of actual monitoring, the fixed frequency corresponding to the spectral line with the largest cable spectral line amplitude will be at the target natural frequency Small-scale changes nearby, frequency change interval It can be calculated based on the force range of the cable. For example, the cable tension T under normal conditions varies within ±10%.
[0087] The frequency change range can be calculated ±6%, this parameter will be configured on the monitoring platform, and the subsequent algorithm will automatically call this parameter to search for the spectrum line; and frequency resolution , you can get the required The number of spectral lines to search nearby; in the current frequency spectrum, at the target natural frequency Nearby Search Item target spectral lines, in order to find the test spectral line with the largest spectral amplitude;
[0088] Optionally, the number of spectral lines is calculated as:
[0089]
[0090] S40, calculating the signal-to-noise ratio of the test spectrum line, and judging whether the test spectrum line is valid according to the signal-to-noise ratio;
[0091] In order to determine whether the test spectrum found is valid, it is necessary to calculate the natural frequency corresponding to the test spectrum With area Signal-to-noise ratio of internal noise ,in To calculate the signal-to-noise ratio interval, we can generally take = ; The expression for calculating the signal-to-noise ratio is:
[0092]
[0093] In the formula, is the signal-to-noise ratio, is the amplitude of the spectrum on the left side of the test spectrum, is the spectral line amplitude of the test spectral line, is the amplitude of the spectrum on the right side of the test spectrum, For the frequency spectrum Neidi The spectral line amplitude of the root spectral line, is the spectral line amplitude of the first spectral line, is the spectral line amplitude of the last spectral line, To calculate the signal-to-noise ratio interval, The spectrum interval The total number of inner spectral lines, is the natural frequency corresponding to the test spectrum line.
[0094] when Greater than the set noise judgment threshold When , the natural frequency signal is considered to be valid, and the next step is to perform accurate frequency calculation. The judgment threshold can be determined in advance based on the signal-to-noise ratio with a false positive rate of less than 1% over a period of time; Not greater than the set noise threshold When , the natural frequency signal is considered invalid, the cable is not excited by the natural environment, the vibration sensor does not sense a valid natural frequency signal, the sample is invalid, and the calculation is no longer continued. Instead, the most recent successful measurement result in history is used as the result of the current measurement, or this measurement does not provide a valid result, and the next measurement is carried out.
[0095] Optional, when Greater than the set noise threshold When the measured natural frequency is further corrected for frequency accuracy, the steps of correcting the test spectrum line are:
[0096] when :
[0097]
[0098] when :
[0099]
[0100] In the formula, is the actual natural frequency after correction, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the left side of the corresponding target natural frequency spectral line, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the right side of the corresponding target natural frequency spectral line, is the target natural frequency The corresponding spectral line amplitude of the target natural frequency spectral line, is the sampling rate, To analyze the points, is the target natural frequency The position of the corresponding target natural frequency spectrum line in the spectrum, that is, the first Root lines.
[0101] Based on the corrected actual natural frequency , according to the fundamental frequency method, the actual first-order natural frequency is obtained. The expression of the actual first-order natural frequency is:
[0102]
[0103] The current tension force of the cable can be calculated. The expression of the current tension force is:
[0104]
[0105] In some optional embodiments, the frequency difference method can also be used To calculate, according to the calibrated natural frequency and Calculated , substitute it into the calculation of the cable force expression to get the accurate force value;
[0106] In some other optional embodiments, the averaging method can also be used. To calculate, according to the calibrated natural frequency , and And the corresponding order Calculated , substitute it into the calculation to express the tension force to get the accurate force value.
[0107] Optionally, when considering the bending strength, the expression for the tension force on the cable is:
[0108]
[0109] In the formula, is the elastic modulus of the cable, and I is the moment of inertia of the cable cross section.
[0110] In summary, the real-time cable tension test method provided by the present application first calculates the theoretical first-order natural frequency according to the theoretical cable tension value, and determines the sampling parameters of the test frequency according to the theoretical first-order natural frequency, and determines the target natural frequency and target frequency order corresponding to the spectrum with the largest energy in the cable spectrum diagram according to the sampling parameters; obtains the current frequency spectrum diagram of the cable in real time, screens the natural frequencies in the frequency spectrum diagram, and determines the test spectrum line with the largest spectrum amplitude in the current frequency spectrum diagram; calculates the interval signal-to-noise ratio of the test spectrum line to eliminate invalid monitoring values and prevent invalid calculation results from being obtained based on invalid monitoring values; further, corrects the valid test spectrum line to obtain the actual natural frequency of the current cable and improves the test accuracy of the test data; under natural excitation conditions, for automated cable tension monitoring, high-precision measurement of automation in cable tension monitoring is achieved, which is suitable for large-scale promotion.
[0111] Embodiment 2
[0112] This embodiment provides a cable tension real-time testing system, comprising:
[0113] A first determination module is used to calculate the theoretical first-order natural frequency of the cable based on the theoretical cable force value of the cable, and determine the sampling parameters of the test frequency according to the theoretical first-order natural frequency;
[0114] Wherein, the expression of the theoretical first-order natural frequency is:
[0115]
[0116] In the formula, is the theoretical first-order natural frequency, is the effective length of the cable, is the theoretical cable force, is the cable weight per unit length;
[0117] The sampling parameters include at least: analysis bandwidth , sampling rate , Analysis Points , frequency resolution ,in, , .
[0118] A second determination module is used to obtain a vibration signal of the cable within a preset time according to the sampling parameters to determine a target natural frequency and a target frequency order of the cable;
[0119] Wherein, the second determination module is specifically used for:
[0120] Sampling the vibration signal of the cable according to the sampling parameters to obtain first sample data in the time domain;
[0121] Processing the first sample data using a Hanning window function to obtain second sample data in a windowed time domain;
[0122] Performing Fourier transform on the second sample data to obtain a single-sided amplitude spectrum diagram of the time domain signal, finding all peak spectrum lines in the single-sided amplitude spectrum diagram, and obtaining all natural frequency spectrum lines and corresponding frequency orders in the peak spectrum lines based on the theoretical first-order natural frequency;
[0123] The natural frequency spectrum line with the largest spectrum amplitude is obtained according to all natural frequency spectrum lines as the target natural frequency spectrum line, and the natural frequency and frequency order corresponding to the target natural frequency spectrum line are used as the target natural frequency and the target frequency order.
[0124] The expression of the Hanning window function is:
[0125]
[0126] In the formula, , To analyze the points;
[0127] The expression of the second sample data is:
[0128]
[0129] In the formula, is the first sample data.
[0130] A search module is used to obtain the current frequency spectrum of the cable in real time, and to search for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval;
[0131] Among them, the search module is specifically used for:
[0132] According to the target natural frequency , frequency change range and frequency resolution , calculate the number of target spectral lines to search in the current frequency spectrum ;
[0133] Search near the target natural frequency Item target spectral lines are selected to find the test spectral line with the largest spectral amplitude.
[0134] A judgment module, used for calculating the signal-to-noise ratio of the test spectrum line, and judging whether the test spectrum line is valid according to the signal-to-noise ratio;
[0135] If valid, the test spectrum is corrected to obtain the actual natural frequency of the current cable, the actual first-order natural frequency of the current cable is calculated according to the actual natural frequency and the target frequency order, and the actual cable force value of the cable is calculated according to the actual first-order natural frequency;
[0136] If invalid, it is determined that there is no valid data in the currently acquired frequency spectrum and is discarded.
[0137] The expression for calculating the signal-to-noise ratio is:
[0138]
[0139] In the formula, is the signal-to-noise ratio, is the amplitude of the spectrum on the left side of the test spectrum, is the spectral line amplitude of the test spectral line, is the amplitude of the spectrum on the right side of the test spectrum, For the frequency spectrum Neidi The spectral line amplitude of the root spectral line, is the spectral line amplitude of the first spectral line, is the spectral line amplitude of the last spectral line, To calculate the signal-to-noise ratio interval, The spectrum interval The total number of inner spectral lines, is the natural frequency corresponding to the test spectrum line.
[0140] The step of correcting the test spectrum line is:
[0141] when :
[0142]
[0143] when :
[0144]
[0145] In the formula, is the actual natural frequency after correction, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the left side of the corresponding target natural frequency spectral line, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the right side of the corresponding target natural frequency spectral line, is the target natural frequency The corresponding spectral line amplitude of the target natural frequency spectral line, is the sampling rate, To analyze the points, is the target natural frequency The position of the corresponding target natural frequency line in the spectrum.
[0146] Embodiment 3
[0147] This embodiment provides a storage medium on which a computer program is stored. When the program is executed by a processor, the real-time cable tension test method as described above is implemented.
[0148] Embodiment 4
[0149] The present invention also provides a computer, see Figure 2 , shown is a computer in the fourth embodiment of the present invention, including a memory 10, a processor 20, and a computer program 30 stored in the memory 10 and executable on the processor 20. When the processor 20 executes the computer program 30, the above-mentioned cable tension real-time testing method is implemented.
[0150] The memory 10 includes at least one type of storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 10 may be an internal storage unit of a computer, such as a hard disk of the computer. In other embodiments, the memory 10 may also be an external storage device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. Further, the memory 10 may also include both an internal storage unit of the computer and an external storage device. The memory 10 may be used not only to store application software and various types of data installed in the computer, but also to temporarily store data that has been output or is to be output.
[0151] Among them, in some embodiments, the processor 20 can be an electronic control unit (Electronic Control Unit, abbreviated as ECU, also known as a vehicle computer), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run the program code stored in the memory 10 or process data, such as executing access restriction programs, etc.
[0152] It should be pointed out that Figure 2 The structure shown does not constitute a limitation on the computer. In other embodiments, the computer may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0153] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0154] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0155] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0156] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.
[0157] 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 real-time testing method for cable tension, It is characterized in that include: Calculating the theoretical first-order natural frequency of the cable based on the theoretical cable force value of the cable, and determining the sampling parameters of the test frequency according to the theoretical first-order natural frequency; Acquire the vibration signal of the cable within a preset time according to the sampling parameters to determine the target natural frequency and target frequency order of the cable; Acquire the current frequency spectrum of the cable in real time, and search for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval; Calculating a signal-to-noise ratio of the test spectrum line, and judging whether the test spectrum line is valid according to the signal-to-noise ratio; If valid, the test spectrum is corrected to obtain the actual natural frequency of the current cable, the actual first-order natural frequency of the current cable is calculated according to the actual natural frequency and the target frequency order, and the actual cable force value of the cable is calculated according to the actual first-order natural frequency; If invalid, it is determined that there is no valid data in the currently acquired frequency spectrum and is discarded; The step of acquiring the vibration signal of the cable within a preset time according to the sampling parameters to determine the target natural frequency and target frequency order of the cable comprises: Sampling the vibration signal of the cable according to the sampling parameters to obtain first sample data in the time domain; Processing the first sample data using a Hanning window function to obtain second sample data in a windowed time domain; Performing Fourier transform on the second sample data to obtain a single-sided amplitude spectrum diagram of the time domain signal, finding all peak spectrum lines in the single-sided amplitude spectrum diagram, and obtaining all natural frequency spectrum lines and corresponding frequency orders in the peak spectrum lines based on the theoretical first-order natural frequency; According to all the natural frequency spectrum lines, the natural frequency spectrum line with the largest spectrum line amplitude is obtained as the target natural frequency spectrum line, and the natural frequency and frequency order corresponding to the target natural frequency spectrum line are used as the target natural frequency and the target frequency order; The step of acquiring the current frequency spectrum of the cable in real time and searching for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval comprises: Acquire the current frequency spectrum of the cable in real time; According to the target natural frequency , frequency change range and frequency resolution , calculate the number of target spectral lines to search in the current frequency spectrum ; Search near the target natural frequency Item target spectral lines are selected to find the test spectral line with the largest spectral amplitude.
2. The cable tension real-time testing method according to claim 1, It is characterized in that The expression of the theoretical first-order natural frequency is: In the formula, is the theoretical first-order natural frequency, is the effective length of the cable, is the theoretical cable force, is the cable weight per unit length; The sampling parameters include at least: analysis bandwidth , sampling rate , Analysis Points , frequency resolution ,in, , .
3. The cable tension real-time testing method according to claim 1, It is characterized in that The expression of the Hanning window function is: In the formula, , To analyze the points; The expression of the second sample data is: In the formula, is the first sample data.
4. The cable tension real-time testing method according to claim 1, It is characterized in that The expression for calculating the signal-to-noise ratio is: In the formula, is the signal-to-noise ratio, is the amplitude of the spectrum on the left side of the test spectrum, is the spectral line amplitude of the test spectral line, is the amplitude of the spectrum on the right side of the test spectrum, For the frequency spectrum Neidi The spectral line amplitude of the root spectral line, is the spectral line amplitude of the first spectral line, is the spectral line amplitude of the last spectral line, To calculate the signal-to-noise ratio interval, The spectrum interval The total number of inner spectral lines, is the natural frequency corresponding to the test spectrum line.
5. The cable tension real-time testing method according to claim 4, It is characterized in that The step of correcting the test spectrum line is: when : when : In the formula, is the actual natural frequency after correction, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the left side of the corresponding target natural frequency spectral line, is the target natural frequency The spectral line amplitude of the first spectral line adjacent to the right side of the corresponding target natural frequency spectral line, is the target natural frequency The corresponding spectral line amplitude of the target natural frequency spectral line, is the sampling rate, To analyze the points, is the target natural frequency The position of the corresponding target natural frequency line in the spectrum.
6. A real-time cable tension test system, It is characterized in that include; A first determination module is used to calculate the theoretical first-order natural frequency of the cable based on the theoretical cable force value of the cable, and determine the sampling parameters of the test frequency according to the theoretical first-order natural frequency; A second determination module is used to obtain a vibration signal of the cable within a preset time according to the sampling parameters to determine a target natural frequency and a target frequency order of the cable; A search module is used to obtain the current frequency spectrum of the cable in real time, and to search for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval; A judgment module, used for calculating the signal-to-noise ratio of the test spectrum line, and judging whether the test spectrum line is valid according to the signal-to-noise ratio; If valid, the test spectrum is corrected to obtain the actual natural frequency of the current cable, the actual first-order natural frequency of the current cable is calculated according to the actual natural frequency and the target frequency order, and the actual cable force value of the cable is calculated according to the actual first-order natural frequency; If invalid, it is determined that there is no valid data in the currently acquired frequency spectrum and is discarded; The step of acquiring the vibration signal of the cable within a preset time according to the sampling parameters to determine the target natural frequency and target frequency order of the cable comprises: Sampling the vibration signal of the cable according to the sampling parameters to obtain first sample data in the time domain; Processing the first sample data using a Hanning window function to obtain second sample data in a windowed time domain; Performing Fourier transform on the second sample data to obtain a single-sided amplitude spectrum diagram of the time domain signal, finding all peak spectrum lines in the single-sided amplitude spectrum diagram, and obtaining all natural frequency spectrum lines and corresponding frequency orders in the peak spectrum lines based on the theoretical first-order natural frequency; According to all the natural frequency spectrum lines, the natural frequency spectrum line with the largest spectrum line amplitude is obtained as the target natural frequency spectrum line, and the natural frequency and frequency order corresponding to the target natural frequency spectrum line are used as the target natural frequency and the target frequency order; The step of acquiring the current frequency spectrum of the cable in real time and searching for a test spectrum with the largest spectrum amplitude in the current frequency spectrum according to the target natural frequency and a preset frequency variation interval comprises: Acquire the current frequency spectrum of the cable in real time; According to the target natural frequency , frequency change range and frequency resolution , calculate the number of target spectral lines to search in the current frequency spectrum ; Search near the target natural frequency Item target spectral lines are selected to find the test spectral line with the largest spectral amplitude.
7. A storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the real-time cable tension test method as described in any one of claims 1 to 5 is implemented.
8. A computer comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the real-time cable tension test method as described in any one of claims 1 to 5 is implemented.
