CN108225545A - Mechanical resonant frequency measuring method, device, storage medium and measuring instrument - Google Patents
Mechanical resonant frequency measuring method, device, storage medium and measuring instrument Download PDFInfo
- Publication number
- CN108225545A CN108225545A CN201711325218.4A CN201711325218A CN108225545A CN 108225545 A CN108225545 A CN 108225545A CN 201711325218 A CN201711325218 A CN 201711325218A CN 108225545 A CN108225545 A CN 108225545A
- Authority
- CN
- China
- Prior art keywords
- test
- devices
- resonant frequency
- time domain
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H11/00—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties
- G01H11/06—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties by electric means
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Resistance Or Impedance (AREA)
Abstract
The present invention provides a kind of mechanical resonant frequency measuring method, device, storage medium and measuring instrument.Wherein mechanical resonant frequency measuring method includes:Detect the analog voltage signal of Devices to test;The analog voltage signal detected is converted into digital signal;The transformed digital signal using Fast Fourier Transform (FFT) is handled, obtains the resonant frequency of the Devices to test.Technical solution provided by the invention can quickly, accurately and efficiently measure the mechanical resonant frequency of Devices to test, device under test mechanical resonant inhibits and parameter testing plays good directive function, accelerate the debugging speed of Devices to test, and then promote stability, rapidity and the accuracy of Devices to test operation.
Description
Technical field
The present invention relates to detection technique field more particularly to a kind of mechanical resonant frequency measuring method, device, storage mediums
And measuring instrument.
Background technology
Under normal conditions, equipment can generate vibrations and noise in operation process, by taking servo-drive system as an example, current servo system
When mechanical stiffness is relatively low in system, resonance etc. can generate vibrations and noise caused by being distorted due to axis, seriously affect servo-driver
Control accuracy and response speed.The mechanical resonant frequency of accurate and effective measurement servo-drive system is to need what is solved to ask at present
Topic.The prior art uses electric vortex vibrating sensor measurement machinery resonant frequency.Electric vortex vibrating sensor is using current vortex
The sensor of object vibration amount is measured made of effect, static between measured body and probe tip face and dynamic opposite position can be measured
Variation is moved, but it must be metallic conductor to require measured body, and measured body material, surface smoothness, surface magnetic effect, surface plating
Layer, surface size can all have an impact the sensitivity of sensor, to measured body in itself, operating temperature, probe bracket and it is initial between
Gap all requires.Therefore electric vortex vibrating sensor is unable to reach reason because being limited by its operation principle in many application scenarios
The measurement sensitivity thought.
Invention content
The defects of it is a primary object of the present invention to overcome the above-mentioned prior art, provides a kind of mechanical resonant frequency and measures
Method, apparatus, storage medium and measuring instrument, to solve the problems, such as that the prior art leads to poor sensitivity due to application scenario is limited.
One aspect of the present invention provides a kind of mechanical resonant frequency measuring method, including:Acquire the simulation electricity of Devices to test
Press signal;The collected analog voltage signal is converted into digital signal;By the transformed digital signal using soon
Fast Fourier transformation is handled, and obtains the resonant frequency of the Devices to test.
Optionally, it further includes:The analog voltage signal of Devices to test, the voltage probe and institute are acquired by voltage probe
The analog signal output for stating Devices to test is connected;The analog signal output of the Devices to test includes analogue speed signal
Output terminal, the analog voltage signal phase of the analogue speed signal and the Devices to test of the analogue speed signal output terminal output
It is corresponding;And/or the analog signal output of the Devices to test includes analog current signal output terminal, the analog current letter
The analog current signal of number output terminal output is corresponding with the analog voltage signal of the Devices to test.
Optionally, it further includes:By the way that panel is set to receive arrange parameter, the arrange parameter includes sample frequency and measurement
Precision;According to the sample frequency received, the analog voltage signal of Devices to test is acquired;According to the setting received
Parameter is handled using Fast Fourier Transform (FFT), obtains the resonant frequency of the Devices to test.
Optionally, the transformed digital signal is handled using Fast Fourier Transform (FFT), including:It pre-sets
Sample variation number relation table, the sampling variation number relation table include corresponding with the sample frequency and the measurement accuracy
Sample variation number;According to the sample frequency and measurement accuracy received, in the sample variation number relation table
Search sample variation number corresponding with the sample frequency received and measurement accuracy;Become according to the sampling found
Number is measured, determines the number N of data in the time domain array of the transformed digital signal, by the time domain array using quickly
Fourier transformation is handled.
Optionally, according to the sample variation number found, time domain number in the transformed digital signal is determined
The number N of data in group, the time domain array is handled using Fast Fourier Transform (FFT), including:By the time domain array
It is decomposed into odd number time domain sequences and even number time domain sequences;Recursive call myfft functions obtain the frequency spectrum of the odd number time domain sequences
The spectrum value of value and the even number time domain sequences;By the spectrum value of the odd number time domain sequences and the frequency of the even number time domain sequences
Spectrum carries out butterfly decomposition, obtains the corresponding amplitude of frequency spectrum of the time domain array, wherein, carry out the number of the butterfly decomposition
For log2N;According to the corresponding amplitude of frequency spectrum of the time domain array, the resonant frequency of the Devices to test and/or described is determined
Effect amplitude corresponding to the resonant frequency of Devices to test.
Optionally, it after the resonant frequency of the Devices to test is obtained, further includes:Show the resonance of the Devices to test
The waveform of the mechanical resonant of effect amplitude and/or the Devices to test corresponding to frequency, the resonant frequency of the Devices to test.
Optionally, it further includes:After the resonant frequency of the Devices to test is obtained, according to corresponding to the resonant frequency
Effect amplitude the resonant frequency is ranked up;Display is sorted the resonant frequencies, described of the preceding M Devices to test
The waveform of the mechanical resonant of effect amplitude and/or the Devices to test corresponding to the resonant frequency of Devices to test, wherein M is pre-
If resonant frequency show number.
Another aspect of the present invention provides a kind of mechanical resonant frequency measuring device again, including:Data acquisition module is used
In the analog voltage signal of acquisition Devices to test;Data conversion module, for the collected analog voltage signal to be converted
For digital signal;Data processing module, for the transformed digital signal to be handled using Fast Fourier Transform (FFT),
Obtain the resonant frequency of the Devices to test.
Optionally, the data acquisition module includes voltage probe, for acquiring the analog voltage signal of Devices to test, institute
The analog signal output that voltage probe is stated with the Devices to test is connected;The analog signal output packet of the Devices to test
Include analogue speed signal output terminal, the analogue speed signal and the Devices to test of the analogue speed signal output terminal output
Analog voltage signal is corresponding;And/or the analog signal output of the Devices to test includes analog current signal output terminal,
The analog current signal of the analog current signal output terminal output is corresponding with the analog voltage signal of the Devices to test.
Optionally, setting panel is further included, for receiving arrange parameter, the arrange parameter includes sample frequency and measurement
Precision;According to the sample frequency received, the analog voltage signal of Devices to test is acquired;According to the setting received
Parameter is handled using Fast Fourier Transform (FFT), obtains the resonant frequency of the Devices to test.
Optionally, the data processing module includes data amount check determination sub-module, is used for:Pre-set sample variation
Number relation table, the sampling variation number relation table include sample variation corresponding with the sample frequency and the measurement accuracy
Number;According to the sample frequency and measurement accuracy received, searched in the sample variation number relation table with it is described
The corresponding sample variation number of sample frequency and measurement accuracy received;According to the sample variation number found, really
The number N of data in the time domain array of the fixed transformed digital signal becomes the time domain array using fast Fourier
The processing of swap-in row.
Optionally, the data processing module further includes data transformation submodule, is used for:The time domain array is decomposed into
Odd number time domain sequences and even number time domain sequences;Recursive call myfft functions obtain spectrum value and the institute of the odd number time domain sequences
State the spectrum value of even number time domain sequences;By the spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences into
Row butterfly is decomposed, and obtains the corresponding amplitude of frequency spectrum of the time domain array, wherein, the number for carrying out the butterfly decomposition is
log2N;According to the corresponding amplitude of frequency spectrum of the time domain array, determine the resonant frequency of the Devices to test and/or described treat
Effect amplitude corresponding to the resonant frequency of measurement equipment.
Optionally, data disaply moudle is further included, for showing the resonant frequency of the Devices to test, the Devices to test
Resonant frequency corresponding to effect amplitude and/or the Devices to test mechanical resonant waveform.
Optionally, the data processing module further includes sorting sub-module, is used for:Obtaining the resonance of the Devices to test
After frequency, the effect amplitude according to corresponding to the resonant frequency is ranked up the resonant frequency;The data are shown
Module is additionally operable to:The resonant frequency of the preceding M Devices to test of display sequence, the resonant frequency of Devices to test institute are right
The effect amplitude and/or the waveform of the mechanical resonant of the Devices to test answered, wherein M show number for preset resonant frequency.
Another aspect of the present invention provides a kind of mechanical resonant frequency measuring instrument again, has dress described in any one of the above embodiments
It puts.
Another aspect of the present invention provides a kind of mechanical resonant frequency measuring instrument again, including processor, memory and
The computer program that can be run on a processor on a memory is stored, the processor realizes above-mentioned when performing described program
The step of one the method.
Another aspect of the invention provides a kind of computer readable storage medium again, is stored thereon with computer program,
The step of method described in any one of the above embodiments is realized when described program is executed by processor.
Technical solution provided by the invention can quickly, accurately and efficiently measure the mechanical resonant frequency of Devices to test, right
Devices to test mechanical resonant inhibits and parameter testing plays good directive function, accelerates the debugging speed of Devices to test, into
And promote stability, rapidity and the accuracy of Devices to test operation.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the present invention, this hair
Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the general frame figure of mechanical resonant frequency measuring method provided by the invention;
Fig. 2 is the appearance diagram of mechanical resonant frequency measuring instrument provided by the invention;
Fig. 3 is the circuit connection diagram of mechanical resonant frequency measuring instrument provided by the invention;
Fig. 4 is Fig. 2 and the partial enlarged view of mechanical resonance waveform display portion shown in Fig. 3;
Fig. 5 is a kind of step flow chart of preferred embodiment of mechanical resonant frequency measuring method provided by the invention;
Fig. 6 is the data setting process chart of mechanical resonant frequency measuring method provided by the invention;
Fig. 7 is the step flow chart of the another preferred embodiment of mechanical resonant frequency measuring method provided by the invention;
Fig. 8 is the flow chart of data processing figure of mechanical resonant frequency measuring method provided by the invention;
Fig. 9 is that the first time time domain of mechanical resonant frequency measuring method provided by the invention takes out solution exploded view;
Figure 10 is that second of time domain of mechanical resonant frequency measuring method provided by the invention takes out solution exploded view;
Figure 11 is the general frame figure of mechanical resonant frequency measuring device provided by the invention;
Figure 12 is a kind of structure diagram of preferred embodiment of mechanical resonant frequency measuring device provided by the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and
Technical solution of the present invention is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Go out all other embodiments obtained under the premise of creative work, shall fall within the protection scope of the present invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
One aspect of the present invention provides a kind of mechanical resonant frequency measuring method.Fig. 1 is mechanical resonant provided by the invention
The general frame figure of frequency measurement method.As shown in Figure 1, mechanical resonant frequency measuring method of the present invention includes:Step S110, is adopted
Collect the analog voltage signal of Devices to test;The collected analog voltage signal is converted to digital signal by step S120;Step
The transformed digital signal using Fast Fourier Transform (FFT) is handled, obtains the humorous of the Devices to test by rapid S130
Vibration frequency.
Under normal conditions, equipment can generate vibrations and noise in operation process.By taking servo-drive system as an example, motor and load
Between be typically all be attached by transmission mechanisms such as transmission shaft, gear or shaft couplings.However transmission mechanism have it is certain
Stiffness coefficient is not perfect rigidity, and there are Flexible Transmissions between motor and load, that is to say, that between motor and load
It is connected by transmission mechanism, but all parts in the limited rigidity of transmission mechanism, i.e. transmission mechanism are equivalent to coefficient of elasticity
Different springs.The presence of elasticity will introduce resonance point in systems, cause mechanical resonant.It therefore in operation can be with motor
Operation, entire servo-drive system generates resonance, seriously affects the stability and control accuracy of system.According to the reality of servo-driver
The measurement of the multiple resonant frequencies of current servo system is quick and precisely effectively performed in border speed signal, can be to current servo system
Resonance inhibition have good directive significance, accelerate the debugging speed of servo-drive system, and then promote the stability, fast of servo-drive system
Speed and accuracy.Wherein, multiple resonant frequencies be since servo-drive system has multiple flexible connection links, such as:Shaft coupling, biography
The generations such as moving axis, roller screw, belt.
According to a kind of embodiment of mechanical resonant frequency measuring method of the present invention, further include:It is acquired by voltage probe
The analog voltage signal of Devices to test, the voltage probe are connected with the analog signal output of the Devices to test;It is described
The analog signal output of Devices to test includes analogue speed signal output terminal, the mould of the analogue speed signal output terminal output
It is corresponding with the analog voltage signal of the Devices to test to intend speed signal;And/or the analog signal output of the Devices to test
End includes analog current signal output terminal, and the analog current signal that the analog current signal output terminal exports to be measured is set with described
Standby analog voltage signal is corresponding.
Fig. 2 is according to the mechanical resonant frequency measuring instrument designed by mechanical resonant frequency measuring method provided by the invention
Appearance diagram;Fig. 3 is measured according to the mechanical resonant frequency designed by mechanical resonant frequency measuring method provided by the invention
The circuit connection diagram of instrument.As shown in Figures 2 and 3, the overall appearance of mechanical resonant frequency measuring instrument is by wiring, display, setting three
Part forms.Wherein, connection part connection is there are one power supply, and power supply is 24V direct currents, as shown in Figures 2 and 3
The wiring marked as 1 and the wiring marked as 2;Connection part is also associated with a data collecting probe, that is, voltage is visited
Head, the wiring marked as 3 and the wiring marked as 4 as shown in Figures 2 and 3, this both threads composition analog quantity voltage probe,
Wherein, the wiring marked as 3 is analog signal line, and the wiring marked as 4 is the ground wire of analog signal.Label 5 is handle, label
6 be to place to link up with, and setting handle and placement are linked up with, and make equipment easy to use, carrying and storage.
As shown in Figures 2 and 3, the mould of the voltage probe connection servo-driver speed signal of mechanical resonant frequency measuring instrument
Intend output, medium velocity refers to the actual speed of motor, that is to say, that the analog voltage signal of servo-driver is input to machinery
Resonant frequency measuring instrument.The analog voltage signal of servo-driver is can to export different analog quantity letters by arrange parameter
Number, such as:Actual speed, speed command, electric current etc., in Fig. 2 and embodiment shown in Fig. 3, the simulation of servo-driver
Voltage signal needs to be set as actual speed signal by parameter.Technical solution provided by the invention is applicable not only to servo system
System, for there is the equipment of speed signal or current signal output end, all applicable technical solution provided by the invention.
According to a kind of embodiment of mechanical resonant frequency measuring method of the present invention, further include:By the way that panel is set to receive
Arrange parameter, the arrange parameter include sample frequency and measurement accuracy;According to the sample frequency received, acquisition is to be measured
The analog voltage signal of equipment;It according to the arrange parameter received, is handled using Fast Fourier Transform (FFT), obtains institute
State the resonant frequency of Devices to test.
Referring to such as Fig. 2 and Fig. 3, the overall appearance of mechanical resonant frequency measuring instrument is by wiring, display, setting three parts group
Into.The function of being provided with part has:Setting " the measurement accuracy f0 " of resonant frequency, (i.e. identification shown in Fig. 2 and Fig. 3 is smart
Degree), measurement accuracy is in the case where determining sample frequency, acquires different data and carries out FFT (Fast Fourier
Transformation, the fast algorithm of discrete fourier transform) realize different measurement accuracy, it may be selected in drop-down list:
0.1Hz, 0.5Hz, 1Hz, 2.5Hz, 5Hz, 10Hz totally 6 shelves;" sample frequency f is sets" optional:5KHz、10KHz、20KHz、
40KHz, 80KHz totally 5 shelves.The gear value of measurement accuracy and sample frequency can be set according to the concrete condition of Devices to test
It is fixed.Sample frequency is given according to setting, it is preferable that in the application example for servo-drive system, default value can use 10K.
After the analog voltage signal for acquiring Devices to test, the analog voltage signal that voltage probe measures is converted into number
Signal.Wherein, speed signal is exported with the correspondence of voltage signal, such as:The corresponding voltages of 3000r/min are 3V ,-
The corresponding voltages of 3000r/min are 0V.
Fig. 5 is a kind of step flow chart of preferred embodiment of mechanical resonant frequency measuring method provided by the invention.Such as
Shown in Fig. 5, according to a kind of embodiment of mechanical resonant frequency measuring method of the present invention, by the transformed digital signal profit
It is handled with Fast Fourier Transform (FFT), including:Step S210, pre-sets sample variation number relation table, and the sampling becomes
Change number relation table and include sample variation number corresponding with the sample frequency and the measurement accuracy;Step S220, according to
The sample frequency and measurement accuracy received, in the sample variation number relation table search with it is described receive adopt
Sample frequency and the corresponding sample variation number of measurement accuracy;Step S230 according to the sample variation number found, is determined
The time domain array is utilized Fast Fourier Transform (FFT) by the number N of data in the time domain array of the transformed digital signal
It is handled.
Table 1:Sample variation number relation table
Table 1 is pre-set sample variation number relation table.In table 1, Num [i] [j] is two-dimensional array, and i expressions are adopted
Sample frequency, j represent measurement accuracy, and Num [i] [j] represents sample variation number corresponding with sample frequency and measurement accuracy.By number
Word signal is handled using the Fast Fourier Transform (FFT) of base -2.According to the sample frequency and measurement accuracy of setting, tabling look-up 1 obtains
Sample variation number N.Fig. 6 is the data setting process chart of mechanical resonant frequency measuring method provided by the invention.Such as Fig. 6
Shown, after setting sample frequency fs and measurement accuracy f0, the Num that tables look-up [i] [j] obtains corresponding sampled point N.
Fig. 7 is the step flow chart of the another preferred embodiment of mechanical resonant frequency measuring method provided by the invention.Such as
Shown in Fig. 7, according to a kind of embodiment of mechanical resonant frequency measuring method of the present invention, according to the sample variation found
Number determines the number N of data in time domain array in the transformed digital signal, and the time domain array is utilized quick Fu
In leaf transformation handled, including:The time domain array is decomposed into odd number time domain sequences and even number time domain sequence by step S310
Row;Step S320, recursive call myfft functions obtain the spectrum value of the odd number time domain sequences and the even number time domain sequences
Spectrum value;The spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences are carried out butterfly by step S330
Shape is decomposed, and obtains the corresponding amplitude of frequency spectrum of the time domain array, wherein, the number for carrying out the butterfly decomposition is log2N;Step
Rapid S340 according to the corresponding amplitude of frequency spectrum of the time domain array, determines the resonant frequency of the Devices to test and/or described treats
Effect amplitude corresponding to the resonant frequency of measurement equipment.
Fig. 8 is the flow chart of data processing figure of mechanical resonant frequency measuring method provided by the invention.Skill provided by the invention
Data processing section uses base -2FFT methods in art scheme, and the principle of base -2FFT methods is as shown in Figure 8.In Fig. 8
The meaning of variable is as follows:
X represents the time domain array of acquisition;
X represents the corresponding amplitude of frequency spectrum of input signal x;
X (k) (k=0,1,2 ... N-1) it represents:Sample frequency is fs, then X (k) is the amplitude corresponding to frequency fs/N*k;
N=length (x), length are the functions for asking for array data number, i.e. N is the number of data in array x;
X0 and XE is the intermediate variable array used in decomposing, respectively odd number time domain sequences and even number time domain sequences FFT
Spectrum value;
Myfft functions are the functions of a recursive call, realize that FFT is decomposed, and realize the FFT decomposition to input vector, defeated
Enter for the array in time domain, export as the amplitude in frequency;
Referred to as twiddle factor;
In fig. 8
As shown in figure 8, the acquisition of step S10 data and S15 analog-to-digital conversions is first carried out;Next step S20, acquisition are performed
Data storage x (n)=acquisition number, n++;Step S25 is performed later, judges data acquisition number n==N;It is performed if otherwise returning
Step S20;If so then execute step S30, N=length (x), array data number is asked for, and be assigned to length functions
Variable N;Then step S32 is performed, judges N==1;If so, there was only the situation of a data i.e. in array, then step is performed
Then S34, assignment operation X=x perform step S36;If otherwise directly perform step S36, S38, assignment operationN=1;Next perform step S40, S42, S44, by the time domain array be decomposed into odd number time domain sequences and
Even number time domain sequences, formula xo(n)=x (2*n-1), xe(n)=x (2*n);Two sequences after decomposition are further divided
Solution, by taking odd numbered sequences as an example, by odd numbered sequences, then is decomposed into two sequences, i.e. Chi Chi sequence (the odd number sequence of odd numbered sequences again
Row) and sequence of parity (even orders of odd numbered sequences), and so on ..., until being unsatisfactory for condition n<It exits and follows during=N/2
Ring;Next step S50 is performed, recursive call myfft functions obtain the spectrum value of the odd number time domain sequences and the even number
The spectrum value of time domain sequences, formula are XO=myfft (xo), XE=myfft (xe);Finally perform step S60, S62, S64,
The spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences are carried out butterfly decomposition by S66, are obtained described
The corresponding amplitude of frequency spectrum of time domain array, step S60 assign initial value n=1 to loop control variable n, and step S62 does butterfly decomposition,
Formula is X (n)=XO (n)+XE (n) * Won-1, X (n+N/2)=XO (n)-XE (n) * Won-1, step S64 is to loop control variable
N adds 1, and step S66 control variables are meeting condition n<Loop body is continued to execute during=N/2, is being unsatisfactory for condition n<It is moved back during=N/2
Go out cycle, terminate flow chart of data processing.
About the detailed process that butterfly is decomposed, illustrated by taking N=8 as an example below:
(1) Fig. 9 is that the first time time domain of mechanical resonant frequency measuring method provided by the invention takes out solution exploded view.Such as Fig. 9
Shown, first time time domain takes out solution exploded view and is:8 data are decomposed into two sequences, odd and even number sequence, to the two sequences
It arranges obtained FFT result X1 and X2 and carries out butterfly decomposition, obtain the result of X;
(2) Figure 10 is that second of time domain of mechanical resonant frequency measuring method provided by the invention takes out solution exploded view.Such as figure
Shown in 10, second of time domain takes out solution exploded view and is:By the odd numbered sequences and even order respectively containing 4 data, carry out respectively
During FFT, by taking odd numbered sequences as an example, by odd numbered sequences, then it is decomposed into two Chi Chi sequences (x (0), x (4)) and odd even (x again
(2), x (6)) sequence, FFT is carried out to the two sequences and obtains X3 and X4, obtains the FFT result of X1;Similarly even order carries out
Same processing;
And so on, obtain the result of FFT.
Above procedure by the way that x (n), n=1,2 will be inputted ..., N carry out log2N times butterfly decompose, each butterfly decompose into
N/2 multiple multiplication of row, is solved by recursive call.
According to a kind of embodiment of mechanical resonant frequency measuring method of the present invention, the resonance of the Devices to test is being obtained
After frequency, further include:Show the resonant frequency of the Devices to test, the effect corresponding to the resonant frequency of the Devices to test
The waveform of the mechanical resonant of amplitude and/or the Devices to test.As shown in Figures 2 and 3, the entirety of mechanical resonant frequency measuring instrument
Appearance is made of wiring, display, setting three parts.Display portion is divided into the number of mechanical resonance waveform display portion and resonant frequency
According to display portion.Fig. 4 is Fig. 2 and the partial enlarged view of mechanical resonance waveform display portion shown in Fig. 3, wherein, waveform is shown
Part horizontal axis coordinate range is 0-fs/ 2, wherein fsFor sample frequency.START button is clicked, proceeds by test.Waveform is shown
Knob is moved in part by " upper and lower " and " left and right " on right side, can realize the coordinate of arbitrary point on display waveform, and coordinate value is shown
Show in waveform.
According to a kind of embodiment of mechanical resonant frequency measuring method of the present invention, further include:Obtaining described to be measured set
After standby resonant frequency, the effect amplitude according to corresponding to the resonant frequency is ranked up the resonant frequency;Display
Sort preceding M resonant frequencies of the Devices to test, the effect amplitude corresponding to the resonant frequency of the Devices to test and/
Or the waveform of the mechanical resonant of the Devices to test, wherein M show number for preset resonant frequency.
Preferably, M can value be 2.The display portion of resonant frequency be in the current test output waveform of display " first " and
" second " frequency of oscillation, unit Hz.The result of data processing module is ranked up processing, obtains the first resonant frequency and
Two resonant frequencies.It is shown by the method output waveform of interpolation.
The data of the first resonant frequency and the second resonant frequency for being illustrated in figure 4 measurement are shown.Wherein, the first resonance frequency
Rate is the frequency of oscillation that effect amplitude is most strong in the actual speed waveform measured;Second resonant frequency is the actual speed wave measured
The frequency of oscillation of amplitude the last the second is acted in shape.Effect amplitude refers to that any signal can be carried out FFT and be decomposed into different frequencies
The sum of the sinusoidal signal of rate, but the action intensity of different frequency is different, that is, the corresponding amplitude of the different frequency after decomposing is different,
As act on amplitude.Such as a signal shown in Fig. 4 can carry out FFT after can be decomposed into following figure, wherein
The amplitude of the sinusoidal signal of 312.5Hz is that the amplitude of 1010,750Hz sinusoidal signals is 975.3.First resonant frequency and second humorous
The numerical value of vibration frequency is below mechanical resonance waveform is shown, i.e. the data display unit of resonant frequency has numerical value to show, other
Resonant frequency point can corresponding frequency be shown by the pointer on figure.
Another aspect of the present invention provides a kind of mechanical resonant frequency measuring device again.Figure 11 is machine provided by the invention
The general frame figure of tool resonant frequency measuring device.As shown in figure 11, mechanical resonant frequency measuring device of the present invention includes:Data
Acquisition module 100, for acquiring the analog voltage signal of Devices to test;Data conversion module 200, for will be described collected
Analog voltage signal is converted to digital signal;Data processing module 300, it is quick for the transformed digital signal to be utilized
Fourier transformation is handled, and obtains the resonant frequency of the Devices to test.
According to a kind of embodiment of mechanical resonant frequency measuring device of the present invention, the data acquisition module includes voltage
Probe, for acquiring the analog voltage signal of Devices to test, the analog signal output of the voltage probe and the Devices to test
End is connected;The analog signal output of the Devices to test includes analogue speed signal output terminal, the analogue speed signal
The analogue speed signal of output terminal output is corresponding with the analog voltage signal of the Devices to test;And/or the Devices to test
Analog signal output include analog current signal output terminal, the analog current letter of analog current signal output terminal output
It is number corresponding with the analog voltage signal of the Devices to test.
According to a kind of embodiment of mechanical resonant frequency measuring device of the present invention, setting panel is further included, for receiving
Arrange parameter, the arrange parameter include sample frequency and measurement accuracy;According to the sample frequency received, acquisition is to be measured
The analog voltage signal of equipment;It according to the arrange parameter received, is handled using Fast Fourier Transform (FFT), obtains institute
State the resonant frequency of Devices to test.
Figure 12 is a kind of structure diagram of preferred embodiment of mechanical resonant frequency measuring device provided by the invention.Such as
Shown in Figure 12, according to a kind of embodiment of mechanical resonant frequency measuring device of the present invention, the data processing module 300 includes
Data amount check determination sub-module 310, is used for:Pre-set sample variation number relation table, the sampling variation number relation table
Including sample variation number corresponding with the sample frequency and the measurement accuracy;According to the sample frequency received and
Measurement accuracy is searched corresponding with the sample frequency received and measurement accuracy in the sample variation number relation table
Sample variation number;According to the sample variation number found, the time domain array of the transformed digital signal is determined
The number N of middle data handles the time domain array using Fast Fourier Transform (FFT).
According to a kind of embodiment of mechanical resonant frequency measuring device of the present invention, the data processing module 300 also wraps
Data transformation submodule 320 is included, is used for:The time domain array is decomposed into odd number time domain sequences and even number time domain sequences;Recurrence
Myfft functions are called, obtain the spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences;It will be described strange
The spectrum value of number time domain sequences and the spectrum value of the even number time domain sequences carry out butterfly decomposition, obtain the frequency of the time domain array
Corresponding amplitude is composed, wherein, the number for carrying out the butterfly decomposition is log2N;It is corresponding according to the frequency spectrum of the time domain array
Amplitude determines the resonant frequency of the Devices to test and/or the effect amplitude corresponding to the resonant frequency of the Devices to test.
According to a kind of embodiment of mechanical resonant frequency measuring device of the present invention, data disaply moudle 400 is further included, is used
In show the resonant frequency of the Devices to test, the effect amplitude corresponding to the resonant frequency of the Devices to test and/or described
The waveform of the mechanical resonant of Devices to test.
According to a kind of embodiment of mechanical resonant frequency measuring device of the present invention, the data processing module 300 also wraps
Sorting sub-module 330 is included, is used for:After the resonant frequency of the Devices to test is obtained, according to corresponding to the resonant frequency
Effect amplitude the resonant frequency is ranked up;The data disaply moudle 400 is additionally operable to:Display is sorted M preceding
It effect amplitude corresponding to the resonant frequency of the Devices to test, the resonant frequency of the Devices to test and/or described to be measured sets
The waveform of standby mechanical resonant, wherein M show number for preset resonant frequency.
Another aspect of the present invention provides a kind of mechanical resonant frequency measuring instrument again, has dress described in any one of the above embodiments
It puts.
Another aspect of the present invention provides a kind of mechanical resonant frequency measuring instrument again, including processor, memory and
The computer program that can be run on a processor on a memory is stored, the processor realizes above-mentioned when performing described program
The step of one the method.
Another aspect of the invention provides a kind of computer readable storage medium again, is stored thereon with computer program,
The step of method described in any one of the above embodiments is realized when described program is executed by processor.
Technical solution provided by the invention can quickly, accurately and efficiently measure the mechanical resonant frequency of Devices to test, right
Devices to test mechanical resonant inhibits and parameter testing plays good directive function, accelerates the debugging speed of Devices to test, into
And promote stability, rapidity and the accuracy of Devices to test operation.
Function described herein can hardware, by processor perform software, firmware or any combination thereof in implement.
If implement in the software performed by processor, then computer can be stored in using function as one or more instructions or codes
It is transmitted on readable media or via computer-readable media.Other examples and embodiment will in the present invention and appended right
It asks in the range and spirit of book.For example, be attributed to the property of software, function described above can be used by processor,
Hardware, firmware, hardwired appoint the software implementation that the combination of whichever performs in these.In addition, each functional unit can integrate
In a processing unit or each unit is individually physically present, can also two or more units be integrated in
In one unit.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or
Person is desirably integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be it is physically separate, as control fill
The component put may or may not be physical unit, can be located at a place or or be distributed to multiple
On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
For device embodiment, since it is substantially corresponding with embodiment of the method, so description is fairly simple, related part referring to
The part explanation of embodiment of the method.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or
Part steps.And aforementioned storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The foregoing is merely the embodiment of the present invention, are not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.Any modification for all within the spirits and principles of the present invention, being made,
Equivalent replacement, improvement etc., should be included within scope of the presently claimed invention.
Claims (17)
1. a kind of mechanical resonant frequency measuring method, which is characterized in that including:
Acquire the analog voltage signal of Devices to test;
The collected analog voltage signal is converted into digital signal;
The transformed digital signal using Fast Fourier Transform (FFT) is handled, obtains the resonance frequency of the Devices to test
Rate.
2. it according to the method described in claim 1, it is characterized in that, further includes:
The analog voltage signal of Devices to test is acquired by voltage probe, the simulation of the voltage probe and the Devices to test is believed
Number output terminal is connected;
The analog signal output of the Devices to test includes analogue speed signal output terminal, the analogue speed signal output terminal
The analogue speed signal of output is corresponding with the analog voltage signal of the Devices to test;And/or the simulation of the Devices to test
Signal output end includes analog current signal output terminal, the analog current signal of the analog current signal output terminal output and institute
The analog voltage signal for stating Devices to test is corresponding.
3. method according to claim 1 or 2, which is characterized in that further include:
By the way that panel is set to receive arrange parameter, the arrange parameter includes sample frequency and measurement accuracy;
According to the sample frequency received, the analog voltage signal of Devices to test is acquired;
It according to the arrange parameter received, is handled using Fast Fourier Transform (FFT), obtains the humorous of the Devices to test
Vibration frequency.
4. according to the method described in claim 3, it is characterized in that, the transformed digital signal is utilized into fast Fourier
Transformation is handled, including:
Pre-set sample variation number relation table, the sampling variation number relation table includes and the sample frequency and described
The corresponding sample variation number of measurement accuracy;
According to the sample frequency and measurement accuracy received, search in the sample variation number relation table and connect with described
The corresponding sample variation number of sample frequency and measurement accuracy received;
According to the sample variation number found, of data in the time domain array of the transformed digital signal is determined
Number N, the time domain array is handled using Fast Fourier Transform (FFT).
5. according to the method described in claim 4, it is characterized in that, according to the sample variation number found, institute is determined
State the number N of data in time domain array in transformed digital signal, by the time domain array using Fast Fourier Transform (FFT) into
Row processing, including:
The time domain array is decomposed into odd number time domain sequences and even number time domain sequences;
Recursive call myfft functions obtain the spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences;
The spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences are subjected to butterfly decomposition, obtained described
The corresponding amplitude of frequency spectrum of time domain array, wherein, the number for carrying out the butterfly decomposition is log2N;
According to the corresponding amplitude of frequency spectrum of the time domain array, the resonant frequency of the Devices to test and/or described to be measured is determined
Effect amplitude corresponding to the resonant frequency of equipment.
6. method according to any one of claims 1-5, which is characterized in that in the resonance frequency for obtaining the Devices to test
After rate, further include:Show the resonant frequency of the Devices to test, the effect width corresponding to the resonant frequency of the Devices to test
The waveform of the mechanical resonant of value and/or the Devices to test.
7. it according to the method described in claim 6, it is characterized in that, further includes:
After the resonant frequency of the Devices to test is obtained, the effect amplitude according to corresponding to the resonant frequency is to described humorous
Vibration frequency is ranked up;
Work corresponding to the preceding M resonant frequency of the Devices to test of display sequence, the resonant frequency of the Devices to test
With amplitude and/or the waveform of the mechanical resonant of the Devices to test, wherein M shows number for preset resonant frequency.
8. a kind of mechanical resonant frequency measuring device, which is characterized in that including:
Data acquisition module, for acquiring the analog voltage signal of Devices to test;
Data conversion module, for the collected analog voltage signal to be converted to digital signal;
Data processing module for the transformed digital signal to be handled using Fast Fourier Transform (FFT), obtains institute
State the resonant frequency of Devices to test.
9. device according to claim 8, which is characterized in that the data acquisition module includes voltage probe, for adopting
Collect the analog voltage signal of Devices to test, the voltage probe is connected with the analog signal output of the Devices to test;
The analog signal output of the Devices to test includes analogue speed signal output terminal, the analogue speed signal output terminal
The analogue speed signal of output is corresponding with the analog voltage signal of the Devices to test;And/or the simulation of the Devices to test
Signal output end includes analog current signal output terminal, the analog current signal of the analog current signal output terminal output and institute
The analog voltage signal for stating Devices to test is corresponding.
10. device according to claim 8 or claim 9, which is characterized in that setting panel is further included, for receiving arrange parameter,
The arrange parameter includes sample frequency and measurement accuracy;According to the sample frequency received, the mould of Devices to test is acquired
Intend voltage signal;It according to the arrange parameter received, is handled using Fast Fourier Transform (FFT), obtains described to be measured set
Standby resonant frequency.
11. device according to claim 10, which is characterized in that the data processing module determines son including data amount check
Module is used for:
Pre-set sample variation number relation table, the sampling variation number relation table includes and the sample frequency and described
The corresponding sample variation number of measurement accuracy;
According to the sample frequency and measurement accuracy received, search in the sample variation number relation table and connect with described
The corresponding sample variation number of sample frequency and measurement accuracy received;
According to the sample variation number found, of data in the time domain array of the transformed digital signal is determined
Number N, the time domain array is handled using Fast Fourier Transform (FFT).
12. according to the devices described in claim 11, which is characterized in that the data processing module further includes data transformation submodule
Block is used for:
The time domain array is decomposed into odd number time domain sequences and even number time domain sequences;
Recursive call myfft functions obtain the spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences;
The spectrum value of the odd number time domain sequences and the spectrum value of the even number time domain sequences are subjected to butterfly decomposition, obtained described
The corresponding amplitude of frequency spectrum of time domain array, wherein, the number for carrying out the butterfly decomposition is log2N;
According to the corresponding amplitude of frequency spectrum of the time domain array, the resonant frequency of the Devices to test and/or described to be measured is determined
Effect amplitude corresponding to the resonant frequency of equipment.
13. according to the device described in any one of claim 8-12, which is characterized in that further include data disaply moudle, be used for
It shows the resonant frequency of the Devices to test, the effect amplitude corresponding to the resonant frequency of the Devices to test and/or described treats
The waveform of the mechanical resonant of measurement equipment.
14. device according to claim 13, which is characterized in that
The data processing module further includes sorting sub-module, is used for:After the resonant frequency of the Devices to test is obtained, root
The resonant frequency is ranked up according to the effect amplitude corresponding to the resonant frequency;
The data disaply moudle is additionally operable to:Display sort the preceding M Devices to test resonant frequency, described to be measured set
The waveform of the mechanical resonant of effect amplitude and/or the Devices to test corresponding to standby resonant frequency, wherein M are preset humorous
Vibration frequency shows number.
15. a kind of mechanical resonant frequency measuring instrument, which is characterized in that there is the dress as described in any one of claim 8-14
It puts.
16. a kind of mechanical resonant frequency measuring instrument, which is characterized in that including processor, memory and storage on a memory
The computer program that can be run on a processor, the processor realize that claim 1-7 is any described when performing described program
The step of method.
17. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, described program is handled
The step of any one of claim 1-7 the methods are realized when device performs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325218.4A CN108225545A (en) | 2017-12-13 | 2017-12-13 | Mechanical resonant frequency measuring method, device, storage medium and measuring instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325218.4A CN108225545A (en) | 2017-12-13 | 2017-12-13 | Mechanical resonant frequency measuring method, device, storage medium and measuring instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108225545A true CN108225545A (en) | 2018-06-29 |
Family
ID=62649478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711325218.4A Pending CN108225545A (en) | 2017-12-13 | 2017-12-13 | Mechanical resonant frequency measuring method, device, storage medium and measuring instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108225545A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111947769A (en) * | 2020-06-30 | 2020-11-17 | 核动力运行研究所 | Resonant wave frequency determination method and device |
CN112798954A (en) * | 2020-12-29 | 2021-05-14 | 歌尔股份有限公司 | Detection method and device for vibration motor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103149435A (en) * | 2013-03-18 | 2013-06-12 | 哈尔滨工业大学 | Mechanical resonant frequency feature obtaining method for alternating current servo system based on pseudorandom sequence code |
CN104034962A (en) * | 2014-05-05 | 2014-09-10 | 西安电子科技大学 | Precise servo mechanism resonance frequency testing system and testing method |
CN104515687A (en) * | 2013-10-07 | 2015-04-15 | 英飞凌科技股份有限公司 | Extraction of tire characteristics combining direct TPMS and tire resonance analysis |
CN205453574U (en) * | 2015-12-29 | 2016-08-10 | 珠海格力节能环保制冷技术研究中心有限公司 | Linear electric motor's controlling means |
CN106677232A (en) * | 2016-12-30 | 2017-05-17 | 华中科技大学 | Torsion shear wave shock excitation collection analysis method for foundation pile detection |
-
2017
- 2017-12-13 CN CN201711325218.4A patent/CN108225545A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103149435A (en) * | 2013-03-18 | 2013-06-12 | 哈尔滨工业大学 | Mechanical resonant frequency feature obtaining method for alternating current servo system based on pseudorandom sequence code |
CN104515687A (en) * | 2013-10-07 | 2015-04-15 | 英飞凌科技股份有限公司 | Extraction of tire characteristics combining direct TPMS and tire resonance analysis |
CN104034962A (en) * | 2014-05-05 | 2014-09-10 | 西安电子科技大学 | Precise servo mechanism resonance frequency testing system and testing method |
CN205453574U (en) * | 2015-12-29 | 2016-08-10 | 珠海格力节能环保制冷技术研究中心有限公司 | Linear electric motor's controlling means |
CN106677232A (en) * | 2016-12-30 | 2017-05-17 | 华中科技大学 | Torsion shear wave shock excitation collection analysis method for foundation pile detection |
Non-Patent Citations (3)
Title |
---|
廖晓钟 等: "数字伺服系统的数据采集与滤波", 《自动控制系统 第2版》 * |
郑凤阁 等: "模拟量输出接口电路", 《轮机自动化》 * |
饶金华: "电液调节系统的 主要装置", 《电站汽轮机设备及运行》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111947769A (en) * | 2020-06-30 | 2020-11-17 | 核动力运行研究所 | Resonant wave frequency determination method and device |
CN112798954A (en) * | 2020-12-29 | 2021-05-14 | 歌尔股份有限公司 | Detection method and device for vibration motor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101865975B (en) | Main board testing system and method | |
WO2017217069A1 (en) | Rotor diagnostic apparatus, rotor diagnostic method, and rotor diagnostic program | |
KR20100003731A (en) | Production testing of a capacitive touch sensing device | |
CN109163794B (en) | Method for detecting bandwidth of linear vibration motor | |
CN104422862B (en) | For the inspection system for the undesired shelf depreciation for assessing electric part | |
CN104504133A (en) | Application program recommending method and device | |
CN108225545A (en) | Mechanical resonant frequency measuring method, device, storage medium and measuring instrument | |
TW201216048A (en) | Test system | |
US9310900B1 (en) | Stylus testing system | |
CN104981761B (en) | Touch panel device and method | |
Mikkonen et al. | Frequency-based design of smart textiles | |
CN107943642B (en) | Performance test method of capacitive touch sensing device | |
CN103677995B (en) | A kind of control method and electronic equipment | |
CN106681875B (en) | Method and system for detecting power interference resistance of touch screen | |
CN101561458B (en) | Method and device for measuring current on line | |
CN116610912A (en) | Quick detection method and system for electric energy quality based on lifting wavelet and FFT | |
CN107621579B (en) | Touch debugging method of touch screen | |
CN111090007A (en) | Memory, conductive loop electric contact state evaluation method, device and equipment | |
US8731867B2 (en) | System and method for measuring performance of electronic products | |
CN113267247B (en) | Vibration frequency measuring method, device and measuring instrument for electric toothbrush | |
JP5855382B2 (en) | Capacitor insulation resistance measuring apparatus and capacitor insulation resistance measuring method | |
US20100082283A1 (en) | Testing device for portable electronic devices | |
CN114113780A (en) | Linear system frequency domain characteristic testing method and system | |
CN109061524B (en) | Power supply test circuit and method | |
US20150261353A1 (en) | Clustered scan method of capacitive touch device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |