please dont rip this site

Tony Fisher's Circuit Simulator


Experimental!

Introduction

This is a circuit simulator, written in Java and C++, which can be accessed via the World Wide Web.

If you don't have a Java-capable browser, the best I can offer is a screen dump showing the simulator running.

Drawing and editing your circuit

You draw an analogue electronic circuit on the screen by ``pointing and clicking'' with the mouse in a way which is tedious to explain, but which a few minutes' experimentation will make clear. At the moment, you can include only passive components (resistors, capacitors and inductors), voltage sources and current sources, voltmeters, and op-amps. Other active devices, e.g. diodes and transistors, might follow one day.

Simulating your circuit

When you have drawn your circuit, press the ``simulate'' button. At this point, if one or more components lacks a value, you will be invited to supply as many values as are required. The component whose value you are being asked to enter turns red, so you know which one the program is talking about.

Once all components have been given values, the program analyses the circuit and computes the voltages at each node. This process is called ``simulation''. When the computations are complete, a number of graphs will appear. There will be as many graphs as there are voltmeters in your circuit, and each graph shows the voltmeter ``reading'' as a function of frequency. Voltmeters measure complex voltages, and the graphs show the magnitude in red and the phase in blue. The graphs are produced with the help of the excellent gd GIF manipulation library from Quest Protein Database Center.

A table of complex voltages at each node, for various values of frequency, is also given.

Caveat

This is a teaching tool. It's not an ``industrial strength'' design tool; it's suitable only for teaching the elementary properties of simple circuits and circuit elements. It's not finished. There are bound to be bugs - especially since this is my very first Java program!

The error messages are sometimes not helpful. The message ``The nodal admittance matrix is singular'', for example, generally means that one or more nodes has an undefined voltage, or that your circuit involves infinite currents or voltages.

Bugs:

This simulator does not run under Microsoft Internet Explorer 4, which reports ``Class Cctsim not found''.

This simulator does not run properly under some versions of Netscape Navigator Gold for PCs. Symptoms of the bug are:

I am trying to track down this bug. Similar bugs have been reported by Netscape (``XOR drawing doesn't work'') and Sun (``fixed in JDK 1.1.2'', bug no.402 8864) and mentioned in some old news articles in comp.lang.java. I suspect that the setXORMode method is behaving in a way I did not expect.

Netscape claim that you need a 256-colour video driver in order to run Java applets under Windows.

If you are a Java expert and can guess what the problem is, please let me know.

Unix implementations (e.g. Netscape 3.01 and 4.05) appear to be fine.

Examples

Here are some example circuits for you to try.

To enter your own circuit

Click here:

Feedback

I'd appreciate comments on this package by email to ~NOSPAM~fisherspam at spamminster.york.ac.uk.


Tony Fisher / fisher@minster.york.ac.uk     24 Jun 1997

file: /Techref/uk/ac/york/cs/www-users/http/~fisher/cctsim/index.htm, 4KB, , updated: 2000/6/26 16:56, local time: 2024/12/2 19:20,
TOP NEW HELP FIND: 
18.97.14.83:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/Techref/uk/ac/york/cs/www-users/http/~fisher/cctsim/index.htm"> Tony Fisher's Circuit Simulator </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .