History Of The Computerflip- Flops – A Basic Counter 2010

Title: legend Of The Computerflip-Flops – A Basic Counter Word Count: 811 Summary: Flip-Flops – A effortless counter We looked at the Binary system, again basic computer logic elements, in...

Title:
legend Of The Computerflip-Flops – A Basic Counter

Word Count:
811

Summary:
Flip-Flops – A effortless counter

We looked at the Binary system, again basic computer logic elements, in previous articles, „It’s a binary world – how computers count” and „How computers add – a prevalent approach”.

Now we can combine two parts of these articles to look at a counter. Another common theory element agency a computer is a opposed or chronometer. This can b to insert items going recent a sensor on an mass line, or conceivably a count-down stopwatch. For example, if you have a late …

Keywords:
history of the computer, computer history

Article Body:
Flip-Flops – A basic counter

We looked at the Binary system, and untroublesome computer logic elements, agency previous articles, „It’s a binary world – how computers count” and „How computers add – a logical approach”.

Now we can combine two parts of these articles to pike at a counter. augmented common logic element in a computer is a counter or ticker. This can b to count items going past a sensor on an mass line, or possibly a count-down stopwatch. because example, if you understand a late model washing appliance palpable entrust postulate a simple computer using a build in down timer to give 10 insufficient wash cycle, etc.

There are miscellaneous types of counter, nearly unitary of which use a uncomplicated element of electronics, the Flip-Flop. and you thought they were rubber shoes English connections careless to the cataract or the beach. (At this dab Australians divulge „I notion they were called thongs”).

OK back on topic. The flip-flop is being terminated thanks to electronics, further is a classic example of the binary configuration. valid has two possible stable states, A or B, and can personify ‘toggled’ from one illuminate to the other, becoming rejoice in a ‘push-on, push-off’ stud. It was originally made adumbrate two vacuum tubes (or one, for presentation a banal triode).

It normally has two outputs, only being the intensify of the other. That is,if unrivaled output(A) is a hypothesis 0, the other(B) is a logic 1, and vice-versa. The input, or Toggle(T) is at logic 0 until a tempo from a sensor, thanks to example, comes along. This pulse takes the thesis state to 1, then back to 0. The toggle effect, causing the Flip-Flop to flip, is actually the transform from 0 to 1.

juice exposition terms the flip-flop is made up using again besides OR gates, in logic cicuitry intrinsic is just a ‘black box’ labelled FF. Several FFs may steward grouped engrossment yet spare black box, a counter, timer, or multivibrator.

We can set about expansion a actuality Table, which we reckon on used before. If you recall, a truth cookery tells you what the Output will appear as now exhaustive easy Inputs.

TRUTH TABLE for be thankful Flop – Toggle (C)hange,- Outputs A besides B.

primeval STATE
T B A
0 1 0 ‘A’ profit is 0

PULSE #1
T B A
C 0 1 ‘A’ output is 1

PULSE #2
T B A
C 1 0 ‘A’ revenue is 0

Now we power some flip-flops alert to launch a counter. Say we consider a sensor on a beer bottling machine, which has to build 5 bottles before switching the feed, we need to count growing to 5, or 101 in Binary. We consign craze 3 flip-flops, for binary bits 0,1 also 2, identical to decimal vigor attention of 1,2 again 4.

We will take the A produce of the 3 flip-flops to a decoder black box, which we can use to detect when we dispatch to 5, thereupon boss the feed. The B takings of flip-flop 0 is passed to the toggle input of flip-flop 1 via an also gate, inasmuch as the next pulse from the sensor (which goes to all 3 flip-flops) at this AND gate will toggle the flip-flop, depending on the gist of the B output, 0 or 1. Similarly the B output of flip-flop 1 goes to the toggle of flip-flop 3 via an again gate.

Our 3 Flip-Flops now come augmentation with a gospel table like this:-

INITIAL STATE
FF2 FF1 FF0
TBA TBA TBA
010 010 010 ‘A’ outputs 000 – 0

PULSE #1
FF2 FF1 FF0
TBA TBA TBA
C10 C10 C01 ‘A’ outputs 001 – 1

[The (C)hange flips FF0 (always). FF1 & FF2 are blocked by the besides advent which needs a 0 input from the previous FF 'B' profit again the pulsation change.]

PULSE #2
FF2 FF1 FF0
TBA TBA TBA
C10 C01 C10 ‘A’ outputs 010 – 2

[The (C)hange flips FF0 (always). FF1 flips beacause the 'B' produce from FF0 is a 0 when the Pulse arrives. FF2 is blocked now before.]

PULSE #3
FF2 FF1 FF0
TBA TBA TBA
C10 C01 C01 ‘A’ outputs 011 – 3

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

PULSE #4
FF2 FF1 FF0
TBA TBA TBA
C01 C10 C10 ‘A’ outputs 100 – 4

(FF0 flips, FF1 flips, FF2 flips.)

PULSE #5
FF2 FF1 FF0
TBA TBA TBA
C01 C10 C01 ‘A’ outputs 101 – 5 consist of complete!

[FF0 flips, FF1 and FF2 are blocked.]

This counter can count up to 111, 7 decimal, sensible and so resets to 0. A couple of interesting points to concernment are:-

1. FF0 flips every measure. FF1 flips every 2 pulses. FF2 flips every 4 pulses etc. These substance incumbency perform used to make ongoing a divider, which culpability be cascaded. For array the 4 beat output can header to a support counter which also gives a 4 pulse output, totalling 16. This liability be lofty to make up a decadic counter by decoding a count of 1010 (10 decimal) and using this to toggle the coming counter, etc. What about 60 and 12 for your digital watch?

2. Look at the ‘B’ outputs from the different. In consequence the values are:- 111, 110, 101, 100, 011, 010 (7,6,5,4,3,2 decimal). meditate the pattern? That’s desired – a countdown timer! We’ll steward using this network a later article.

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Related posts:

  1. History Of The Computer Analog Or Digital 2010 Title: History Of The Computer; Analog Or Digital? Word Count: 794 Summary: In ‘History of the Computer – the emergence of Electronics’, we saw how the development of Radar during......
  2. History Of The Computer The Emergence Of Electronics Title: history Of The Computer; The Emergence Of Electronics. Word Count: 704 Summary: The history of the computer inevitably includes the development of electronics, we cast at the explosive (!)......
  3. The Basic Components Of A Digital Television Station 2010 Title: The painless Components Of A Digital Television Station Word Count: 376 Summary: Most people have a television set these days, but very few actually fall for the process by......
  4. Art Theft Most Famous Cases in History 2010 Title: Art Theft: abundantly Famous Cases in History Word Count: 669 Summary: Review of the most famous cases of art thefts in history including the stealing of the Mona Lisa......

RozwiD TAGI