The Critical Factors of a High-performance Audio Codec – What Chip Designers Need to Know
1. Introduction
The marketplace for audio purposes and gadgets has considerably grown over the past couple of years. Applications corresponding to good audio system, Bluetooth audio system, smartphones, and voice-controlled human-machine interfaces (HMI) have gained nice reputation, resulting in a gradual stream of recent and improved audio gadgets. All these purposes combine an audio codec, which is chargeable for changing an analog audio sign to a digital audio sign and vice versa. The audio codec efficiency immediately impacts the sound high quality of the system, which makes it one of the crucial vital capabilities of an audio system.
This white paper will discover the know-how and options of high-performance audio codecs. It will clarify generally used applied sciences corresponding to sampling charge, quantization, signal-to-noise ratio (SNR), oversampling, and Sigma-Delta modulation. The use of compression algorithms, corresponding to MP3, AC’97 is past the scope of this paper. This paper will solely talk about the small print and significance of analog-to-digital converter (ADC) and digital-to-analog converter (DAC) of a codec.
Finally, this paper will spotlight among the typical challenges IC designers face when integrating an audio codec into their system or SoC. It can be proven how implementing an off-the-shelf audio codec is an possibility to extend time-to-market and restrict the design threat whereas additionally sustaining customizability and adaptability.
2. CODEC Overview
A codec (coder-decoder or compressor-decompressor) is a operate used to encode and decode knowledge, corresponding to audio, video, or different sorts of recordsdata. It transforms uncooked knowledge right into a compressed format to save lots of space for storing or cut back transmission bandwidth after which converts it again into its authentic type. Often, a codec is mixed with a digital-to-analog (DAC) and an analog-to-digital (ADC)converter, which converts an analog sign right into a digital sign and vice versa. Depending on the appliance requirement, many compression algorithms exist, e.g. MP3, MP4, AC’97, WAV, and will be built-in into the codec.
The two vital practical blocks of audio codec structure are the Analog-to-Digital Converter (ADC). and the Digital-to-Analog Converter (DAC), as they immediately influence the audio high quality. The digital audio sign will be linked to different built-in circuits (IC) parts through an Inter-Integrated Circuit Sound (I²S) interface. This is a serial interface protocol for transmitting two-channel, digital audio a pulse-code (PCM) sign. (Figure 1 Audio Codec Block Diagram) exhibits the practical construction of a codec mentioned on this paper.

Figure 1 Audio Codec Block Diagram
3. Codec Features
Sampling charge
The sampling charge of an audio codec refers back to the variety of occasions per second an audio sign is sampled to create a digital illustration of the analog sign. It is measured in Hertz (Hz) and determines the audio high quality and the vary of frequencies that may be captured.
The bodily concept relies on the Nyquist Theorem, also called the Nyquist-Shannon Sampling Theorem, which describes the basic precept of digital sign processing. The theorem asserts that to seize all the data in a sign with out dropping any knowledge, the pattern charge must be at the least twice that of the sign’s highest frequency (Figure 2 Sampling Rates).
If the sampling charge is under the Nyquist charge, distortion happens, and better frequencies are indistinguishably mirrored as decrease frequencies. This distortion is known as aliasing (Figure 3 Aliasing Distortion).

Source: https://ift.tt/OiyF6KG
Figure 2 Sampling Rates

Source: https://ift.tt/sYRPO4q
Figure 3 Aliasing Distortion
Some of the commonest audio sampling charges are:
- 44.1 okHz: The commonplace for CDs, capturing frequencies as much as 22.05 okHz.
- 48 okHz: Common in skilled video and audio gear, capturing frequencies as much as 24 okHz.
- 88.2 okHz and 96 okHz: High-resolution audio format, for larger constancy.
- 192 okHz: High-end audio gear, ultra-high constancy.
Integrated circuit (IC) designers should make a trade-off when designing their audio system. They should determine between high-quality audio with a excessive sampling charge or low energy and minimal silicon space. Power, efficiency, and silicon space optimization, generally known as PPA optimization, is turning into an vital think about deciding whether or not to develop or purchase practical constructing blocks for ICs.
Quantization
Quantization in an audio codec is the method of mapping a steady analog audio sign to a discrete digital sign by taking steady amplitude samples and approximating them to the closest worth in a finite set of ranges. A quantizer makes use of predefined steps, splitting the analog sign into equal intervals. These intervals are referred to as step sizes (Δ). When changing an analog audio sign to a digital sign, quantization includes mapping the amplitude of the sign, measured in Volt, at every sampling level to a discrete digital worth. This technique is depicted in Figure 4 Analog Voltage Quantization). In this instance, a 4-bit quantizer (N=4) is used to encode the completely different voltage ranges to a finite digital stage. The quantizer makes use of 4 bits to characterize one of many 16 completely different voltage ranges, which is known as the quantization step.
The voltage worth -V max has the Quantization Step of (-7) and is represented by the 4 bits " 1001 ", which implies that the analog voltage -V max is encoded as " 1001 ". The voltage stage Vmax corresponds to the Quantization Step of (+7) and is encoded into “0111” (Figure 4 Analog Voltage Quantization). If a voltage stage doesn’t fall on a selected Quantization Step the quantizer makes use of an algorithm, corresponding to rounding or truncation to map the precise worth to the closest approximate close by quantization step.

