Sei sulla pagina 1di 6
UNIVERSITY OF COLOMBO Examination in M.Sc. / Postgraduate Diploma in Applied Electronics Semester I 2011

UNIVERSITY OF COLOMBO

Examination in M.Sc. / Postgraduate Diploma in Applied Electronics Semester I 2011

MEL 5101 Analogue and Digital ICs and their Applications

Two (2) hours

This question paper consists of 6 questions and 6 pages

Answer any Four (4) Questions

1. In the circuits shown figures a and b, V ref represents a positive reference voltage, and E i represents a variable voltage. The two op amps have totem-pole type outputs.

V ref

_ E + R nR
_
E
+
R
nR

Figure a

_ V ref V o V o + E i R nR
_
V ref
V o
V o
+
E i
R
nR

Figure b

(a)

Draw curves to show how V 0 varies with E i .

(b)

A control circuit is to be designed to maintain the temperature of a water bath at a mean temperature of 80 C by using an electric heater. Assume that a temperature variation of C around the mean temperature can be allowed. Also assume that you are provided with an analog temperature sensor which produces a voltage of 8 V at 80 C, and this value varies at the rate of 2V per degree. Derive all the relevant expressions, and design the control circuit.

and this value varies at the rate of 2V per degree. Derive all the relevant expressions,

2.

A 555 timer whose circuit symbol, and the status of the output and the discharge transistor under different conditions of the threshold and trigger voltages are shown below. All the symbols have their usual meaning.

4

8

2

6

3

7

1

5

1 - Ground

2 - Trigger

3 - Output

4 - Reset

5 Control voltage

6 - Threshold

7 Discharge

8 - V CC

 

State Trigger

Threshold

State S

State R

Output Q

Q

Discharge

input (2)

input (6)

of F-F

of F-F

(3)

transistor

 

A Below V LT (<V CC /3)

Below V UT (<2V CC /3)

1

0

High

Low

Open

 

B Below V LT (<V CC /3)

Above V UT (>2V CC /3)

1

0

High

Low

Open

 

C Above V LT (>V CC /3)

Below V UT (<2V CC /3)

0

0

Remembers

Last

 

old output

state

 

D Above V LT (>V CC /3)

Above V UT (>2V CC /3)

0

1

Low

High

Closed

(Capacitor

     

discharges)

(a) The waveform E i is applied to the circuit shown below. Clearly giving reasons as to how

the output waveform develops as the input passes through the time sectors AB, BC, CD, and DE, draw the expected output waveform.

AB, BC, CD, and DE, draw the expected output waveform. (b) Design a torn burst oscillator

(b) Design a torn burst oscillator using two 555 ICs, and explain its action.

3.

Block diagram of the XR 2240 programmable Timer/Counter is shown below.

of the XR 2240 programmable Timer/Counter is shown below. (a) Draw the timing diagram to show

(a)

Draw the timing diagram to show the output waveform when the 4 th (8T) and 5 th (16T) outputs of the counter are connected to a power supply through a common pull-up resistor

(b)

Show how you would wire XR 2240 for monostable operation. If C = 1 calculate the minimum and the maximum programmable timing cycles.

XR 2240 for monostable operation. If C = 1 calculate the minimum and the maximum programmable

and R = 5 M

XR 2240 for monostable operation. If C = 1 calculate the minimum and the maximum programmable

(c)

How would you modify the circuit given in (b) above to operate as a free running oscillator.

4.

The figure below shows the internal circuit of a TTL gate.

The figure below shows the internal circuit of a TTL gate. (a) Briefly describe what happens

(a) Briefly describe what happens (i) when both inputs are held high and (ii) when both inputs are held low (iii) when both inputs are left floating.

Why is leaving any inputs of a TTL gate floating is not recommended?

Giving reasons, briefly explain under what conditions the output behaves as a current sink.

(b) With a suitable circuit diagram, briefly explain the operation of a CMOS gate.

Explain why CMOS gates draw very low power compared to TTL?

How does the power consumption vary with increasing frequency and increasing supply voltage? Give reasons for these behaviours.

(c) With a suitable diagram, explain how you would implement the logic expression using a 8 to 1 multiplexer.

implement the logic expression using a 8 to 1 multiplexer. Draw a block diagram to show

Draw a block diagram to show how yo u would combine two 4-to-1 multiplexers to construct one 8-to-1 multiplexer.

5.

(a) Analyze the following circuit and indicate its behaviour in a state diagram.

A

D Q 0 0 Q 0 D Q 1 1 clk
D
Q
0
0
Q
0
D
Q
1
1
clk

(b) A synchronous circuit has an enable input E and a clock input Clk. When clock pulses

arrive through the Clk input, the circuit counts from 0 to 4 in binary and then resets to 0, provided E is held at 0. If E is held high at the time a clock pulse arrives, the circuit stays in

the same state as it was before the clock pulse. If the circuit is in any state other than a state represented by a value from 0 to 4, it changes to 0 after the first clock pulse, irrespective of the value of E. Draw a state diagram to display this behaviour.

(c) Suppose the circuit in part (b) above is initially in the state represented by binary 5 and

that it receives 5 clock pulses. During the first 4 clock pulses, E is held low. Immediately after the 4 th clock pulse E is changed to 1. Assuming that the transitions happen at the rising edge of the clock pulse, draw a timing diagram to indicate the behavior of the circuit. (The timing diagram must show the inputs E and Clk, and all the flip-flop outputs).

6. Following is a pin diagram of a DRAM chip.

outputs). 6. Following is a pin diagram of a DRAM chip. (a) Determine the number of

(a)

Determine the number of data bits available in this chip. Explain how data are readout using the RAS, CAS and WE control signals. How many of these chips would be required to implement a 16-bit memory module with 16k words?

(b)

In the serial port of a normal PC, the Rx, Tx and ground pins are pin 2, pin 3 and pin 5

respectively.

The serial port of a certain laboratory test device also was found to have the same pin assignment, according to its manual. Draw a suitable diagram to show how you would connect this device to a PC for serial communication with no handshaking.

What other information will you need to find from the manual of the device, for setting up software for serial communication?

(d) The control word format of the 8254 timer is shown below.

The control word format of the 8254 timer is shown below. Write down the control words

Write down the control words for initializing the three counters as follows:

(i)

Counter 0: mode 2, binary format, read/write least significant byte only.

(ii)

Counter 1: mode 5, binary format, read/write both bytes.

(iii)

Counter 2: mode 0, binary format, read/write both bytes.

----------------------------- 0 0 0 0 0 0 ---------------------------------