It also inputs a single red or green wire and operates on its value. The program should not change (changing it at the wrong moments will probably break it). The Z903 device inputs a "program" from a constant combinator. To avoid vague generalizations, however, let's limit our discussion to the Z903 device in the OP. Any device that goes "pop! or "ker-chunk" probably makes that noise due to some kind of hysteresis. Note that the term is quite broadly defined and used. What is hysteresis? Some of that has been covered above. An accurate but confusing way to describe an S/R latch is that it's a one-bit digital storage device, which continuously outputs its stored value, and is controlled by a two-bit (no pun intended) pulse-controlled digital interface which sets or unsets the stored bit depending on whether the "set" or "reset" input bit is pulsed, respectively. Calling it a switch is more like a metaphor than a technical description. But the idea and i/o interface of a switch is so familiar that it's hard not to think of it that way. Generally speaking, an S/R latch is in fact not a true switch - we have a true switch in the game, now, and it's easy to see that what it does is quite different from what an S/R latch does. It is often talked about as a "switch" but that's pretty cavalier. When it's off, providing a brief (but not too brief) "1" pulse to it's "set" pin will turn it on (cause a 1 to be output), and once it's on, providing a brief (as before) "1" input to is "reset" pin will turn it back off (cause a zero to be output). It has somewhat complicated dynamics when you start to look at corner cases, but the basic idea is it has a "set" input and a "reset" input. What is an SR latch? The standard factorio SR latch is, I think, the one from the "combinators 101" post with two A=0 -> A:1 deciders. Let's try again to answer the question properly: Even the correct parts are poorly stated. The rest of my post above should be ignored.To bad I put all that other garbage in there, as this could have been the beginnings of a useful answer As is the stuff about practical applications ("electrocution" and "bankruptcy"). The thing about hysteresis being analog digital while an SR latch is is quite correct.Hysteresis is different from an S/R latch but not "completely" different - what would that even mean? Indeed it's got a bunch of similarities.To atone, let's try to answer your question properly impetus: first, let's clear the whiteboard of garbage: The thing that bugs me most about my post above is that I rudely managed to sound as if impetus maximus is totally confused, whereas I know exactly what's up precisely the opposite appears to have been the case! Oh well, sorry about that. It's too late, now, to just fix my original answer, since the conversation has already moved on, so I'll correct myself here. It's some kind of brain fart - I suspect I was working on too many combinator posts at once. The above - I mean, my response to impetus maximus - is just basically wrong. Hysteresis is a practical tool in circumstances where one wants to do something useful while avoiding various disasters like explosion, electrocution, bankruptcy, etc., and is to be found in digital and analog devices of all kinds.Īn S/R latch is more of an intrinsically digital concept where one toggles or takes a snapshot of something when a button gets pressed. Almost everything in real-life is this way: there's a limit to how positive or negative you can go before you run out of something or blow something up. It accepts a range of power inputs from zero up to the maximum amount of power it is rated for beyond that, the fuse will blow. This device accepts a single continuous stream of values as an input and returns a corresponding continuous stream of one's and zero's that "accept" or "reject" the input.įor example, a power supply is a kind of hysteresis circuit. Hysteresis, as used here, means that a certain range of values are "accepted" by the circuit and everything else is "rejected". Impetus maximus wrote:how does this differ from a SR latch circuit?Īn SR latch does something completely different.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |