Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 18th March 2009, 02:07 PM   #1
Default Simulating AC supply

Hi

My AC theory is pretty bad and I need to be able to simulate an AC mains supply at varying power factors. What I am after is a circuit that I can take 2 voltage values from, with the second voltage being out of phase -+45deg.

Does this make sense and is this possible?

Thanks for any help
matt1eg is offline  
Old 18th March 2009, 03:50 PM   #2
Default

anything is possible... if you are going to try and run a load off of it it is extremely impractical.
Ubergeek63 is offline  
Old 18th March 2009, 05:11 PM   #3
Default

Power Factor is usually caused by the load, not by the source of the AC power. In other words, if the current drawn by your load is not in phase with the voltage applied to it, then it exhibits an "undesirable power factor".

Last edited by MikeMl; 18th March 2009 at 05:22 PM. Reason: sounded snide
MikeMl is offline  
Old 18th March 2009, 06:42 PM   #4
Default

I was thinking of using a capacitor as a load to shift it. I was hoping that I could either switch in different capacitors or have a variable one so that I can change the phase in real time.

I'm needing something like this so I can show a power monitor I have made works correctly. (they don't let us touch mains wiring so need another option)

I have been using jsut s signal generator to give same in phase voltage to current and voltage channels.
matt1eg is offline  
Old 18th March 2009, 06:55 PM   #5
Default

Quote:
Originally Posted by matt1eg View Post
I was thinking of using a capacitor as a load to shift it. I was hoping that I could either switch in different capacitors or have a variable one so that I can change the phase in real time.

I'm needing something like this so I can show a power monitor I have made works correctly. (they don't let us touch mains wiring so need another option)

I have been using jsut s signal generator to give same in phase voltage to current and voltage channels.
well then an RC filter will work, though it will also reduce the voltage to the current input. since you are not using the actual current sensor there should not be a problem

Dan
Ubergeek63 is offline  
Old 18th March 2009, 06:56 PM   #6
Default

How do I calculate values to give certain phase shifts?
matt1eg is offline  
Old 18th March 2009, 10:42 PM   #7
Default

You need to use vector algebra.
I did this; the output resistance is high and the voltage output changes with the phase shift but is does work (on paper).
The component values might be unwieldy so you might also want to build one of these
Gyrator - Wikipedia, the free encyclopedia

Post your specs for shift, voltage and current input and output.

Last edited by Willbe; 18th March 2009 at 10:43 PM.
Willbe is offline  
Old 18th March 2009, 10:56 PM   #8
Default

For voltage channel I need 'zero phase'(reference phase) with 0-500mVpp preferbly stepped down from 5V input supply. For the current channel also need 0-500mVpp with phase difference of 45deg if only a single phase change is possible or 0deg - 45deg if variable phase. Current input will be low as signal generator will be used, noy sure of max output current, the chip(CS5463) I'm using doesn't give maximum value but I'm assuming its very low.

Does that make sense?
matt1eg is offline  
Old 18th March 2009, 11:39 PM   #9
Default

So for a 45 deg. phase shift you need an R and a C such that Xc = R at the freq. of interest.
The choice of R and C depends on the source impedance you want and the freq..

E.g., 1 uf at 60 Hz = ~2650 Ω.
Willbe is offline  
Old 19th March 2009, 01:51 AM   #10
Default

Ok I will have a look and see if I can get it.
Cheers
matt1eg is offline  
Old 19th March 2009, 05:09 AM   #11
Default

An allpass network is perfect for getting 45 deg phase shift with no loss in amplitude. Variable phase shift is easy.
__________________
Ron


Last edited by Roff; 19th March 2009 at 05:10 AM.
Roff is online now  
Old 19th March 2009, 05:41 PM   #12
Default

Quote:
Originally Posted by Roff View Post
An allpass network is perfect for getting 45 deg phase shift with no loss in amplitude. Variable phase shift is easy.
You da' man!
All-pass filter - Wikipedia, the free encyclopedia
Willbe is offline  
Old 19th March 2009, 05:53 PM   #13
Default

Well today made a quick RC circuit with 1K4 resistor and 2.2uF cap. Did the job but had the decreased amplitude on output, which I could of lived with but the all-pass filter will be perfect for the job.

Cheers for your help
matt1eg is offline  
Old 19th March 2009, 05:55 PM   #14
Default

You can change from lead to lag by swapping R and C in the Wikipedia op amp-based circuit.
__________________
Ron

Roff is online now  
Old 19th March 2009, 06:24 PM   #15
Default Simulation

I was messing around with a Fluke 41 Power analyzer and found a regular Switching power supply Is highly Capacitive and an Iron core Transformer is highly reactive. The Fluke displays phase angle and power factor. You could
have each type of supply give you an approximation. Just a guess.
power58 is offline  
Reply

Tags
simulating, supply

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Simulating a sound. Rumieus General Electronics Chat 24 22nd September 2008 04:03 PM
MPLAB simulating PWM on 16F628A Lost Tourist Micro Controllers 4 12th October 2007 09:32 AM
Problem simulating with Orcad 9.2 supernova Electronic Projects Design/Ideas/Reviews 2 9th July 2005 01:57 PM
Simulating Tmr1 External?? kentken Micro Controllers 2 19th May 2004 05:38 PM
simulating power supply hydro General Electronics Chat 2 4th January 2004 01:05 AM



All times are GMT. The time now is 05:28 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker