• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Sensors and Detectors / Simple Peak Detector Circuit to Detect and Hold Peak Voltage Levels

Simple Peak Detector Circuit to Detect and Hold Peak Voltage Levels

Last Updated on May 31, 2024 by Swagatam 9 Comments

In this article I have explained about a peak detector circuit, its working principle and how to implement it in clap operated circuits for illuminating an LED in response to clap sounds.

Table of Contents
  • What is Peak Detector
  • How it works?
  • Clap Sensor circuit: 
  • How to Measure the Peak Voltage in a Peak Detector Circuit
  • How it Works

What is Peak Detector

A peak detector is a circuit which holds maximum amplitude value of a signal. If a signal varies rapidly and we are unable to measure it, then we go for peak detector. This circuit holds the maximum amplitude value for short period of time so that we can measure it.

There are many ways to do this and often used in many fields in electronics where rapid measurement is not viable.

For instance, taking heat gun thermometer as example, where the temperature of an object may vary rapidly at some situations, the peak value of temperature and current value of temperature is displayed simultaneously so that user can get an idea about the object.

Similarly, there are many situations in electronics, where we may need to measure peak signals.

How it works?

Here, we are going to see simple peak detector circuit that consists of one diode, one capacitor and one resistor.

The diode permits the current in one direction, which is to charge the capacitor.

When the input drops the capacitor holds the value for a short period which gives some time to measure the peak. Here the short period could be ranging from a few milliseconds to a few seconds.

The values need to be refreshed time to time so that new values can be stored. To do this we need to discharge the capacitor. A bleed resistor is connected parallel to capacitor which discharges.

peak 2

The capacitor discharge time can be calculated by the following formula:

T = 5 x C x R

Where, T is time in seconds

C is capacitance in Farad

R is resistance in Ohm

Clap Sensor circuit: 

Here, we will implement the peak detector in a clap sensor circuit. This circuit responds to loud busts of sound such as clap.

There are three stages in this circuit, the microphone amplifier, peak detector and op-amp circuit that detects peak.

The sound gets converted to electrical signal by the microphone, gets amplified by op-amp. The amplified signal enters the peak detector circuit and charges the capacitor. The peak value stored in the capacitor becomes the peak input minus 0.7V for silicon diodes, since there will be always voltage drop across diode.

Scan 5

The value stored in the capacitor gets recognized by op-amp comparator circuit.

As soon as the peak value goes above reference voltage the LED turns ON.

As soon as the capacitor is discharged below reference voltage the LED turns OFF.

So, what was the role of peak detector in this circuit? Well, it holds the clap signal for few 100 milliseconds which helped the LED to stay illuminated for a few 100 milliseconds. If you wish LED to light longer, it can be done by incrementing capacitance and resistor values.

How to Measure the Peak Voltage in a Peak Detector Circuit

If you are wondering how to measure the peak level in a peak level circuit, you can take the help of the following circuit diagram:

how to measure peak level in a peak detector circuit

The above diagram shows a simplest peak voltage level detector circuit with a voltmeter which can be used to measure the peak levels of an input signal.

How it Works

Let's imagine, initially the charge stored inside the 100uF is zero, which means there's zero voltage across the capacitor and pin#2 of the op amp.

In this situation if an input signal is applied, a peak voltage of even a 0.2V will be enough to cause the non-inverting pin#3 of the op amp to become higher than its inverting pin#2.

Due to this the output pin#6 will instantly go high, however it cannot reach the Vcc supply level of 12V. Because the moment the output exceeds the 0.2V mark it is fed back to pin#2.

This exceeding potential level at pin#2 which tends to get higher than the instantaneous 0.2V signal input at pin#3, causes the op amp output to revert to 0V. Thus the peak level is locked at 0.2V across the capacitor.

The capacitor being charged at 0.2V holds this value for a certain amount of time, which can read on the meter, connected across the capacitor.

Now, in the meantime if a new peak voltage arrives at pin#3 higher than 0.2V through the input signal, it causes the output to yet again turn high. Let's say the new peak is 1V.

Due to the fact this new 1V at pin#3 is higher than the existing 0.2V at pin#2, causes the output pin#6 to become high.

As pin#6 gets high, its voltage level yet again tries to move towards 12V (Vcc), but the moment it exceeds 1V, it makes pin#2 higher than pin#3, which quickly reverts the output to zero volts.

The new peak of 1V is now stored inside the capacitor and displayed on the meter.

You'll also like:

  • 1.  9 Simple Metal Detector Circuits Explained
  • 2.  3 Sound Activated Switch Circuits Explained
  • 3.  Tuned Infrared (IR) Detector Circuit
  • 4.  How to Connect an IR Photodiode Sensor in a Circuit
  • 5.  Anti Spy RF Detector Circuit – Wireless Bug Detector
  • 6.  Simple Shadow Sensor Alarm Circuit

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Small Induction Heater for School Project
Next Post: Op Amp Battery Charger Circuits with Auto Cut Off »

Reader Interactions

Comments

  1. jhjh says

    February 13, 2025 at 9:16 pm

    hi sir
    can i uesd this schematic for 100hz pulse Voltage in a Peak Detector thank you

    Reply
    • Swagatam says

      February 14, 2025 at 8:14 am

      Hi jhjh, yes you can use the above circuits with 100Hz frequency.

      Reply
  2. Joe Gabriel says

    May 28, 2024 at 11:15 am

    Hi sir, can I use a Fluctuating voltage signal instead of the mic, so as to detect the time period of voltage rising, peak value of voltage and indication of peak value using an LED. if so can you suggest the necessary circuit conditions and connections i need to take

    Reply
    • Swagatam says

      May 28, 2024 at 11:31 am

      Hi Joe,
      You can use a fluctuating voltage as the input.
      In that case you can remove the MIC and the series 1k resistor, and apply the input voltage directly to the 0.1uF.

      Reply
      • Joe Gabriel says

        May 28, 2024 at 11:43 am

        Also sir, how to calculate the time it took to reach the peak, because fluctuating signal is such that its decreasing first from 5v, and after a particular point it rises to a peak within 5v, and goes to zero. So the time it took to reach the peak from the rising point needs to be calculated….is there any way for that sir

        Reply
        • Swagatam says

          May 28, 2024 at 1:05 pm

          Hi Joe,
          Measuring the peak time can be very difficult, I have no idea how to solve it right now.

          Reply
  3. Martinmwangi says

    April 2, 2023 at 5:13 pm

    Well explained

    Reply
  4. ainsworth lynch says

    May 27, 2018 at 10:16 pm

    Good Day,
    Can this be used on an amplifier circuit? I need a simple peak detector circuit or a vu meter with about 4 led’s

    Reply
    • Swagatam says

      May 28, 2018 at 8:20 am

      Good day, yes it can be used according to me….

      Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on EGS002 Datasheet, Circuit Diagram Explained
  • Swagatam on How to Make IC LM339 Circuits
  • Swagatam on How to Make Dog Barking Preventer Circuit using High Frequency Deterrence
  • Swagatam on How to Buy and Use RF Remote Control Modules – Control Any Electrical Gadget Remotely
  • Swagatam on How to Generate PWM Using IC 555 (2 Methods Explored)

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations