Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

Counter Applications - Stop Watch

Counters are a core building block to many circuits and systems. Counting circuits can be designed to count up or down. They can be made to begin at any count or end on any count, and can be reset. As was explored in previous labs, the counters can be either asynchronous or synchronous. Asynchronous counters have the advantage of simplicity, while synchronous counters have advantages with regard to speed and glitch avoidance.

Design Example - "Recycle" Up Counter:

Figure 1 displays a synchronous counter circuit that is designed to display a count from 0000 to 0110 (hex 6) and recycle. It utilizes the 74LS192 synchronous BCD/decade up/down counter with an active high reset.

580_Figure1.jpg

Figure 1: Synchronous Up Counter with Async Reset at 0111 (hex 7)

In this design example, the 4-input AND gate decodes the count of 0111 (hex 7), which is one higher than the desired count. When 0111 is reached, the output of the AND gate goes high. This activates the active high CLR input. Because the CLR input is asynchronous, the counter clears all outputs to zero within a few nanoseconds. The count of 0111 clears long before the next clock cycle, so the displayed count will recycle at 0110 (hex 6).

Design Example - "Recycle" Up Counter Using Load Capability:

A more generic way to design a recycle counter is to use the load capability of the 74LS192 to specify the starting value of the counter. When the LOAD and CLR inputs are both low, information present on the parallel data inputs (QD, QC, QB, and QA) is loaded into the counter and appears on the outputs regardless of the conditions of the clock inputs.

Figure 2 shows a synchronous up counter circuit that counts from 0001 (hex 1) to 0110 (hex 6) and recycles back to 0001.

1883_Figure3.jpg


Figure 2: Synchronous Up Counter with Asynchronous Load at 0111, and Recycle to 0001

In this design example, the 4-input NAND gate decodes the count of 0111 (hex 7), which is one higher than the desired count. When 0111 is reached, the output of the NAND gate goes high. This activates the active low LOAD input. Because the LOAD input is asynchronous, the counter loads the parallel data inputs within a few nanoseconds. The count of 0111 clears long before the next clock cycle, so the displayed count will recycle at 0110 (hex 6), then begin the count again at 0001.

Objective:

- To design a two-digit stop watch that counts up from 00 to 59 decimal and recycles.
- To design a two-digit stop watch that counts down from 59 to 00 decimal and recycles.

Parts needed for this lab:

- Function generator as clock source
- Push button switch with debounce circuitry
- Two 74LS192 BCD/decade up/down counter ICs
- Other TTL gates as needed depending on your final design
- Pull-up resistors as needed
- Two 74LS47 BCD to 7-segment display ICs
- Two 7-segment displays with 330Ω series resistors

Prelab:

Step 1 - Answer the following questions using the 74LS192 data sheet and the schematics in Figures 1 and 2. Answering these questions will help clarify what is needed for your stop watch designs.

- Which counter output is the MSB and which is the LSB?

- What are the logic levels on the output pins QN immediately following an active high signal on the CLR pin?

- Is the LOAD input synchronous or asynchronous to the clock?

- If DCBA = 1011, what are the logic levels on the output pins QN immediately following an active low signal on the LOAD pin?

- What pins need to be connected between the two 74LS192 ICs to cascade them? Specify both up and down counter modes.

- The examples in Figures 1 and 2 are both UP counters. What changes are necessary for the 74LS192 to act as a DOWN counter?

- What technique can be used to pause the counter?

Step 2 - Design a two-digit stop watch that counts up from 00 to 59 decimal and recycles. It must meet the following requirements:

- Can be reset to ‘00' at any point in the count.

- Uses a function generator as the clock source for the counter, with the frequency set appropriately such that the counter counts seconds in time.

- Includes a push button that can pause the count at any time with a single push, and restart the count again with a another push of the button. The push button must be debounced. The push button must not reset the count back to ‘00', but must restart the count from the point where it was previously paused.

- Uses two 7-segment displays to display the two-digit stop watch output.

Neatly draw the schematic for this circuit, complete with IC identifiers and pin numbers associated with each gate. Be sure it is a complete schematic for the circuit. Include the Boolean equation used to control the LOAD input and label each resistor with its value. The schematic must be organized into three pages by function to improved readability and organization:

- Debounced push button circuit
- Counter circuit
- 7-segment display circuit

The function generator may be shown as a box labeled "FG" to denote its input into the circuit.
Step 3 - Design a two-digit stop watch that counts down from 59 to 00 decimal
and recycles. It must meet the following requirements:

