1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

[enquiry]ALC and AGC

Discussion in 'Electronic Projects Design/Ideas/Reviews' started by elnino86, Dec 12, 2008.

  1. elnino86

    elnino86 New Member

    Joined:
    Nov 22, 2008
    Messages:
    120
    Likes:
    0
    Hye Audioguru,

    I had build a compandor circuit to help me understand in it concept.However ,i am still not getting into compandor.I building this circuit last week.Electronic Design Welcome

    As we can see at the web,it said the threshold is 1 V.But as i measured,the threshold is about 3.78 V rms. As a result, i am getting this kind of graph on my scope which i dont really know why. :confused:
     

    Attached Files:

  2. audioguru

    audioguru Well-Known Member Most Helpful Member

    Joined:
    Mar 16, 2004
    Messages:
    32,437
    Likes:
    933
    Location:
    Canada, of course!
    Your signal is severely distorted with its top half clipped off.
    The bias reference voltage for the opamp is probably too high.
     
  3. elnino86

    elnino86 New Member

    Joined:
    Nov 22, 2008
    Messages:
    120
    Likes:
    0
    On that paper,the designer using 5 V as a bias point.Im using half of my voltage supply which is 4.5 V.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. audioguru

    audioguru Well-Known Member Most Helpful Member

    Joined:
    Mar 16, 2004
    Messages:
    32,437
    Likes:
    933
    Location:
    Canada, of course!

    The circuit you found has RN connected to +5V which I think is wrong.
    In The Compandor Cookbook the resistor is connected to ground, not to a positive voltage.

    Try your circuit without RN.
     
  6. elnino86

    elnino86 New Member

    Joined:
    Nov 22, 2008
    Messages:
    120
    Likes:
    0
    hi audio guru..

    I already ground the RN as you suggested..the result that i get it weird too!!:confused:

    As i attached,the result and the input signal that i injected(RMS value).
     

    Attached Files:

  7. audioguru

    audioguru Well-Known Member Most Helpful Member

    Joined:
    Mar 16, 2004
    Messages:
    32,437
    Likes:
    933
    Location:
    Canada, of course!
    The circuit you found uses the biasing parts for a 6V supply but it wrongly has a 12V supply. Its Rx is +5V when it should be 0V.
    It has the inputs of the rectifier and the gain cell shorted together.
    Use the schematics in the datasheet and in the Cookbook instead.
     
  8. elnino86

    elnino86 New Member

    Joined:
    Nov 22, 2008
    Messages:
    120
    Likes:
    0
    Thanks for your recommendation.I've manage to get the output same as calculated in cookbook.

    I have question , in cookbook,the gain of compressor is depend on the input signal.And the max that i can get is gain at 3.Can i have unity gain for SA571?How i want to set the threshold at 50mV not 1V rms which is obtain fro th cookbook?
     
  9. elnino86

    elnino86 New Member

    Joined:
    Nov 22, 2008
    Messages:
    120
    Likes:
    0
    Hye audioguru..

    As i calculate..I need 1.08V peak to set the compressor to work as a unity gain..Below that point,the signal will greater than 1. From my understanding,it unused if i keep using commpressor if i want to limit the voltage at 1.08V.I almost give up with compressor thing..I had alot of trouble with the designing due to lack of understanding.

    Alternatively, i think i will replace compressor part with limiter.My objective is to avoid clipping at the earphone.As i see the application note for compandor,there also a limiter application but the threshold voltage is 1 V.How i want to change the threshold voltage since there is no calculation given on the application note.
     

    Attached Files:

  10. audioguru

    audioguru Well-Known Member Most Helpful Member

    Joined:
    Mar 16, 2004
    Messages:
    32,437
    Likes:
    933
    Location:
    Canada, of course!
    R7 and R8 and the resistance of the gain cell form an inverting opamp. If you reduce the value of R7 then it will be more sensitive.
     

Share This Page