Set Phasors to Analyze Circuits
CSEF · 2011 Mathematics & Software
Overview
Objectives/Goals My purpose with Set Phasors to Analyze Circuits was to create an electrical circuit analyzer, which is a computer program that can find the current and voltage of an electrical circuit (containing resistors, inductors, capacitors, voltage sources, and current sources). Note that no actual circuit is involved; rather, it is all modeled on the computer. Methods/Materials I wrote the program in the Python programming language with the help of the Numpy and PyGUI packages, for matrix math and a graphical user interface respectively. It uses the extended sparse tableau algorithm for finding voltage and current, and uses phasors, complex numbers representing a sinusoid, to allow it to handle alternating current with the same code as direct current. Results The program produces the correct results and can plot them on a graph or output as an RDB file for analysis or plotting with an external program. It has a graphical user interface, though still uses text entry for the circuit model input. It can "sweep" multiple AC frequencies to demonstrate the frequency response of the circuit. Conclusions/Discussion I successfully created a circuit analyzer, and learned a lot of programming skills and circuit theory. Note: My actual abstract in my report contains a lot more circuit theory, but the hypothesis-experiment-result formatting of this abstract submission form does not let me go into detail.
Summary statement
I created an electrical circuit analyzer, a computer program that models a cicruit to find its current and voltage.
Help received
My dad, Kevin, helped me learn Python and circuit theory. My mom, Michele, supported me on the project.
Competition history
- CSEF 2011
Resources
Related projects
CSEF · 2005
A Revolution in Electrostatic Motors
CSEF · 2007
Transforming the Way Transformers Work: Electrical Conservation Utilizing an End Device Detection Circuit
CSEF · 2013
Solving It! A Computer Programming Language that Solves Linear and Quadratic Equations and Shows Its Work
CSEF · 2015
Low Cost Animated Teaching Tool for Study of Elements of the Periodic Table with an Interface for the Visually Impaired
CSEF · 2003
Brainwave Derived Electronic Control
CSEF · 2009
Mathematical Approaches to a Neat Problem
CSEF · 2005
Designing Active Audio Noise Canceling Circuits
CSEF · 2010
0 or 1: Who Knows?
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects