+ Reply to Thread
Results 1 to 14 of 14

Thread: DC signal to AC signal

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

    Default DC signal to AC signal

    I've been thinking about how to change a DC signal (from 0 to X volts) into an AC signal (from (-X/2) to X/2 volts).

    Instead of connecting the load between the DC signal and ground, I considered connecting the load between a DC signal and a second DC voltage (X/2).

    Ok, so going off of a DC signal project everybody's familiar with, I tampered with a 555 circuit, using a ~50% duty cycle (How can I make square wave pulses have a 50% duty cycle?) and finally came up with this:

    DC signal to AC signal-555-ac-square-wave.jpg

    The signal is taken from between R1 and R2 and is an AC square wave at about -4 to 4 volts, where the original DC square wave is about 0 to 12 volts.

    And I realise, this is just a simulation. So if this wouldn't really work in practice, by all means just let me know.

    DC signal to AC signal-555-ac-square-wave-osc.jpg

    An explanation of the extra parts:

    D1 is used to achieve a ~50% duty cycle
    D2 is used to prevent a negative voltage on 555 pin 3 (not sure if this is even necessary, and it reduces the final output voltage)

    R1 and R2 are the voltage divider network to create the AC square wave.

    V2 is a negative voltage source, not sure if this will even work correctly in practice.

    R3 is used to prevent a short between pos and neg terminals of the two voltage sources.

    Please share your thoughts:

    How much does this idea suck and what are some other ways to change a DC signal into an AC signal?

    How ineffecient is this setup (where does it waste too much power) and what are the most obvious ways to improve it (if its worth improving on)?

    Thanks

    edit: asc:

    555 AC Square Wave.asc
    Last edited by im_in_asia_now; 24th June 2009 at 01:22 PM.


  2. #2
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,821
    Blog Entries
    13
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

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

    Default

    I don't see how a Voltage to Frequency Converter could change a DC square wave to an AC square wave...

    I could use an oscillator and a shmitt trigger to create an AC square wave, but I was considering how to change a DC signal into an AC signal of the same shape. Is changing DC signals to AC signals just something that has no use?

    No feedback on the 555 AC square wave circuit?
    Last edited by im_in_asia_now; 23rd June 2009 at 10:35 PM.

  4. #4
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,705
    Blog Entries
    5

    Default

    What are you trying to build?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

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

    Default

    I'm not planning to build it into a larger circuit, I was just interested in some ways to manipulate signals. Just basic electronic geek curiosity.

  6. #6
    smanches Excellent smanches Excellent smanches Excellent smanches Excellent smanches Excellent
    Join Date
    Mar 2009
    Location
    Oregon, USA
    Posts
    886

    Default

    Doesn't a cap block DC but let AC pass? That's all I know. :P

  7. #7
    BrownOut Excellent BrownOut Excellent BrownOut Excellent BrownOut Excellent BrownOut Excellent BrownOut Excellent BrownOut Excellent
    Join Date
    Jun 2009
    Location
    Huntsville, Alabama USA
    Posts
    2,174

    Default

    Quote Originally Posted by smanches View Post
    Doesn't a cap block DC but let AC pass? That's all I know. :P
    Yes. That's all you need.
    Lions and tigers and bears, OH MY!

  8. #8
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,821
    Blog Entries
    13

    Default

    Quote Originally Posted by im_in_asia_now View Post
    I don't see how a Voltage to Frequency Converter could change a DC square wave to an AC square wave...
    I've been thinking about how to change a DC signal (from 0 to X volts) into an AC signal (from (-X/2) to X/2 volts).

    Instead of connecting the load between the DC signal and ground, I considered connecting the load between a DC signal and a second DC voltage (X/2).
    If you read this section of your posts, there is no mention of a 'DC squarewave' only 'DC signal', which IMO means a DC voltage.?
    Last edited by ericgibbs; 24th June 2009 at 12:57 PM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

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

    Default

    I see what you're saying now.

    What I'm talking about is changing a DC wave signal (DC square wave, DC triangle wave, DC sin wave, etc. oscillating between 0 and X volts)- with a shape and frequency- into an AC wave signal of identical shape and frequency (oscillating between -Y and +Y volts).

    The way I would do this is by shifting the voltage of the signal. The schematic diagram I provided achieves this, changing a DC square wave from a 555 into an AC square wave with similar shape and identical frequency and phase.

    I just wanted to see what other ways there are to achieve this, and how practical the idea was. Maybe I should try posting in general electronics chat since this isn't a big project though.
    Last edited by im_in_asia_now; 24th June 2009 at 01:03 PM.

  10. #10
    smanches Excellent smanches Excellent smanches Excellent smanches Excellent smanches Excellent
    Join Date
    Mar 2009
    Location
    Oregon, USA
    Posts
    886

    Default

    It doesn't matter which forum you post in, except for general relevance. Most everyone reads all the forums anyway. This is why it is VERY discouraged to cross-post.
    Last edited by smanches; 24th June 2009 at 01:02 PM.

  11. #11
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,821
    Blog Entries
    13

    Default

    Quote Originally Posted by im_in_asia_now View Post
    I see what you're saying now.

    What I'm talking about is changing a DC wave signal (DC square wave, DC triangle wave, DC sin wave, etc. oscillating between 0 and X volts)- with a shape and frequency- into an AC wave signal of identical shape and frequency (oscillating between -Y and +Y volts).

    The way I would do this is by shifting the voltage of the signal. The schematic diagram I provided achieves this, changing a DC square wave from a 555 into an AC square wave with similar shape and identical frequency and phase.

    I just wanted to see what other ways there are to achieve this, and how practical the idea was. Maybe I should try posting in general electronics chat since this isn't a big project though.
    hi,
    I have just run you circuit in LTS, where on the circuit are you taking the output from.?
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

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

    Default

    The output is between R2 and R3.

    asc:

    555 AC Square Wave.asc

  13. #13
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,821
    Blog Entries
    13

    Default

    Quote Originally Posted by im_in_asia_now View Post
    The output is between R2 and R3.

    asc:

    Attachment 30725
    hi,
    Have you considered this method.?
    Attached Files
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  14. #14
    shimniok Newbie
    Join Date
    Feb 2008
    Location
    Centennial, CO, USA
    Posts
    258

    Default

    One thought is -- it's just a question of what you consider 'ground' when measuring. Let's say you take a 0 to +12V signal generated by a 555 using just a +12V supply and feed it thru two identical resistors in series (voltage divider, IOW) Now, arbitrarily call the node between the two resistors the ground. Now you have a +6 to -6V square wave.

    Otherwise, you'd need to find a way to convert a positive voltage into a positive and negative voltage. Like, alternately charge one of two capacitors from a +V source and turn around and use the caps to act as + and - voltage sources by whatever is consuming the power.

    I ran across this recently and it seems that a great way to do this would be with a LM2663 - Switched Capacitor Voltage Converter

    How to make that AC? Erm... use op amp signal generator(s) perhaps to generate square, sawtooth or sine waves... ?

    Michael
    Last edited by shimniok; 24th June 2009 at 06:19 PM.
    Michael Shimniok
    http://bot-thoughts.blogspot.com/
    Microcontrollers can solve world hunger, too!

+ Reply to Thread

Similar Threads

  1. converting a low volt tacho signal to a 12 volt signal
    By bundyloves in forum General Electronics Chat
    Replies: 3
    Latest: 20th November 2008, 07:42 AM
  2. RGB video signal +Sync signal
    By m_ghaff in forum General Electronics Chat
    Replies: 1
    Latest: 14th May 2006, 06:18 AM
  3. 0-25v AC signal into 0-10V DC
    By kavulas in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 29th December 2004, 10:52 AM
  4. Analogue Signal <=> Power Signal
    By devonsc in forum General Electronics Chat
    Replies: 5
    Latest: 2nd December 2004, 04:53 PM
  5. signal from LED
    By batman in forum Electronic Projects Design/Ideas/Reviews
    Replies: 4
    Latest: 22nd September 2003, 05:00 AM

Tags for this Thread