3rd Order 4-bit CIFF Sigma Delta ADC
Hello everyone,
I would appreciate your guidance regarding the digital output of a Sigma-Delta ADC.
So far, I have successfully modeled and implemented a 3rd-order, 4-bit CIFF Sigma-Delta ADC for a MEMS microphone, including transistor-level implementation. The ADC operates at a 2.4 MHz sampling frequency.
I am now trying to convert its 4-bit output at 2.4 MHz into a 1-bit PDM output, also at 2.4 MHz, using Verilog RTL.
My current RTL implementation is:
module pdm_4bit_to_1bit (
input wire clk, // 2.4 MHz, same as ADC sampling clock
input wire rst_n, // Active-low reset
input wire [3:0] adc_data, // 4-bit input from Sigma-Delta ADC
output reg pdm_out // 1-bit PDM output
);
reg [3:0] acc; // 4-bit accumulator (modulo 16)
always @(posedge clk or negedge rst_n) begin
if (!rst_n) begin
acc <= 4'b0000;
pdm_out <= 1'b0;
end else begin
// Add adc_data to accumulator; carry becomes PDM output
{pdm_out, acc} <= {1'b0, acc} + {1'b0, adc_data};
end
end
endmoduleThe above RTL is working correctly for the basic 4-bit-to-1-bit conversion. However, my main concern is preserving the original signal information and SNR during the conversion.
My requirement is:
- Input: 4-bit Sigma-Delta ADC output
- Input sampling rate: 2.4 MHz
- Output: 1-bit PDM
- Output sampling rate: 2.4 MHz
- Preserve the original signal information as much as possible
- Avoid unnecessary degradation in SNR
I would like to understand the correct theoretical/digital architecture for converting a multi-bit Sigma-Delta ADC output to a single-bit PDM stream when the output data rate must remain the same.
In particular:
- Is an accumulator/carry-based approach like the above fundamentally the correct architecture for this conversion?
- Does converting 4-bit data to 1-bit PDM at the same 2.4 MHz rate inherently introduce quantization/noise limitations?
- What architecture is commonly used in practical MEMS microphone interfaces for converting a multi-bit Sigma-Delta output into a 1-bit PDM stream?
- If possible, I would also appreciate references to relevant papers, application notes, or Verilog RTL implementations.
Any guidance on the correct concept and implementation approach would be highly appreciated.
Thank you in advance for your help.
#SigmaDeltaADC #PDM #MEMSMicrophone #Verilog #RTLDesign #SignalProcessing
Hi, i just tried to create a model using sigdel.
order = 2; % 2nd-order noise shaping osr_synthesis = 64; % Target oversampling ratio for 20 kHz band opt_zeros = 1; % Optimize zeros inside the band H_inf = 1.5; % Out-of-band gain boundary for stability ntf = synthesizeNTF(order, osr_synthesis, opt_zeros, H_inf); form = 'CIFF'; [a, g, b, c] = realizeNTF(ntf, form); %% 3. Modulate 4-bit CIFF ciff_4bit_bipolar = simulateDSM(analog_signal_row, ntf, 16); %% 4. Modulate 1-bit PDM pdm_1bit_bipolar = simulateDSM(analog_signal_row, ntf, 2); %% 5... decode and measure THD...
Decoded from 4-bit CIFF -> THD: -79.49 dB (0.0106%)
Decoded from 1-bit PDM -> THD: -79.49 dB (0.0106%)
Now, I updated the model such that PDM takes 4-bit SDM signal. the results is similar.
ntf_4bit = synthesizeNTF(order, osr_synthesis, opt_zeros, H_inf); ntf_1bit = synthesizeNTF(order, osr_synthesis, opt_zeros, H_inf); % Realize using a CIFF (Cascade of Integrators, Distributed Feedback) structure form = 'CIFF'; [a, g, b, c] = realizeNTF(ntf_4bit, form); %% 3. Stage 1: Modulate Pure Analog to 4-bit CIFF Stream ciff_4bit_bipolar = simulateDSM(analog_signal_row, ntf_4bit, 16); %% 4. Stage 2: CASCADED CONVERSION (Convert 4-bit to 1-bit PDM) % CRITICAL CHANGE: The output of the 4-bit modulator is fed directly % as the input signal array to the 1-bit PDM modulator loop cascaded_pdm_bipolar = simulateDSM(ciff_4bit_bipolar, ntf_1bit, 2);
Decoded from 4-bit CIFF (Stage 1) -> THD: -79.35 dB (0.0108%)
Decoded from Cascaded 1-bit PDM (Stage 2) -> THD: -79.35 dB (0.0108%)
Thanks, Chalil. I have now verified the cascaded approach in MATLAB.
I tested the in-band SNR along with THD for both the original 4-bit CIFF Sigma-Delta output and the cascaded 1-bit PDM output. The results show essentially no degradation in the measured in-band SNR or THD after the 4-bit SDM → 1-bit SDM conversion.
This supports your point that using a second noise-shaped 1-bit Sigma-Delta stage can preserve the in-band signal information much better than a simple 4-bit to 1-bit accumulator/PDM encoder.
I will now focus on implementing this cascaded architecture in RTL while keeping the same sampling rate.







