SEARCH BLOG POSTS

Requirements: Android 1.6 and upOverview: "DroidTesla" is a simple and powerful SPICE engine.

SPICE is an acronym for Simulation Program with Integrated Circuit
Emphasis and was inspired by the need to accurately model devices used
in integrated circuit design.

DroidTesla simulator solves basic resistive circuits using Kirchoff’s
Current Law (KCL) in much the same way a student in a circuits class
would,the simulator systematically forms a matrix in accordance with KCL
and then proceeds to solve for the unknown quantities using various
algebraic techniques such as Gaussian elimination and sparse matrix
techniques.

For non-linear components, such as the diode and BJT ,DroidTesla engine
searching for the approximate solution by making an initial guess at an
answer and then improving the solution with successive calculations
built upon this guess.

This is called an iterative process. DroidTesla simulation uses the
Newton-Raphson iterative algorithm to solve circuits with non-linear I/V
relationships.

For reactive elements(capacitors and inductors), the DroidTesla uses
numeric integration methods to approximate the state of the reactive
elements as a function of time.

DroidTesla offers the Trapezoidal(I'll add a GEAR method later)
integration methods to approximate the state of the reactive elements.

Although for most circuits, both methods will provide almost identical
results, it is generally regarded that the Gear method is more stable,
but trapezoidal method is faster and more accurate.