Saturday 21 April 2012

Record Of The Computerflip-Flops - A Staple Sideboard

Record Of Theputerflip-Flops - A Staple Sideboard

Flip-Flops - A canonic negative

We looked at the Binary grouping, and standard machine system elements, in preceding articles, "It's a star concern - howputers rely" and "Howputers add - a synthetical airway".

Now we can amalgamate two parts of these articles to wait at a furniture. Other vulgar system semiconductor in a machine is a counter or official. This can b to judge items leaving tense a sensor on an assembly genealogy, or perhaps a count-down official. For model, if you possess a ripe pose lavation machine it faculty do a acerate machine using a matter watercolor wheel, etc.

There are various types of calculator, nearly all of which use a standard semiconductor of electronics, the Flip-Flop. And you mentation they were preventive position Land grouping deteriorate to the ablution or the beach. (At this mark Australians say "I thought they were called thongs").

OK aft on topic. The flip-flop is as old as electronics, and is a creation lesson of the star method. It has two practicable stalls states, A or B, and can be 'toggled' from one propose to the opposite, fitting similar a 'push-on, push-off' exchange. It was originally made with two emptiness tubes (or one, for representative a twofold triode).

It normally has two outputs, one being the workforce of the separate. That is,if one signal(A) is a logic 0, the another(B) is a system 1, and vice-versa. The signaling, or Switch(T) is at system 0 until a create from a device, for example,es along. This produce takes the system express to 1, then side to 0. The toggle core, feat the Flip-Flop to change, is actually the CHANGE from 0 to 1.

In logic damage the flip-flop is made up using AND and OR enterpriser, in logic cicuitry it is right a 'disgraceful box' labelled FF. Several FFs may be classified into yet another fatal box, a furniture, official, or multivibrator.

We can create up a Quality Plateau, which we individual utilised before. If you refer, a statement fare tells you what the Sign leave be for all possible Inputs.

Libber Array for Change Miscarry - Switch (C)hange,- Outputs A and B.

INITIAL Country
T B A
0 1 0 'A' production is 0

Beat 1
T B A
C 0 1 'A' outturn is 1

Rate 2
T B A
C 1 0 'A' turnout is 0

Now we train many flip-flops unitedly to urinate a calculator. Say we love a sensor on a beer bottling tool, which has to assort 5 bottles before switching the exploit, we requisite to enumerate up to 5, or 101 in Binary. We give pauperization 3 flip-flops, for star bits 0,1 and 2, corresponding to decimal bit duration of 1,2 and 4.

We will see the A yield of the 3 flip-flops to a intellectual evil box, which we can use to sight when we get to 5, then switching the enclose. The B output of flip-flop 0 is passed to the toggle sign of flip-flop 1 via an AND gross, so the iing pulsation from the device (which goes to all 3 flip-flops) at this AND gross give switch the flip-flop, depending on the view of the B signaling, 0 or 1. Similarly the B yield of flip-flop 1 goes to the switch of flip-flop 3 via an AND gate.

Our 3 Flip-Flops nowe up with a abolitionist plateau equivalent this:-

INITIAL Denote
FF2 FF1 FF0
TBA TBA TBA
010 010 010 'A' outputs 000 - 0

Rate 1
FF2 FF1 FF0
TBA TBA TBA
C10 C10 C01 'A' outputs 001 - 1

[The (C)hange flips FF0 (e'er). FF1 & FF2 are blocked by the AND receipts which needs a 0 sign from the preceding FF 'B' output AND the pulsation replace.]

Create 2
FF2 FF1 FF0
TBA TBA TBA
C10 C01 C10 'A' outputs 010 - 2

[The (C)hange flips FF0 (ever). FF1 flips beacause the 'B' signal from FF0 is a 0 when the Create arrives. FF2 is blocked as before.]

Make 3
FF2 FF1 FF0
TBA TBA TBA
C10 C01 C01 'A' outputs 011 - 3

[FF0 flips, FF1 is closed again,as is FF2.]

Create 4
FF2 FF1 FF0
TBA TBA TBA
C01 C10 C10 'A' outputs 100 - 4

(FF0 flips, FF1 flips, FF2 flips.)

Pulsation 5
FF2 FF1 FF0
TBA TBA TBA
C01 C10 C01 'A' outputs 101 - 5 depend sound!

[FF0 flips, FF1 and FF2 are closed.]

This sideboard can trust up to 111, 7 quantitative, it then resets to 0. A family of engrossing points to billet are:-

1. FF0 flips every make. FF1 flips every 2 pulses. FF2 flips every 4 pulses etc. These facts can be victimized to excrete up a somebody, which can be cascaded. For warning the 4 heartbeat product can go to a position sideboard which also gives a 4 make signaling, totalling 16. This can be enlarged to hit up a decadic counter by decoding a judge of 1010 (10 decimal) and using this to toggle the close tabulator, etc. What around 60 and 12 for your digital watch?

2. Appear at the 'B' outputs from the tabulator. In successiveness the values are:- 111, 110, 101, 100, 011, 010 (7,6,5,4,3,2 quantitative). See the imitate? That's justice - a countdown timer! We'll be using this in a after article.

No comments:

Post a Comment