Module 2: Logic Circuits Flashcards

1
Q

What is TTL logic?

A

TTL = Transistor - Transistor Logic.

It consists of BJT transistors talking to each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the pros and cons of TTL?

A

Pros: fast, robust, versatile.

Cons: big (BJT’s take lots of room) and consume lots of power.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain how this circuit works and what it does.

A

It’s a TTL NAND gate.

Whilst inputs ‘A’ and ‘B’ are high, there is a reverse-biaed NP junction between the emitter and base. This draws a small reverse-biaed current, whih goes through the collected in to the second transistor. This allows VT2 to conductor (collector - emitter), driving the output ‘Q’ to low.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the standard power supply voltage for TTL?

A

+5V and 0V

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the ‘fan-out’ of a logic gate?

A

The number of other logic gates it can drive

Fan-out = IOutput High (driving gate) / IInput High (driven gate)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some practical issues with TTL and/or to keep in mind when using it?

A
  • when driving a load with some capacitance, large spikes of current will occur at the output when changing states
  • unused inputs should not be left floating (can pick up unwanted noise)
  • beware of switch bounce!
  • always use appropriate heat sinks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can one minimise the impact of capacitance loads causing large output current spikes when using TTL?

A

Place decoupling capacitors (0.01uF - 0.1uF) across an IC throughout the board (every 5 IC’s or so).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does ‘CMOS’ stand for, and what are its advantages/disadvantages when compared with TTL?

A

Complementary Metal Oxide Semiconductor

Pro’s: extremely low power consumption, excellent noise immunity, wide range of acceptable power supply voltages

Cons: slower

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Convert the following NAND gate into a CMOS equivalent

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

For a CMOS IC with a supply voltage of 5V, the output levels (e.g. output high, output low) are typically within ____ of the 5V input and 0V ground.

A

50mV!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some typical values of fan-out for a CMOS and TTL IC?

A

TTL = around 20

CMOS = almost infinite (very low input current!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

From a switching/propogation delay perspective, which is faster: CMOS or TTL? Why?

A

TTL by a long shot! CMOS has lots of capacitance because of the MOSFETs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the three reasons for power consumption in CMOS circuits?

A
  • Quiescent dissiptation due to leakage currents (i.e. leakage currnts whilst the transistor is off)
  • Dynamic dissipation as capacitors in the MOSFETs are charged up and discharged (this is proportional to switching times)
  • Through-current dissipation when both n and p channels conduct simultaneously for a time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why is input protection in CMOS circuits such a big issue? Draw a basic circuit to protect a CMOS input from static build-up.

A

CMOS gates have a very high resistance, so there’s no leakage path for charge to be removed from the gate. Therefore, massive static charges (100V+) can build up, eventually ruining the insulation of the gate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does ‘ECL’ stand for, and what is its claim to fame?

A

Emitter Coupled Logic

Fastest available logic (faster ever than TTL!), due to BJT’s never being in saturation, and small swing voltages between high and low.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the following circuit called, and what makes it an oscillator?

A

A ‘ring’ oscillator

Oscillation occurs because there’s a propagation delay (tP) between when the input changes from low to high, and the output from high to low

17
Q

What’s the maximum frequency for a CMOS 3x inverter ring oscillator? Assume each inverter has TP = 8ns

A

TP = 2 * 8ns * 3 inverters = 48ns

f = 1/48ns = 20.8MHz

18
Q

Draw the ouput waveform ‘Q’ for the following circuit (assume V3 = initially high)

A
19
Q

What’s the difference between an astable and a monostable?

A

An a**stable has no stable states - it constantly oscillates between high and low, with different waveforms depending on the ciruit.

A monostable changes states when triggered.

20
Q

What time of circuit is this (e.g. astable/monostable?) Draw its output waveform.

A
21
Q

Define the terms ‘retriggerable’ and ‘resettable’ in the context of monostables.

A
  • Retriggerable* means the pulse can be further extended by another trigger before the first pulse has elapsed
  • Resettable* means the pulse can be made to return to its original stable state
22
Q

In the context of monostables, the width of the output pulse is determined by…

A

The internal resistance and capacitance

23
Q
A
24
Q

What is a comparator, and what does it do?

A

A comparator decides whether or not an input voltage is greater than some fixed value

For example, if the ‘+’ input is greater than the ‘-‘ input, it will output a ‘high’

25
Q

What is the purpose of this circuit? What does the zener diode do in this circuit?

A

This is a comparator circuit. It decides whether or not the input voltage is greater than 0V.

The Zener diode ‘clamps’ the output to be within TTL logic levels. Anything greater than 4.7V will conduct through the zener, and any reverse current (e.g. negative sink current from comparator output) will give a 0.6V drop across the Zener.

26
Q

What’s this circuit called, and what does it do? Draw a truth table.

A

It’s a window detector. It detects whether or not the input voltage is within a certain window.

27
Q

What’s the advantage of a Schmitt trigger over a regular comparator? Illustrate.

A
28
Q

Determine the two threshold voltages for the circuit

A
29
Q

How and why does this circuit work? Why is the second diode to Vdd needed?

A

If the input voltage (e.g. static) is greater than Vdd (supply), than Vdd becomes the lower potential. The static voltage thus flows, through the diode, to Vdd.

If there’s static voltage from the IC end (e.g. from another pin or some other source), then it shorts through the other diode to Vdd.