CN208043910U - A kind of novel peak-detector circuit - Google Patents
A kind of novel peak-detector circuit Download PDFInfo
- Publication number
- CN208043910U CN208043910U CN201820344186.6U CN201820344186U CN208043910U CN 208043910 U CN208043910 U CN 208043910U CN 201820344186 U CN201820344186 U CN 201820344186U CN 208043910 U CN208043910 U CN 208043910U
- Authority
- CN
- China
- Prior art keywords
- peak
- circuit
- output
- peak value
- nand gate
- 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
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
The utility model discloses a kind of novel peak-detector circuits, belong to electronic technology field.The utility model includes differential amplifier circuit, peak value comparison circuit, four NAND gate circuits and microcontroller;Differential amplifier circuit amplifies the analog signal of input;Peak value comparison circuit, including two-way comparator convert the input of amplified analog signal to digital signal output;Four NAND gate circuits, capture pulse output, whether detection peak-detector circuit is peak value;Microcontroller is used to regulate and control the operation of peak-detector circuit each section;The peak-detector circuit measures the peak value within period seclected time, the pulse number captured in record period, to judge whether the threshold value of microcontroller output is peak value.The utility model accelerates sampling rate using digital circuit, realizes high-frequency detection;Using microcontroller control and digital circuit, reduce peak detection error.
Description
Technical field
The utility model belongs to electronic technology field, and in particular to a kind of novel peak-detector circuit.
Background technology
It is required for peak detection technology come the burr capture for realizing waveform, high duty in many fields of scientific research, production
Detection than signal or impact signal detection.The complete waveform that routine sampling provides signal is shown, is not only increased in this way
Storage depth, it is also exactly so to be fully able to capture burr or incident.
Most commonly seen peak-detector circuit is a special hardware circuit, it stores signal in the form of voltage on capacitance
Peak value, speed is slow, be typically only capable to realize low frequency signal peak detection.Conventional peak detecting circuit is analog circuit,
During capacitor charge and discharge, rate is slow and output peak value there are certain errors.And in real work, it needs to adopt with as high as possible
Sample rate continuously samples signal, also larger to the peak detection demand of high-frequency signal.
Chinese patent application CN201120239466.9 discloses a kind of peak-detector circuit, using 36 line dual-in-line gold
Belong to case package, using HIC process, resistance makes for thick film technology, and capacitance is that piece pastes form, and operation is put
Big device, comparator, analog switch, trigger and monostable circuit are bare chip.The utility model provides a kind of peak detection
Circuit, but there are certain errors for and output peak value slow there is no the detection for solving the problems, such as high-frequency signal and rate.
Invention content
The utility model aim is:It is slow and defeated for the detection and rate that may be only available for low frequency signal in the prior art
The problem of going out peak error provides a kind of new novel peak-detector circuit.
Specifically, the utility model is realized using following technical scheme:Compare including differential amplifier circuit, peak value
Circuit, four NAND gate circuits and microcontroller;Differential amplifier circuit amplifies the analog signal of input;Peak value comparison circuit, including
Two-way comparator converts the input of amplified analog signal to digital signal output;Four NAND gate circuits, capture pulse are defeated
Go out, whether detection peak-detector circuit is peak value;Microcontroller is used to regulate and control the operation of peak-detector circuit each section;
The peak-detector circuit, peak value of the measurement within period seclected time, the interior pulse number captured of record period,
To judge whether the threshold value of microcontroller output is peak value.
Furthermore:The peak value comparison circuit is amplified analog signal the input phase potential difference for 180 ° of 2 tunnel institutes
It states analog signal to be exported respectively to the reverse side B1 of two-way comparator and reverse side B2, the given threshold value of microcontroller is as two-way
The input of comparator anode A1 and anode A2, A1=A2;
A1) if, the anode of two-way comparator input amplitude be more than reverse side, the output of two-way comparator is high level;
A2) if, the anode of two-way comparator input amplitude be less than reverse side, it is low electricity that two-way comparator, which only has one end output,
It is flat.
Furthermore:Four NAND gate circuit is capture pulse output, including NAND gate 1, NAND gate 2, NAND gate 3
With NAND gate 4;
B1), such as a1) two-way comparator output is high level, then NAND gate 4 exports constant high level, four with
NOT gate does not have low and high level saltus step, i.e., without capture pulse output;
B2), such as a2) to only have one end output be low level for the two-way comparator, then NAND gate 4 will produce height in gating
Level saltus step has capture pulse output.
Furthermore:It is described to judge whether the threshold value of microcontroller output is peak value;
When in strobe cycle without capture pulse input, reduce output threshold value;When capturing umber of pulse in strobe cycle
More than setting reference pulse number when, increase output threshold value;When capturing umber of pulse within the scope of the reference pulse number of setting, then
It can determine that output threshold value is to input the peak value of detecting circuit;Reference pulse number can be set according to actual conditions.
Furthermore:The two-way is relatively NEE521 chips.
The beneficial effects of the utility model are as follows:The utility model accelerates sampling rate using digital circuit, realizes high frequency
Detection;Using microcontroller control and digital circuit, reduce peak detection error.
Description of the drawings
Fig. 1 is the general structure schematic diagram of the peak-detector circuit of the utility model.
Fig. 2 is peak value comparison circuit schematic diagram.
Fig. 3 is four NAND gates capture impulse output circuit schematic diagram.
Specific implementation mode
It is described in further detail with reference to embodiment and with reference to attached drawing to the utility model.
Embodiment 1:
One embodiment of the utility model is a kind of novel peak-detector circuit.As shown in Figure 1, peak detection circuit
Include mainly differential amplifier circuit, peak value comparison circuit, four NAND gates capture impulse output circuit and microcontroller.
Differential amplifier circuit amplifies the analog signal detected;Peak value comparison circuit converts simulation input to digital defeated
Go out, to improve the precision of detection peak value, and improves the highest frequency of detection;Four NAND gates capture impulse output circuit is used for
Whether detection circuit is peak value;Microcontroller is used to regulate and control the operation of detecting circuit each section.The peak-detector circuit, can
Measure the peak value within period seclected time, the pulse number captured in record period, to judge to detect whether as peak value.
Comparator as shown in Figure 2 is using the chip for comparing performance with two-way, maximum by taking NE521 chips as an example
Delay only needs 12ns, has fast-response energy, detection maximum frequency is up to 80MHz.It should be noted that the present invention is not limited to
NE521 chips in above-described embodiment, can also be other chips, as long as can achieve the object of the present invention.
The 2 tunnel analog signals that phase difference by the differential amplification of differential amplifier circuit is 180 ° are exported to peak value respectively to be compared
The reverse side B1 and reverse side B2 of the comparator of circuit, the given threshold value of microcontroller is as comparator anode A1's and anode A2
Input, A1=A2.
When peak detection circuit works, microcontroller sends gate pulse to the input terminal of NAND gate 4.
If the anode input amplitude of comparator is more than reverse side, i.e. microcontroller output starting threshold value is believed more than simulation input
Number when, according to comparator chip characteristics, comparator output is high level.At this point, as shown in figure 3,1 input terminal of NAND gate is height
Level, then it is low level that the output of NAND gate 1, which is the input of NAND gate 2, and then NAND gate 2 exports high level, then NAND gate 3 is defeated
It is high level to enter end, and NAND gate 3 exports low level, and NAND gate 4 then exports constant high level, and four NAND gates are without height electricity
Flat saltus step, i.e., without capture pulse output.
If the anode input amplitude of comparator is less than reverse side, i.e. microcontroller output starting threshold value is believed more than simulation input
Number when, comparator export low level.Due to 2 180 ° of tunnel analog signal phase differences and threshold value is set as just always, thus basis
Comparator chip characteristics, it is low level that comparator, which only has one end output,.At this time four NAND gates capture impulse output circuit in
The input of NOT gate 1 has low level, then it is high level that the output of NAND gate 1, which is the input of NAND gate 2, and NAND gate 2 exports low level
To NAND gate 3, and then NAND gate 3 exports high level, and NAND gate 4 will produce low and high level saltus step in gating, that is, have capture pulse
Output.
Microcontroller judges whether the door restrictor of microcontroller output is peak value according to the capture pulse number in the period.It is sampling
Real-time tracking peak value in period.When in strobe cycle without capture pulse input, microcontroller judgement output threshold value is larger, subtracts
Small output threshold value.When capturing reference pulse number of the umber of pulse more than setting in strobe cycle, microcontroller judgement output thresholding
It is worth small, increase output threshold value.When capturing umber of pulse within the scope of the reference pulse number of setting, then output threshold value is can determine that i.e.
To input the peak value of detecting circuit.Reference pulse number can independently be set according to actual conditions.
Although the utility model has been described by way of example and in terms of the preferred embodiments, embodiment is not for limiting the utility model
's.In the spirit and scope for not departing from the utility model, it is new to also belong to this practicality for any equivalent change or retouch done
The protection domain of type.Therefore the scope of protection of the utility model should be mark with the content that claims hereof is defined
It is accurate.
Claims (4)
1. a kind of novel peak-detector circuit, it is characterised in that:Including differential amplifier circuit, peak value comparison circuit, four NAND gates
Circuit and microcontroller;Differential amplifier circuit amplifies the analog signal of input;Peak value comparison circuit, including two-way comparator, will
Amplified analog signal input is converted into digital signal output;Four NAND gate circuits, capture pulse output, detect peak detection
Whether circuit is peak value;Microcontroller is used to regulate and control the operation of peak-detector circuit each section;
The peak-detector circuit measures the peak value within period seclected time, the pulse number captured in record period, to sentence
Whether the threshold value of disconnected microcontroller output is peak value.
2. novel peak-detector circuit according to claim 1, it is characterised in that:After the peak value comparison circuit is amplification
Analog signal the input phase potential difference be that analog signal described in 180 ° of 2 tunnels is exported respectively to the reverse side B1 of two-way comparator and anti-
Phase end B2, input of the given threshold value of microcontroller as two-way comparator anode A1 and anode A2, A1=A2;
A1) if, the anode of two-way comparator input amplitude be more than reverse side, the output of two-way comparator is high level;
A2) if, the anode of two-way comparator input amplitude be less than reverse side, it is low level that two-way comparator, which only has one end output,.
3. novel peak-detector circuit according to claim 2, it is characterised in that:Four NAND gate circuit is capture arteries and veins
Punching output, including NAND gate 1, NAND gate 2, NAND gate 3 and NAND gate 4.
4. novel peak-detector circuit according to claim 1, it is characterised in that:The two-way is relatively NEE521 cores
Piece.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820344186.6U CN208043910U (en) | 2018-03-13 | 2018-03-13 | A kind of novel peak-detector circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820344186.6U CN208043910U (en) | 2018-03-13 | 2018-03-13 | A kind of novel peak-detector circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208043910U true CN208043910U (en) | 2018-11-02 |
Family
ID=63947627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201820344186.6U Active CN208043910U (en) | 2018-03-13 | 2018-03-13 | A kind of novel peak-detector circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208043910U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110501575A (en) * | 2019-08-02 | 2019-11-26 | 苏州大学 | The quick micro- capacitance measurement system of superhigh precision |
-
2018
- 2018-03-13 CN CN201820344186.6U patent/CN208043910U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110501575A (en) * | 2019-08-02 | 2019-11-26 | 苏州大学 | The quick micro- capacitance measurement system of superhigh precision |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101504431B (en) | Nanosecond on-line detection system for random pulse time sequence | |
CN104502684B (en) | A kind of totally digitilized peak value due in discrimination method | |
CN105301627B (en) | A kind of energy spectrum analysis method, energy spectrum analysis system and gamma-ray detection system | |
CN105306020A (en) | Peak holding circuit for continuously detecting signal peak | |
CN107121587B (en) | Peak value and over-peak time tracking detection circuit | |
CN208043910U (en) | A kind of novel peak-detector circuit | |
CN102043084B (en) | Method for detecting resistive current of lightning arrester | |
CN101498747A (en) | Wave crest and wave trough detection method and circuit | |
CN207164127U (en) | A kind of voltage peak detection circuit of numeral output | |
CN203287423U (en) | Narrow-pulse magnetic field peak detection structure | |
CN104300941A (en) | Nuclear impulse processing circuit | |
CN106707009B (en) | Wide-range high-precision current statistical circuit | |
CN104393851B (en) | Automatic gain control circuit applied to ultrasonic heat meter | |
CN106645881A (en) | Detection circuit capable of tracking peak value | |
CN208143207U (en) | A kind of narrow pulse peak using compensation network | |
CN105548641A (en) | Waveform triggering device and method and oscilloscope for waveform triggering | |
CN207336744U (en) | A kind of multistage high pass of pulse lidar holds resistance moment discrimination circuit | |
CN210690813U (en) | Analog-digital measuring circuit for time interval of pulse laser radar | |
CN108241129A (en) | Switching power supply output filter capacitor monitoring device and method | |
CN108398590B (en) | Digital output voltage peak value detection method | |
CN206193088U (en) | Detection circuitry of trackable peak value | |
CN105388364A (en) | Inductance measurement circuit | |
CN108872692A (en) | A kind of PWM wave duty cycle measurement method under the conditions of man-made noise | |
CN209446663U (en) | A kind of analog signal monitoring of peak device | |
CN209017004U (en) | A kind of circuit improving pulse signal signal-to-noise ratio |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |