Monday, September 10, 2012

OP-AMP (non-inverting) - LM324


An operational amplifier (op-amp) is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. (WIKIPEDIA)

Amplifier is a device which takes small voltage in input terminal and spits out large voltages in output terminal...

the gain of amplifier is the amount multiplied with input to produce the desired output...

for example if u take a 1V input and get 5v output then the gain of amlifier is =5

an OP-AMP has generally 5 important pins

i> inverting input 
ii> non-inverting input
iii> +Vcc
iv> -Vcc
v> OUTPUT

in input terminal only use signals ...

OP-AMPS can't creat voltage out of nothing!!! so we have to use a bit larger supply volatage than the desired output voltage

so if i have to get a 10V oupput then i have to use atleast 12V supply voltages... dont try to apply high voltage it may damage your device so always reffer the DATA SHEET


if your supply voltage s very less then you will get clipped OUTPUTS



smooth voltage sources are important for a amplifier to give a uniform output signal so use two suopply batteries, hooked up in series  with capacitors given below :




CLASSIC NON-INVERTING AMPLIFIER:


here we use a LM324 OPAMP with max current rating = 20mA

you can set the gain using resistors ...
the circuit diagram is given below




THE GAIN FORMULA :






for simplicity use R1=1k (fixed) and then choose R2 according to you gain......




CLICK HERE for the derivation of the gain formula ( find it in thr 9th page )

APPLICATION:

SPY-MICROPHONE

 a simple small microphone has a output signal of 20mV
and to run a EAR-BUD we need atleast 2V
so gain must be 100

using gain fomula r2= 100k
so gain= 101 nearly equal to 100

OK TIME TO UNDERSTAND THE CIRCUIT BLOCK BY BLOCK :




BLOCK A
use 9V supply to power up the mic and use R1 to limit the current

BLOCK B
is a high pass filter and the capacitor blocks the supplied 9v DC and passes the signal

BLOCK C
r2 and r1 is set to a gain of 100
so in output pin we get a 2V signal 

BLOCK D
10K variable resistor is used to change the supply voltage of LS(ear-bud) to control the volume 



2V output is sufficient to run the earbuds but can't run a LOUD SPEAKER as a loudspeaker needs high power supply which will kill the LM324 ..... so i have googled for a home theater OPAMP and found LM1875 OPAMP, which is great for loud sounds in your home.....you can supply more voltages and use high valued resistors to get LOOUUDDDDD SOUNDDDDDD!!!!!!!!!! the circuit diagram is same for both LM324 N' LM1875



DERIVATION OF GAIN( NON INVERTING) 
*video will be uploaded soon 

13 comments:

  1. NIce one...really love your site and your explanations even to the basis...but how did you get the output to be 2V from block C

    ReplyDelete
    Replies
    1. actually i measured the output of mic to be 0.02 Volts.. but to listen music from an ear bud we need 2 volt. so i used the opamp of gain=100 thats why the output was
      100 x 0.02 = 2 volts

      Delete
  2. hi
    i am trying to use an lm741 op amp to amplify signals from a coil.
    my main intention is to make a metal detector
    my coil induces 2 mV
    i need atleast 1.5V to light an LED
    please help me

    ReplyDelete
  3. hi Aditya
    you explain very simply - thanks
    how do you get a buffer non inverting single supply LM324 config?

    ReplyDelete
    Replies
    1. buffer connection is used to avoid loading effect. simply connect output port with inverting terminal ( to ensure -ve feedback). because of virtual short if you give input at non inverting terminal the input will be reflected at output

      Delete
  4. Isnt the lm324 a single supply op amp?

    ReplyDelete
  5. nyc description about the operational amp well done

    ReplyDelete
  6. Thanks for simple explanation. When to use inverting input of op-amp and when to use non inverting input pin ? Which situations ? Also can i drive an led from the op-amp output or a 25 ma relay coil directly ?

    ReplyDelete
    Replies
    1. 1)if input is given at non inverting (+) terminal then input impedance is relatively higher than inverting (-) one ... if need further clarification about this point then i will upload a video explaining it

      2)inverting amplifier can have gain less than 1 i.e. attenuator but non inverting configuration has guaranteed gain of greater than 1


      3) inverting amplifier has better slew rate etc


      no dont drive an LED directly from output port.. most of the configuration of opamp are voltage controlled i.e. output voltage is independent of load so to limit current use resistor

      Delete
  7. Thanks for the great explanation...Can you run this circuit on a single 9v battery?

    ReplyDelete
    Replies
    1. if you want me to post other tutorials plz give your valuable suggestions and feedbacks ( -ve feedback is good :) )

      Delete