CN105182800A - Amplitude frequency characteristic curve drafting method - Google Patents

Amplitude frequency characteristic curve drafting method Download PDF

Info

Publication number
CN105182800A
CN105182800A CN201510645735.4A CN201510645735A CN105182800A CN 105182800 A CN105182800 A CN 105182800A CN 201510645735 A CN201510645735 A CN 201510645735A CN 105182800 A CN105182800 A CN 105182800A
Authority
CN
China
Prior art keywords
amplitude
frequency
signal
sigma
excitation source
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
Application number
CN201510645735.4A
Other languages
Chinese (zh)
Inventor
周勇
高婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rojek (ningbo) Intelligent Technology Co Ltd
Original Assignee
Rojek (ningbo) Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Rojek (ningbo) Intelligent Technology Co Ltd filed Critical Rojek (ningbo) Intelligent Technology Co Ltd
Priority to CN201510645735.4A priority Critical patent/CN105182800A/en
Publication of CN105182800A publication Critical patent/CN105182800A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)

Abstract

The invention provides an amplitude frequency characteristic curve drafting method, comprising inputting once synthesized excitation source signals and detected output signals to obtain an amplitude frequency characteristic curve through calculation; the measurement time of the amplitude frequency characteristic curve is equivalent to the measurement time of a smallest frequency sinusoidal signal (single) in a traditional frequency sweep method test; in other words, the time of a whole detection process is greatly shortened, and the test efficiency is substantially increased; in addition, the method can realize digital automatic estimation, and have high real engineering application values.

Description

A kind of method for drafting of amplitude-versus-frequency curve
Technical field
The present invention relates to automatic control technology field, is specifically the method for drafting of a kind of amplitude-versus-frequency curve for automatic control system.
Background technology
The frequency response characteristic of automatic control system is one of the rapidity of analytic system and the important means of stability, is also the core analysis method in classical control theory.Frequency response characteristic comprises amplitude response and phase response, is reflected on curve, is exactly amplitude-frequency curve and phase frequency curve.Amplitude-frequency curve is also referred to as amplitude-versus-frequency curve.
The general all following several scheme of amplitude-versus-frequency curve of automatic control system is drawn: scheme (1) obtains system transter by mathematical modeling and analyzes in prior art, this scheme is generally used for analyzing the amplitude versus frequency characte of ideally system when system, but in Practical Project, the model of system and transport function are difficult to accurately obtain, and therefore the program is not suitable for practical engineering application; Scheme (2) buys expensive sweep generator equipment, and obtained the amplitude-versus-frequency curve of system by the mode of frequency sweep, adopt this scheme, the sweep generator on market is expensive, bulky, operation inconvenience; Scheme (3) is similar to the amplitude versus frequency characte of the system of recording by the mode of sinusoidal wave Frequency sweep experiments, this test needs interface support, and need frequency frequency ground to carry out inputting then recording output, waste time and energy, be difficult to promote in practical engineering application.
Summary of the invention
The technical problem to be solved in the present invention is, overcomes the defect of prior art, provide a kind of test duration greatly to shorten, and process is simple, realizes the method for drafting of lower-cost a kind of amplitude-versus-frequency curve.
For solving the problems of the technologies described above, the invention provides a kind of method for drafting of amplitude-versus-frequency curve, it is characterized in that: it comprises the following steps:
Step 1: choose the sinusoidal signal under k different frequency, namely i=1,2 ... k, wherein A irepresent amplitude, represent phase place;
Step 2: utilize the different frequency signals component in step 1, synthesis excitation source signal x (t), namely
Step 3: by the input source of excitation source signal x (t) of synthesis as automatic control system H (s), and record and output signal y (t) accordingly, when surveying excitation source signal x (t) and output signal y (t), the sample frequency choosing signal is F s, the data count of sampling is N;
Step 4: utilize discrete fourier formula to try to achieve excitation source signal x (t) and output signal y (t) at different frequency f i, i=1,2 ... k, sinusoidal component amplitude, namely
S i n X ( i ) = Σ n = 1 N x ( n ) sin ( 2 πf i n / N ) , C o s X ( i ) = Σ n = 1 N x ( n ) cos ( 2 πf i n / N ) ,
S i n Y ( i ) = Σ n = 1 N y ( n ) sin ( 2 πf i n / N ) , C o s Y ( i ) = Σ n = 1 N y ( n ) cos ( 2 πf i n / N ) ,
A i = S i n X ( i ) 2 + C o s X ( i ) 2 , B i = S i n Y ( i ) 2 + C o s Y ( i ) 2
Wherein SinX (i), CosX (i), SinY (i), CosY (i) are the intermediate variable calculated, A ifor frequency f iunder the amplitude of driving source component, B ifor frequency f ithe amplitude of lower output signal component;
Step 5: with log 10(2 π f i) be horizontal ordinate, 20log 10(B i/ A i) be ordinate, i=1,2 ..., k, the amplitude frequency curve figure of drawing system H (s).
After adopting said method, only need the excitation source signal once inputting synthesis, and the output signal recorded, just can by calculating amplitude-versus-frequency curve, amplitude frequency curve record the time equivalence time that minimum frequency sinusoidal signal (single) records in the test of traditional frequency sweeping method, in other words, the time of whole testing process will significantly shorten, and substantially increase testing efficiency.On the other hand, the method of testing that the present invention proposes can realize in all-digital signal, namely in engineer applied, can in the upper software program programming increasing part of original hardware platform (such as single-chip microcomputer or DSP process chip), the driving source synthesized by input and detection system export the amplitude-versus-frequency curve that just can be recorded system by software, do not need to increase extra hardware cost or equipment cost, in other words, script cost is high and the amplitude-versus-frequency curve of wasting time and energy estimation can realize digital robotization estimation by the inventive method, practical engineering application is worth very high.
Accompanying drawing explanation
The schematic diagram of Fig. 1 frequency spectrum estimation of the present invention principle;
Fig. 2 is the Simulink realistic model figure of the embodiment of the present invention;
Fig. 3 is by amplitude frequency curve figure that the inventive method obtains in embodiment;
Fig. 4 is by amplitude frequency curve figure that mathematical modeling obtains in embodiment.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention will be further described in detail:
As shown in the figure, Fig. 1 is the basic thought of the inventive method, and automatic control system is H (s), x (t) is given injected system H (s) driving source, it by i=1,2 ... k, the sinusoidal signal synthesis altogether under k different frequency, signal syntheses refers to these Signal averaging; The output signal that y (t) is system H (s), after Fourier transform, decomposable asymmetric choice net goes out the output component under a corresponding k different frequency, namely i=1,2 ... k; Therefore, at different frequency f iunder, utilize driving source sinusoidal component amplitude A iwith output signal sinusoidal component amplitude B itry to achieve the amplitude-versus-frequency curve of system, namely with log 10f ifor horizontal ordinate, 20log 10(B 1/ A 1) be ordinate drafting amplitude-versus-frequency curve.
In practical engineering application, such as, in the digital processing chip such as single-chip microcomputer or DSP, the Fourier transform in patent of the present invention needs the form adopting discretize, and concrete implementation step is as follows:
Step 1: choose the sinusoidal signal under k different frequency, namely i=1,2 ... k, wherein A irepresent amplitude, ω i=2 π f irepresent in frequency f icorresponding angular frequency, represent phase place, signal amplitude and phase place can be arranged arbitrarily, frequency selection purposes also can be chosen arbitrarily, if need you should pay special attention to the amplitude versus frequency characte (such as there is resonant frequency point etc.) in a certain region in real work, can choose multiple frequency signals in this region.
Step 2: utilize the different frequency signals component in step 1, synthesis excitation source signal x (t), namely
Step 3: by the input source of excitation source signal x (t) of synthesis as system H (s), and record and output signal y (t) accordingly, in Practical Project, the numerical value of excitation source signal x (t) and output signal y (t) is through sample frequency F sunder preserve, i.e. x (n), y (n), n=1,2 ..., N, wherein x (n) and y (n) represents that excitation source signal x (t) and output signal y (t) are in sampling instant numerical value, F srepresent the sample frequency of signal, N represents the data count of sampling, and in order to ensure estimation precision, the data count N of sampling will get greatly as far as possible, and ensures i=1,2 ... k is integer.
Step 4: utilize discrete fourier formula to try to achieve signal at different frequency f i, i=1,2 ... k, sinusoidal component amplitude, namely
S i n X ( i ) = Σ n = 1 N x ( n ) sin ( 2 πf i n / N ) , C o s X ( i ) = Σ n = 1 N x ( n ) cos ( 2 πf i n / N ) ,
S i n Y ( i ) = Σ n = 1 N y ( n ) sin ( 2 πf i n / N ) , C o s Y ( i ) = Σ n = 1 N y ( n ) cos ( 2 πf i n / N ) ,
A i = S i n X ( i ) 2 + C o s X ( i ) 2 , B i = S i n Y ( i ) 2 + C o s Y ( i ) 2
Wherein SinX (i), CosX (i), SinY (i), CosY (i) are the intermediate variable calculated, A ifor frequency f iunder the amplitude of driving source component, B ifor frequency f ithe amplitude of lower output signal component.
Step 5: with log 10(2 π f i) be horizontal ordinate, 20log 10(B i/ A i) be ordinate, i=1,2 ..., k, the amplitude frequency diagram of drawing system H (s).
Enumerate an embodiment below to verify the precision that this method amplitude-frequency is estimated:
Quote servo control system mathematical model H ( s ) = 1 110 2 s 2 + 0.02 110 s + 1 1 68 2 s 2 + 0.07 68 s + 1 × 1 1 130 2 s 2 + 0.1 130 s + 1 , For the amplitude-frequency evaluation method that checking the application proposes, we will utilize the Simulink emulation tool in Matlab, set up the realistic model of this embodiment as shown in Figure 2:
Step 1: the sinusoidal signal choosing k=24 different frequency, amplitude is 100, and phase place is by the random function stochastic generation in Matlab, routine x f 1 ( t ) = 100 s i n ( 1 t + 0.7669 ) , ... , x f 24 ( t ) = 100 s i n ( 600 t - 1.623 ) , Frequency selection purposes 2 π f i∈ { 10,20,30,40,50,55,60,65,70,80,90,95,100,110,120,125,130,135,140,170,200,300,400,600}.
Step 2: synthesis excitation source signal x ( t ) = x f 1 ( t ) + x f 2 ( t ) + ... + x f 24 ( t ) = Σ i = 1 24 x f i ( t ) .
Step 3: composite signal x (t) is emulated as the signal source in Simulink Fig. 2, and record and output signal y (t) accordingly, wherein sample frequency F s=4096Hz, data length chooses N=8192.
Step 4: utilize discrete fourier formula to ask signal at different frequency f i, i=1,2 ... 24, sinusoidal component amplitude, namely
S i n X ( i ) = Σ n = 1 8192 x ( n ) sin ( 2 πf i n / 8192 ) , C o s X ( i ) = Σ n = 1 8192 x ( n ) cos ( 2 πf i n / 8192 ) ,
S i n Y ( i ) = Σ n = 1 8192 y ( n ) sin ( 2 πf i n / 8192 ) , C o s Y ( i ) = Σ n = 1 8192 y ( n ) cos ( 2 πf i n / 8192 ) ,
A i = S i n X ( i ) 2 + C o s X ( i ) 2 , B i = S i n Y ( i ) 2 + C o s Y ( i ) 2
Wherein SinX (i), CosX (i), SinY (i), CosY (i) are the intermediate variable calculated, A ifor frequency f iunder the amplitude of driving source component, B ifor frequency f ithe amplitude of lower output signal component.
Step 5: with log 10(2 π f i) be horizontal ordinate, 20log 10(B i/ A i) be ordinate, i=1,2 ..., k, the amplitude-frequency of drawing system H (s), as shown in Figure 3.
For the accuracy of checking estimation amplitude-frequency, we draw Bode diagram by the Bode () in Matlab and Margin () function to the transport function of system H (s), as shown in Figure 4, can find out amplitude frequency curve in Fig. 4 and estimation result curve Fig. 3 of the present invention very close.

Claims (1)

1. a method for drafting for amplitude-versus-frequency curve, is characterized in that: it comprises the following steps:
Step 1: choose the sinusoidal signal under k different frequency, namely i=1,2 ... k, wherein A irepresent amplitude, represent phase place;
Step 2: utilize the different frequency signals component in step 1, synthesis excitation source signal x (t), namely
Step 3: by the input source of excitation source signal x (t) of synthesis as automatic control system H (s), and record and output signal y (t) accordingly, when surveying excitation source signal x (t) and output signal y (t), the sample frequency choosing signal is F s, the data count of sampling is N;
Step 4: utilize discrete fourier formula to try to achieve excitation source signal x (t) and output signal y (t) at different frequency f i, i=1,2 ... k, sinusoidal component amplitude, namely
S i n X ( i ) = Σ n = 1 N x ( n ) sin ( 2 πf i n / N ) , C o s X ( i ) = Σ n = 1 N x ( n ) cos ( 2 πf i n / N ) ,
S i n Y ( i ) = Σ n = 1 N y ( n ) s i n ( 2 πf i n / N ) , C o s Y ( i ) = Σ n = 1 N y ( n ) c o s ( 2 πf i n / N ) ,
A i = S i n X ( i ) 2 + C o s X ( i ) 2 , B i = S i n Y ( i ) 2 + C o s Y ( i ) 2
Wherein SinX (i), CosX (i), SinY (i), CosY (i) are the intermediate variable calculated, A ifor frequency f iunder the amplitude of driving source component, B ifor frequency f ithe amplitude of lower output signal component;
Step 5: with log 10(2 π f i) be horizontal ordinate, 20log 10(B i/ A i) be ordinate, i=1,2 ..., k, the amplitude frequency curve figure of drawing system H (s).
CN201510645735.4A 2015-10-09 2015-10-09 Amplitude frequency characteristic curve drafting method Pending CN105182800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510645735.4A CN105182800A (en) 2015-10-09 2015-10-09 Amplitude frequency characteristic curve drafting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510645735.4A CN105182800A (en) 2015-10-09 2015-10-09 Amplitude frequency characteristic curve drafting method