Figure 4 Analog Voltage Quantization
Quantization is a essential step within the digitization of analog audio indicators. If the chosen quantization step measurement and quantization steps are inappropriate, an algorithm for approximation can be used and consequently a quantization error can be injected into the digital sign, which is able to lead to sign noise, making it troublesome to reconstruct the unique audio sign. This will result in a lack of audio high quality.
Quantization Error
An audio quantization error is the distinction between the unique audio analog worth and the closest quantized digital worth. The error happens as a result of the analog sign is approximated to the closest discrete stage, leading to a small lack of accuracy and audio high quality. The anticipated quantization error is immediately proportional to the step measurement. As the step measurement will increase, the quantization error will increase. Conversely, decreasing the step measurement decreases the quantization error. The most quantization error will be described as half the step measurement.

IC design engineers want to know and outline the utmost accepted quantization error, the influence of the chosen step measurement, and the implication for his or her system design, because it immediately impacts the audio high quality. For instance, if the step measurement is giant, every audio worth is approximated, resulting in a better quantization error. On the opposite hand, if the step measurement is small, the audio worth is approximated extra intently, leading to a decrease quantization error and higher audio high quality. The disadvantage is {that a} smaller step measurement requires extra quantization bits for the ADC, rising design complexity
Signal-to-Noise Ratio
The signal-to-noise ratio (SNR) measures the extent of a desired authentic audio sign in comparison with the extent of background noise.
It is expressed in decibels (dB) utilizing the components

SNR is used to measure and consider the standard of the codec. The next SNR signifies clearer, higher audio high quality with much less noise, whereas a decrease SNR signifies a noisier audio sign the place the noise is extra distinguished.
Relationship of SNR and quantization step
SNR and quantization are intently associated. Specifically, the quantization step measurement immediately impacts the extent of quantization noise and consequently, the SNR. The SNR within the context of quantization will be expressed as a operate of the variety of quantization ranges or bits (N=bits) and the step measurement. For a uniform quantizer with a mid-tread quantization, the SNR in dB is roughly:

This implies that with a 1-bit enhance in quantizer decision, the signal-to-noise ratio will enhance by 6.02dB.
Oversampling,
Oversampling is a way to enhance the decision and high quality of digital audio indicators. It includes sampling the sign with a considerably larger charge (Okay*fs) than the minimal required charge, outlined by the Nyquist theorem (fs). Oversampling is often utilized in audio processing purposes.
Oversampling of an audio sign gives a number of key advantages. First, it improves the audio sign decision, resulting in an correct illustration of the audio sign. Second, it reduces the sign quantization noise as the overall noise stage is unfold over a broader frequency vary. An sufficient filter can filter out the noise extra simply and enhance SNR. Third, digital filters can be utilized for down-sampling or decimation. This will cut back the sampling charge to the specified stage whereas preserving the improved audio sign decision and noise discount advantages. Fourth, oversampling can improve the dynamic vary of a sign, which is the distinction between the smallest and largest potential values of a sign

Figure 5 Nyquist Frequency Sampling & Quantization Noise
Figure 6 Oversampling & Quantization Noise
Sigma-Delta Modulation
As using oversampling will enhance the SNR of an ADC, it has some drawbacks. For instance, a rise within the sampling frequency will result in a rise within the energy consumption of the IC. Sigma-Delta-Modulation is a technique that may additional enhance the SNR by utilizing a noise-shaping know-how Figure 7 Noise Shaping & Quantization Noise). This know-how shapes the uniformly distributed quantization noise as depicted in Figure 6 Oversampling & Quantization Noise), pushing many of the quantization noise to larger frequencies. This high-frequency noise will be filtered out with a digital filter, enhancing the SNR (Figure 7 Noise Shaping & Quantization Noise).

