Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Figure 3.1 Example of (a) analogue and (b) Figure 3.2 The process of quantizing an
digital signals analogue signal into its digital equivalent
24 Aircraft digital electronic and computer systems
Figure 3.3 Quantization levels for a simple analogue to digital converter using a four-bit binary
code (note the use of the two’s complement to indicate negative voltage levels)
Figure 3.4 A bipolar analogue signal quantized into voltage levels by sampling at regular
intervals (t1, t2, t3, etc.)
Data conversion 25
The sixteen quantization levels for a simple Table 3.1 Voltage gain for the simple DAC
analogue to digital converter using a four-bit shown in Figure 3.6(a)
binary code are shown in Fig. 3.3. Note that, in
order to accommodate analogue signals that have
both positive and negative polarity we have used Bit Voltage gain
the two’s complement representation to indicate 3 (MSB) –R/R = –1
negative voltage levels. Thus, any voltage
2 –R/2R = –0.5
represented by a digital code in which the MSB is
logic 1 will be negative. Figure 3.4 shows how a 1 –R/4R = –0.25
typical analogue signal would be quantized into 0 (LSB) –R/8R = –0.125
voltage levels by sampling at regular intervals
(t1, t2, t3, etc).
Table 3.2 Output voltages produced by the
simple DAC shown in Fig.3.6(a)
3.2 Digital to analogue conversion
The basic digital to analogue converter (DAC) Bit 3 Bit 2 Bit 1 Bit 0 Output voltage
has a number of digital inputs (often 8, 10, 12, or 0 0 0 0 0V
16) and a single analogue output, as shown in
Figure 3.5. 0 0 0 1 –0.625V
0 0 1 0 –1.250V
0 0 1 1 –1.875V
0 1 0 0 –2.500V
0 1 0 1 –3.125V
0 1 1 0 –3.750V
0 1 1 1 –4.375V
1 0 0 0 –5.000V
1 0 0 1 –5.625V
Figure 3.5 Basic DAC arrangement
1 0 1 0 –6.250V
The accuracy of a DAC depends on the The basic analogue to digital converter (ADC)
accuracy of the resistance values used as has a single analogue input and a number of
well as the accuracy of the reference voltage. digital outputs (often 8, 10, 12, or 16 lines), as
Typical DAC have accuracies of 1% or 2%. shown in Figure 3.8.
3.2.2 Filters
A successive approximation ADC is shown in from the DAC and, at this point, the conversion is
Figure 3.10. This shows an 8-bit converter that complete. The end of conversion signal is then
uses a DAC (usually based on an R-2R ladder) generated and the 8-bit code from the SAR is
together with a single operational amplifier read as a digital output code.
comparator (IC1) and a successive Successive approximation ADC are
approximation register (SAR). The 8-bit output significantly slower than flash types and typical
from the SAR is applied to the DAC and to an 8- conversion times (i.e. the time between the SC
bit output latch. A separate end of conversion and EOC signals) are in the range 10 µs to
(EOC) signal (not shown in Fig. 3.10) is 100 µs. Despite this, conversion times are fast
generated to indicate that the conversion process enough for most non-critical applications and this
is complete and the data is ready for use. type of ADC is relatively simple and available at
When a start conversion (SC) signal is low-cost.
received, successive bits within the SAR are set A ramp-type ADC is shown in Fig. 3.11. This
and reset according to the output from the type of ADC uses a ramp generator and a single
comparator. At the point at which the output from operational amplifier comparator, IC1. The output
the comparator reaches zero, the analogue input of the comparator (either a 1 or a 0 depending on
voltage will be the same as the analogue output whether the input voltage is greater or less than
30 Aircraft digital electronic and computer systems
the instantaneous value of the ramp voltage). The greater than the output from the ramp generator.
output of the comparator is used to control a logic The pulses are counted until the voltage from the
gate (IC2) which passes a clock signal (a square ramp generator exceeds that of the input signal, at
wave of accurate frequency) to the input of a which point the output of the comparator goes
pulse counter whenever the input voltage is low and no further pulses are passed into the
Data conversion 31
counter. The number of clock pulses counted will ADC is that, whilst the slope of the positive ramp
depend on the input voltage and the final binary depends on the input voltage, the negative ramp
count can thus provide a digital representation of falls at a fixed rate. Hence this type of ADC can
the analogue input. Typical waveforms for the provide a very high degree of accuracy and can
ramp-type waveform are shown in Fig. 3.12. also be made so that it rejects noise and random
Finally, the dual-slope ADC is a refinement of variations present on the input signal. The main
the ramp-type ADC which involves a similar disadvantage, however, is that the process of
comparator arrangement but uses an internal ramping up and down requires some considerable
voltage reference and an accurate fixed slope time and hence this type of ADC is only suitable
negative ramp which starts when the positive for ‘slow’ signals (i.e. those that are not rapidly
going ramp reaches the analogue input voltage. changing). Typical conversion times lie in the
The important thing to note about this type of range 500 µs to 20 ms.
3. Measuring DC voltages (that may be 8. In a binary weighted DAC the voltage gain for
accompanied by supply-borne hum and noise) in each digital input is determined by:
a digital voltmeter. (a) a variable slope ramp
(b) a variable reference voltage
(c) resistors having different values.