Re: Simulating simple electric circuits



In article <5ae44aF2ku9rtU1@xxxxxxxxxxxxxxxxxx>,
Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss@xxxxxxxxxxxxxxx>
wrote:

Sounds more familiar than the analog approach. Maybe I misunderstood
something ... but I can't transfer my problem to this way of
thinking yet. My biggest problem is the fact that relays aren't
really interested in voltage, but current.

Also, I find it difficult to transfer this circuit logic to boolean
logic I can contruct logic gates from. Sometimes, electric circuits
are used in different directions.

Yep, the traditional digital simulation techniques don't apply very well
to things like switches and relays. Going with a different approach is
probably cleaner.


I set up the mentioned "controller" which, at the beginning, tries
out all possible ways through the network and saves them. So, for
every possible circuit it knows which switches must be closed and
which relays will work if it's "on". In theory, it should now be
possible to try out every path, tell the relays if they have
voltage/current, and let the relays report back in to the
controller if their status changes so it can again test the
circuits that may have changed. I haven't tried out the last step,
but I will in the next days. Is there any logic error in my
strategy?

Sounds reasonable. Depending on the size of your network, I might not
worry too much about precomputing and saving information. If your
circuit has loops in it (where the output of a later relay circles back
to an earlier relay's coil), then it is possible for the circuit to
oscillate, so you might have to be careful about this. For example, if
your basic simulation flow was:

1) set initial conditions (switches, etc)
2) let power flow through the system
3) determine which relays will be thrown
4) if any relays have changed state, go to 2

Then an oscillating circuit would never quit. You might want to put a
limit on the number of iterations through the loop, or logic that
explicitly checks for oscillation. Or you could analyze the circuit
ahead of time to see whether it has oscillation or not.

Dave
.



Relevant Pages

  • Re: Charles Murray "The Plan" ends poverty
    ... The early days of electronic design automation are indeed interesting and if someone is going to write a history they had better hurry up. ... This was in the late '50s and it was used to produce wiring lists for the NSA special purpose machines of that era. ... I've had some experience with large systems in which the wrong circuit bounce in a switch or relay could set some relays to chatter and the system to wildly respond. ...
    (soc.retirement)
  • Re: IR Temperature Sensor
    ... several relays when the thermometer senses temperatures above 150 ... you're happy to burn a bit of power and continuously power a relay ... An IR circuit would burn a bit of power anyhow. ... a candle) and then when the IR sensor is facing it if the IR ...
    (sci.electronics.basics)
  • Re: Automatically powering 220V dust vac when 220V saw starts
    ... Dan wrote: ... using RC circuits to time the relays. ... I actually studied all this 20-odd years, and I've built a ton of stuff, etching circuit boards, etc., just don't remember any of it, unfortunately... ... The GFCI will operate a relay that operates the vac - no ...
    (sci.electronics.basics)
  • Re: HELP! Power Trim/Tilt Stopped Working!
    ... Prolly a logic circuit operates it as you describe. ... Bad position sensor or really poor connections to the relays indicated. ... Inno wrote: ... These work with both Trim and Tilt. ...
    (rec.boats)
  • Re: Garage door opener
    ... The board uses three Omron 24V relays to do its thing. ... There is a 16-pin integrated circuit on the board made by TI. ... What effect on the circuitry does the optical speed sensor on the motor ... and instead you'll have to trace out the pins ...
    (sci.electronics.repair)