+ Reply to Thread
Results 1 to 9 of 9

Thread: Inductor and Capacitor

  1. #1
    Marks256 Excellent Marks256 Excellent Marks256 Excellent Marks256 Excellent Marks256 Excellent
    Join Date
    Jul 2006
    Location
    Minnesota, USA
    Posts
    2,390

    Default Inductor and Capacitor

    What does the following circuit produce at AVCC? I know absolutely nothing about inductors at the moment, so i have no idea

    AVCC is connected to AVCC pin on an Atmega16.




    Thanks
    There is no "I" in "team", unless Apple makes it... Then it would be iTeam.


  2. #2
    confounded Newbie
    Join Date
    Feb 2009
    Location
    london
    Posts
    204

    Default

    theoretically there is no energy loss and so assuming zero state when you turn on you will get a sinosoidal wave of peak amplitude 2*Vc after Π/ω across the capacitor.

    ω=√1/LC

    As there is actually a resistance in real life but its small. After turn on you will get a decaying sinosoid until you just have Vcc across capacitor.

    Assuming Vcc is a DC voltage and connection to AVCC is infinite resitance
    Last edited by confounded; 21st June 2009 at 04:18 PM.

  3. #3
    MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent
    Join Date
    Mar 2009
    Location
    Utah
    Posts
    2,864

    Default

    It is a low-pass power-supply filter intended to keep any spikes that might be on Vcc from appearing on the Atmega's VCC pin. The series inductor presents a high impedance by resisting a sudden change in current flow through it. The shunt capacitor resists any sudden change in voltage at AVCC.

    And after simulating it, it is a piss-poor filter, because the damping is way too low. Look at the attached plots. I compare two "improved" versions to the original. Note that the vertical scale of the AVCCn plots are not the same.

    AVCC2 looks the cleanest, but requires a large inductor. AVCC3 is not bad, but degrades the voltage regulation. AVCC1 (the original) is horrible!
    Attached Images
    Last edited by MikeMl; 21st June 2009 at 04:59 PM.

  4. #4
    Marks256 Excellent Marks256 Excellent Marks256 Excellent Marks256 Excellent Marks256 Excellent
    Join Date
    Jul 2006
    Location
    Minnesota, USA
    Posts
    2,390

    Default

    Quote Originally Posted by MikeMl View Post
    It is a low-pass power-supply filter intended to keep any spikes that might be on Vcc from appearing on the Atmega's VCC pin. The series inductor presents a high impedance by resisting a sudden change in current flow through it. The shunt capacitor resists any sudden change in voltage at AVCC.

    And after simulating it, it is a piss-poor filter, because the damping is way too low. Look at the attached plots. I compare two "improved" versions to the original. Note that the vertical scale of the AVCCn plots are not the same.

    AVCC2 looks the cleanest, but requires a large inductor. AVCC3 is not bad, but degrades the voltage regulation. AVCC1 (the original) is horrible!
    Thank you for the response! But what exactly am I looking at on those graphs?

    edit:

    i understand that R1, R2, and R3 simulate a load, and V1 is a poor voltage source, but i still do not understand what the graphs of avcc1, avcc2, and avcc3 say about the filter.
    Last edited by Marks256; 21st June 2009 at 05:16 PM. Reason: additional information
    There is no "I" in "team", unless Apple makes it... Then it would be iTeam.

  5. #5
    confounded Newbie
    Join Date
    Feb 2009
    Location
    london
    Posts
    204

    Default

    Can you post the .asc file of that LTspice model please mike, i'd like to learn from it

  6. #6
    MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent MikeMl Excellent
    Join Date
    Mar 2009
    Location
    Utah
    Posts
    2,864

    Default

    Quote Originally Posted by Marks256 View Post
    ...
    i understand that R1, R2, and R3 simulate a load, and V1 is a poor voltage source, but i still do not understand what the graphs of avcc1, avcc2, and avcc3 say about the filter.
    The goal is to provide "pure" DC to AVDD. For example, suppose your Atmega chip has an AnalogDigitlalConverter inside it. Chances are that AVDD could be used as the reference for the ADC, meaning that any noise on it will contaminate the AD conversion, or possibly perturb internal registers and clocks. The less that AVDD changes due to external noise; the better. So the peak-to-peak voltage variation of AVDD is a quantitative means of comparing different methods of filtering the voltage applied to the AVDD pin.

    asc file is attached.
    Attached Files
    Last edited by MikeMl; 21st June 2009 at 08:52 PM.

  7. #7
    confounded Newbie
    Join Date
    Feb 2009
    Location
    london
    Posts
    204

    Default

    Thank you Mike

  8. #8
    Marks256 Excellent Marks256 Excellent Marks256 Excellent Marks256 Excellent Marks256 Excellent
    Join Date
    Jul 2006
    Location
    Minnesota, USA
    Posts
    2,390

    Default

    Quote Originally Posted by MikeMl View Post
    The goal is to provide "pure" DC to AVDD. For example, suppose your Atmega chip has an AnalogDigitlalConverter inside it. Chances are that AVDD could be used as the reference for the ADC, meaning that any noise on it will contaminate the AD conversion, or possibly perturb internal registers and clocks. The less that AVDD changes due to external noise; the better. So the peak-to-peak voltage variation of AVDD is a quantitative means of comparing different methods of filtering the voltage applied to the AVDD pin.

    asc file is attached.
    Ok so the inductor/capacitor setup is just ensuring that AVDD is stable/clean. I see now. Once i get a few other things to learn off my plate, i'll take a deeper look into inductors. Thanks mike
    There is no "I" in "team", unless Apple makes it... Then it would be iTeam.

  9. #9
    im_in_asia_now Newbie
    Join Date
    May 2009
    Posts
    34

    Default

    This is a choke input filter.

    The purpose of the (choke) inductor is to provide a stable current. This opposes any instability from VCC. If VCC is stable DC then AVCCInd will build up a magnetic field and let the DC pass. When there is a drop in current from VCC, the inductor discharges current from its magnetic field to keep the current at AVCC more stable.

    The capacitor will oppose changes in voltage. If VCC were stable DC, then AVCC.c would charge to maximum capacity and then act as an open, allowing all the stable DC to flow to AVCC. If there is a drop in voltage at VCC, then the capacitor discharges its built up voltage into AVCC.

    The inductor and capacitor work together to stabilize AVCC. Generally, the larger the values of the capacitor and incuctor are, the higher their maximum charge capacities will be, and AVCC will be more stable. If VCC is somewhat stable, and changes in current or voltage are brief and small, then lower values for the cap and inductor would be sufficient. If VCC is constantly pulsing at 60 hz or 120 hz, and changes in voltage and current are high (like after rectification of AC), then larger values for the inductor and capacitor would give better stability.
    Last edited by im_in_asia_now; 22nd June 2009 at 04:52 PM.

+ Reply to Thread

Similar Threads

  1. Inductor vs Capacitor energy transfer prediction
    By Armagdn03 in forum General Electronics Chat
    Replies: 10
    Latest: 9th May 2009, 05:34 AM
  2. capacitor & inductor
    By mohammed elzaq in forum General Electronics Chat
    Replies: 3
    Latest: 22nd July 2005, 12:46 PM
  3. Any color code chart for capacitor and inductor
    By shermaine in forum General Electronics Chat
    Replies: 1
    Latest: 27th July 2003, 10:20 PM
  4. Testing of Capacitor, Resistor and Inductor
    By shermaine in forum General Electronics Chat
    Replies: 1
    Latest: 27th July 2003, 09:58 PM
  5. Complete Chart for Resistor, Capacitor and Inductor
    By shermaine in forum General Electronics Chat
    Replies: 9
    Latest: 20th July 2003, 05:48 PM

Tags for this Thread