MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM
Re: Analog emulation
02/04/10 11:30 AM


It's all about solving differential equations. Does [url=http://en.wikipedia.org/wiki/Runge–Kutta_methods
]Runge-Kutta[/url] mean anything to you? If it doesn't, you probably need to study some more.

> How I should treat a capacitor is already a little more difficult. Should I care at
> all? Probably, because a capacitor while being charged is conductive.

Not just that, but you need to model the effective impedance of whatever's driving it. TTL circuits have far lower output impedance when the output is low than when it's high. Classic 4000 series CMOS outputs' current capacity varies with the input state. You also have to consider the characteristics of the input it's connected to. TTL inputs sense current flow - pulling them down switches on the multi-emitter transistor. CMOS inputs sense voltage, and look like a small capacitor to the driving circuit.

> Diodes are conductive for one polarity, depending on how anode and cathode are
> connected to other parts.

No, they allow a small forward current to flow up to the bias voltage, at which point they allow far more current to flow. They allow a smaller reverse current to flow up to the Zener voltage, at which point they allow a much larger current to flow.

> Now comes a difficult part: a network of transistors, resistors, diodes and
> capacitors. Would it be feasible at all to try to evaluate such a network's digital
> equivalent, if there is any?

No, it wouldn't. You need to be able to deduce the differential equations for the voltages and currents, and solve them using numeric methods.

> The other Pong emulations treated that specific section of the schematics as being
> non-existent (mine) or as a special black-box digital circuit (Dan Boris'). I would,
> however, prefer to try to emulate such a circuit at the simplest level, using only
> two voltage levels of 0V and 5V and just time delays due to capacitor values.

Time delays won't cut it - you either black box it, or simulate it properly.

> Is there someone out there who would be able to tell me how to tackle this job?
> That'd be fine, because otherwise I see no way out but using replacement black-box
> function generators in the schematics.

Seriously, go with black boxes, and consider studying circuit theory if you want to move to a more realistic model in the future.







Entire thread
Subject Posted by Posted on
* Analog emulation pullmoll 02/02/10 07:14 PM
. * Re: Analog emulation pullmoll  02/06/10 05:33 AM
. * Re: Analog emulation StilettoAdministrator  02/06/10 05:41 AM
. * Re: Analog emulation Vas Crabb  02/04/10 11:30 AM
. * Re: Analog emulation pullmoll  02/06/10 12:45 AM
. * Re: Analog emulation Moose  02/06/10 05:17 AM
. * Re: Analog emulation pullmoll  02/06/10 05:21 AM
. * Re: Analog emulation pullmoll  02/04/10 10:29 AM
. * Re: Analog emulation couriersud  02/06/10 12:55 AM
. * Re: Analog emulation pullmoll  02/06/10 01:06 AM
. * Re: Analog emulation couriersud  02/06/10 01:15 AM
. * Re: Analog emulation pullmoll  02/06/10 01:23 AM
. * Re: Analog emulation StilettoAdministrator  02/06/10 05:09 AM
. * Re: Analog emulation Sune  02/06/10 07:48 AM
. * Re: Analog emulation couriersud  02/06/10 02:01 AM
. * Re: Analog emulation pullmoll  02/06/10 05:08 AM
. * Re: Analog emulation couriersud  02/06/10 04:44 PM
. * Re: Analog emulation pullmoll  02/06/10 06:39 PM
. * last bump. *nt* StilettoAdministrator  01/08/11 08:12 PM
. * Re: last bump. *nt* StilettoAdministrator  03/28/12 05:59 PM
. * Why is this getting bumped? (nt) mogli  03/30/12 08:29 PM
. * Re: Why is this getting bumped? TafoidAdministrator  03/30/12 08:48 PM
. * Re: Why is this getting bumped? StilettoAdministrator  03/30/12 10:50 PM
. * Re: Why is this getting bumped? TafoidAdministrator  03/30/12 10:56 PM
. * Re: Why is this getting bumped? TrevEB  04/03/12 09:44 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 294 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3428