CN102999037A - Loop bandwidth virtual testing method - Google Patents

Loop bandwidth virtual testing method Download PDF

Info

Publication number
CN102999037A
CN102999037A CN2011102661522A CN201110266152A CN102999037A CN 102999037 A CN102999037 A CN 102999037A CN 2011102661522 A CN2011102661522 A CN 2011102661522A CN 201110266152 A CN201110266152 A CN 201110266152A CN 102999037 A CN102999037 A CN 102999037A
Authority
CN
China
Prior art keywords
loop
frequency
amplitude
signal
phase
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.)
Granted
Application number
CN2011102661522A
Other languages
Chinese (zh)
Other versions
CN102999037B (en
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.)
8358 Research Institute of 3th Academy of CASC
Original Assignee
8358 Research Institute of 3th Academy of CASC
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 8358 Research Institute of 3th Academy of CASC filed Critical 8358 Research Institute of 3th Academy of CASC
Priority to CN201110266152.2A priority Critical patent/CN102999037B/en
Publication of CN102999037A publication Critical patent/CN102999037A/en
Application granted granted Critical
Publication of CN102999037B publication Critical patent/CN102999037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the technical field of photoelectric tracking, and relates to a loop bandwidth virtual testing method which includes steps of outputting sine command signals with specific frequency, sending the sine command signals to a control loop of a to-be-tested digital control system to generate loop response signals, performing correlation operation to the loop response signals and the sine command signals; determining the maximum correlation amplitude and corresponding time thereof in the frequency according to the maximum value obtained from the correlation operation, and determining the amplitude and phase of the loop control signals in the frequency; changing frequency of the sine command signals and repeating the above steps, recording and saving the amplitude and phase changes of the loop response signals, and accordingly, drawing curves of amplitude frequency and phase frequency so as to determine loop bandwidth. By the loop bandwidth virtual testing method, the technical problem that testing efficiency is reduced due to difficulty in matching between a physical instrument and the digital control system in the process of testing the loop bandwidth of the digital control system by the physical instrument is solved, energy is saved and efficiency is improved by means of virtual testing.

Description

A kind of loop bandwidth virtual measuring method
Technical field
The invention belongs to the photoelectric tracking technical field, be specifically related to a kind of loop bandwidth virtual measuring method.
Background technology
In the prior art, test control loop bandwidth method generally adopts dynamic signal analyzer, and most of dynamic signal analyzer is analog signal interface, when treating that tested system is digital control system, can't test.Even dynamic signal analyzer is provided with digital interface, also often can't mate with tested digital control system digital interface, need to carry out for particular system the conversion of interface, increased unnecessary testing procedure, reduced testing efficiency.
Summary of the invention
The technical problem to be solved in the present invention is: the digital control system loop bandwidth is carried out that physical apparatus and digital control system interface are difficult to coupling in the test process by physical apparatus, reduced testing efficiency.
Technical scheme of the present invention is as described below: this method may further comprise the steps:
The sinusoidal command signal of step (1) software sinusoidal signal generator output characteristic frequency, it sends to the control loop of digital control system to be measured as command signal, control loop produces the loop response signal, and this loop response signal and described sinusoidal command signal are carried out related operation;
Step (2) is determined maximal correlation amplitude and the corresponding moment of amplitude under this frequency by the related operation maximal value, thereby determines amplitude response and the phase response of loop control signal under this frequency;
Step (3) changes the frequency of sinusoidal command signal, repeat above-mentioned steps, determine amplitude response and the phase response of corresponding loop response signal under the different frequency, record and amplitude response and the phase response variation of preserving the loop response signal, thereby draw out amplitude-frequency, phase frequency curve, determine loop bandwidth.
In the step (1), loop response signal and sinusoidal command signal are carried out related operation according to formula (1):
R ( τ ) = ∫ 0 T X ( t - τ ) Y ( t ) dt - - - ( 1 ) ,
In the formula (1), X (t) is sinusoidal command signal, and Y (t) is the loop response signal, and T is sine wave period, and R (τ) is related function;
Formula (1) is carried out discretize obtains formula (2):
R ( τ ) = Σ n = 1 1 / f T s X ( n - τ ) Y ( n ) - - - ( 2 ) ,
In the formula (2), X (n) is the sinusoidal command signal of discrete form, and Y (n) is the loop response signal of discrete form, and f is sine wave freuqency, T sBe signal sampling period, R (τ) is related function.
In the step (1), loop response signal Y (t) is expressed as Ae J θ, A is loop gain, and θ is loop phase, and namely loop response signal Y (t) is than sinusoidal command signal X (t) phase place hysteresis θ;
Formula (1) can be expressed as:
R ( τ ) = ∫ 0 T cos ( mωt - mωτ ) A cos ( nωt - θ ) dt , m ≥ 1 , n ≥ 1 - - - ( 3 )
In the formula (3), ω=2 π f;
Wherein, the two is uncorrelated in sinusoidal command signal X (t) situation different from loop response signal Y (t) frequency, shown in (4):
R ( τ ) = Aπ cos ( mωτ - θ ) m = n 0 m ≠ n - - - ( 4 ) .
In the step (2), according to the amplitude maximal value of related function R (τ), determine maximal correlation amplitude A π and corresponding constantly τ, thereby determine amplitude A and the phase theta of loop control signal under this frequency f, θ=ω τ.
Beneficial effect of the present invention is: the present invention is directed to digital control system, utilize the internal system resource, adopt the related algorithm computing, processing obtains the various achievement datas of loop characteristic, thereby replace the actual physics instrument, do not exist interface problem can finish virtual test during to difference system testing to be measured, saved the energy, improved efficient.
Description of drawings
Fig. 1 is a kind of loop bandwidth virtual measuring method process flow diagram of the present invention;
Fig. 2 is amplitude frequency curve;
Fig. 3 is phase frequency curve.
Embodiment
Below in conjunction with drawings and Examples a kind of loop bandwidth virtual measuring method of the present invention is described in detail.
As shown in Figure 1, loop bandwidth virtual measuring method of the present invention mainly may further comprise the steps:
The sinusoidal command signal of step (1) software sinusoidal signal generator output characteristic frequency, it sends to the control loop of digital control system to be measured as command signal, control loop produces the loop response signal, and this loop response signal and described sinusoidal command signal are carried out related operation;
Step (2) is determined maximal correlation amplitude and the corresponding moment of amplitude under this frequency by the related operation maximal value, thereby determines amplitude response and the phase response of loop control signal under this frequency;
Step (3) changes the frequency of sinusoidal command signal, repeat above-mentioned steps, determine amplitude response and the phase response of corresponding loop response signal under the different frequency, record and amplitude response and the phase response variation of preserving the loop response signal, thereby draw out amplitude-frequency, phase frequency curve, determine loop bandwidth.
In the step (1), loop response signal and sinusoidal command signal are carried out related operation according to formula (1):
R ( τ ) = ∫ 0 T X ( t - τ ) Y ( t ) dt - - - ( 1 ) ,
In the formula (1), X (t) is sinusoidal command signal, and Y (t) is the loop response signal, and T is sine wave period, and R (τ) is related function.
Formula (1) is carried out discretize obtains formula (2):
R ( τ ) = Σ n = 1 1 / f T s X ( n - τ ) Y ( n ) - - - ( 2 ) ,
In the formula (2), X (n) is the sinusoidal command signal of discrete form, and Y (n) is the loop response signal of discrete form, and f is sine wave freuqency, T sBe signal sampling period, R (τ) is related function.
According to the control loop characteristic of digital control system to be measured, loop response signal Y (t) is identical with sinusoidal command signal X (t) cycle.By fourier series knowledge as can be known, periodic signal can be decomposed into DC component, fundamental frequency signal and frequency-doubled signal thereof.And amplitude-frequency and phase-frequency characteristic curve are only paid close attention to the variation of fundamental frequency signal for linear system, and ignore other frequencies, therefore loop response signal Y (t) can be reduced to Ae J θ, A is loop gain, and θ is loop phase, and namely loop response signal Y (t) is than sinusoidal command signal X (t) phase place hysteresis θ.
Since sinusoidal signal complete cycle signal related operation, formula (1) can be expressed as:
R ( τ ) = ∫ 0 T cos ( mωt - mωτ ) A cos ( nωt - θ ) dt , m ≥ 1 , n ≥ 1 - - - ( 3 )
In the formula (3), ω=2 π f.
Wherein, the two is uncorrelated in sinusoidal command signal X (t) situation different from loop response signal Y (t) frequency, shown in (4):
R ( τ ) = Aπ cos ( mωτ - θ ) m = n 0 m ≠ n - - - ( 4 ) .
By formula (4) as can be known, except fundamental frequency signal, frequency-doubled signal is inoperative in the related operation, so related operation can be determined amplitude and the phase propetry of fundamental frequency signal.
In the step (2), by seeking the amplitude maximal value of related function R (τ), record maximal correlation amplitude A π and corresponding constantly τ, thereby determine amplitude A and phase theta under this frequency f, θ=ω τ.
In the step (3), change the frequency of sinusoidal command signal, repeat above-mentioned steps, determine amplitude response and the phase response of corresponding loop response signal under the different frequency, record and amplitude response and the phase response variation of preserving the loop response signal, thereby draw out amplitude-frequency, phase frequency curve, determine loop bandwidth.
For instance, if the transport function of the control loop of digital control system to be measured suc as formula shown in (5):
H = 24 s 2 + 960 s + 9600 0.1 s 3 + 24.65 s 2 + 961.4 s + 9601 - - - ( 5 ) ,
Then change the frequency of sinusoidal command signal, can access data shown in the following table:
Figure BDA0000090145380000044
Figure BDA0000090145380000051
According to data shown in the upper table, can draw out amplitude frequency curve shown in Figure 2 and phase frequency curve shown in Figure 3.By Fig. 2 amplitude frequency curve as can be known, control loop-three dB bandwidth is 42Hz, and is very approaching with theoretical value 43Hz, verified the validity of virtual measuring method of the present invention.

Claims (4)

1. loop bandwidth virtual measuring method, it is characterized in that: this method may further comprise the steps:
The sinusoidal command signal of step (1) software sinusoidal signal generator output characteristic frequency, it sends to the control loop of digital control system to be measured as command signal, control loop produces the loop response signal, and this loop response signal and described sinusoidal command signal are carried out related operation;
Step (2) is determined maximal correlation amplitude and the corresponding moment of amplitude under this frequency by the related operation maximal value, thereby determines amplitude response and the phase response of loop control signal under this frequency;
Step (3) changes the frequency of sinusoidal command signal, repeat above-mentioned steps, determine amplitude response and the phase response of corresponding loop response signal under the different frequency, record and amplitude response and the phase response variation of preserving the loop response signal, thereby draw out amplitude-frequency, phase frequency curve, determine loop bandwidth.
2. a kind of loop bandwidth virtual measuring method according to claim 1 is characterized in that:
In the step (1), loop response signal and sinusoidal command signal are carried out related operation according to formula (1):
R ( τ ) = ∫ 0 T X ( t - τ ) Y ( t ) dt - - - ( 1 ) ,
In the formula (1), X (t) is sinusoidal command signal, and Y (t) is the loop response signal, and T is sine wave period, and R (τ) is related function;
Formula (1) is carried out discretize obtains formula (2):
R ( τ ) = Σ n = 1 1 / f T s X ( n - τ ) Y ( n ) - - - ( 2 ) ,
In the formula (2), X (n) is the sinusoidal command signal of discrete form, and Y (n) is the loop response signal of discrete form, and f is sine wave freuqency, T sBe signal sampling period, R (τ) is related function.
3. a kind of loop bandwidth virtual measuring method according to claim 2 is characterized in that:
In the step (1), loop response signal Y (t) is expressed as Ae J θ, A is loop gain, and θ is loop phase, and namely loop response signal Y (t) is than sinusoidal command signal X (t) phase place hysteresis θ;
Formula (1) can be expressed as:
R ( τ ) = ∫ 0 T cos ( mωt - mωτ ) A cos ( nωt - θ ) dt , m ≥ 1 , n ≥ 1 - - - ( 3 )
In the formula (3), ω=2 π f;
Wherein, the two is uncorrelated in sinusoidal command signal X (t) situation different from loop response signal Y (t) frequency, shown in (4):
R ( τ ) = Aπ cos ( mωτ - θ ) m = n 0 m ≠ n - - - ( 4 ) .
4. a kind of loop bandwidth virtual measuring method according to claim 3 is characterized in that:
In the step (2), according to the amplitude maximal value of related function R (τ), determine maximal correlation amplitude A π and corresponding constantly τ, thereby determine amplitude A and the phase theta of loop control signal under this frequency f, θ=ω τ.
CN201110266152.2A 2011-09-09 2011-09-09 Loop bandwidth virtual testing method Active CN102999037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110266152.2A CN102999037B (en) 2011-09-09 2011-09-09 Loop bandwidth virtual testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110266152.2A CN102999037B (en) 2011-09-09 2011-09-09 Loop bandwidth virtual testing method

Publications (2)

Publication Number Publication Date
CN102999037A true CN102999037A (en) 2013-03-27
CN102999037B CN102999037B (en) 2014-12-17

Family

ID=47927731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110266152.2A Active CN102999037B (en) 2011-09-09 2011-09-09 Loop bandwidth virtual testing method

Country Status (1)

Country Link
CN (1) CN102999037B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105182800A (en) * 2015-10-09 2015-12-23 宁波罗杰克智能科技有限公司 Amplitude frequency characteristic curve drafting method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5992234A (en) * 1995-08-23 1999-11-30 Quasar International Detection of defects using resonant ultrasound spectroscopy at predicted high order modes
US20050135505A1 (en) * 2003-12-19 2005-06-23 Matsushita Electric Industrial Co., Ltd Frequency modulation circuit
US7293025B1 (en) * 2004-03-31 2007-11-06 David Harouche Hosted learning management system and method for training employees and tracking results of same
CN101369980A (en) * 2008-09-26 2009-02-18 北京航空航天大学 Band width estimation method based on self-adapting sampling
CN102096925A (en) * 2010-11-26 2011-06-15 中国科学院上海技术物理研究所 Real-time closed loop predictive tracking method of maneuvering target

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5992234A (en) * 1995-08-23 1999-11-30 Quasar International Detection of defects using resonant ultrasound spectroscopy at predicted high order modes
US20050135505A1 (en) * 2003-12-19 2005-06-23 Matsushita Electric Industrial Co., Ltd Frequency modulation circuit
US7293025B1 (en) * 2004-03-31 2007-11-06 David Harouche Hosted learning management system and method for training employees and tracking results of same
CN101369980A (en) * 2008-09-26 2009-02-18 北京航空航天大学 Band width estimation method based on self-adapting sampling
CN102096925A (en) * 2010-11-26 2011-06-15 中国科学院上海技术物理研究所 Real-time closed loop predictive tracking method of maneuvering target

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105182800A (en) * 2015-10-09 2015-12-23 宁波罗杰克智能科技有限公司 Amplitude frequency characteristic curve drafting method

Also Published As

Publication number Publication date
CN102999037B (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN103245832B (en) Based on harmonic wave time-frequency characteristic method for parameter estimation and the analyser of quick S-transformation
CN102868183B (en) Sliding-mode variable structure control method of single phase grid-connected inverter based on multi-resonant sliding mode surface
CN102323480B (en) Electric energy quality analyzing method based on Hilbert-Huang transform
CN110244123B (en) Reduced-order generalized integrator resonance point detection method based on line-variable relation recognition device
CN103235180A (en) Inter-harmonics measuring method for power grid
CN102353500B (en) Extraction method of unbalanced signal for dynamic balance measurement
CN102999473A (en) Detection and parameter estimation method for linear frequency modulation signals
CN104570107A (en) Time-frequency analysis method based on improved matching pursuit algorithm
CN102393488A (en) Harmonic analysis method
CN104714075A (en) Method for extracting power grid voltage flicker envelope parameters
CN103018555A (en) High-precision electric power parameter software synchronous sampling method
CN106209701A (en) MFSK signal code rate-estimation method and device under Alpha Stable distritation noise circumstance
CN116227242B (en) Random irregular wave simulation method based on white noise filtering
CN106154037A (en) A kind of synchronized phasor self-adaptive computing method based on verification
CN102998528B (en) Method for extracting frequency components in dynamic distorted sinusoidal signals and device for implementing method
CN103543331B (en) A kind of method calculating electric signal harmonic wave and m-Acetyl chlorophosphonazo
CN109828154B (en) Three-phase power grid impedance measurement method based on sub-band composite orthogonal pulse injection
CN107465465A (en) A kind of Gaussian channel emulation mode and its analogue system
CN102999037B (en) Loop bandwidth virtual testing method
CN111735593B (en) Method for tracking, testing and analyzing vibration frequency of water turbine model machine
CN103245830A (en) Inter-harmonic detection method combining AR spectrum estimation and non-linear optimization
CN115902396A (en) Resonance detection method and device for large-scale wind power grid-connected system
CN104239614A (en) Method for simulating aerodynamic instability signal of compressor
CN104156509A (en) Method for synthesizing noise
CN104730384A (en) Power disturbance identification and localization method based on incomplete S transformation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant