Analog Signals vs. Digital Signals

Discussion in 'Mixing and Mastering' started by hamidkarimi, Apr 18, 2024.

  1. hamidkarimi

    hamidkarimi Noisemaker

    Joined:
    Aug 25, 2023
    Messages:
    54
    Likes Received:
    6
    Location:
    iran .qazvin
    From https://www.monolithicpower.com/en/analog-vs-digital-signal:

    A signal is an electromagnetic or electrical current that carries data from one system or network to another. In electronics, a signal is often a time-varying voltage that is also an electromagnetic wave carrying information, though it can take on other forms, such as current. There are two main types of signals used in electronics: analog and digital signals. This article discusses the corresponding characteristics, uses, advantages and disadvantages, and typical applications of analog vs. digital signals.

    Analog Signal
    An analog signal is time-varying and generally bound to a range (e.g. +12V to -12V), but there is an infinite number of values within that continuous range. An analog signal uses a given property of the medium to convey the signal’s information, such as electricity moving through a wire. In an electrical signal, the voltage, current, or frequency of the signal may be varied to represent the information. Analog signals are often calculated responses to changes in light, sound, temperature, position, pressure, or other physical phenomena.


    When plotted on a voltage vs. time graph, an analog signal should produce a smooth and continuous curve. There should not be any discrete value changes (see Figure 1).

    [​IMG]
    Figure 1: Analog Signal

    Digital Signal
    A digital signal is a signal that represents data as a sequence of discrete values. A digital signal can only take on one value from a finite set of possible values at a given time. With digital signals, the physical quantity representing the information can be many things:

    • Variable electric current or voltage
    • Phase or polarization of an electromagnetic field
    • Acoustic pressure
    • The magnetization of a magnetic storage media
    Digital signals are used in all digital electronics, including computing equipment and data transmission devices. When plotted on a voltage vs. time graph, digital signals are one of two values, and are usually between 0V and VCC (usually 1.8V, 3.3V, or 5V) (see Figure 2).

    [​IMG]

    Analog Electronics
    Most of the fundamental electronic components — resistors, capacitors, inductors, diodes, transistors, and operational amplifiers (op amps) — are all inherently analog components. Circuits built with a combination of these components are analog circuits (see Figure 3).

    [​IMG]
    Figure 3: Analog Circuit

    Analog circuits can be complex designs with multiple components, or they can be simple, such as two resistors that form a voltage divider. In general, analog circuits are more difficult to design than digital circuits that accomplish the same task. It would take a designer who is familiar with analog circuits to design an analog radio receiver, or an analog battery charger, since digital components have been adopted to simplify those designs.

    Analog circuits are usually more susceptible to noise, with “noise” being any small, undesired variations in voltage. Small changes in the voltage level of an analog signal can produce significant errors when being processed.

    Analog signals are commonly used in communication systems that convey voice, data, image, signal, or video information using a continuous signal. There are two basic kinds of analog transmission, which are both based on how they adapt data to combine an input signal with a carrier signal. The two techniques are amplitude modulation and frequency modulation. Amplitude modulation (AM) adjusts the amplitude of the carrier signal. Frequency modulation (FM) adjusts the frequency of the carrier signal. Analog transmission may be achieved via many methods:

    1. Through a twisted pair or coaxial cable
    2. Through an optical fiber cable
    3. Through radio
    4. Through water
    Much like the human body uses eyes and ears to capture sensory information, analog circuits use these methodologies to interface with the real world, and to accurately capture and process these signals in electronics.

    MPS makes a variety of analog ICs and components, such as the MP2322, a low IQ synchronous step-down converter in a tiny 1.5mmx2mm QFN package.

    Digital Electronics
    Digital circuits implement components such as logic gates or more complex digital ICs. Such ICs are represented by rectangles with pins extending from them (see Figure 4).

    [​IMG]
    Figure 4: Digital Circuit

    Digital circuits commonly use a binary scheme. Although data values are represented by just two states (0s and 1s), larger values can be represented by groups of binary bits. For example, in a 1-bit system, a 0 represents a data value of 0, and a 1 represents a data value of 1. However, in a 2-bit system, a 00 represents a 0, a 01 represents a 1, a 10 represents a 2, and a 11 represents a 3. In a 16-bit system, the largest number that can be represented is 216, or 65,536. These groups of bits can be captured either as a sequence of successive bits or a parallel bus. This allows large streams of data to be processed easily.

    Unlike analog circuits, most useful digital circuits are synchronous, meaning there is a reference clock to coordinate the operation of the circuit blocks, so they operate in a predictable manner. Analog electronics operate asynchronously, meaning they process the signal as it arrives at the input.

    Most digital circuits use a digital processor to manipulate the data. This can be in the form of a simple microcontroller (MCU) or a more complex digital signal processor (DSP), which can filter and manipulate large streams of data such as video.

    Digital signals are commonly used in communication systems where digital transmission can transfer data over point-to-point or point-to-multipoint transmission channels, such as copper wires, optical fibers, wireless communication media, storage media, or computer buses. The transferrable data is represented as an electromagnetic signal, such as a microwave, radio wave, electrical voltage, or infrared signal.

    In general, digital circuits are easier to design, but they often cost more than analog circuits that are intended for the same tasks.

    MPS’s catalog of digital components includes the MP2886A, a digital multi-phase PWM controller with a PWM-VID interface compatible with NVIDIA’s Open VReg specification.

    Analog-to-Digital (ADC) and Digital-to-Analog (DAC) Signal Conversion
    Many systems must process both analog and digital signals. It is common in many communications systems to use an analog signal, which acts as an interface for the transmission medium to transmit and receive information. These analog signals are converted to digital signals, which filter, process, and store the information.

    Figure 5 shows a common architecture in which the RF analog front-end (AFE) consists of all analog blocks to amplify, filter, and gain the analog signal. Meanwhile, the digital signal processor (DSP) section filters and processes the information. To convert signals from the analog subsystem to the digital subsystem in the receive path (RX), an analog-to-digital converter (ADC) is used. To convert signals from the digital subsystem to the analog subsystem in the transmit path (TX), a digital-to-analog converter (DAC) is used.

    [​IMG]Figure 5: Communication System with Analog and Digital Subsystems
    A digital signal processor (DSP) is a specialized microprocessor chip that performs digital signal processing operations. DSPs are fabricated on MOSFET integrated circuit chips, and are widely used in audio signal processing, telecommunications, digital image processing, high-definition television products, common consumer electronic devices such as mobile phones, and in many other significant applications.

    A DSP is used to measure, filter, or compress continuous real-world analog signals. Dedicated DSPs often have higher power efficiency, making them suitable in portable devices due to their power consumption constraints. A majority of general-purpose microprocessors are also able to execute digital signal processing algorithms.

    ADC Operation
    Figure 6 shows ADC operation. The input is the analog signal, which is processed through a sample-hold (S/H) circuit to create an approximated digital representation of the signal. The amplitude no longer has infinite values, and has been “quantized” to discrete values, depending on the resolution of the ADC. An ADC with a higher resolution will have finer step sizes, and will more accurately represent the input analog signal. The last stage of the ADC encodes the digitized signal into a binary stream of bits that represents the amplitude of the analog signal. The digital output can now be processed in the digital domain.

    [​IMG]
    Figure 6: Typical ADC Architecture for Analog to Digital Signal Conversion

    DAC Operation
    A DAC provides the reverse operation. The DAC input is a binary stream of data from the digital subsystem, and it outputs a discrete value, which is approximated as an analog signal. As the resolution of the DAC increases, the output signal more closely approximates a true smooth and continuous analog signal (see Figure 7). There is usually a post filter in the analog signal chain to further smooth out the waveform.

    [​IMG]
    Figure 7: 6-Bit DAC for Digital-to-Analog Signal Conversion

    As mentioned before, many systems used today are “mixed signal,” meaning they rely on both analog and digital subsystems. These solutions require ADCs and DACs to convert information between the two domains.

    Digital Signals vs. Analog Signals: Advantages and Disadvantages
    As with most engineering topics, there are pros and cons for both analog and digital signals. The specific application, performance requirements, transmission medium, and operating environment can determine whether analog or digital signaling (or a combination) should be used.

    Digital Signals: Advantages and Disadvantages
    Advantages to using digital signals, including digital signal processing (DSP) and communication systems, include the following:

    • Digital signals can convey information with less noise, distortion, and interference.
    • Digital circuits can be reproduced easily in mass quantities at comparatively low costs.
    • Digital signal processing is more flexible because DSP operations can be altered using digitally programmable systems.
    • Digital signal processing is more secure because digital information can be easily encrypted and compressed.
    • Digital systems are more accurate, and the probability of error occurrence can be reduced by employing error detection and correction codes.
    • Digital signals can be easily stored on any magnetic media or optical media using semiconductor chips.
    • Digital signals can be transmitted over long distances.
    Disadvantages to using digital signals, including digital signal processing (DSP) and communication systems, include the following:

    • A higher bandwidth is required for digital communication when compared to analog transmission of the same information.
    • DSP processes the signal at high speeds, and comprises more top internal hardware resources. This results in higher power dissipation compared to analog signal processing, which includes passive components that consume less energy.
    • Digital systems and processing are typically more complex.
    Analog Signals: Advantages and Disadvantages
    Advantages to using analog signals, including analog signal processing (ASP) and communication systems, include the following:

    • Analog signals are easier to process.
    • Analog signals best suited for audio and video transmission.
    • Analog signals are much higher density, and can present more refined information.
    • Analog signals use less bandwidth than digital signals.
    • Analog signals provide a more accurate representation of changes in physical phenomena, such as sound, light, temperature, position, or pressure.
    • Analog communication systems are less sensitive in terms of electrical tolerance.
    Disadvantages to using analog signals, including analog signal processing (ASP) and communication systems, include the following:

    • Data transmission at long distances may result in undesirable signal disturbances.
    • Analog signals are prone to generation loss.
    • Analog signals are subject to noise and distortion, as opposed to digital signals which have much higher immunity.
    • Analog signals are generally lower quality signals than digital signals.
    Analog and Digital Signals: Systems and Applications
    Traditional audio and communication systems used analog signals. However, with advances in silicon process technologies, digital signal processing capabilities, encoding algorithms, and encryption requirements — in addition to increases in bandwidth efficiencies — many of these systems have become digital. They are still some applications where analog signals have legacy use or benefits. Most systems that interface to real-world signals (such as sound, light, temperature, and pressure) use an analog interface to capture or transmit the information. A few analog signal applications are listed below:

    • Audio recording and reproduction
    • Temperature sensors
    • Image sensors
    • Radio signals
    • Telephones
    • Control systems


    Although many original communication systems used analog signaling (telephones), recent technologies use digital signals because of their advantages with noise immunity, encryption, bandwidth efficiency, and the ability to use repeaters for long-distance transmission. A few digital signal applications are listed below:

    • Communication systems (broadband, cellular)
    • Networking and data communications
    • Digital interfaces for programmability


    Conclusion
    This article introduces some of the basic concepts of analog and digital signals, and their uses in electronics. There are clear advantages and disadvantages with each technology, and knowing your application’s needs and performance requirements will help you determine which signal(s) to choose.
     
    Last edited by a moderator: Apr 18, 2024
    • Funny Funny x 1
    • Winner Winner x 1
    • Useful Useful x 1
    • List
  2.  
  3. Tommy Blanton

    Tommy Blanton Newbie

    Joined:
    Nov 10, 2021
    Messages:
    3
    Likes Received:
    0
    The Differences Between Analog And Digital Is The Art.That's What Going To Make You Peace.
     
  4. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,709
    Likes Received:
    2,279
    Location:
    Russia
    You should know that an output from these digitally squared steps is same as analog, round, not stepped. PCM is only inside digital form
     
    • Agree Agree x 9
    • Disagree Disagree x 1
    • List
  5. sisyphus

    sisyphus Rock Star

    Joined:
    Apr 29, 2014
    Messages:
    1,157
    Likes Received:
    482
    Are you posting this for a school project or something?
     
  6. jhagen

    jhagen Platinum Record

    Joined:
    Apr 9, 2013
    Messages:
    464
    Likes Received:
    156
    At the very end all sounds are analogue and propagate through air.

    Theoretically even an 8bit digital signal could be considered analogue.
     
    • Agree Agree x 3
    • Disagree Disagree x 2
    • Funny Funny x 1
    • Creative Creative x 1
    • List
  7. pratyahara

    pratyahara Guest

    No, the outcome of digitally squared steps wouldn't mirror that of analog signals, which are continuous and unstepped. Squaring a digital value would yield another discrete value, lacking the smoothness of an analog curve. Digital is either on or off, so it can't be rendered continuous. Squaring wouldn't transition a stepped digital signal into a smooth analog one. The greater the number of steps (higher resolution) employed to digitize the analog signal, the closer the squared output can approximate its analog counterpart.
     
    • Disagree Disagree x 7
    • Like Like x 1
    • List
  8. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,709
    Likes Received:
    2,279
    Location:
    Russia
    Are you really sure?

    I can give you 2 examples
     
  9. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,709
    Likes Received:
    2,279
    Location:
    Russia
    Test 1:
    Create 1kHz sine at 44100
    Reconvert to 192kHz.
    Steps became smoother 4 times.

    Or simply
    Create 18kHz sine at 44.1 at look how it is shitty, ugly and squary-looking.
    Reconvert to 192. It is not better. But way smoother.

    Stop this shit, please, or I will post video where in PCM mode these sines are shit, but analog output showing perfect round sines.

    Or I will give a quote from FabienTDR where he gives an examples of continuous digital and discrete steppy analog tapes. And your mind mind will blow.

    Digital is only aliasing, cramping of phase and frequency, bad decramping reconstruction, jitter, quantisation errors and lossy codecs. No more
     
    Last edited: Apr 18, 2024
  10. pratyahara

    pratyahara Guest

    No, the sound from a digital source is always granulated, unlike the sound from analogue sources. With a decreased sample rate, the intervals between digital values become more perceptible, resulting in a stair-step effect or a grainy sound, particularly noticeable with high-frequency sounds.
     
  11. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,709
    Likes Received:
    2,279
    Location:
    Russia
     
    • Agree Agree x 5
    • Like Like x 2
    • Winner Winner x 2
    • List
  12. pratyahara

    pratyahara Guest

    First, pay attention to how you express yourself if you really want to communicate.
     
    Last edited by a moderator: Apr 18, 2024
  13. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,709
    Likes Received:
    2,279
    Location:
    Russia
    Or just create sine at 4 kHz sample rate, record from speakers with your mic at 192kHz and you will see how it is round looking now)

    PCM square are inside only. How it will be accurately transformed into analog from digital is the work of DAC.... I think it is not a problem for even cheapest cards..... Not 80s now...
     
  14. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,709
    Likes Received:
    2,279
    Location:
    Russia
    Gosh, I’m writing very quickly from my phone, I’m at work and can’t keep up.


    I don't see the point. The digital are only on the computer, PCM. And what kind of digital turns out to be analogous, we decide with our own hands only, selected plugins, algorithms and sound interfaces we purchased. Essentially, everything should be accurately reconstructed, and the bad stuff is only way beyond our hearing. The rest is either bad hardware or/and unfinished plugins with aliasing. And what else?
     
    Last edited: Apr 18, 2024
  15. No Avenger

    No Avenger Moderator Staff Member

    Joined:
    Jul 19, 2017
    Messages:
    8,974
    Likes Received:
    6,188
    Location:
    Europe
    He forgot to mention that the whole post is a quote from a different site. I already edited the OP.
     
  16. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    764
    Likes Received:
    604
    • Like Like x 2
    • Agree Agree x 1
    • Useful Useful x 1
    • List
  17. Lieglein

    Lieglein Audiosexual

    Joined:
    Nov 23, 2018
    Messages:
    932
    Likes Received:
    532
    Unfortunately this is all simply spreading misinformation coming from the lack of understanding audio fundamentals. :thumbsdown:
    It is advisable to buy an oscillator and measure an analog created signal and a digital signal converted to analog and to compare what the difference between those two is.
     
    Last edited: Apr 18, 2024
    • Like Like x 2
    • Agree Agree x 1
    • Interesting Interesting x 1
    • List
  18. Sinus Well

    Sinus Well Audiosexual

    Joined:
    Jul 24, 2019
    Messages:
    2,014
    Likes Received:
    1,546
    Location:
    Sanatorium
    There is no staircase effect. See Nyquist-Shannon sampling theorem.
     
    • Like Like x 4
    • Agree Agree x 2
    • List
  19. BlackHawk

    BlackHawk Producer

    Joined:
    Nov 28, 2021
    Messages:
    210
    Likes Received:
    107
    Wrong from the start. A digital signal is not continuous. And not cornered. A digital signal is represented by points. The converter constructs a curve that goes exactly through all points. THAT is then the analog signal. There are no stair steps. Or any continuous lines. You know f(x) = x power2. You calculate some points and draw a curve through it. BTW: In this universe there are no rectangles. Think of it why.
     
  20. Obineg

    Obineg Platinum Record

    Joined:
    Dec 7, 2020
    Messages:
    709
    Likes Received:
    249
    was about to say something similar... not sure what the post should tell us or if he simply forgot to add a question?

    anyone who claims the exact opposite of what scientists say should at least include a source. ;)
     
    Last edited: Apr 18, 2024
  21. BlackHawk

    BlackHawk Producer

    Joined:
    Nov 28, 2021
    Messages:
    210
    Likes Received:
    107
    Wrong. You can' let digital travel through air. Airwaves are continuous. Digital is never continuous. So digital is NOT analogue.
     
    • Like Like x 2
    • Agree Agree x 1
    • List
Loading...
Similar Threads - Analog Signals Digital Forum Date
How can we get impulse response from analog devices? Mixing and Mastering Apr 11, 2024
Why do people like Dave Pensadosell their analog devices? Mixing and Mastering Apr 11, 2024
UAD Analog machines essential Software Apr 9, 2024
NEW: UAD Verve Analog Machines Essentials FREE through April 30th! Software News Apr 4, 2024
alternative universe studio - if analog was still a thing Lounge Apr 3, 2024
Loading...