Help me on RC circuit


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default

    Charge the capacitor via a constant current source. This will give you a linear curve.

  2. #2
    Join Date
    Jun 2007
    Posts
    56


    Did you find this post helpful? Yes | No

    Smile

    Mack: I am welcoming any other solution
    The circuit is to dampen sudden voltage changes of a potentiometer ( voltage divider ), what important is the linearity of the output


    Jerson: could you please tell me how to make constant current charging schematic that suit my need?
    Attached Images Attached Images  

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    I really cannot understand what will be the difference if the charge/discharge will be linear or exponential relative to the pot circuit. As long as the pot is at a position the capacitor will charge and stay at that charge. A new pot position will give little or more change at the output but then again it will stabilize at the new level.

    A current source will charge the capacitor linearly (Q=C*V, Q=I*t, t=C*V/I).

    But as is your example, I don't know how it can be accomplished or what the result would be. The Current source will charge the capacitor and then will stop function because there will be no current to flow untill you will change the pot to a higher level. For a lower level a second curent source would be needed to discharge.

    Ioannis
    Last edited by Ioannis; - 6th September 2007 at 07:56.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Does the voltage on pin#3 in your drawing change or is the change only from the pot position?
    Either way a ADC looks like the way to go. The capacitor in your drawing will serve to "dampen" any voltage change (in its range) making Vout smooth.

    If you have not used ADC before, take a look here.
    http://www.rentron.com/PICX2.htm
    http://www.rentron.com/PicBasic/LM34.htm
    http://www.rentron.com/serial.htm

    If you are expecting large spikes you would set up the voltage divider so that the maximum voltage in would still be a maximum of 5 volts out of the divider.

    The ADC is linear. With an 8 bit setup, 0 volts will read 0, 2.5 volts will read 127 and 5 volts will read 255. 10 bit will have a 1024 step range.

    If the voltage is never more than 5, say 3 volts. The reference voltage can be set for this and you will still have full scale.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2007
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Thanks for your responses

    Well , this is not a simple circuit indeed. I have found the explanation about it on Nutsvolt , February 2007,p20

    Thanks again

Similar Threads

  1. Circuit Design Question
    By bradb in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th August 2009, 08:18
  2. Short circuit portection circuit ?
    By iugmoh in forum Schematics
    Replies: 1
    Last Post: - 21st December 2008, 21:33
  3. Basic PIC circuit acting weird
    By FIONEX in forum General
    Replies: 3
    Last Post: - 9th October 2008, 01:04
  4. Circuit reliability issues
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd November 2007, 14:55
  5. Replies: 3
    Last Post: - 29th October 2006, 09:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts