Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

The objectives of this experiment are to:

1. Examine the operation of the RS latch.

2. Examine the operation of the D-type flip flop.

3. Examine the operation of the JK flip flop.

Introduction A flip flop is an essential building block of many important and useful circuits, such as counters, shift registers, and memories.

Basically, a flip flop stores a zero or a one. One or more inputs are provided to change the state of the flip flop. In this experiment we will examine the operation of several common flip flops.

Procedure 1. Load the circuit E6A-1.MS7, shown in Figure 6A.1

1766_1.png


Figure 6A.1: RS latch

Attach logic indicators and simulate the circuit. Which indicator is on?

2. Press ‘T' several times. What happens at the Q and Q' outputs?

3. In the real world, the SPDT switch suffers from mechanical contact bounce, which in turn generates hundreds or even thousands of edges before settling. The RS latch debounces the switch, providing one clean edge on its output for each toggling of the input. This edge can be used to provide a single clock pulse to a flip flop, counter, or shift register. MultiSim contains several built-in RS latches in the Miscellaneous Digital parts bin.

Figure 6A.2 shows one example.

746_2.png

Figure 6A.2: Built-in RS latch

Add the SPDT switch to the inputs with the proper pullups and verify that the built-in RS latch works the same as the circuit in Figure 6A.1.

4. Load the circuit E6A-2.MS7, shown in Figure 6A.3, which uses the RS latch as the clockpulse circuit for a D-type flip flop. The data input to the flip flop is controlled by the D switch.

167_4.png

Figure 6A.3: Type-D flip flop

5. Determine what edge the D flip flop responds to (positive or negative).

6. Load the circuit E6A-3.MS7, shown in Figure 6A.4. The D flip flop has its Q' output wired back to the D input. This enables a special mode called toggle, where the state of the output alternates between zero and one every two clock cycles. Verify this by pressing ‘T' ten times.
How many times does the logic indicator flash?

99_6.png


Figure 6A.4: D flip flop wired for toggle mode

7. Load the circuit E6A-4.MS7, shown in Figure 6A.5.

972_7.png

Figure 6A.5: Divide-by-two circuit

Verify (using the oscilloscope or logic analyzer) that the frequency of the waveform at the Q output is 500 Hz.

8. Add a second D flip flop (wired for toggle). The Q output of the first flip flop connects to the clock input of the second. What is the frequency at the second Q output?

9. Load the circuit E6A-5.MS7, shown in Figure 6A.6. Now the asynchronous preset and clear inputs are used. The upper input (connected to the P switch) is the Preset input, which causes Q to go high, regardless of the clock state, whenever Preset is low. The lower input is the activelow Clear input, which forces Q low when active. Verify the operation of the Preset and Clear inputs by toggling ‘P' and ‘C' during simulation.

535_9.png


Figure 6A.6: D flip flop with asynchronous inputs

10. Load the circuit E6A-6.MS7, shown in Figure 6A.7.

1156_10.png

Figure 6A.7: JK flip flop wired for toggle mode

11. With the J and K inputs tied high, the output of the JK flip flop will toggle to the opposite state upon each negative edge of the clock. Verify that the JK flip flop is negative-edge triggered.

12. Verify that the Preset and Clear inputs are active low (using ‘P' and ‘C').

13. The truth table for the JK flip flop is shown in Table 6A.1. Verify the four modes of
operation.

2098_13.png


Table 6A.1: Truth table for the JK flip flop

When J and K are both low, the outputs do not change state when the flip flop is clocked. When J is low and K is high, Q goes low after the next clock pulse. This mode is called clear. When J is high and K is low, Q is set after the next clock pulse. Toggle mode is selected when J and K are both high. "What is the difference between a synchronous input (D, J, or K) and an nchronousinput(PR or CLR)?"
Discussion
While reviewing your data and results, provide detailed answers to each of the following:
1. How does the built-in RS latch in the Miscellaneous Digital parts bin differ from the NAND gate circuit in E6A-1.MS7?

2. Do the type-D and JK flip flops respond to the same clock edge?

3. Explain how toggle mode is the same as division by two.

4. What is the difference between a synchronous input (D, J, or K) and

Attachment:- m5_multisim_lab.zip

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M91411581
  • Price:- $45

Priced at Now at $45, Verified Solution

Have any Question?


Related Questions in Electrical & Electronics

Problem 1 a two-phase servomotor has rated voltage applied

Problem 1: A two-phase servomotor has rated voltage applied to its excitation winding. The torque speed characteristic of the motor with Vc = 220 V, 60 Hz applied to its control phase winding is shown in Fig.1. The momen ...

Discuss the role of load factor on the cost of electrical

Discuss the role of load factor on the cost of electrical energy.

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 ...

Electrical engineering questions -q1 two ideal voltage

Electrical Engineering Questions - Q1. Two ideal voltage sources designated as machines 1 and 2 are connected, as shown in the figure below. Given E 1 = 65∠0 o V, E 2 = 65∠30 o V, Z = 3Ω. Determine if Machine 1 is genera ...

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 ...

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 ...

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 ...

Research report1 read 3 to 4 journal articles about digital

Research report 1. Read 3 to 4 journal articles about digital control or industrial control, eg. one particular application, implementation aspect such as selection of sampling time, hardware etc. No text book example is ...

Questions -problem 1 - solve for i0 in fig using mesh

Questions - Problem 1 - Solve for i 0 in Fig. using mesh analysis. Problem 2 - Use mesh analysis to find current i 0 in the circuit. Problem 3 - Use mesh analysis to find v 0 in the circuit. Let v s1 = 120 cos(100t+ 90 o ...

Advanced computational techniques in engineering assignment

Advanced Computational Techniques in Engineering Assignment - Optimisation For this assignment, you are required to carry out the process of attempting to solve different optimisation problems. For each question, you are ...

  • 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