Digital signal

Last updated
A binary signal, also known as a logic signal, is a digital signal with two distinguishable levels Original message.jpg
A binary signal, also known as a logic signal, is a digital signal with two distinguishable levels

A digital signal is a signal that represents data as a sequence of discrete values; at any given time it can only take on, at most, one of a finite number of values. [1] [2] [3] This contrasts with an analog signal, which represents continuous values; at any given time it represents a real number within a continuous range of values.

Contents

Simple digital signals represent information in discrete bands of analog levels. All levels within a band of values represent the same information state. [1] In most digital circuits, the signal can have two possible valid values; this is called a binary signal or logic signal. [4] They are represented by two voltage bands: one near a reference value (typically termed as ground or zero volts), and the other a value near the supply voltage. These correspond to the two values "zero" and "one" (or "false" and "true") of the Boolean domain, so at any given time a binary signal represents one binary digit (bit). Because of this discretization, relatively small changes to the analog signal levels do not leave the discrete envelope, and as a result are ignored by signal state sensing circuitry. As a result, digital signals have noise immunity; electronic noise, provided it is not too great, will not affect digital circuits, whereas noise always degrades the operation of analog signals to some degree. [5]

Digital signals having more than two states are occasionally used; circuitry using such signals is called multivalued logic. For example, signals that can assume three possible states are called three-valued logic.

In a digital signal, the physical quantity representing the information may be a variable electric current or voltage, the intensity, phase or polarization of an optical or other electromagnetic field, acoustic pressure, the magnetization of a magnetic storage media, etcetera. Digital signals are used in all digital electronics, notably computing equipment and data transmission.

A received digital signal may be impaired by noise and distortions without necessarily affecting the digits Digital-signal-noise.svg
A received digital signal may be impaired by noise and distortions without necessarily affecting the digits

Definitions

The term digital signal has related definitions in different contexts.

In digital electronics

A five level PAM digital signal 5PAMlevels.png
A five level PAM digital signal

In digital electronics, a digital signal is a pulse amplitude modulated signal, i.e. a sequence of fixed-width electrical pulses or light pulses, each occupying one of a discrete number of levels of amplitude. [6] [7] A special case is a logic signal or a binary signal, which varies between a low and a high signal level.

The pulse trains in digital circuits are typically generated by metal–oxide–semiconductor field-effect transistor (MOSFET) devices, due to their rapid on–off electronic switching speed and large-scale integration (LSI) capability. [8] [9] In contrast, BJT transistors more slowly generate analog signals resembling sine waves. [8]

In signal processing

In signal processing, a digital signal is an abstraction that is discrete in time and amplitude, meaning it only exists at certain time instants. Digital.signal.discret.svg
In signal processing, a digital signal is an abstraction that is discrete in time and amplitude, meaning it only exists at certain time instants.

In digital signal processing, a digital signal is a representation of a physical signal that is sampled and quantized. A digital signal is an abstraction that is discrete in time and amplitude. The signal's value only exists at regular time intervals, since only the values of the corresponding physical signal at those sampled moments are significant for further digital processing. The digital signal is a sequence of codes drawn from a finite set of values. [10] The digital signal may be stored, processed or transmitted physically as a pulse-code modulation (PCM) signal.

In communications

A frequency-shift keying (FSK) signal is alternating between two waveforms and allows passband transmission. It is considered a means of digital data transmission. Frequenzumtastung.jpg
A frequency-shift keying (FSK) signal is alternating between two waveforms and allows passband transmission. It is considered a means of digital data transmission.
An AMI coded digital signal used in baseband transmission (line coding) AMI-code.png
An AMI coded digital signal used in baseband transmission (line coding)

In digital communications, a digital signal is a continuous-time physical signal, alternating between a discrete number of waveforms, [3] representing a bitstream. The shape of the waveform depends the transmission scheme, which may be either a line coding scheme allowing baseband transmission; or a digital modulation scheme, allowing passband transmission over long wires or over a limited radio frequency band. Such a carrier-modulated sine wave is considered a digital signal in literature on digital communications and data transmission, [11] but considered as a bit stream converted to an analog signal in electronics and computer networking. [12]

