Digital and analogue Electronic

A remote motor speed sensor provides a current signal in the range of -2.5 to 2.5 mA. Design a circuit to
convert this signal into a voltage signal in the range from 2 to 3 V. After the conversion, a low pass filter is
used to suppress any noise AC signals with frequency higher than 50 Hz.
An 8-bit analogue-to-digital converter will be given and should be used to convert the output of the above
analogue circuit into an 8-bit digital signal. The 8-bit signal should go through two 4-to-7 decoders so that
the value of the 8-bit digital signal is displayed as two hexadecimal values on two seven-segment display
devices to indicate the safe running speed of the motor in range 0-255 (i.e. 00hex to FFhex).
Part 1: Design a current amplification and filtering circuit [40 marks]
Use an AC current source with a very low frequency of 0.01 Hz to emulate the slowly changed current
output signal from the remote motor speed sensor. Design the current amplification circuit using
appropriate op-amp circuits so that you can achieve the required output voltage (2 to 3 V). Demonstrate
the gain, Bandwidth, Rin of your op-amp circuits by both calculation and simulation.
Design the low-pass filter. Demonstrate the bandwidth of the filter by both calculation and simulation.
Combine the op-amp circuit and the filter. Demonstrate the gain, Bandwidth, phase shift, Rin of your
combined circuit by both calculation and simulation.
Marks allocation:
a) Current sampling/amplification circuit: [15 marks]
b) Low-pass filter circuit: [15 marks]
c) Combined circuit: [10 marks]
Liverpool John Moores University Coursework 4304ELE Digital and Analogue Electronics
W. Zhang / O. Dordevic 2017/2018 Page 4 of 9
Part 2: Design an 8-bit counter and a 4-to-7 decoder for the Seven-Segment display [40 marks]
The output voltage signal from the analogue circuit should then be converted into an 8-bit digital signal,
which represents the levels of the motor speed. You can choose the generic 8-bit ADC device from the
Proteus library => Modelling Primitives => ADC_8 for this task. Following is an example connection of the
ADC convertor that you can refer to when you design your circuit.
2.1) 8-bit counter design
Design an 8-bit synchronous counter by using D-type flip-flops. The counter should be driven by a CLK signal
running at 256k Hz. You should show how the counter is designed, and simulate the circuit.
Marks allocation: [15 marks]
The MSB output of the counter should be used to connect to the clock terminal of ADC_8 converter. The
value of the output of the ADC_8 converter should be displayed in two 7-segment display units. The MSB
four bits are displayed in one and the LSB four bits in another 7-segment display. In order to achieve this,
you should design the 4-to-7 decoder for the 7-segment display, as detailed below.
2.2) 4-to-7 decoder design

Sample Solution