Publications (1)

Publication Number Publication Date
CN105182800A true CN105182800A (en) 2015-12-23

Family

ID=54904949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510645735.4A Pending CN105182800A (en) 2015-10-09 2015-10-09 Amplitude frequency characteristic curve drafting method

Country Status (1)

Country Link
CN (1) CN105182800A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105842566A (en) * 2016-05-19 2016-08-10 中国第汽车股份有限公司 Automatic digital filter amplitude frequency characteristic curve mapping system and mapping method thereof
CN109030899A (en) * 2018-07-09 2018-12-18 深圳市鼎阳科技有限公司 A kind of method and oscillograph for drawing Bode diagram
CN109472846A (en) * 2018-12-27 2019-03-15 燕山大学 The method for obtaining Bode diagram with MATLAB processing frequency sweep data
CN112783003A (en) * 2020-11-25 2021-05-11 河北汉光重工有限责任公司 Amplitude-frequency characteristic index determination method for speed sensor of servo control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426416A (en) * 2011-09-05 2012-04-25 广东电网公司电力科学研究院 Method and device for identifying frequency domain amplitude characteristic of control object
CN102999037A (en) * 2011-09-09 2013-03-27 中国航天科工集团第三研究院第八三五八研究所 Loop bandwidth virtual testing method
US20130088277A1 (en) * 2011-10-05 2013-04-11 Harman International Industries Ltd. Generation of band-limited noise with tunable crest factor
CN104007317A (en) * 2014-06-04 2014-08-27 哈尔滨工业大学 Method and device for obtaining frequency characteristic of servo system
CN104198810A (en) * 2014-08-14 2014-12-10 深圳市爱普泰科电子有限公司 Measuring method for system frequency response

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426416A (en) * 2011-09-05 2012-04-25 广东电网公司电力科学研究院 Method and device for identifying frequency domain amplitude characteristic of control object
CN102999037A (en) * 2011-09-09 2013-03-27 中国航天科工集团第三研究院第八三五八研究所 Loop bandwidth virtual testing method
US20130088277A1 (en) * 2011-10-05 2013-04-11 Harman International Industries Ltd. Generation of band-limited noise with tunable crest factor
CN104007317A (en) * 2014-06-04 2014-08-27 哈尔滨工业大学 Method and device for obtaining frequency characteristic of servo system
CN104198810A (en) * 2014-08-14 2014-12-10 深圳市爱普泰科电子有限公司 Measuring method for system frequency response

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
邓炎: "高效率MEMS陀螺管芯动态特性测试方法", 《清华大学学报(自然科学版)》 *
马月辉等: "虚拟低频信号特性测试仪", 《自动化与仪表》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105842566A (en) * 2016-05-19 2016-08-10 中国第汽车股份有限公司 Automatic digital filter amplitude frequency characteristic curve mapping system and mapping method thereof
CN105842566B (en) * 2016-05-19 2018-09-21 中国第一汽车股份有限公司 The system and its mapping method of automation mapping digital filter amplitude-versus-frequency curve
CN109030899A (en) * 2018-07-09 2018-12-18 深圳市鼎阳科技有限公司 A kind of method and oscillograph for drawing Bode diagram
CN109472846A (en) * 2018-12-27 2019-03-15 燕山大学 The method for obtaining Bode diagram with MATLAB processing frequency sweep data
CN109472846B (en) * 2018-12-27 2022-11-29 燕山大学 Method for obtaining bode diagram by processing sweep frequency data by MATLAB
CN112783003A (en) * 2020-11-25 2021-05-11 河北汉光重工有限责任公司 Amplitude-frequency characteristic index determination method for speed sensor of servo control system
CN112783003B (en) * 2020-11-25 2022-12-02 河北汉光重工有限责任公司 Amplitude-frequency characteristic index determination method for speed sensor of servo control system

Similar Documents

Publication Publication Date Title
CN105182800A (en) Amplitude frequency characteristic curve drafting method
CN103019223B (en) Method for automatically processing safety level DCS response time testing data in nuclear power station
CN201408105Y (en) Time-sharing fast steady-state sine sweep frequency shock excitation frequency response function measuring system
CN102128881A (en) Method for monitoring Lamb wave engineering structural damage by utilizing signal decomposition
CN106323841A (en) Device for measuring permeability of ultra-low permeability rocks under action of triaxial stress
CN101900761B (en) High-accuracy non-integer-period sampled harmonic analysis and measurement method
CN102661782B (en) Rapid measurement method and device of super-low-frequency vibration parameter quantity value
CN103279636B (en) A kind of method determining tree age
CN105489215A (en) Noise source identification method and system
CN104236893A (en) Performance parameter test system and performance parameter test method of hydraulic damper
CN105467355A (en) Automatic testing method of electric energy meter and automatic testing device of same
CN107808032A (en) Shale gas reservoir water saturation computational methods and system
CN104570053A (en) Generalized predictive control system of vibroseis
CN103499686B (en) Immunosensor-based resistance-type pesticide residue detector
CN103698679B (en) A kind of space single event burnout effect monitoring device and method in-orbit
CN105093166A (en) Electronic watt-hour meter field inspection method
CN102829940B (en) Implementation method for disturbance simulation of satellite flywheel
CN108181383B (en) A kind of sediment content detection method based on second harmonic frequency drift
CN204177739U (en) Two-phase lock-in amplifier
CN104198811A (en) Method and device for measuring frequency of low frequency signal
CN104569886A (en) Calibrating method for signal detection equipment based on time-frequency parameter standard instrument
CN103699010B (en) A kind of servo system identification method based on relay position feedback temporal signatures
CN110098610B (en) Real-time identification method and system for oscillation leading mode of power system under fault disturbance
CN204719133U (en) A kind of Piezoelectric Impedance measuring equipment for monitoring structural health conditions
CN102662326B (en) Method and device for industrial control by determining system parameter model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151223