In communications, sources of interference are usually present, and noise is frequently a significant problem. The effects of interference are typically minimized by filtering off interfering signals as much as possible and by using data redundancy. The main advantages of digital signals for communications are often considered to be noise immunity, and the ability, in many cases such as with audio and video data, to use data compression to greatly decrease the bandwidth that is required on the communication media.

Logic voltage levels

A logic signal waveform: (1) low level, (2) high level, (3) rising edge, and (4) falling edge. S Digital.svg
A logic signal waveform: (1) low level, (2) high level, (3) rising edge, and (4) falling edge.

A waveform that switches representing the two states of a Boolean value (0 and 1, or low and high, or false and true) is referred to as a digital signal or logic signal or binary signal when it is interpreted in terms of only two possible digits.

The two states are usually represented by some measurement of an electrical property: Voltage is the most common, but current is used in some logic families. Two ranges of voltages are typically defined for each logic family, which are frequently not directly adjacent. The signal is low when in the low range and high when in the high range, and in between the two ranges the behaviour can vary between different types of gates.

The clock signal is a special digital signal that is used to synchronize many digital circuits. The image shown can be considered the waveform of a clock signal. Logic changes are triggered either by the rising edge or the falling edge. The rising edge is the transition from a low voltage (level 1 in the diagram) to a high voltage (level 2). The falling edge is the transition from a high voltage to a low one.

Although in a highly simplified and idealized model of a digital circuit, we may wish for these transitions to occur instantaneously, no real world circuit is purely resistive and therefore no circuit can instantly change voltage levels. This means that during a short, finite transition time the output may not properly reflect the input, and will not correspond to either a logically high or low voltage.

Modulation

To create a digital signal, an analog signal must be modulated with a control signal to produce it. The simplest modulation, a type of unipolar encoding, is simply to switch on and off a DC signal so that high voltages represent a '1' and low voltages are '0'.

In digital radio schemes one or more carrier waves are amplitude, frequency or phase modulated by the control signal to produce a digital signal suitable for transmission.

Asymmetric Digital Subscriber Line (ADSL) over telephone wires, does not primarily use binary logic; the digital signals for individual carriers are modulated with different valued logics, depending on the Shannon capacity of the individual channel.

Clocking

Clocking digital signals through a clocked flip-flop FF Tsetup Thold Toutput.svg
Clocking digital signals through a clocked flip-flop

Digital signals may be sampled by a clock signal at regular intervals by passing the signal through a flip-flop. When this is done, the input is measured at the clock edge, and the signal from that time. The signal is then held steady until the next clock. This process is the basis of synchronous logic.

Asynchronous logic also exists, which uses no single clock, and generally operates more quickly, and may use less power, but is significantly harder to design.

See also

Related Research Articles

<span class="mw-page-title-main">Amplitude modulation</span> Radio modulation via wave amplitude

Amplitude modulation (AM) is a modulation technique used in electronic communication, most commonly for transmitting messages with a radio wave. In amplitude modulation, the amplitude of the wave is varied in proportion to that of the message signal, such as an audio signal. This technique contrasts with angle modulation, in which either the frequency of the carrier wave is varied, as in frequency modulation, or its phase, as in phase modulation.

In electronics and telecommunications, modulation is the process of varying one or more properties of a periodic waveform, called the carrier signal, with a separate signal called the modulation signal that typically contains information to be transmitted. For example, the modulation signal might be an audio signal representing sound from a microphone, a video signal representing moving images from a video camera, or a digital signal representing a sequence of binary digits, a bitstream from a computer.

<span class="mw-page-title-main">Analog-to-digital converter</span> System that converts an analog signal into a digital signal

In electronics, an analog-to-digital converter is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. An ADC may also provide an isolated measurement such as an electronic device that converts an analog input voltage or current to a digital number representing the magnitude of the voltage or current. Typically the digital output is a two's complement binary number that is proportional to the input, but there are other possibilities.

<span class="mw-page-title-main">Delta modulation</span> Signal conversion technique

Delta modulation is an analog-to-digital and digital-to-analog signal conversion technique used for transmission of voice information where quality is not of primary importance. DM is the simplest form of differential pulse-code modulation (DPCM) where the difference between successive samples is encoded into n-bit data streams. In delta modulation, the transmitted data are reduced to a 1-bit data stream representing either up (↗) or down (↘). Its main features are:

