Why is Hermitian symmetry required?
In ordinary OFDM, the frequency-domain symbols can be complex. However, DCO-OFDM is used for optical communication, where the final signal driving the LED must be real-valued.
The IFFT of a frequency-domain sequence is real-valued when its spectrum has Hermitian symmetry:
where * denotes complex conjugation.
Therefore, if we put a QPSK symbol in a positive-frequency bin, the corresponding negative-frequency bin must contain its complex conjugate.
8-point FFT bin structure
For an 8-point FFT, using 0-based FFT indexing:
| FFT Bin | Frequency | Purpose |
|---|---|---|
| k = 0 | DC | Usually set to 0 before adding DC bias |
| k = 1 | Positive frequency | QPSK data |
| k = 2 | Positive frequency | QPSK data |
| k = 3 | Positive frequency | QPSK data |
| k = 4 | Nyquist frequency | Must be real |
| k = 5 | Negative frequency | Conjugate of k = 3 |
| k = 6 | Negative frequency | Conjugate of k = 2 |
| k = 7 | Negative frequency | Conjugate of k = 1 |
MATLAB indexing
MATLAB uses 1-based indexing, so the same bins are:
| MATLAB Index | FFT Bin k | Role |
|---|---|---|
| 1 | 0 | DC |
| 2 | 1 | QPSK data |
| 3 | 2 | QPSK data |
| 4 | 3 | QPSK data |
| 5 | 4 | Nyquist |
| 6 | 5 | Conjugate of bin 3 |
| 7 | 6 | Conjugate of bin 2 |
| 8 | 7 | Conjugate of bin 1 |
Numerical Example
Suppose the three independent QPSK symbols are:
We now construct the complete 8-point frequency-domain OFDM symbol.
| k | X[k] | Reason |
|---|---|---|
| 0 | 0 | DC |
| 1 | 1 + j | QPSK symbol 1 |
| 2 | 1 - j | QPSK symbol 2 |
| 3 | -1 + j | QPSK symbol 3 |
| 4 | 0 | Nyquist |
| 5 | -1 - j | conj(X[3]) |
| 6 | 1 + j | conj(X[2]) |
| 7 | 1 - j | conj(X[1]) |
Observe the Hermitian symmetry
Look at the pairs:
Each negative-frequency component is the complex conjugate of its corresponding positive-frequency component.
Now perform the 8-point IFFT
The transmitter performs:
For the above frequency-domain sequence:
The numerical 8-point IFFT gives:
Notice something important: there is no imaginary part.
The IFFT output is therefore a real-valued time-domain OFDM signal. This is exactly why Hermitian symmetry is used.
MATLAB Code
clc;clear;close all;%% ============================================================% 8-Point DCO-OFDM: Hermitian Symmetry Numerical Example% =============================================================N = 8; % FFT/IFFT size%% 1. Three independent QPSK symbols% These occupy positive-frequency bins k = 1,2,3%% 0-based FFT bins:% k = 0 -> DC% k = 1 -> Data% k = 2 -> Data% k = 3 -> Data% k = 4 -> Nyquist% k = 5 -> conjugate of k=3% k = 6 -> conjugate of k=2% k = 7 -> conjugate of k=1X1 = 1 + 1j;X2 = 1 - 1j;X3 = -1 + 1j;%% 2. Construct frequency-domain OFDM symbolX = zeros(1,N);X(1) = 0; % k = 0 : DCX(2) = X1; % k = 1 : QPSKX(3) = X2; % k = 2 : QPSKX(4) = X3; % k = 3 : QPSKX(5) = 0; % k = 4 : Nyquist% Hermitian symmetryX(6) = conj(X3); % k = 5X(7) = conj(X2); % k = 6X(8) = conj(X1); % k = 7%% 3. Display frequency-domain symbolsdisp('Frequency-domain OFDM symbol X[k]:');for k = 0:N-1 fprintf('k = %d : %8.4f %+8.4fj\n', ... k, real(X(k+1)), imag(X(k+1)));end%% 4. Perform 8-point IFFTx = ifft(X,N);disp(' ');disp('Time-domain signal x[n] after IFFT:');for n = 0:N-1 fprintf('n = %d : %8.4f %+8.4fj\n', ... n, real(x(n+1)), imag(x(n+1)));end%% 5. Check whether IFFT output is realmaxImaginaryPart = max(abs(imag(x)));fprintf('\nMaximum imaginary component = %.12f\n', ... maxImaginaryPart);if maxImaginaryPart < 1e-10 disp('IFFT output is effectively REAL.');else disp('IFFT output contains an imaginary component.');end%% 6. Perform FFT at receiverX_received = fft(x,N);disp(' ');disp('FFT output at receiver:');for k = 0:N-1 fprintf('k = %d : %8.4f %+8.4fj\n', ... k, real(X_received(k+1)), imag(X_received(k+1)));end%% 7. Extract independent QPSK symbolsR1 = X_received(2); % k = 1R2 = X_received(3); % k = 2R3 = X_received(4); % k = 3disp(' ');disp('Recovered independent QPSK symbols:');disp(R1);disp(R2);disp(R3);%% 8. Add DC bias - DCO-OFDMDC_bias = 1;x_biased = real(x) + DC_bias;disp(' ');disp('DCO-OFDM signal after adding DC bias:');disp(x_biased);%% 9. Plot frequency-domain signalfigure;stem(0:N-1, abs(X), 'filled');xlabel('FFT Bin k');ylabel('|X[k]|');title('8-Point DCO-OFDM Frequency-Domain Spectrum');grid on;%% 10. Plot real and imaginary parts of IFFTfigure;subplot(2,1,1);stem(0:N-1, real(x), 'filled');xlabel('Sample n');ylabel('Real\{x[n]\}');title('IFFT Output - Real Part');grid on;subplot(2,1,2);stem(0:N-1, imag(x), 'filled');xlabel('Sample n');ylabel('Imag\{x[n]\}');title('IFFT Output - Imaginary Part');grid on;%% 11. Plot signal before and after DC biasfigure;stem(0:N-1, real(x), 'filled');hold on;stem(0:N-1, x_biased, 'filled');xlabel('Sample n');ylabel('Amplitude');title('DCO-OFDM Signal Before and After DC Bias');legend('IFFT output','After DC bias');grid on;
Output
Why does the symmetry make the IFFT real?
The IFFT is:
For a positive-frequency component X[k], its conjugate X*[k] appears at the corresponding negative frequency. The two terms combine as:
which is always real:
Therefore, all imaginary components cancel in the IFFT.
FFT and IFFT: the important distinction
At the transmitter, we normally start with QPSK symbols in the frequency domain:
At the receiver, the reverse operation is performed:
The FFT and IFFT therefore form the bridge between the time domain and the frequency domain.
Why only 3 independent QPSK symbols?
An 8-point FFT contains 8 bins, but:
- Bin 0 is DC.
- Bin 4 is the Nyquist bin and must be real.
- Bins 5, 6 and 7 are determined by Hermitian symmetry.
- Only bins 1, 2 and 3 can contain independent complex QPSK data.
Bits per OFDM symbol
QPSK carries 2 bits per symbol:
Therefore, this 8-point DCO-OFDM example carries 6 independent data bits per OFDM symbol before considering coding, pilots, guard bands, etc.
Where does the DC bias come in?
The IFFT gives a real-valued signal, but it can contain both positive and negative amplitudes. An LED cannot normally represent negative optical intensity.
Therefore, DCO-OFDM adds a positive DC bias:
so that the signal becomes suitable for driving the LED.