Download Data Analysis Example Assume that you have the following circuit

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Decibel wikipedia , lookup

Stepper motor wikipedia , lookup

Power inverter wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Capacitor wikipedia , lookup

Electrical ballast wikipedia , lookup

Three-phase electric power wikipedia , lookup

Electrical substation wikipedia , lookup

History of electric power transmission wikipedia , lookup

Islanding wikipedia , lookup

Metadyne wikipedia , lookup

Rectifier wikipedia , lookup

Power electronics wikipedia , lookup

Current source wikipedia , lookup

Distribution management system wikipedia , lookup

Schmitt trigger wikipedia , lookup

P–n diode wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Triode wikipedia , lookup

Integrating ADC wikipedia , lookup

Opto-isolator wikipedia , lookup

Ohm's law wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Voltage regulator wikipedia , lookup

Surge protector wikipedia , lookup

Alternating current wikipedia , lookup

Network analysis (electrical circuits) wikipedia , lookup

Buck converter wikipedia , lookup

Stray voltage wikipedia , lookup

Voltage optimisation wikipedia , lookup

Mains electricity wikipedia , lookup

Transcript
Data Analysis Example
Assume that you have the following circuit:
TOPEN = .1ms
R1
2
50
1
1
U2
V1
1V
V
U1
C1
1uF
2
TCLOSE = .1ms
0
That is, a 1 Volt DC source has been connected across a resistor-capacitor combination as
shown. At time t=0.1ms, the source is disconnected from the circuit and the resistorcapacitor combination is shorted to ground. When this occurs, the voltage across the
capacitor decays to zero. Assume that you have measured the following:
t (us)
0
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
V
1
0.8
0.7
0.55
0.45
0.4
0.3
0.25
0.2
0.15
0.14
0.1
0.08
0.07
0.06
0.05
I (mA)
?
17
13.5
11
9
8
6.5
5
4
3
2.5
2
1.6
1.4
1.2
0.9
We would like to use this information to confirm that the current-voltage equation for a
capacitor, I = C dV dt , does indeed hold. For this expression, we can estimate the time
dV V2 − V1
=
dt
t 2 − t1 . For each of
derivative of the voltage by using the finite difference form
the times where data was taken, we can find the finite difference derivative. The
capacitance can then be found by dividing the current by the time derivative of the
voltage. Since the finite difference expression is only approximate, the best answer can
be determined by taking the average of all of the values determined. When doing this, the
average value turns out to be very close to the value for the capacitance. Thus, the
current-voltage expression is shown to be correct, at least on the average.
dV/dt
C
20000
10000
15000
10000
5000
10000
5000
5000
5000
1000
4000
2000
1000
1000
1000
0.00000085
0.00000135
7.33333E-07
0.0000009
0.0000016
0.00000065
0.000001
0.0000008
0.0000006
0.0000025
0.0000005
0.0000008
0.0000014
0.0000012
0.0000009
Average C 1.05222E-06
Using this information, we can check to see if the current tracks the capacitance times the
time derivative of the voltage. Because the derivative is so crudely taken, the two curves
do not match point-by-point, but they do look the same on the average.
25
20
15
I
C dV/dt
10
5
0
14
0
12
0
10
80
60
40
20
0
0
Excel provides a method for finding the slopes of functions that can be more accurate
than the simple finite difference derivative used here. The slope function (more details
are provided below) finds the best fit line (using linear regression) to any number of data
points. If you chose two data points, slope will produce the same result as the finite
difference formula used above. However, by taking more points, the results become
much smoother, primarily because the errors from point-to-point tend to be random. For
the same data used above, the slope formula gives the following results:
25
20
I
C dV/dt Using 2
Point Slope
C dV/dt Using 3
Point Slope
C dV/dt 4 Point
Slope
15
10
5
0
14
0
12
0
10
80
60
40
20
0
0
Time
The results are not perfect, since the slope is an approximation and is particularly less
accurate near the ends of the curve. Ideally the slope value should be assigned to the
middle of the range it is evaluated over. However, Excel does not do this easily.
One can also fit the current and voltage expressions to exponential functions, then take
the derivative of the voltage to check the capacitance current-voltage equation another
way. The voltage measured as a function of time looks like
Measured Voltage
1.2
1
0.8
0.6
Measured Voltage
0.4
0.2
13
5
11
5
95
75
55
35
15
-5
0
where the time scale is in microseconds. Note that the voltage drops from around 1Volt to
a little less than 0.3Volt in about 50 microseconds. Thus, for exponential decay, the time
constant is about 0.00005 seconds. If we assume that the voltage starts at 1 Volt, we can
write it as a function of time as V = Vo e
voltage, we obtain
−t
τ
. Plotting this function on top of the measured
1.2
1
0.8
Measured
Calc
0.6
0.4
0.2
5
13
5
11
95
75
55
35
15
-5
0
so the agreement is seen to be very good. Thus, the voltage does indeed decay
exponentially.