CN106405199B - The dynamic testing method of signal ripple peak value valley - Google Patents
The dynamic testing method of signal ripple peak value valley Download PDFInfo
- Publication number
- CN106405199B CN106405199B CN201610700884.0A CN201610700884A CN106405199B CN 106405199 B CN106405199 B CN 106405199B CN 201610700884 A CN201610700884 A CN 201610700884A CN 106405199 B CN106405199 B CN 106405199B
- Authority
- CN
- China
- Prior art keywords
- signal
- valley
- circuit
- acquisition
- peak value
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/04—Measuring peak values or amplitude or envelope of ac or of pulses
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0038—Circuits for comparing several input signals and for indicating the result of this comparison, e.g. equal, different, greater, smaller (comparing pulses or pulse trains according to amplitude)
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05F—SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G05F1/00—Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
- G05F1/10—Regulating voltage or current
- G05F1/625—Regulating voltage or current wherein it is irrelevant whether the variable actually regulated is ac or dc
Abstract
The invention discloses a kind of dynamic testing methods of signal ripple peak value valley, it is made of two acquisition holding circuits and two corresponding auxiliary circuits, two acquisition holding circuits are respectively to acquire the Peak current (1) for keeping signal and acquire the valley circuit (2) for keeping signal, and two auxiliary circuits are respectively that can reset timing circuit (3) and magnetic hysteresis return difference amount control circuit (4);Acquisition keeps the Peak current (1) of signal to be used to acquire the peak value for keeping signal;Acquisition keeps the valley circuit (2) of signal to be used to acquire the valley for keeping signal;Timing circuit (3) and magnetic hysteresis return difference amount control circuit (4) can be resetted to guarantee that acquisition keeps the Peak current (1) of signal and acquisition to keep the valley circuit (2) of signal that can work normally and dynamic following Self-variation and the peak value and valley that are superimposed AC ripple signal.Dynamic peak value and valley can be obtained using this method in real time.
Description
Technical field
The present invention relates to a kind of dynamic testing method of signal ripple peak value valley, specifically a kind of dynamic detection signal peaks
It is worth the method for valley.
Background technique
Any signal due to its own, environment influence and detection means on deviation, obtained detection signal is often
It is to be superimposed AC ripple on this signal with ripple.Due to the variation of the AC ripple and signal itself of superposition, so that
The signal detected has corresponding peak value, valley.The peak value, valley occur in cycles in the form of various combination of frequencies.?
In signal processing, the peak value of this signal is dynamically detected, valley is highly important.
In general, the acquisition holding circuit for acquiring and keeping signal peak be constantly detected signal value and and its
It has acquired retention value to be compared, has acquired retention value when detected signal value is greater than it, acquire the peak value detected signal kept
Value refreshes.Equally, for acquiring, to keep the acquisition holding circuit of signal valley be constantly detected signal value and to acquire guarantor with it
It holds value to be compared, acquires retention value when detected signal value is less than it, the valley that acquisition is kept is refreshed by this detected signal value.
The peak value and valley to detect signal are the whole peak value and valley that can only obtain signal, that is, the signal in such a way
Static peaks and valley.Static peaks and valley are determined by signal Self-variation range and the AC ripple being superimposed.
The static peaks and valley of the apparent signal can be just obtained after signal terminates.In real time signal processing, the static state
Peak value and valley are the real-time processing for being helpless to signal.In real time signal processing, dynamic peak value and valley are in other words in real time
Facilitate the real-time processing of signal.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of signal ripples that can obtain dynamic peak value and valley in real time
Peak value valley dynamic testing method.
In order to solve the above technical problem, the present invention provides a kind of dynamic testing method of signal ripple peak value valley (that is,
The method of dynamic detection signal peak valley), it is made of as shown in Figure 1: two acquisition holding circuits and corresponding auxiliary circuit.
Two acquisition holding circuits are as follows: acquisition keeps the Peak current (as the first acquisition holding circuit) of signal to keep letter for acquiring
Number peak value;Acquisition keeps the valley circuit (as the second acquisition holding circuit) of signal for acquiring the valley for keeping signal.
Corresponding auxiliary circuit: can reset timing circuit and magnetic hysteresis return difference amount control circuit is to guarantee that acquisition keeps the peak value of signal
Keep the valley circuit of signal that can work normally and dynamic following Self-variation and the peak for being superimposed AC ripple signal with acquisition
Value and valley.
Specific acquisition holding circuit function is realized and ancillary circuit functionality realizes that there are many implementations, can be with simulation
It can also be in digital form;Same corresponding auxiliary circuit can also with simulation and also in digital form.
Acquisition keeps the Peak current of signal to be the Self-variation to signal and be superimposed the signal of AC ripple at its own
When value increases, is accordingly increased when increasing its dynamic peak value and carry out Refresh Data;And when its dynamic valley into
When row correspondingly reduces, acquisition keeps the Peak current of signal (can reset timing circuit and magnetic hysteresis return difference amount by auxiliary circuit
Control circuit) Supervised Control its corresponding dynamic valley is also reduced accordingly also and carries out Refresh Data;Equally certainly
Body changes and is superimposed the signal of AC ripple when its own value reduces, and acquisition keeps the valley circuit of signal to its dynamic valley
It carries out correspondingly reducing carry out Refresh Data;And acquisition keeps the valley electricity of signal when its dynamic peak value is correspondingly increased
Road is by the Supervised Control of auxiliary circuit (can reset timing circuit and magnetic hysteresis return difference amount control circuit) also to its corresponding dynamic
Valley is also accordingly increased and carries out Refresh Data;Acquisition keeps the Peak current of signal and acquisition to keep signal in this way
Valley circuit respectively obtains this Self-variation and is superimposed the dynamic peak value and valley of AC ripple signal.This operation is referred to as phase
Close property operation with guarantee to Self-variation and be superimposed AC ripple signal peak value and valley carry out dynamic following.
Timing circuit is resetted as auxiliary circuit: since acquisition keeps the Peak current of signal and acquisition to keep signal
The output peak value of detection circuit that constitutes of valley circuit and the initial value of valley be zero, to acquire the Peak current of holding with
It acquires the valley circuit capture kept and establishes corresponding peak value and valley needs the time;In addition the variation tendency of detected signal
When being zero, the signal that the valley circuit that the Peak current and acquisition for needing to acquire holding are kept is directed to detection respectively is established independently
Corresponding peak value and valley.This, which needs to increase by one, can reset timing circuit to guarantee that the Peak current that acquisition is kept is protected with acquisition
Corresponding peak value and valley is established independently for the signal of detection respectively within this stipulated time in the valley circuit held.Timing electricity
The a quarter period that the timing on road is greater than peak value, valley occurs in cycles in the form of various combination of frequencies, with
Guarantee the corresponding peak value of extreme value and valley of capture regional area.Due to being that can reset timing circuit, when the change of detected signal
When change trend becomes increaseing or decreasing, dynamic valley, dynamic peak value Refresh Data signal make can to reset timing circuit reset again
And stop timing circuit function.
Magnetic hysteresis return difference amount control circuit as auxiliary circuit: dynamic peak value and dynamic valley relative operation in order to prevent
Increase operation and reduce operation constantly alternately;Need to increase a magnetic hysteresis return difference amount control circuit avoid dynamic peak value and
Dynamic valley relative operation increases operation and to reduce operation continuous alternately, that is to say, that only when its dynamic peak value into
When the amount that should be also accordingly increased when row is increased monotonically to its corresponding dynamic valley is greater than this magnetic hysteresis return difference amount, just to it
Corresponding dynamic valley is increased monotonically accordingly.It is alternatively only right to its when its dynamic valley carries out monotone decreasing
When the amount that the dynamic peak value answered should also be reduced accordingly is greater than this magnetic hysteresis return difference amount, just its corresponding dynamic peak value is carried out
Corresponding dull reduction.Can be effectively prevented and avoid in this way dynamic peak value and dynamic valley relative operation increase operation and
It is continuous alternately to reduce operation.Specifically: when above-mentioned incrementss or reduction amount are less than (or being equal to) magnetic hysteresis return difference amount size
When, acquisition keeps the Peak current of signal and acquisition to keep the valley circuit of signal without accordingly increasing or reduced behaviour
Make.Conversely, acquisition keeps Peak current and the acquisition of signal when above-mentioned incrementss or reduction amount are greater than magnetic hysteresis return difference amount size
The valley circuit of holding signal is accordingly increased or reduced relative operation.
Technical advantage of the invention is main are as follows:
1, complete at a reasonably low cost to Self-variation and be superimposed AC ripple signal dynamic peak value and valley into
Line trace output, the dynamic peak value and the corresponding control signal of valley output detected so as to corresponding control algolithm according to this.
2, the present invention program can be realized with pure analog circuit;It can be realized with totally digital circuit;Mould can also be used
Hybrid circuit is counted to realize.This is entirely to be required by corresponding signal attribute and respective handling to determine.
Detailed description of the invention
Fig. 1 is the realization principle figure of the present invention program;
Fig. 2 corresponds to Self-variation and is superimposed the signal waveform of AC ripple for the realization principle figure of the present invention program, and
Export corresponding dynamic peak value and dynamic valley point voltage waveform;
Fig. 3 is the most simple basic composition that embodiment acquires that holding circuit is realized in digital form, that is, uses plus-minus counting
The additional digital-to-analog converter of device form and comparator and corresponding logic circuit and circuit;
Fig. 4 is the partial circuit for resetting timing circuit 3 as auxiliary circuit in embodiment;
Fig. 5 is the partial circuit of the magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit in embodiment.
Specific embodiment
The present invention is described further combined with specific embodiments below, but protection scope of the present invention is not limited in
This:
Embodiment:
Acquiring holding circuit can be there are many implementation method, and in this embodiment, we realize most in digital form
Simple basic constitute can be with the additional corresponding counting pulse logic circuit of forward-backward counter form and corresponding comparator
With relevant logic circuit circuit.The peak value of acquisition holding circuit or the increase behaviour of valley are completed in the add operation of forward-backward counter
Make, and the reduction operation of the peak value or valley of acquisition holding circuit is completed in the reducing of forward-backward counter.Count the frequency of pulse
Size determines the value added of acquisition holding circuit or the speed of decreasing value.Acquisition keeps the Peak current of signal and acquisition to keep letter
Number valley circuit be to be made of respectively forward-backward counter and corresponding logic and analog circuit.
It is specific as shown in figure 3, it is by forward-backward counter 11, digital-to-analogue conversion for acquiring the Peak current 1 for keeping signal
Device 12 and comparator and logic circuit 13 are constituted;The output of forward-backward counter 11 is the input quantity of digital analog converter 12;Digital-to-analogue turns
The output of parallel operation 12 is corresponding peak value (being valley when keeping the valley circuit 2 of signal for acquisition);Digital analog converter 12
Output is one of the input of comparator in comparator and logic circuit 13;Self-variation and the signal Vin for being superimposed AC ripple
It is another input of comparator;The output of comparator is operated through the plus-minus of logic circuit control forward-backward counter 11.It comparator and patrols
Collect value added or decreasing value that the clock Ck frequency size control that the logic circuit in circuit 13 generates determines acquisition holding circuit
Speed.The input terminal KP of logic circuit, which is controllable by, resets timing circuit 3 and magnetic hysteresis return difference amount control as auxiliary circuit
Circuit 4 processed.Specifically: as being auxiliary circuit when resetting the entrance definition status of timing circuit 3, KP is controlled, so that acquisition
The add-subtract control end of the forward-backward counter 11 in the Peak current 1 of signal is kept to be controlled completely by the output of comparator;With respectively
Capture the corresponding peak value of extreme value (being valley similarly, when keeping the valley circuit 2 of signal for acquisition) of regional area.As
The magnetic hysteresis return difference amount control circuit 4 of auxiliary circuit controls KP, so that acquisition keeps the forward-backward counter in the Peak current 1 of signal
11 add-subtract control end is not exclusively controlled by the output control of comparator, and is controlled by the logic circuit of KP control;Acquisition is kept
The peak value of signal or acquisition keep the valley circuit of signal to enter relative operation to guarantee to Self-variation and be superimposed exchange line
The peak value and valley of the signal of wave carry out dynamic following.
Obviously acquisition keeps comparator input+end in the Peak current of signal to be connection Self-variation and be superimposed AC ripple
Signal Vin to complete its dynamic peak value is increased when accordingly increased and carry out Refresh Data;And it acquires and protects
Holding comparator input-end in the valley circuit of signal is to connect Self-variation and be superimposed the signal Vin of AC ripple to complete
It carries out correspondingly reducing carry out Refresh Data.
Resetting timing circuit 3 and mainly can may be used in this embodiment there are many implementation method as auxiliary circuit
It is as shown in Figure 4 to reset timing portion.It is that the asynchronous up counter that resets being made of multiple d type flip flops is constituted.As auxiliary
The counting pulse Cp frequency for resetting the generation of timing circuit 3 and d type flip flop number of circuit determine that its timing TD's is big
Small, d type flip flop number has to be larger than peak value, valley in the form of various combination of frequencies divided by the resulting value after counting pulse Cp frequency
And a quarter period occurred in cycles.The reset terminal R of each d type flip flop links together as reset terminal R.Obviously fixed at this
When counting process in, if any reset signal R occur, each d type flip flop be reset to zero until this reset signal R disappear after start into
Row counting and timing.This timing TD is controlled to be come as the corresponding logic circuit of auxiliary circuit resetted in timing circuit 3
Control acquisition keeps the Peak current 1 of signal to be accordingly increased and carries out Refresh Data and acquire the valley electricity for keeping signal
Road 2 is reduced accordingly and carries out Refresh Data.This reset signal R is to keep the Peak current 1 of signal according to acquisition and adopt
What is generated whether collection keeps the valley circuit 2 of signal whether to carry out Refresh Data (acquires and keeps the Peak current 1 of signal, adopts
Collection keeps any in the valley circuit 2 of signal that will generate corresponding reset signal R as long as there is Refresh Data).
Magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit can be there are many implementation method, in this embodiment, master
Want magnetic hysteresis return difference amount control section as shown in Figure 5.Signal connection relationship are as follows:
The input quantity Voin phase of one end of positive feedback resistor R1 and the magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit
Even, the other end and comparator+end is connected;
One end of positive feedback resistor R2 and comparator+end is connected, the other end is connected with the output VK of comparator;
Comparator-end be connected with the Vref of the magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit.
It is that simply have the comparator with positive feedback to constitute.Magnetic hysteresis return difference amount size be by this positive feedback resistor R1 and
R2 ratio determines.The input quantity Voin of magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit can be acquisition and keep signal
Peak current 1 or acquisition keep the output quantity of the valley circuit 2 of signal;Magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit
Vref be the corresponding peak value of corresponding set amount or valley.Its output quantity VK controls the magnetic hysteresis return difference amount control as auxiliary circuit
The corresponding logic circuit of circuit 4 processed keeps the Peak current 1 of signal to be accordingly increased and carry out data to control acquisition
Refresh and acquisition keeps the valley circuit 2 of signal to be reduced accordingly and carry out Refresh Data.
This acquisition keeps the Peak current 1 of signal and acquisition that the outputting and inputting for valley circuit 2 of signal is kept to can be
Digital form may be analog form.Specifically outputting and inputting form is determined in the form of detected signal.If tested
Surveying signal is analog signal, and acquisition keeps the Peak current 1 of signal and acquire to keep the output of the valley circuit 2 of signal through respective
Digital analog converter export analog quantity;Acquisition keeps the Peak current 1 of signal and acquires the valley circuit 2 for keeping signal in this way
Output can be compared to determine the peak that acquisition keeps signal through the analog signal of analog voltage comparator and detected signal
It is the operation for adding or subtracting that the acquisition of value circuit 1/, which keeps the forward-backward counter in the valley circuit 2 of signal,.If detected signal
It is digital signal, the forward-backward counter output that acquisition keeps the Peak current 1 of signal and acquisition to keep the valley circuit 2 of signal is
For digital quantity;Acquisition keeps the output of the Peak current 1 of signal and the valley circuit 2 of acquisition holding signal can be through number in this way
The digital signal of comparator and detected signal is compared to determine that this forward-backward counter is the operation for adding or subtracting.
As auxiliary circuit reset timing circuit 3, be exactly logical as the magnetic hysteresis return difference amount control circuit 4 of auxiliary circuit
Cross the plus-minus operation for the forward-backward counter that control acquisition keeps the acquisition of Peak current 1/ of signal to keep in the valley circuit 2 of signal
Keep the valley circuit of signal can be just with acquisition with the peak value for guaranteeing acquisition holding signal to control with the frequency for counting pulse
Often work and dynamic following Self-variation and be superimposed AC ripple signal peak value and valley.
When this dynamic detection signal peak valley circuit is (that is, control acquisition keeps the Peak current of signal and acquisition to keep
The valley circuit of signal) add power supply when, each forward-backward counter is initially zero, due to as auxiliary circuit reset timing electricity
Road 3 acts on, this timing that can reset timing circuit 3 is greater than peak value, the valley Zhou Erfu in the form of various combination of frequencies
Begin a quarter period occurred.In this timing, acquisition keeps the peak value of signal and the valley electricity of acquisition holding signal
Road captures the corresponding peak value of extreme value and valley of regional area respectively.
It is the valley circuit refreshing that can be collected the peak value for keeping signal or acquisition holding signal that timing circuit 3, which can be resetted,
What data output signal resetted, keep the peak value of signal and acquisition to keep to make this that can reset the nonintervention acquisition of timing circuit 3
Relative operation between the valley circuit of signal with guarantee to Self-variation and be superimposed AC ripple signal peak value and paddy
Value carries out dynamic following.If obviously acquisition keeps the peak value of signal or acquisition that the valley circuit of signal is kept not refresh number always
According to this can reset timing circuit 3 and not be reset and start timing circuit;In this timing acquisition keep signal peak value and
The valley circuit of acquisition holding signal captures the corresponding peak value of extreme value and valley of regional area respectively.If timing electricity can be resetted
At the end of the timing that road 3 is not reset (that is, at the end of timing), the timing end signal of the output of timing circuit 3 can be resetted
It is for starting the corresponding magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit.
After starting as the magnetic hysteresis return difference amount control circuit 4 for auxiliary circuit, corresponding acquisition keeps the peak value of signal
Or acquisition keeps the operation of the valley circuit refresh data of signal first to execute in this magnetic hysteresis return difference amount control circuit 4.Work as acquisition
When keeping the incrementss of the peak value of signal or acquisition that the reduction amount of the valley circuit of signal is kept to be greater than magnetic hysteresis return difference amount, acquisition is protected
The peak value or acquisition for holding signal keep the valley circuit of signal to enter relative operation to guarantee to Self-variation and be superimposed exchange
The peak value and valley of the signal of ripple carry out dynamic following.This relative operation is more reliable with one-way operation, that is, carries out single
That adjusts increaseds or decreases.
When detect signal variation tendency from increase become reduce when, it must be by by increase be varied down to it is constant then
Start to reduce;When the variation tendency for detecting signal becomes increasing from reducing, it must be constant right by being varied down to by reduction
After start to increase.Do not refreshed in above-mentioned constant period data, resets timing circuit 3 due to not having as auxiliary circuit
Refresh Data and start timing circuit.In timing, so that acquisition keeps the peak value of signal and the paddy of acquisition holding signal
Value circuit captures the corresponding peak value of extreme value and valley of regional area respectively.When the timing that can be resetted timing circuit 3 and be not reset
At the end of, can reset timing circuit 3 will export timing end signal and enter next fixed cycle operator.Timing circuit 3 can be resetted
The timing end signal of output is for starting the corresponding magnetic hysteresis return difference amount control circuit 4 as auxiliary circuit;Magnetic hysteresis return difference
The operation that the corresponding acquisition of amount control circuit 4 keeps the peak value of signal or acquisition to keep the valley circuit refresh data of signal first exists
It is executed in this magnetic hysteresis return difference amount control circuit 4, the incrementss of the peak value of signal or the valley of acquisition holding signal is kept when acquisition
When the reduction amount of circuit is greater than magnetic hysteresis return difference amount, the valley circuit for making acquisition that the peak value of signal or acquisition be kept to keep signal enters
Relative operation with guarantee to Self-variation and be superimposed AC ripple signal peak value and valley carry out dynamic following.
It is the time domain waveform of the detection signal Vin of corresponding this programme and the dynamic peak value of corresponding detection output shown in Fig. 2
With the time domain waveform of valley.The dynamic peak value and valley of the time domain waveform of contrasting detection signal Vin and corresponding detection output when
Domain waveform, it can be seen that when the variation tendency for detecting signal changes, this corresponds to the dynamic peak value or valley of detection output
It is to maintain invariable a period of time, this period is exactly the timing that can reset timing circuit.By this section of timing
Afterwards, the dynamic peak value or valley for detecting output change the dynamic peak value for following detection signal or valley.
The above list is only a few specific embodiments of the present invention for finally, it should also be noted that.Obviously, this hair
Bright to be not limited to above embodiments, acceptable there are many deformations.Those skilled in the art can be from present disclosure
All deformations for directly exporting or associating, are considered as protection scope of the present invention.
Claims (6)
1. the dynamic testing method of signal ripple peak value valley, it is characterized in that:
It is made of two acquisition holding circuits and two corresponding auxiliary circuits, two acquisition holding circuits are respectively to acquire to keep
The Peak current (1) of signal and acquisition keep the valley circuit (2) of signal, and two auxiliary circuits are respectively that can reset timing circuit
(3) and magnetic hysteresis return difference amount control circuit (4);
Acquisition keeps the Peak current (1) of signal to be used to acquire the peak value for keeping signal;Acquisition keeps the valley circuit (2) of signal
For acquiring the valley for keeping signal;
Timing circuit (3) and magnetic hysteresis return difference amount control circuit (4) can be resetted to guarantee that acquisition keeps the Peak current (1) of signal
It keeps the valley circuit (2) of signal that can work normally with acquisition and dynamic following Self-variation and is superimposed AC ripple signal
Peak value and valley;
It is to Self-variation and to be superimposed the signal of AC ripple in the increase of its own value that acquisition, which keeps the Peak current (1) of signal,
When, it is accordingly increased when increasing its dynamic peak value and carries out Refresh Data;And when its dynamic valley is correspondingly subtracted
Hour, acquisition keeps the Peak current (1) of signal by resetting timing circuit (3) and magnetic hysteresis return difference amount as auxiliary circuit
The Supervised Control of control circuit (4) also reduces its corresponding dynamic valley accordingly and carries out Refresh Data;Equally certainly
Body changes and is superimposed the signal of AC ripple when its own value reduces, and acquisition keeps the valley circuit (2) of signal to its dynamic
Valley is correspondingly reduced and carries out Refresh Data;And acquisition keeps signal when its dynamic peak value is correspondingly increased
Valley circuit (2) is by the supervision control for resetting timing circuit (3) and magnetic hysteresis return difference amount control circuit (4) as auxiliary circuit
System also accordingly increases its corresponding dynamic valley and carries out Refresh Data;The Peak current of acquisition holding signal in this way
(1) and acquisition keep signal valley circuit (2) respectively obtain Self-variation and be superimposed AC ripple signal dynamic peak value and
Valley.
2. the dynamic testing method of signal ripple peak value valley according to claim 1, it is characterized in that described reset is determined
When circuit (3) are as follows:
Since acquisition keeps the detection circuit of the Peak current (1) of signal and valley circuit (2) composition of acquisition holding signal
The initial value for exporting peak value and valley is zero, and acquisition keeps the Peak current (1) of signal and the valley electricity of acquisition holding signal
Road (2) captures and establishes corresponding peak value and valley needs the time;In addition Self-variation and it is superimposed the variation of AC ripple signal
When trend is zero, needs to acquire the Peak current (1) for keeping signal and acquisition keeps the valley circuit (2) of signal respectively for inspection
Corresponding peak value and valley is established independently in the signal of survey;Therefore timing circuit (3) can be resetted to guarantee to adopt by needing to increase by one
Collection keeps the Peak current (1) of signal and acquisition to keep the valley circuit (2) of signal at the appointed time respectively for detection
Corresponding peak value and valley is established independently in signal;The timing that timing circuit (3) can be resetted is greater than peak value, valley with each
The a quarter period planting combination of frequency form and occurring in cycles, to guarantee to capture the corresponding peak value of extreme value of regional area
And valley;Due to being that can reset timing circuit (3), when Self-variation and the variation tendency that is superimposed AC ripple signal becomes increasing
Or when reducing, dynamic valley, dynamic peak value Refresh Data signal make can to reset again timing circuit (3) reset and to stop timing electric
Road function.
3. the dynamic testing method of signal ripple peak value valley according to claim 1, it is characterized in that the magnetic hysteresis return difference
Amount control circuit (4) are as follows:
The increase operation and reduction operation of dynamic peak value and dynamic valley relative operation constantly alternately, need in order to prevent
Increase by a magnetic hysteresis return difference amount control circuit (4) to avoid dynamic peak value and dynamic valley relative operation from increasing operation and reduce behaviour
Make constantly alternately, that is, only its corresponding dynamic valley should also be carried out when its dynamic peak value is increased monotonically
When the amount accordingly increased is greater than magnetic hysteresis return difference amount, just it is increased monotonically accordingly to its corresponding dynamic valley;Only when
The amount that should be also reduced accordingly when its dynamic valley carries out monotone decreasing to its corresponding dynamic peak value is greater than the magnetic hysteresis
When return difference amount, corresponding dull reduction just is carried out to its corresponding dynamic peak value;It can be effectively prevented and avoid in this way dynamic
Peak value and dynamic valley relative operation, which increase operation and reduce, to be operated constantly alternately.
4. the dynamic testing method of any signal ripple peak value valley according to claim 1~3, it is characterized in that:
The acquisition keeps the Peak current (1) of signal by forward-backward counter (11), digital analog converter (12) and comparator and to patrol
Circuit (13) are collected to constitute;The output of forward-backward counter (11) is the input of digital analog converter (12);Digital analog converter (12) it is defeated
It is corresponding peak value out;The output of digital analog converter (12) be comparator and the comparator in logic circuit (13) input it
One;Self-variation and the signal Vin for being superimposed AC ripple are another inputs of comparator;The output of comparator is controlled through logic circuit
The plus-minus of forward-backward counter (11) operates;The clock Ck frequency size that logic circuit in comparator and logic circuit (13) generates
Control determines the value added of acquisition holding circuit or the speed of decreasing value;The input terminal KP of logic circuit, which is controlled by, can reset timing
Circuit (3) and magnetic hysteresis return difference amount control circuit (4).
5. the dynamic testing method of any signal ripple peak value valley according to claim 1~3, it is characterized in that:
The timing portion that resets that timing circuit (3) can be resetted is that be made of multiple d type flip flops asynchronous resets plus coujnt
Device is constituted;
The counting pulse Cp frequency and d type flip flop number that timing circuit (3) generation can be resetted determine that its timing TD's is big
Small, d type flip flop number has to be larger than peak value, valley in the form of various combination of frequencies divided by the resulting value after counting pulse Cp frequency
And a quarter period occurred in cycles;The reset terminal Reset of each d type flip flop links together as reset terminal R;
During timer counter, occur if any reset signal, each d type flip flop is reset to zero until reset signal is opened after disappearing
Begin to carry out counting and timing;Timing TD control can reset the corresponding logic circuit in timing circuit (3) and protect to control acquisition
The Peak current (1) for holding signal is accordingly increased and is carried out the valley circuit (2) of Refresh Data and acquisition holding signal
Reduced accordingly and carries out Refresh Data.
6. the dynamic testing method of any signal ripple peak value valley according to claim 1~3, it is characterized in that:
The main magnetic hysteresis return difference amount control section of magnetic hysteresis return difference amount control circuit (4) includes positive feedback resistor R1, positive feedback resistor
R2, comparator;
One end of positive feedback resistor R1 is connected with the input quantity Voin of magnetic hysteresis return difference amount control circuit (4), the other end and comparator
+ end be connected;
One end of positive feedback resistor R2 and comparator+end is connected, the other end is connected with the output VK of comparator;
Comparator-end be connected with the Vref of magnetic hysteresis return difference amount control circuit (4);
Magnetic hysteresis return difference amount size is determined by the resistance value ratio of positive feedback resistor R1 and R2;Magnetic hysteresis return difference amount control circuit (4)
Input quantity Voin is the output quantity that acquisition keeps the Peak current (1) of signal or the valley circuit (2) of acquisition holding signal;Magnetic hysteresis
The Vref of return difference amount control circuit (4) is the corresponding peak value of corresponding set amount or valley;Its output quantity VKout controls magnetic hysteresis and returns
The corresponding logic circuit of residual quantity control circuit (4) keeps the Peak current (1) of signal to be accordingly increased to control acquisition
And the valley circuit (2) for carrying out Refresh Data and acquisition holding signal is reduced accordingly and carries out Refresh Data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610700884.0A CN106405199B (en) | 2016-08-19 | 2016-08-19 | The dynamic testing method of signal ripple peak value valley |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610700884.0A CN106405199B (en) | 2016-08-19 | 2016-08-19 | The dynamic testing method of signal ripple peak value valley |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106405199A CN106405199A (en) | 2017-02-15 |
CN106405199B true CN106405199B (en) | 2019-02-05 |
Family
ID=58005039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610700884.0A Active CN106405199B (en) | 2016-08-19 | 2016-08-19 | The dynamic testing method of signal ripple peak value valley |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106405199B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2129580Y (en) * | 1992-03-01 | 1993-04-14 | 天津大学 | Signal processor for arterial pressure |
CN1100858A (en) * | 1993-03-23 | 1995-03-29 | 莫托罗拉公司 | Method and apparatus for generating threshold levels in a radio communication device for receiving fourlevel signals |
US6111776A (en) * | 1991-12-30 | 2000-08-29 | Ioptics, Incorporated | Compact optical random access memory having multiple reflections |
CN101689387A (en) * | 2007-06-27 | 2010-03-31 | 松下电器产业株式会社 | Signal processing device |
CN102741659A (en) * | 2010-02-23 | 2012-10-17 | 三菱电机株式会社 | Digitization circuit for processing a detection signal |
CN102751879A (en) * | 2012-07-19 | 2012-10-24 | 魏其萃 | Method for controlling average output current at constant switching frequency in interrupted current mode |
CN103676622A (en) * | 2013-10-28 | 2014-03-26 | 中国电子科技集团公司第四十一研究所 | High-precision method and device for measuring interval between positive time and negative time |
CN105306020A (en) * | 2015-09-28 | 2016-02-03 | 南京航空航天大学 | Peak holding circuit for continuously detecting signal peak |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2003233126A1 (en) * | 2002-06-04 | 2003-12-19 | Koninklijke Philips Electronics N.V. | Dc-dc converter |
-
2016
- 2016-08-19 CN CN201610700884.0A patent/CN106405199B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6111776A (en) * | 1991-12-30 | 2000-08-29 | Ioptics, Incorporated | Compact optical random access memory having multiple reflections |
CN2129580Y (en) * | 1992-03-01 | 1993-04-14 | 天津大学 | Signal processor for arterial pressure |
CN1100858A (en) * | 1993-03-23 | 1995-03-29 | 莫托罗拉公司 | Method and apparatus for generating threshold levels in a radio communication device for receiving fourlevel signals |
GB2276475B (en) * | 1993-03-23 | 1996-07-17 | Motorola Inc | Method and apparatus for generating threshold levels in a communication device for receiving four-level signals |
CN101689387A (en) * | 2007-06-27 | 2010-03-31 | 松下电器产业株式会社 | Signal processing device |
CN102741659A (en) * | 2010-02-23 | 2012-10-17 | 三菱电机株式会社 | Digitization circuit for processing a detection signal |
CN102751879A (en) * | 2012-07-19 | 2012-10-24 | 魏其萃 | Method for controlling average output current at constant switching frequency in interrupted current mode |
CN103676622A (en) * | 2013-10-28 | 2014-03-26 | 中国电子科技集团公司第四十一研究所 | High-precision method and device for measuring interval between positive time and negative time |
CN105306020A (en) * | 2015-09-28 | 2016-02-03 | 南京航空航天大学 | Peak holding circuit for continuously detecting signal peak |
Non-Patent Citations (1)
Title |
---|
基于航空遥感数据的绿地信息提取与制图系统;高芳琴 等;《国土资源遥感》;20010615(第2期);第57-61页 |
Also Published As
Publication number | Publication date |
---|---|
CN106405199A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105379120A (en) | Capacitive proximity detection using delta-sigma conversion | |
WO2007149549A2 (en) | Configurable electronic controller for capacitance measurements | |
CN104777383A (en) | Non-invasive electrical load monitoring and load decomposing device | |
CN102902879A (en) | Synchronous phasor calculation method based on discrete Fourier transform (DFT) recursion of field programmable gate array (FPGA) hardware | |
CN103884445A (en) | Circuit for detecting temperature of power module of driver | |
CN103217572A (en) | Device and method for detecting voltage and zero crossing point of alternating current | |
CN103460060B (en) | Electric power metering device | |
US8228763B2 (en) | Method and device for measuring time intervals | |
DE102006041827B4 (en) | Method for determining a time interval | |
Jaiswal et al. | FDST‐based PQ event detection and energy metering implementation on FPGA‐in‐the‐loop and NI‐LabVIEW | |
CN103344854A (en) | Automatic test system and method for logical function device | |
CN106405199B (en) | The dynamic testing method of signal ripple peak value valley | |
CN106470507A (en) | Electromagnetic heating system and its surge detection means | |
CN102608410B (en) | Pulse generation circuit, voltage measuring circuit and voltage measuring method | |
CN103245366A (en) | Vibration signal differentiating circuit | |
Jena et al. | Intelligent relaying of UPFC based transmission lines using decision tree | |
CN209069996U (en) | A kind of intelligent electric energy meter having voltage dip monitoring function | |
CN217406515U (en) | Magnetic switch with filtering function | |
Real-Calvo et al. | Design of an intelligent electronic device to control a private microgrid | |
CN205901261U (en) | Circuit breaker control device | |
Bao et al. | Design of a short-circuit detection intelligent release using discrete wavelet algorithm | |
CN102721862B (en) | Method for reducing electric energy pulse jitter | |
CN109100564B (en) | Signal fluctuation detection circuit | |
CN106468968A (en) | Touch control correction system and touch control correction method | |
CN105514934A (en) | Output overvoltage protection method and output overvoltage protection system of non-direct output voltage voltage division setting circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |