Circuit Solver vPro By SummersEdge23
As I neared my senior year for my B.S. in Electrical Engineering, I wanted to created
something that most people hadn’t done before. It was about the experience, the learning,
and the the journey itself. I put together this application to package my knowledge in
Electrical Engineering to some day help another student have an easier time in their
scholastic pursuits.
Circuit Solver is far from perfect and there are lots of things that could be optimized. It will however, solve a majority of linear Circuits and a decent amount of smaller scale Non-Linear Circuits.
DC Analysis:
To solve the circuits, a matrix is defined based on all the components inside the circuit. The application solves the circuit using matrix manipulations such as LU-Decomposition and matrix inversion. DC Analysis is completed by writing a series of nodal equations. The equations are solved simultaneously to obtain a unique solution.
Transient Analysis:
In transient analysis we use numerical integration to determine the response of RLC circuits. Numerical integration allows for one to solve for discrete moments of time and in effect integrate their response. This application only supports the Trapezoidal method.
Non Linear Analysis:
Non linear analysis is used for components such as diodes, LEDs, and transistors. The solver first guesses the approximate value of the solution and is refined through the use of a Newton-Raphson process. It utilizes linear approximation to predict the answer through successive iterations.
List of Components:
+Resistor
+Capacitor
+Inductor
+Ideal Operational Amplifier (only available in the pro version)
+NMOSFET (only available in the pro version)
+PMOSFET (only available in the pro version)
+PNP Bipolar Junction Transistor (only available in the pro version)
+NPN Bipolar Junction Transistor (only available in the pro version)
+AC Voltage Source
+AC Current Source
+DC Voltage Source
+DC Current Source
+Square Wave Source (only available in the pro version)
+Amp Meter
+Ohm Meter
+Volt Meter
+Diode (only available in the pro version)
+Red LED (only available in the pro version)
+Green LED (only available in the pro version)
+Blue LED (only available in the pro version)
+Wire
+Voltage Controlled Voltage Source (VCVS) (only available in the pro version)
+Voltage Controlled Current Source (VCCS) (only available in the pro version)
+Current Controlled Current Source (CCCS) (only available in the pro version)
+Current Controlled Voltage Source (CCVS) (only available in the pro version)
+Switch (SPST)
+Switch (SPDT)
+Ground
+Transformer (only available in the pro version)
+AND Gate (only available in the pro version)
+OR Gate (only available in the pro version)
+NOR Gate (only available in the pro version)
+NAND Gate (only available in the pro version)