+ Reply to Thread
Results 1 to 5 of 5

Thread: converting active low pulses to DC

  1. #1
    ikalogic Good ikalogic Good ikalogic Good
    Join Date
    Dec 2003
    Location
    Limoges, France
    Posts
    632

    Default converting active low pulses to DC

    hello... this may seems a litle strange, but i need to convert some input that is 4Khz and 10% duty cycle to a clean DC


    as you can see in the diagram, the pulses are 'low', so i want the output of this circuit to be 0 when there are puses detected, and 5v otherwize.. it's kind of a simple data holding...

    i want to keep it simple with capacitors, i know there are many many many ICs to do the job. Please don't suggest any.

    precision is not a problem, specialy about the time at which the output will swing from a state to another.

    If it works, is there any danger the capacitor sends destructive currents through the diode D1?

    Again, if the idea is correct, what or how to calculate the value of R1 and C1.


    I case you want to know, the input of this circuit is actualy the ouput of a proximity sensor...

    thanks in advance...
    Ibrahim Kamal
    check my electronics and robotics page: http://www.ikalogic.com/


  2. #2
    kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent
    Join Date
    Jul 2006
    Location
    Victoria BC, Canada
    Posts
    3,681

    Default

    the pulses are 'low', so i want the output of this circuit to be 0 when there are puses detected, and 5v otherwize.
    It won't be 0V. More like 0.7-0.8V depending on R,C and duty cycle.
    If it works, is there any danger the capacitor sends destructive currents through the diode D1?
    Yes.... To minimize this, put a resistor in series with the input line. You also want to limit the max current that the proximity sensor will have to supply. The series resistor will do this.
    Again, if the idea is correct, what or how to calculate the value of R1 and C1.
    It depends on many things. The frequency, input and output impedances, acceptable risetime on output, and the minimum duty cycle you wish to detect.
    Inside every little problem, is a big problem trying to get out.

  3. #3
    ikalogic Good ikalogic Good ikalogic Good
    Join Date
    Dec 2003
    Location
    Limoges, France
    Posts
    632

    Default

    Thanks a lot!

    Quote Originally Posted by kchriste
    It won't be 0V. More like 0.7-0.8V depending on R,C and duty cycle.
    any idea how to make it less than 0.7 v?
    Quote Originally Posted by kchriste


    Yes.... To minimize this, put a resistor in series with the input line. You also want to limit the max current that the proximity sensor will have to supply. The series resistor will do this.

    It depends on many things. The frequency, input and output impedances, acceptable risetime on output, and the minimum duty cycle you wish to detect.
    does any body has one of the simulators and run this circuit and see the optimal values of R and C....? that would be very nice... i don't have any
    Ibrahim Kamal
    check my electronics and robotics page: http://www.ikalogic.com/

  4. #4
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,795

    Default

    I suggest you try using a 555 timer as a 'missing pulse detector' - this will give a logic output, one way with the pulses, and the other way without the pulses - which I presume is what you're after?.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  5. #5
    ikalogic Good ikalogic Good ikalogic Good
    Join Date
    Dec 2003
    Location
    Limoges, France
    Posts
    632

    Default

    Quote Originally Posted by Nigel Goodwin
    I suggest you try using a 555 timer as a 'missing pulse detector' - this will give a logic output, one way with the pulses, and the other way without the pulses - which I presume is what you're after?.
    Exactly! how didn't i think about that before ??!!

    thx
    Ibrahim Kamal
    check my electronics and robotics page: http://www.ikalogic.com/

+ Reply to Thread

Similar Threads

  1. Speedometer
    By Kiko in forum Micro Controllers
    Replies: 131
    Latest: 29th November 2007, 05:33 PM
  2. 24 to 12 volt Dc to Dc converter
    By windozeuser in forum General Electronics Chat
    Replies: 4
    Latest: 30th January 2007, 02:15 AM
  3. Need some help with a code provided by ATMEL
    By ikalogic in forum Micro Controllers
    Replies: 1
    Latest: 23rd January 2007, 02:46 PM
  4. IC`s that can produce spesified number of pulses?
    By biindy in forum Electronic Projects Design/Ideas/Reviews
    Replies: 11
    Latest: 20th October 2005, 01:43 PM
  5. Triac Gate Pulses
    By pop in forum General Electronics Chat
    Replies: 0
    Latest: 15th February 2005, 10:54 PM

Tags for this Thread