A signal generator is one of a class of electronic devices that generates electrical signals with set properties of amplitude, frequency, and wave shape. These generated signals are used as a stimulus for electronic measurements, typically used in designing, testing, troubleshooting, and repairing electronic or electroacoustic devices, though it often has artistic uses as well.

<span class="mw-page-title-main">Pulse-width modulation</span> Representation of a signal as a rectangular wave with varying duty cycle

Pulse-width modulation (PWM), also known as pulse-duration modulation (PDM) or pulse-length modulation (PLM), is any method of representing a signal as a rectangular wave with a varying duty cycle.

<span class="mw-page-title-main">Digital-to-analog converter</span> Device that converts a digital signal into an analog signal

In electronics, a digital-to-analog converter is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function.

A numerically controlled oscillator (NCO) is a digital signal generator which creates a synchronous, discrete-time, discrete-valued representation of a waveform, usually sinusoidal. NCOs are often used in conjunction with a digital-to-analog converter (DAC) at the output to create a direct digital synthesizer (DDS).

<span class="mw-page-title-main">Signal</span> Varying physical quantity that conveys information

Signal refers to both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology.

This is an index of articles relating to electronics and electricity or natural electricity and things that run on electricity and things that use or conduct electricity.

<span class="mw-page-title-main">Phase detector</span> Electrical circuit detecting phase difference

A phase detector or phase comparator is a frequency mixer, analog multiplier or logic circuit that generates a signal which represents the difference in phase between two signal inputs.

Video modulation is a strategy of transmitting video signal in the field of radio modulation and television technology. This strategy enables the video signal to be transmitted more efficiently through long distances. In general, video modulation means that a higher frequency carrier wave is modified according to the original video signal. In this way, carrier wave contains the information in the video signal. Then, the carrier will "carry" the information in the form of radio frequency (RF) signal. When carrier reaches its destination, the video signal is extracted from the carrier by decoding. In other words, the video signal is first combined with a higher frequency carrier wave so that carrier wave contains the information in video signal. The combined signal is called radio-frequency signal. At the end of this transmitting system, the RF signals stream from a light sensor and hence, the receivers can obtain the initial data in the original video signal.

<span class="mw-page-title-main">Voltage-controlled oscillator</span> Oscillator with frequency controlled by a voltage input

A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillation frequency. Consequently, a VCO can be used for frequency modulation (FM) or phase modulation (PM) by applying a modulating signal to the control input. A VCO is also an integral part of a phase-locked loop. VCOs are used in synthesizers to generate a waveform whose pitch can be adjusted by a voltage determined by a musical keyboard or other input.

Amplitude-shift keying (ASK) is a form of amplitude modulation that represents digital data as variations in the amplitude of a carrier wave. In an ASK system, a symbol, representing one or more bits, is sent by transmitting a fixed-amplitude carrier wave at a fixed frequency for a specific time duration. For example, if each symbol represents a single bit, then the carrier signal could be transmitted at nominal amplitude when the input value is 1, but transmitted at reduced amplitude or not at all when the input value is 0.

<span class="mw-page-title-main">Analogue electronics</span> Electronic systems with a continuously variable signal

Analogue electronics are electronic systems with a continuously variable signal, in contrast to digital electronics where signals usually take only two levels. The term analogue describes the proportional relationship between a signal and a voltage or current that represents the signal. The word analogue is derived from the Greek word ανάλογος analogos meaning proportional.

<span class="mw-page-title-main">Delta-sigma modulation</span> Method for converting signals between digital and analog

Delta-sigma modulation is an oversampling method for encoding signals into low bit depth digital signals at a very high sample-frequency as part of the process of delta-sigma analog-to-digital converters (ADCs) and digital-to-analog converters (DACs). Delta-sigma modulation achieves high quality by utilizing a negative feedback loop during quantization to the lower bit depth that continuously corrects quantization errors and moves quantization noise to higher frequencies well above the original signal's bandwidth. Subsequent low-pass filtering for demodulation easily removes this high frequency noise and time averages to achieve high accuracy in amplitude which can be ultimately encoded as pulse-code modulation (PCM).

In digital circuits, a logic level is one of a finite number of states that a digital signal can inhabit. Logic levels are usually represented by the voltage difference between the signal and ground, although other standards exist. The range of voltage levels that represent each state depends on the logic family being used. A logic-level shifter can be used to allow compatibility between different circuits.

Pulse-code modulation (PCM) is a method used to digitally represent analog signals. It is the standard form of digital audio in computers, compact discs, digital telephony and other digital audio applications. In a PCM stream, the amplitude of the analog signal is sampled at uniform intervals, and each sample is quantized to the nearest value within a range of digital steps. Alec Reeves, Claude Shannon, Barney Oliver and John R. Pierce are credited with its invention.

Pulse-density modulation, or PDM, is a form of modulation used to represent an analog signal with a binary signal. In a PDM signal, specific amplitude values are not encoded into codewords of pulses of different weight as they would be in pulse-code modulation (PCM); rather, the relative density of the pulses corresponds to the analog signal's amplitude. The output of a 1-bit DAC is the same as the PDM encoding of the signal.

In electronics, power amplifier classes are letter symbols applied to different power amplifier types. The class gives a broad indication of an amplifier's characteristics and performance. The first three classes are related to the time period that the active amplifier device is passing current, expressed as a fraction of the period of a signal waveform applied to the input. This metric is known as conduction angle (θ). A class A amplifier is conducting through the entire period of the signal (θ=360°); Class B only for one-half the input period (θ=180°), class C for much less than half the input period (θ<180°). Class D amplifiers operate their output device in a switching manner; the fraction of the time that the device is conducting may be adjusted so a pulse-width modulation output can be obtained from the stage.

References

  1. 1 2 Robert K. Dueck (2005). Digital Design with CPLD Applications and VHDL. Thomson/Delmar Learning. ISBN   1401840302. Archived from the original on 2017-12-17. Retrieved 2017-08-30. A digital representation can have only specific discrete values
  2. Proakis, John G.; Manolakis, Dimitris G. (2007-01-01). Digital Signal Processing. Pearson Prentice Hall. ISBN   9780131873742. Archived from the original on 2016-05-20. Retrieved 2015-09-22.
  3. 1 2 Analogue and Digital Communication Techniques Archived 2017-12-17 at the Wayback Machine : "A digital signal is a complex waveform and can be defined as a discrete waveform having a finite set of levels"
  4. "Digital Signal". Archived from the original on 2016-03-04. Retrieved 2016-08-13.
  5. Horowitz, Paul; Hill, Winfield (1989). The Art Of Electronics, 2nd Ed. Cambridge University Press. pp. 471–473. ISBN   0521370957.
  6. B. SOMANATHAN NAIR (2002). Digital electronics and logic design. PHI Learning Pvt. Ltd. p. 289. ISBN   9788120319561. Digital signals are fixed-width pulses, which occupy only one of two levels of amplitude.
  7. Joseph Migga Kizza (2005). Computer Network Security. Springer Science & Business Media. ISBN   9780387204734.
  8. 1 2 "Applying MOSFETs to Today's Power-Switching Designs". Electronic Design . 23 May 2016. Archived from the original on 10 August 2019. Retrieved 10 August 2019.
  9. 2000 Solved Problems in Digital Electronics. Tata McGraw-Hill Education. 2005. p. 151. ISBN   978-0-07-058831-8.
  10. Vinod Kumar Khanna (2009). Digital Signal Processing. S. Chand. p. 3. ISBN   9788121930956. A digital signal is a special form of discrete-time signal which is discrete in both time and amplitude, obtained by permitting each value (sample) of a discrete-time signal to acquire a finite set of values (quantization), assigning it a numerical symbol according to a code ... A digital signal is a sequence or list of numbers drawn from a finite set.
  11. J.S.Chitode, Communication Systems, 2008: "When a digital signal is transmitted over a long distance, it needs CW modulation."
  12. Fred Halsall, Computer Networking and the Internet: "In order to transmit a digital signal over an analog subscriber line, modulated transmission must be used; thas is the electrical signal that represents the binary bit stream of the source (digital) output must first be converted to an analog signal that is compatible with a (telephony) speech signal."