BITS Pilani: INSTR F311: Electronic Instruments and Instrumentation Technology Digital Meters
BITS Pilani: INSTR F311: Electronic Instruments and Instrumentation Technology Digital Meters
Digital meters
The CLK is applied to the clock input (C) of the first flip flop (FF0), which will be always the LSB.
Initial state 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
16 0 0 0 0
Decade counter
The Modulus of a counter is the number of unique states which the counter will sequence.
The maximum no of states of a counter is 2n, where n is the number of flip flops in the counter.
A counter can be designed to have less than 2n states. This type of sequences are called truncated
sequences.
One common counter with truncated sequence is Mod-10 counter, which is generally called as decade
counter.
In these counters it is necessary to force the counter to truncate and recycle before going through all
possible states.
Initial state 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0 0 0 0 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
16 0 0 0 0
Decade counter
Clock pulse Q1 Q0 J1 K1
Initial state 0 0 0 x
1 0 1 1 x
2 1 0 x 0
3 1 1 x 1
4 0 0
J1 Q0 K1 Q0
Q(t) Q(t+1) J K
2 bit synchronous binary counter 0 0 0 X
Excitation table
0 1 1 X
1 0 X 1
1 1 X 0
BITS Pilani, Pilani Campus
Contd..
Clock pulse Q2 Q1 Q0 J2 K2 J1 K1 J0 K0
Initial state 0 0 0 1 1
1 0 0 1 1 1
2 0 1 0 1 1
3 0 1 1 1 1
4 1 0 0 1 1
Excitation table
5 1 0 1 1 1
6 1 1 0 1 1 Q(t) Q(t+1) J K
7 1 1 1 1 1
0 0 0 X
8 0 0 0 1 1
0 1 1 X
1 0 X 1
J0 1 K0 1 J1 Q0 K1 Q0 1 1 X 0
J 2 Q1Q0 K 2 Q1Q0
BITS Pilani, Pilani Campus
Contd..
The next nine input pulses cause the first counter to go from 0 to 9
again, so that the compete display reads 019 on the 19th pulse.
The 20th input pulse causes the first decade counter to display 0 once
again.
At this time a pulse is given to the second counter from the first one.
The 100th pulse will make the first and second decade counters to
display 0.
At this time a pulse is given to the third counter from the second one.
On the 1000th pulse, all the decade counters will display 000, and a
pulse is emitted from the third counter which triggers the flip flop
and turns on the display 1.
BITS Pilani, Pilani Campus
Linear ramp ADC
An integrator, a comparator, counter and a control logic which operates the switches S to connect input
analog voltage and reference input voltage.
BITS Pilani, Pilani Campus
Contd..
At the start of the conversion process, the counter is reset and switch S is connected to input voltage VA
The capacitor begins to charge and as soon as the integrator output goes below zero, the comparator
changes its state to high and the control logic allows the clock pulses to be counter by the counter.
At the end of the fixed count interval (T1), the count is set at zero and the switch S is shifted to the
reference voltage VREF of opposite polarity.
The integrator output voltage increases at a fixed rate until it rises above the comparator reference voltage,
(T2) at which the control logic receives a signal (the comparator output) to stop the count.
The pulses counted by the counter during T2 has a direct relation with the input voltage VA.
V AT1 VREF t
V0 (t )
RC RC
V AT1 VREF T2
0
RC RC
When a conversion command arrives at the microprocessor at time ts, the μp connects the input 1 of the multiplexer
(ground) to the input 1 of the comparator and pauses until another ramp wave starts.
The moment when the input 2 voltage coming from the ramp generator becomes equal to the input 1 of the comparator, it
sends a signal to μp that the ramp voltage is zero and the μp measures this time interval as t1.
At the same time, a command from the μp causes the comparator input 1 to be connected to input 2 (unknown voltage Vx)
of the multiplexer.
At an instant when the ramp voltage is equal to the unknown voltage, the comparator sends a signal to μp and the μp
measures this time interval as t2.
At the same time, a command from the μp causes the comparator input 1 to be connected to input 3 (reference voltage
Vfs) of the multiplexer.
At an instant when the ramp voltage is equal to the reference voltage, the comparator sends a signal to μp and the μp
measures this time interval as t3.