Posts

Showing posts with the label State

Solid State Switch For Dc Operated Gadgets

Image
This solid state DC switch can be assembled using just three transistors and some passive components. It can be used to switch on one gadget while switching off the second gadget with momentary operation of switch. To reverse the operation, you just have to momentarily depress another switch.  The circuit operates over 6V-15V DC supply voltage. It uses positive feedback from transistor T2 to transistor T1 to keep this transistor pair in latched state (on/ off), while the state of the third transistor stage is the complement of transistor T2’s conduction state.  Initially when switch S3 is closed, both transistors T1 and T2 are off, as no forward bias is available to these, while the base of transistor T3 is effectively grounded via resistors R8 and R6 (shunted by the load of the first gadget). As a result, transistor T3 is forward biased and gadget 2 gets the supply. This is indicated by glowing of LED2.  Solid-State Switch For Dc-Operated Gadgets Circuit diagram : Soli...

State Transition Diagram

Image
One way to characterize change in a system is to say that its objects change their state in response to events and to time e.g. When you throw a switch, a light changes its state from off to on e.g. The update_mark method changes the state of the student subject object A state diagram shows the various states of a single object There must be a separate transition diagram for each object class It helps analysts, designers and developer understand the behavior of the objects in the system, State diagrams ensure that they won't have to guess about what the object is supposed to do When do we care about States? A class has a complex life cycle Properties of the class may be updated at multiple points in the life cycle When one class is dependent on the existence or behavior of other classes When the behavior of a class depends on what previously happened We can definitely say that state transition diagram show class state and the events that cause them to transition between states. An...