fifa Posted December 7, 2010 Report Share Posted December 7, 2010 Hi, Can anyone help me to design a VI that can be used to show how the voltage rises across a capacitor in a simple RC circuit when excited by a step function. The output from the VI will consist of two plots displayed on one XY graph. One plot will be the input wave Vin = Eu(t) (V) displayed from t = -10 (ms) to T1 (ms) The second plot will be the voltage across the capacitor VC = E(1 – e -t/RC) displayed from t = 0 to t = T1 (ms) The VI will run continuously allowing all inputs to be varied. The inputs to the VI will perform the following functions: 1. Set the number of points for the VC plot, default 100. 2. Set the final time T1 in (mS) default 50 (mS). 3. Set the resistor value in (Ω) default 500 (Ω). 4. Set the capacitor value in (μF) default 20 (μF). 5. Set the height of the input step function default 10(V). The outputs from the VI will display the following: 1) The Time Constant T = R.C 2) The two plots on an XY graph as specified above. Quote Link to comment
jgcode Posted December 7, 2010 Report Share Posted December 7, 2010 Hi, Can anyone help me to design a VI that can be used to show how the voltage rises across a capacitor in a simple RC circuit when excited by a step function. Hi Fifa Is this a homework assignment? Quote Link to comment
Saverio Posted December 7, 2010 Report Share Posted December 7, 2010 Yes. http://forums.ni.com/t5/LabVIEW/capacitor-charge/m-p/1333008 Confirmed by professor who actually gave out the assignment. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.