Docsity

Solving Electrolytic Capacitor Leakage Current Problem using MATLAB, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
1
EEE 244 – Homework Problem 2 -- Due 2/28/07
1. An electrolytic capacitor is determined to have a leakage current (iL) that is a non-linear
function of capacitor charge (Q). Refer to the m-file, CapLeakCurrent.m, on the course
web page for a graphical description of this current characteristic. The graph from that
m-file is shown below.
Notice that there are six fundamental constants associated with this current function:
Capacitor voltage rating – Vo = 12.0 V
Capacitance – C = 220 µF
K0 = 15.1 mA
K1 = 21.3 A/C
K2 = 88.0 A-1
K3 = 752 mA
Since
€
dQ
dt =−iL
, your challenge is to use MATLAB to solve the differential equation for
Q(t) over the range (0 ≤ t ≤ 20 s), with an initial charge of 0.99Qo on the capacitor. You
should do this using two different FDDA numerical techniques: Forward FDDA, or
Euler’s Method, and Centered FDDA. You should begin with a time increment of 100
pf2

Partial preview of the text

Download Solving Electrolytic Capacitor Leakage Current Problem using MATLAB and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

EEE 244 – Homework Problem 2 -- Due 2/28/

  1. An electrolytic capacitor is determined to have a leakage current (iL) that is a non-linear function of capacitor charge (Q). Refer to the m-file, CapLeakCurrent.m, on the course web page for a graphical description of this current characteristic. The graph from that m-file is shown below. Notice that there are six fundamental constants associated with this current function: Capacitor voltage rating – Vo = 12.0 V Capacitance – C = 220 μF K0 = 15.1 mA K1 = 21.3 A/C K2 = 88.0 A- K3 = 752 mA Since € dQ dt = − iL , your challenge is to use MATLAB to solve the differential equation for Q(t) over the range (0 ≤ t ≤ 20 s), with an initial charge of 0.99Qo on the capacitor. You should do this using two different FDDA numerical techniques: Forward FDDA, or Euler’s Method, and Centered FDDA. You should begin with a time increment of 100

ms for the calculation, and use the error of approximation technique to determine the largest time interval that will yield a solution at a defined index point to 5 significant figures. We will define that index point to be at t = 0.1 s during the discharge. Plot capacitor charge against time over the defined range. Compare the two solutions for Q at the index point and, using tic and toc functions, the execution times for the two FDDA approaches. Hints: While you are developing your program, you may want to implement a loop counter that will cause your program to end if you exceed a reasonable maximum. Check your programming solution using two significant figure precision for the index point calculation. When you are comfortable that your programming is correct, calculate your final solutions with five-figure precision.

  1. Consider now that K3 is determined to be time varying. Replace the constant K3 with € K 3 T ( t ) = K 3 [ 1 − exp(− t /1.3)] in the problem, and write an m-file to determine the Q(t) solution using your choice of the more efficient of the two FDDA techniques in part 1. Plot capacitor charge against time over the defined range for this case. Draw a flowchart that describes the architecture of your m-file program.
  2. Suppose the defining constants in the leakage current function have the following uncertainties: ΔVo = 0.05 V ΔC = 0.5 μF ΔK0 = 0.05 mA ΔK1 = 0.05 A/C ΔK2 = 0.05 A- ΔK3 = 0.5 mA Write an m-file that use the “chain rule” approach for the estimation of error propagation to determine the maximum expected percent relative error in iL (K3 constant case) at Q = 0.5Qo. Given this result, how many significant figures would you attribute to the calculation of iL at Q = 0.5Qo? Note: Your submission of this assignment should include e-mailing a copy of your m-file(s) to the instructor by the due date. The hard copy should also include a printout of your m-file(s), your answers to the questions, and your graphs and part 2 flowchart. Remember to include the honor policy certification on your hard copy.