We're going to do a laboration in digital electronics. Unfortunately they haven't at all explained to us a big part of the theory which is about counters that is needed in order to understand the laboration.
The counters we are going to use is either one of the following: "74LS191" and "CDUD4". We have uploaded the datasheets for these here, see the attachments. These datasheets are a bit hard to interpret. So the first question is: except for reset and load, what is the difference between these two counters?
Then, looking at the datasheet for 74191, we are apparently supposed to use CTEN, U/D, LOAD, A, B, C, D and CLOCK as inputs and QA and QD as outputs. Do these names have signify anything? U/D apparantly stands for up/down which signifies a counter going up or down and CLOCK is self-explanatory, but what does CTEN and LOAD mean? And why is there an overline over these words?
We are also given a table that is supposed to specify how the 74191 works and schematic of how the circuit should be connected, but these are not really explained so they are not so easy to understand. See attached images.
Here's also the description for how the main circuit (not including the counter) should work.
Anyway, from this information, we are supposed to draw a graph for the counter that shows it's states and inputs. How can we do that? Is this even possible from the information given?
Then we are supposed to draw another graph that shows when a lion goes in or out of the cage. Here the outputs should go directly to the counter.
Lastly we should make a function table that shows how the output signals (the signals to the counter and the next state-function) are dependant on the input signals (the detectors and the state variables). We should also write Boolean expressions for the output signal functions and next state-function and draw the sequencial circuit.
All this may sound more complicated than it is, but actually the only thing that makes it difficult is the counter. Might there be someone here who is good at digital electronics, in particular counters, that can help us? Please write even if you can only answer one question, all helpful inputs can be useful in order to get the big picture!
The counters we are going to use is either one of the following: "74LS191" and "CDUD4". We have uploaded the datasheets for these here, see the attachments. These datasheets are a bit hard to interpret. So the first question is: except for reset and load, what is the difference between these two counters?
Then, looking at the datasheet for 74191, we are apparently supposed to use CTEN, U/D, LOAD, A, B, C, D and CLOCK as inputs and QA and QD as outputs. Do these names have signify anything? U/D apparantly stands for up/down which signifies a counter going up or down and CLOCK is self-explanatory, but what does CTEN and LOAD mean? And why is there an overline over these words?
We are also given a table that is supposed to specify how the 74191 works and schematic of how the circuit should be connected, but these are not really explained so they are not so easy to understand. See attached images.
Here's also the description for how the main circuit (not including the counter) should work.
The above description is easy to understand though, the complicated part is the counter.The lion threat
At a zoo there is an enclosure for lions. It consists of two parts, a cage where the lions can rest and the enclosure, which is a big open field where the lions can stroll around. The enclosure is hilly and, therefore, difficult to overview. Since the keeper wants to clean the enclosure while the lions are in the cage he needs a system where a lamp, Danger, tells if there is any lion in the enclosure.
At the passage between the cage and the enclosure there are two photo detectors, G1 and G2 that are parted by half a meter. The lions are about two meters long and cannot pass the passage at the same time. Neither can they stop or turn in the passage.
Example (Sequences)
I The lion walks from the cage to the enclosure:
(G1; G2) : 00 -> 10 -> 11 -> 01 -> 00
I The lion walks from the enclosure to the cage:
(G1; G2) : 00 -> 01 -> 11 -> 10 -> 00
Anyway, from this information, we are supposed to draw a graph for the counter that shows it's states and inputs. How can we do that? Is this even possible from the information given?
Then we are supposed to draw another graph that shows when a lion goes in or out of the cage. Here the outputs should go directly to the counter.
Lastly we should make a function table that shows how the output signals (the signals to the counter and the next state-function) are dependant on the input signals (the detectors and the state variables). We should also write Boolean expressions for the output signal functions and next state-function and draw the sequencial circuit.
All this may sound more complicated than it is, but actually the only thing that makes it difficult is the counter. Might there be someone here who is good at digital electronics, in particular counters, that can help us? Please write even if you can only answer one question, all helpful inputs can be useful in order to get the big picture!
Attachments
-
29.3 KB Views: 27
-
514 KB Views: 23
-
41.8 KB Views: 37
-
40.3 KB Views: 40
-
15.6 KB Views: 32