- Can be reset to ‘00' at any point in the count. Once reset, it must resume the count from ‘59'.
- Uses a function generator as the clock source for the counter, with the frequency set appropriately such that the counter counts seconds in time.
- Includes a push button that can pause the count at any time with a single push, and restart the count again with a another push of the button. The push button must be debounced. The push button must not reset the count back to ‘00', but must restart the count from the point where it was previously paused.
- Uses two 7-segment displays to display the two-digit stop watch output.

Neatly draw the schematic for counter portion of this circuit, complete with IC identifiers and pin numbers associated with each gate. Include the Boolean equation used to control the LOAD input. The function generator may be shown as a box labeled "FG" to denote its input into the circuit.

The schematic pages for the debounced push button circuit and 7-segment display circuit need not be repeated, as they are the same for both up and down stop watch designs.

Procedure:

Step 1 - Simulate the up stop watch from Prelab Step 2 in Multisim.

Demonstrate your results to your instructor. Save a copy of your Multisim schematic to print out for your lab report.

Step 2 - Simulate the down stop watch from Prelab Step 3 in Multisim.

Demonstrate your results to your instructor. Save a copy of your Multisim schematic to print out for your lab report.

Time permitting, implement the up stop watch in hardware.

Step 4 - Implement and test the up stop watch from Prelab Step 2. If it is helpful to you, you may create a wiring diagram for your circuit, but it is not necessary for your lab write-up.

To facilitate debugging, implement and test the hardware in functional blocks.

The following order is recommended:

- Pause circuitry

- First stage of the counter using LEDs to verify functionality

- Second stage of the counter using LEDs to verify functionality

- 7-segment display circuitry Demonstrate your results to your instructor. Results:
Your lab report for this lab consists of the following and is due at the start
of next week's lab period:

- Completed ELET215/CP215 cover sheet with name and date lab performed. A copy of the cover sheet can be found on Blackboard.

- Completed prelab, including any corrections made to the prelab during the lab period.

- A complete Multsim schematic for both up and down stop watch designs. Add a title to each schematic page and put your name and date on it. Each page of your schematic should be neatly labeled with the appropriate Boolean expressions, and inputs should be labeled so they can be easily recognized.

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M91971941

Have any Question?


Related Questions in Electrical & Electronics

Questions -q1 a single-phase transformer rated 21 kv130 v

Questions - Q1. A single-phase transformer rated 2.1 kV/130 V, 7.8 kVA has the following winding parameters: r1= 0.7Ω, x1 = 0.9Ω, r2 = 0.04Ω and x2 = 0.05Ω. Determine: a. The combined winding resistance ________ Ω and le ...

Question 1for the ce amplifier in figure 1 given the

Question 1 For the CE amplifier in Figure (1), given the following component parameters: Parameter Value β DC , β AC 150 V BE 0 . 7 V V CC 12 V R C 820 ? R E 1 100 ? R E 2 220 ? R 1 20 k? R 2 5 . 2 k? R L 100 k? C 1 , C ...

Summative assessmentin 2017 sej101 assessment will consist

Summative Assessment In 2017 SEJ101 assessment will consist of nine tasks that will develop a portfolio of your assessed work. Throughout the trimester you will have the opportunity for feedback on all nine tasks before ...

Question 1 in the voltage regulator circuit in figure p221

Question 1: In the voltage regulator circuit in Figure P2.21, V 1 = 20 V, V Z = 10 V, R i = 222Ω and P z (max) = 400 mW. (a) Determine I L, I z , and I L , if R L = 380Ω. (b) Determine the value of R L , that will establ ...

A four-pole star-connected squirrel-cage induction motor

A four-pole, star-connected, squirrel-cage induction motor operates from a variable voltage 50 Hz three-phase supply. The following results were obtained as the supply voltage was gradually reduced with the motor running ...

Question 1 - for the transistor in the circuit shown in

Question 1 - For the transistor in the circuit shown in Figure, assume β = 120. Design the circuit such that I CQ = 0.15 mA and R TH = 200kΩ. What is the value of V CEQ ? Question 2 - (a) For the circuit shown in figure, ...

Questions -problem 1 - given the sinuosidal voltage vt 50

Questions - Problem 1 - Given the sinuosidal voltage v(t) = 50 cos(30t+10 o ) V, find: (a) the amplitude V m (b) the period T, (c) the frequency f and (d) v(t) at t = 10 ms. Problem 2 - A current source in a linear circu ...

Questions -problem 1 - a series rlc network has r 2 komega

Questions - Problem 1 - A series RLC network has R = 2 kΩ, L = 40 mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant frequency. Problem 2 - Design a serie ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

Nanotechnology engineering program assignment - passive

Nanotechnology Engineering Program Assignment - Passive Filters Q1) Determine what type of filter is in circuit shown. Calculate the cutoff frequency f c . Q2) Determine what type of filter is in circuit shown. Calculate ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As