This article provides a detailed explanation of a design method for delta-sigma data conversion systems that introduces a pre-filter to improve signal quality. Related articles, related papers, and MATLAB links are placed at the bottom.
Author: Hiroshi Okajima, Associate Professor, Kumamoto University, Japan — 20 years of control engineering research
This article is based on the following paper.
- Okajima, M. Honda, R. Yoshino and N. Matsunaga, A Design Method of Delta-Sigma Data Conversion System with Pre-Filter, SICE Journal of Control, Measurement, and System Integration, Vol. 8, No. 2, pp. 154–160 (2015) (Open Access)
This paper is co-work with Maho Honda, Rei Yoshino, and Prof. Nobutomo Matsunaga, all from Graduate School of Science and Technology, Kumamoto University.
Contents
- Why Delta-Sigma Data Conversion Matters
- Traditional Delta-Sigma Data Conversion System
- Delta-Sigma Modulator
- Proposed System with Pre-Filter
- Error Evaluation System
- Design Algorithm Using Particle Swarm Optimization
- Numerical Simulations: Classical Piano
- Numerical Simulations: J-POP Music
- Connections to Related Research
- MATLAB Code
- Related Articles and Videos
- Paper Information
Why Delta-Sigma Data Conversion Matters
AD/DA conversion is a core technology in digital signal processing. Signal compression is one of the most important components for building effective AD/DA conversion systems. In practice, applications such as:
- Sound processing and music compression
- Image processing
- Networked control systems with communication channel constraints
all require high-quality data conversion that minimizes the effect of quantization noise while preserving the original signal.
The delta-sigma modulator (DSM) is well known as an effective method for encoding analog signals into digital signals. It is a noise-shaping type converter that can suppress low-frequency quantization noise. However, the traditional system — composed of a DSM and a post-filter — faces a fundamental trade-off between quantization noise reduction and signal distortion. If the post-filter's cut-off frequency is set too low, signal distortion increases; if set too high, quantization noise is not sufficiently removed.
This paper proposes a new approach: adding a pre-filter before the DSM, creating a two-degree-of-freedom structure that can separately handle quantization noise and signal distortion. The filters are designed using a particle swarm optimization (PSO) algorithm.
Traditional Delta-Sigma Data Conversion System
The traditional delta-sigma data conversion system consists of a DSM followed by a post-filter . The input signal
is fed into the DSM, which produces a coarse quantized output. The post-filter then removes high-frequency quantization noise to recover an approximation
of the original signal.
The design objective is to minimize the difference between and
, but this requires balancing the trade-off between quantization noise and signal distortion through careful selection of the post-filter parameters.
Delta-Sigma Modulator
The DSM used in this paper is denoted as and is given by the following two equations:
where is the state,
is the input, and
is the output. The initial state is
. The paper assumes a 3-level quantizer (
,
), so the permissible input range is:
The quantization noise satisfies
for all
, and the input-output relationship can be described as:
where is the delay operator. The term
represents the derivative transfer function, which is the key noise-shaping property of the DSM: quantization noise is reduced at low frequencies (where the input signal resides) and pushed to higher frequencies.
Proposed System with Pre-Filter
The proposed data conversion system adds a pre-filter before the DSM and modifies the post-filter to
, creating a two-degree-of-freedom structure. The filters are parameterized as:
where is a stable, minimum-phase transfer function with relative degree zero, and
is a low-pass filter. Setting
recovers the traditional system, so the proposed structure has the potential to improve performance beyond the traditional approach.
The key advantage is that the pre-filter shapes the input signal before quantization, allowing the designer to improve the signal-to-noise ratio without affecting signal distortion, which depends only on
.
Error Evaluation System
The paper proposes an error evaluation system that separates the effects of quantization noise and signal distortion into two error signals.
The first error signal evaluates the signal distortion caused by the filter
. Its z-transform is:
where in this paper. To minimize signal distortion, the gain of
should be small in the dominant frequency range of
.
The second error signal evaluates the effect of quantization noise. Its z-transform is:
Since the quantization noise characteristics do not depend on the input signal, can be designed independently to minimize
under the signal range constraint.
The overall evaluation function combines both errors:
where denotes the variance, and
,
are weights that control the trade-off between signal distortion and quantization noise.
Design Algorithm Using Particle Swarm Optimization
The filters and
are designed using particle swarm optimization (PSO), a population-based optimization method inspired by swarm behavior. The PSO algorithm updates particle positions and velocities according to:
where is the personal best and
is the global best. The design follows a two-step procedure:
- Design
: The post-filter is designed as a Butterworth low-pass filter with cut-off frequency
and order
as design variables, using PSO to minimize
with
.
- Design
: The pre-filter is designed as a first-order transfer function
with parameters
optimized by PSO, using the previously obtained
and enforcing the signal range constraint.
The two-step approach is advantageous because the number of design parameters for each PSO problem is smaller compared to simultaneous design of both filters.
Numerical Simulations: Classical Piano
The method is first demonstrated using a classical piano sound as the input signal, sampled at 44,100 Hz with a main frequency range of 0 to 2 kHz.
Post-Filter Design
The PSO algorithm ( , 50 particles) yields a Butterworth filter with:
- Cut-off frequency:
Hz
- Order:
The evaluation function value is .
Pre-Filter Design
The PSO algorithm ( , 100 particles) yields:
This filter has high-pass characteristics, which boosts the signal around 2 kHz before quantization, thereby improving the SN ratio. The resulting evaluation function value improves to , which is smaller than the case without the pre-filter (0.0315).
The maximum absolute error between and
is also smaller with the pre-filter compared to the traditional method, confirming the effectiveness of the proposed approach.
Numerical Simulations: J-POP Music
To evaluate robustness to different input characteristics, J-POP music is used as a second test signal. J-POP music has a wider frequency range compared to the classical piano.
The PSO algorithm yields:
- Post-filter
: cut-off frequency
Hz, order
- Pre-filter:
The designed parameters are significantly different from the classical piano case. In particular, the effect of the pre-filter is smaller, and the cut-off frequency is higher due to the wider frequency range of J-POP music. The evaluation value is .
An important finding: when the filters designed for J-POP music are applied to the classical piano input, the evaluation value becomes , which is larger than the value obtained by the individually designed filters (0.0262). This demonstrates that individual filter design for each input signal type is important for minimizing quantization noise.
Connections to Related Research
This work is part of a broader research program on quantized control and data conversion:
Dynamic Quantizer Design — H. Okajima, K. Sawada and N. Matsunaga, Dynamic Quantizer Design Under Communication Rate Constraints, IEEE Transactions on Automatic Control, Vol. 61, No. 10, pp. 3190–3196 (2016). Addresses optimal dynamic quantizer design for control systems with discrete-valued inputs under communication rate constraints.
Dynamic Quantizer for MIMO Systems — H. Okajima, K. Sawada, N. Matsunaga, and Y. Minami, Dynamic quantizer design for MIMO systems based on communication rate constraint, Electronics and Communications in Japan, Vol. 96, Issue 5, pp. 28–36 (2013). Extends quantizer design to MIMO systems.
Model Error Compensator (MEC) — The quantized control framework can be combined with the Model Error Compensator to achieve robust control in systems with discrete-valued signals.
MATLAB Code
- GitHub (Dynamic Quantizer): MATLAB Dynamic Quantizer
Related Articles and Videos
Blog Articles (blog.control-theory.com)
- Discretization of Continuous-Time Control Systems
- Stability of Systems Represented by State Equations
- Model Error Compensator (MEC)
- Linear Matrix Inequalities (LMIs) and Controller Design
Research Web Pages (www.control-theory.com)
Video
Paper Information
- Okajima, M. Honda, R. Yoshino and N. Matsunaga, "A Design Method of Delta-Sigma Data Conversion System with Pre-Filter", SICE Journal of Control, Measurement, and System Integration, Vol. 8, No. 2, pp. 154–160, 2015. DOI: 10.9746/jcmsi.8.154 (Open Access)
Co-authors: Maho Honda (Kumamoto University), Rei Yoshino (Kumamoto University), Nobutomo Matsunaga (Professor, Kumamoto University)
Earlier conference paper: H. Okajima, M. Honda, R. Yoshino and N. Matsunaga, "A design method of delta-sigma data conversion system with pre-filter," Proc. of SICE Annual Conference 2014, pp. 1388–1394 (2014)
Self-Introduction
Hiroshi Okajima — Associate Professor, Graduate School of Science and Technology, Kumamoto University. Member of SICE, ISCIE, and IEEE.
If you found this article helpful, please consider bookmarking or sharing it.