+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 23

Thread: Sinusoidal Phase Shift

  1. #1
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    Sinusoidal Phase Shift

    Hi,

    I am trying to phase shift a sinusoidal signal by a small amount (a degree or two), I am aware I could do this with some ADC and microprocessor. However I would like to do it with some simpler analogue electronics, I have been looking at an "all-pass filter", however my signal will have a varying frequency and therfore this will not work as an "all-pass filter" will only work for a certain frequency. Any ideas?

    Any help would be much appriciated?

    Thanks,
    Mark


  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,456
    Blog Entries
    9

    Quote Originally Posted by meastwood98 View Post
    Hi,

    I am trying to phase shift a sinusoidal signal by a small amount (a degree or two), I am aware I could do this with some ADC and microprocessor. However I would like to do it with some simpler analogue electronics, I have been looking at an "all-pass filter", however my signal will have a varying frequency and therfore this will not work as an "all-pass filter" will only work for a certain frequency. Any ideas?

    Any help would be much appriciated?

    Thanks,
    Mark
    hi Mark,
    What are the frequency limits, min/max and how 'accurate'.??
    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
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    Minimum frequency = 1Hz
    Maximum frequency = 100Hz

    I would estimate an accuracy of half a degree would be sufficient however i could probably work with a value worse than this.

    If you need any more info, let me know.

    Thanks,
    Mark

  4. #4
    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,456
    Blog Entries
    9

    hi,
    This very simple circuit accepts a 0.5Vpk sinewave signal and shifts it a few degrees.

    Over the range of 100Hz thru 1KHz the phase shift does vary a little.

    Do you use the LTspice simulator.?
    Attached Images
    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/

  5. #5
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    No, i use NI multisim to simulate circuits. Would it be possible to modify the circuit to run it from a 5v supply?

  6. #6
    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,456
    Blog Entries
    9

    Quote Originally Posted by meastwood98 View Post
    No, i use NI multisim to simulate circuits. Would it be possible to modify the circuit to run it from a 5v supply?
    It should be OK at +5V, the output swing will be reduced.

    Give it a try,,, the value of the 820R changes the amount of shift, try a few different values.

    Lets know how it goes.
    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/

  7. #7
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    Sorry, I fogot to mention my signal is a sinusoid that has an offset, its magnitude is 1.2v pk-pk and is offset 2.5v. That circuit works fine for a signal with no offset, can it be modified to work with my signal?

    Thanks,
    Mark

  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,456
    Blog Entries
    9

    Quote Originally Posted by meastwood98 View Post
    Sorry, I fogot to mention my signal is a sinusoid that has an offset, its magnitude is 1.2v pk-pk and is offset 2.5v. That circuit works fine for a signal with no offset, can it be modified to work with my signal?

    Thanks,
    Mark
    hi Mark,
    Is that a 'dc' offset of 2.5V.? , ie: its a 1.2Vppk superimposed on +2.5Vdc level.?

    Can you post your Sim circuit.?
    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
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    Yes so the peak value is 3.1v and the trough is 1.9v, I dont have a sim circuit, I just built up your circuit to test it.

  10. #10
    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,456
    Blog Entries
    9

    Quote Originally Posted by meastwood98 View Post
    Yes so the peak value is 3.1v and the trough is 1.9v, I dont have a sim circuit, I just built up your circuit to test it.
    hi,
    OK, I'll re-look at it.
    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/

  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,456
    Blog Entries
    9

    hi Mark,
    Just sims OK.
    The images are for 1KHz, 500Hz and 100Hz[ with the cct].

    The 2nd stage is bring the output to the same level as the input, if required.

    Note the fairly high output impedance.
    Attached Images
    Last edited by ericgibbs; 6th July 2009 at 04:09 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/

  12. #12
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    From my simulation of the circuit the phase shift is dependant on frequency, are you sure you didnt adjust the value of R when testing it at different frequencies?

  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,456
    Blog Entries
    9

    Quote Originally Posted by meastwood98 View Post
    From my simulation of the circuit the phase shift is dependant on frequency, are you sure you didnt adjust the value of R when testing it at different frequencies?
    No I didnt.
    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
    meastwood98 Newbie
    Join Date
    Jul 2009
    Posts
    11

    Ok. Any ideas to where im going wrong?

  15. #15
    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,456
    Blog Entries
    9

    Quote Originally Posted by meastwood98 View Post
    Ok. Any ideas to where im going wrong?
    hi,
    I have just re-run the sim, this time using a sweep freq, same results as the ones I posted.

    Please post the simulation details and circuit that you are using, also with some details of the changes being observed.
    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/

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. Phase shift - Phase Angle
    By windozeuser in forum General Electronics Chat
    Replies: 20
    Latest: 20th March 2009, 10:39 AM
  2. phase shift
    By mayeewa in forum General Electronics Chat
    Replies: 1
    Latest: 27th September 2008, 10:40 AM
  3. Phase Shift
    By Search it in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 5th September 2008, 02:13 PM
  4. Replies: 20
    Latest: 21st July 2008, 02:37 PM
  5. How Can I detect the phase shift between two sinusoidal signals
    By Abdullah2121 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 13
    Latest: 1st April 2008, 04:37 AM

Tags for this Thread