Showing posts with label Digital. Show all posts
Showing posts with label Digital. Show all posts

Thursday, October 4, 2012

Range of Values of Digital Quantities

To be able to process analog quantities digitally, they have to be converted into digital values.

1 Bit =>
21 states
=
2  values
2 Bits =>
22
=
4 values
3 Bits =>
23
=
8 values
4 Bits =>
24
=
16  values
8 Bits =>
28
=
256  values
12 Bits =>
212
=
4096  values
16 Bits =>
216
=
65536  values
20 Bits =>
220
=
1048576  values

Wednesday, October 3, 2012

Transmission of Digital Signals

Digital data can be transmitted between one or several devices or communication participants by two ways, either parallel or serial transmission.
  • Bit-parallel transmission
  • Bit-serial transmission
Parallel data transmission
Serial data transmission
 All bits of a piece of information are transmitted at the same time, with parallel transmission,– through an appropriate number of signal lines. Due to it's high installation costs they are only acceptable for short distances. The transmission of one byte requires a minimum of nine lines,– 8 of which are bits and one is reference potential. This method is presently used for device busses. This application –requires high transmission rates over short distances, and without conversion methods. Serial transmission is a good solution for long distances. Only one signal line in serial transmission method transmits the bits, one after the other. The transmission of information takes more time. The installation effort and the costs are considerably reduced because all the information is generated and processed in bit-parallel mode. The transmitter converts the data from parallel to serial, and the receiver reconverts it from serial to parallel. This is performed by specially operated shift registers, integrated in communication modules.

Signal Level of Transistor-Transistor/Low-power Schottky

Consider the signal-to-noise ratio results from the difference between the transmitting and the receiving level. Using the binary information representation, the signal-to-noise ratio can be adjusted to the environmental conditions within broad limits .




Signal level of a TTL-LS circuit
LOW level
Guaranteed transmitter level
max. 0.5 volt
Guaranteed receiver level
max. 0.8 volt
Static signal-to-noise ratio
0.3 volt
HIGH level
Guaranteed transmitter level
min. 2.7 volt
Guaranteed receiver level
min. 2.0 volt
Static signal-to-noise ratio
0.7 volt
 













Digital Encoding of Information

Data and messages can be processed digitally, by encoding them into binary digits. Each piece of information must be converted into a binary unit using an unambiguous code scheme. This process is also called data encoding. Effective data processing is only possible if cooperating computers and programs all use the same codes. Analog information is highly liable to interference and errors are caused by even the smallest –disturbance signals, but digitally encoded information will only be distorted when the disturbance signal is larger than the signal-to-noise ratio of the digital level used. 

Digital encoding has the following advantages:
  • High interference immunity
  • Easy data storage
  • Flexible processing 
  • Various transmission options

Texts
Hallo
ASCII
48 61 6C 6C 6F
Signed integer
-1181  
(16 bits)
FF8A
Floating point
1.375
 (32 bits)
3FB00000
Any state
blue, yellow, red,
Fixed Representation Scheme
01, 02, 03,


Quantization Error Caused by A/D Conversion

Compared to an analog signal, a binary signal which represents only two states contains very little information. If a quantitiy to be represented digitally requires a wider range of values, it must be described by several bits.Analog quantities are processed digitally, when are converted into digital values first. An analog quantity can assume an infinite number of intermediate values while a digital quantity can only assume a limited number of values, therefore when analog signals are converted into discretized digital signals, quantization errors occur. Increasing the number of bits used for digital representation and the sampling rate of the analog signal reduces quantization errors. The complexity of data processing and transmission is increased with an increasing number of bits. The range of values must be adapted to the particular task, while choosing a binary representation that is not too extensive, in order to keep the loss of information during conversion as low as possible.

Quantization error caused by reduced discretization
and sampling rate



Determining the quantization error for displacement measurement:
Analog measuring range --- 0 to 30 cm
Range of values of an 8-bit unit --- 256
Quantization error --- (30/256) cm = 1.2 mm
Range of values of a 12-bit unit --- 4096
Quantization error --- (30/4096) cm = 0.073 mm

Digital Signal

Digital Signal is a signal which can only take discrete levels. A digitized analog signal or an arbitrary bit stream are digital signals. A signal generated by a modem, is in the first case considered as a digital signal, and in the second case as converted to an analog signal. A waveform that switches between two voltage levels representing the two states of a Boolean value (0 and 1) is referred to as a digital signal. The clock signal is a special digital signal that is used to synchronize digital circuits. The mathematical manipulation of an information signal to modify or improve it is called Digital signal processing. Digital signal transmission has many advantages over analog signal transmission. Applications of digital technology include the continuously growing number of PC’s, the communication network ISDN and the increasing use of digital control stations (Direct Digital Control: DDC).

Tuesday, October 2, 2012

Complex Waves

Complex waves include:
  • Analog modulated, digitally modulated, pulse-width
  • modulated, and quadrature modulated signals
  • Digital patterns and formats
  • Pseudo-random bit and word streams
Quadrature Modulation
In Signal Modulation waves the amplitude, phase and/or frequency variations embed lower-frequency information into a carrier signal of higher frequency. It gives signals in the form of either speech, data or video. In Analog Modulation the signal varies the carrier’s amplitude and/or frequency. At the receiving end, demodulating circuits interpret the amplitude and/or frequency variations, and extract the content from the carrier. Phase modulation modulates the phase rather than the frequency of the carrier waveform to embed the content. Digital modulation is based on two states which allow the signal to express binary data. In amplitude-shift keying (ASK), the digital modulating signal causes the output frequency to switch between two amplitudes; in frequency-shift keying (FSK), the carrier switches between two frequencies (its center frequency and an offset frequency); and in phase-shift keying (PSK), the carrier switches between two phase settings. In PSK, a “0” is imparted by sending a signal of the same phase as the previous signal, while a “1” bit is represented by sending a signal of the opposite phase. Pulse-width modulation (PWM) is another common digital format; it is often used in digital audio systems. It is applicable to pulse waveforms only. With PWM, the modulating signal causes the active pulse width (duty cycle, explained earlier) of the pulse to vary. Quadrature (IQ) modulation technology is used for building digital wireless communications networks. An in-phase (I) waveform and a quadrature-phase (Q) waveform that is delayed by exactly 90 degrees relative to the “I” waveform are modulated to produce four states of information. An in-phase (I) waveform and a quadrature-phase (Q) waveform are combined and transmitted over one channel, then separated and demodulated at the receiving end. The IQ format delivers far more information than other forms of analog and digital modulation  because it increases the effective bandwidth of the system. A digital pattern consists of multiple synchronized pulse streams. It makes up words of 8, 12, 16, or more bits wide data. The digital pattern generator, specializes in delivering words of data to digital buses and processors via parallel outputs. Digital computers have the inability to produce truly random numbers, therefore Pseudo-random bit streams (PRBS) and pseudo-random word streams (PRWS) are used. Digital video signals can have jagged lines on surfaces that should be smooth. Controlled amount of noise is added to hide these jagged lines from the eye without losing the original information. Serializers or multiplexers are tested using PRWS.

Monday, October 1, 2012

Basic Signal Generator Applications

Signal generators fall into three basic categories: verification, characterization, and stress/margin testing. 
  1. Testing Digital Modular Transmitters and Receivers
  2. Testing D/A and A/D Converters
  3. Stressing Communication Receivers
Wireless equipment designers developing new transmitter and receiver hardware must simulate baseband  I&Q signals to verify conformance with emerging and proprietary wireless standards. Some high-performance arbitrary waveform generators can provide the needed low-distortion, high-resolution signals at rates up to 1 gigabit per second (1 Gbps), with two independent  channels, one for the “I” phase and one for the “Q” phase. Sometimes the actual RF signal is needed to test a receiver. Here, arbitrary waveform generators with sample rates up to 200 S/s can be used to  directly synthesize the RF signal.

Newly-developed digital-to-analog converters (DAC) and analog-to-digital converters (ADC) must be exhaustively tested to determine their limits of linearity, monotonicity, and distortion. A state-of-the-art AWG can generate simultaneous, in-phase analog and digital signals to drive such devices at speeds up to 1 Gbps.

Engineers working with serial data stream architectures (commonly used in digital communications buses and disk drive amplifiers) need to stress their devices with impairments, particularly jitter and timing violations. Advanced signal generators save the engineer untold hours of calculation by providing efficient built-in jitter editing and generation tools. These instruments can shift critical signal edges as little as 200 fs (0.2 ps).

Search Techno Talk

Google Groups
Subscribe to Techno Talk
Email:
Visit this group