Figure 7 Noise Shaping & Quantization Noise
4. Audio Codec Applications and Design Challenges
Audio codecs are extensively utilized in numerous purposes corresponding to good audio system, voice assistants utilizing synthetic intelligence, streaming & playback of audio and voice, house audio, voice-over web (VoIP), digital broadcasting, gaming, automotive, listening to assist, earbuds, HMI, Industrial IoT, predictive upkeep, and others. All these purposes have distinctive necessities by way of anticipated audio high quality, measurement, or the best way they’re powered.
Designing an audio system presents a number of challenges for chip designers. These challenges will be divided into IP design and integration challenges. Some of a very powerful key concerns are:
IP Design Challenges
High-Quality Audio Performance: Achieving a excessive Signal-to-Noise Ratio (SNR) and minimizing sign errors require exact analog design. Maintaining constant efficiency throughout temperature, voltage, and course of variations provides to the complexity.
Power Consumption: For battery-powered gadgets corresponding to smartphones, moveable Bluetooth audio system, and wi-fi earbuds, an energy-efficient audio codec is crucial for maximizing operation on a single cost. Designers must determine on the suitable sampling charge and architectural implementation.
Cost and Area: Silicon space is immediately proportional to value. Designing the codec to occupy minimal silicon space whereas sustaining efficiency is essential for cost-effective manufacturing.
Testing and Validation
Designers should specify the most effective technique for Design for Testability (DFT) within the IC. Rigorous testing is required to make sure the codec meets all efficiency and high quality requirements, is time and resource-consuming.
Make vs. Buy
Buying an off-the-shelf audio codec requires figuring out IP that’s versatile sufficient to fulfill all design necessities, scalable, and silicon-proven from an IP associate with deep experience and knowledgeable information. This IP associate must have expertise with a number of foundries and course of applied sciences.
Integration Challenges
Power Consumption: For battery-powered gadgets, an energy-efficient audio codec is crucial for maximizing operation on a single cost. Power leakage, which largely is determined by the silicon manufacturing course of know-how, performs a vital position, as these gadgets spend most of their time in standby mode.
Process Technology: Unlike digital circuits, analog circuits don’t scale as effectively with newer course of applied sciences, which may have an effect on each efficiency and value. Designers should rigorously choose the optimum course of know-how to fulfill their software necessities.
Thermal Management: Managing warmth dissipation is essential to forestall overheating and guarantee system reliability. Additionally, additional cooling will increase product value and requires extra space for heatsinks or followers.
SoC Integration: Ensuring sign immunity from interference is essential when integrating the codec right into a System on Chip (SoC). This requires cautious planning to attenuate sign crosstalk and keep optimum efficiency. System designers should make sure the codec is immune to electromagnetic interference (EMI) and radio frequency interference (RFI).
5. Summary
An audio codec is a posh system and creating a scalable high-reliable, high-performance, and low-power audio codec shouldn’t be a simple process. The arithmetic and know-how behind an audio codec is kind of complicated. Integration right into a SoC and testing opens a brand new set of challenges for IC designers. Addressing the design challenges requires superior engineering methods, progressive design methods, knowledgeable information, and financial and human sources. These sources are sometimes restricted.
Using an off-the-shelf, silicon-proven audio codec IP that seamlessly integrates into the SoC is an efficient resolution to beat these design challenges. It accelerates time-to-market, reduces design threat, optimizes useful resource utilization, and ensures excessive product high quality from the primary silicon.
Innosilicon Technology Inc. has developed a extremely versatile and customizable superior audio codec that includes a Sigma-Delta structure. It helps sampling charges of as much as 96 okHz with a powerful SNR of as much as 93 dB and as much as 24-bit quantization. Designed for an immersive audio expertise, the codec provides as much as 8 channels, accommodating mono, stereo, 5.1, and seven.1 HiFi efficiency. This high-performance, off-the-shelf resolution has been extensively examined, built-in, and silicon-proven throughout a number of foundries and course of applied sciences starting from 55nm to 6nm, making it best for a variety of audio purposes.
6. About Innosilicon
Innosilicon, is a worldwide main supplier of High-Speed IP and ASIC design companies. Founded in 2006 the corporate has established itself as a dependable IP supplier and constructed a well-recognized popularity within the semiconductor trade. Innosilicon supported over 300 top-tier shoppers, enabling them to extend their time-to-market and restrict design threat, delivery greater than 10 billion high-end SoCs. Innosilicon is dedicated to speed up international innovation by leveraging its intensive chip design experience and deep partnerships with semiconductor foundries, like TSMC, Samsung, Global Foundries, and others, striving towards buyer success. During the final twenty years, the corporate has labored on purposes, corresponding to high-performance computing, multimedia, automotive, AI, and IoT purposes and developed an intensive IP portfolio starting from HBM3E, GDDR7/6X/6, UCIe Chiplet, and PCIe5 and others.
Innosilicon Technology Inc.
97 E Brokaw Rd #210,
San Jose, CA 95112
For extra info, contact gross [email protected]
www.innosilicon.com
If you want to obtain a duplicate of this white paper, click on right here
HI-FI News
through Design And Reuse https://ift.tt/yOeFwhQ
March 13, 2025 at 05:04PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT









