Detecting Logic State of 6 in Binary with Decoder Glitches

  • Thread starter Thread starter sandy.bridge
  • Start date Start date
  • Tags Tags
    Decoder
Click For Summary
SUMMARY

This discussion focuses on detecting the logic state corresponding to "6" in binary (110) using decoder glitches. The method involves a 3-input AND function that outputs a high signal when the conditions Q8=1, Q4=1, and Q2=0 are met. A frequency divider utilizing D flip-flops, an inverter, and an AND gate is employed to create a ripple counter, which causes the glitch observed at the transition to the zero state. The glitch occurs because the first flip-flop toggles before the others, resulting in the brief output before the reset.

PREREQUISITES
  • Understanding of digital logic design
  • Familiarity with D flip-flops and ripple counters
  • Knowledge of binary number representation
  • Experience with logic analyzers for signal visualization
NEXT STEPS
  • Study the operation of D flip-flops in digital circuits
  • Learn about ripple counters and their timing characteristics
  • Explore the concept of decoder glitches in digital logic
  • Investigate the use of logic analyzers for debugging digital circuits
USEFUL FOR

Electronics students, digital circuit designers, and engineers working with logic systems who need to understand glitch detection and binary state representation.

sandy.bridge
Messages
797
Reaction score
1
Hello all,
I have a lab this afternoon that I was going over to ensure I was prepared for it. However, I am not entirely sure about the last part of the lab. Any help or reassurance is appreciated!

Decoder Glitches- Use a 3 input AND function to detect the logic state corresponding to "6" in binary (Q8=1, Q4=1 and Q2=0). Use a logic analyzer to display the expected output and the very brief "glitch" that occurs at the beginning of the zero state.

I'm looking for reassurance as to the first part. I have decided to use a frequency divider utilizing D flip flops, an inverter and an AND gate. Attached is my photo. The AND gate outputs 1 when Q8Q4Q2'=110, which is six.

Thanks!
 

Attachments

  • flipflop.JPG
    flipflop.JPG
    22 KB · Views: 734
Engineering news on Phys.org
The three flip flops are connected as a 'Ripple Counter.'

The third flop will not change state until after the second on has, and the second one will not change state until after the first one has.

At the maximum count of 7, the next state is 0. However the first flop toggles to 0 before the others do, which is decoded as 110b, or 6. That is the source of the 'glitch' just before the 0 state.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
Replies
10
Views
5K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 6 ·
Replies
6
Views
18K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 18 ·
Replies
18
Views
7K
  • · Replies 4 ·
Replies
4
Views
7K
Replies
2
Views
6K