Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Peak detector is not working when there is change in voltage.

Status
Not open for further replies.

veerubiji

Full Member level 2
Joined
Feb 24, 2011
Messages
122
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,301
Hi,

I am trying to design a peak detector in Multisim simulation tool. I have designed buffered peak detector to get peak voltage of sine signal. The designed circuit is working when signal voltage is constant, for example when signal voltage changes from 1V to 0.5V then it is giving 2V as peak detector output. The designed circuit as shown below.
circuit.png

In the above circuit I am using switch to change the voltage of sine wave from 1V to 0.5V. I am using one more switch to clip negative cycle of sine wave, then i am using buffered peak detector to get maximum voltage.

When i apply 1V sine wave it is working perfectly and giving peak voltage as DC. The problem is when I change signal voltage from 1V to 0.5V then also it is giving 1V as peak. ANy one suggest me what mistake i am doing. I want to design peak detector that will give max voltage even there is voltage variations.
 

keith1200rs

Super Moderator
Staff member
Joined
Oct 9, 2009
Messages
10,877
Helped
2,064
Reputation
4,128
Reaction score
1,597
Trophy points
1,403
Location
Yorkshire, UK
Activity points
57,276
How do you reset the peak detect - there is no reset switch or capacitor discharge path?

Keith
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,670
Helped
14,079
Reputation
28,415
Reaction score
12,742
Trophy points
1,393
Location
Bochum, Germany
Activity points
276,946
A peak detector needs a reset mechanism, usually a discharge time constant. Unfortunately it will cause a voltage ripple with constant input voltage. There are more complex circuits to avoid this effect, e.g. using filters, sample and hold circuits. You should start with a specification of intended circuit behaviour.
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
In addition to what was said above keep in mind that the type of OPAM used in your project requires +/- supply to deal with input signals below 0V, so add another 12V source acting as -12V (-V) ..

:wink:
IanP
 

veerubiji

Full Member level 2
Joined
Feb 24, 2011
Messages
122
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,301
A peak detector needs a reset mechanism, usually a discharge time constant. Unfortunately it will cause a voltage ripple with constant input voltage. There are more complex circuits to avoid this effect, e.g. using filters, sample and hold circuits. You should start with a specification of intended circuit behaviour.
I have small doubt if i add resistor to discharge capacitor C1, is there any formula to calculate charging and discharging time. My voltage will vary at every 100 ms thus peak detector has to give max peak? the voltage will vary in-between 0-2V at every 100ms. So how to find the exact values of capacitor and resistor combination? is it 1/2*pi*R*C?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top