+ Reply to Thread
Results 1 to 6 of 6

Thread: convert 0..+3.3V to a range of -5V..+5V

  1. #1
    robz Newbie
    Join Date
    Feb 2008
    Posts
    18

    Default convert 0..+3.3V to a range of -5V..+5V

    Got a question about converting voltages.

    i've got a +3.3V pwm signal out of my CPLD, convert it with a RC network to a maximum analog voltage of +3.3V (duty cycle 100%).

    Now i'am going to use the signal for creating an offset signal after a DAC circuit.

    This offset must be about -5V or +5V.. it also may be a little bit lower (4V should also work).

    so i want to convert the analog voltage of the RC network (0..+3.3V) to a range of -5V..+5V.

    Somebody got an idea how to do it? thank you...


  2. #2
    Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent
    Join Date
    May 2003
    Location
    Idaho, USA
    Posts
    6,723

    Default

    Quote Originally Posted by robz
    Got a question about converting voltages.

    i've got a +3.3V pwm signal out of my CPLD, convert it with a RC network to a maximum analog voltage of +3.3V (duty cycle 100%).

    Now i'am going to use the signal for creating an offset signal after a DAC circuit.

    This offset must be about -5V or +5V.. it also may be a little bit lower (4V should also work).

    so i want to convert the analog voltage of the RC network (0..+3.3V) to a range of -5V..+5V.

    Somebody got an idea how to do it? thank you...
    Do you have +/- supplies? You will need at least +/- 5V. +/-7V or higher will give you a wider choice of op amps. I'll try to post a schematic after you answer.
    Ron


  3. #3
    robz Newbie
    Join Date
    Feb 2008
    Posts
    18

    Default

    yep, i've got +/- 5V supply on my board. Because of the losses i think a range of +4..-4V must be possible to make.

  4. #4
    Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent
    Join Date
    May 2003
    Location
    Idaho, USA
    Posts
    6,723

    Default

    This circuit's output will swing within millivolts of the supply rails. The input impedance is very high, so your input can come directly from your PWM filter.
    If your +5V supply is accurate and stable, you can use the bottom circuit, instead of requiring the LM336.
    You can use a different op amp, so long as its output can swing rail-to-rail and it can handle +/-5V supplies.
    Attached Images
    Ron


  5. #5
    robz Newbie
    Join Date
    Feb 2008
    Posts
    18

    Default

    thank you very much! this is what i needed! i've got a stable 5V supply but i prefer a LM336.

  6. #6
    Diver300 Excellent Diver300 Excellent Diver300 Excellent Diver300 Excellent
    Join Date
    Oct 2007
    Location
    England
    Posts
    1,097

    Default

    You could convert the 0 - 3.3 V PWM signal to +/- 5 V while it is still a digital signal, before the RC network.

    That can easily be done with a MAX3232 or similar, and you don't need to mess around with an op-amp.

+ Reply to Thread

Similar Threads

  1. Z8 Encore Error index out of range
    By mootaccount in forum Micro Controllers
    Replies: 2
    Latest: 17th October 2006, 02:23 PM
  2. convert 5V to 3.3V, how?
    By sheing3003 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 9
    Latest: 11th July 2006, 12:47 PM
  3. Massive ERRORS in program. URGENT HELP NEEDED.
    By davepusey in forum Micro Controllers
    Replies: 8
    Latest: 18th May 2004, 04:13 AM
  4. Parts for convert signal line from 3.3v to 5v
    By mikemikemike in forum Datasheet/Parts Requests
    Replies: 1
    Latest: 5th January 2004, 02:55 AM
  5. 3.3v convert 5v and vice versa
    By mikemikemike in forum Electronic Projects Design/Ideas/Reviews
    Replies: 4
    Latest: 7th November 2003, 02:19 PM

Tags for this Thread