Develop a Matlab simulation program for the time-domain solution for the following circuit:

engineering

Description

Develop a Matlab simulation program for the time-domain solution for the following circuit:


The program should read a netlist file (excel format) with the circuit components and sources. The simulation is over t ∈ [0 , 30] seconds with a fixed increment h = 0.25 second and an initial condition of [V , Q]T = [0 , 0]T. The current J(t) is given as follows:


ANALYSIS

Develop subroutines to read the netlist and establish the necessary matrices. Then, solve the MNA equations at each time step using 1) Backward Euler and 2) Trapezoidal methods.


OUTPUT

Plots for V(t) & Q(t) over specified interval. Compare the results of both methods at t = 10 seconds.


TESTING

Verify the Matlab-plotted results of V(t) using any available commercial circuit simulation tool (e.g., Cadence PSpice, Multisim).


Instruction Files

Related Questions in engineering category