Im trying to run a simulation of an OFDM system with convolutional coding and u-law compander on MATLAB. The problem is I dont know how to compand the OFDM signal. Do I need to do something to the signal before compressing it? Because value coming out of the ifft block is a complex number.
Xofdm_compand= Xofdm_cp; %OFDM with cp xofdmcompand=abs(Xofdm_compand); for j=1:Nframe %Number of symbols in=xofdmcompand(j,:); v=max(abs(in)); X_compressed(j,:)=compand(in,mu,v,'mu/compressor'); end
Edit: Here is the snippet of the code where I compand the signal. Am I doing it wrongly?
µ-law is defined for real-valued PCM signals only. You will either need to produce a real-valued signal containing OFDM as passband signal, either
but all three options wouldn't be "companding OFDM" anymore, that would be "companding a system which, among other things, involves OFDM".
General remark: Don't forget that you've got channel coding. It's often better to intentionally completely "delete" isolated subcarriers from extreme-peak OFDM symbols than to "make whole symbols slightly worse", as the former leads to a certain, but isolated, error, whereas the other has a chance of leading to multiple errors in the same symbol – which would, assuming there's no large interleaver at work, look like a burst error.
I think you'd want to read
X. Wang, T. Tjhung and C. Ng, "Reduction of peak-to-average power ratio of OFDM system using a companding technique", IEEEE Transactions of Broadcasting, vol. 45m, no. 3, Sept. 1999.
on what they did and what their results are.
While you do that, look at Figure 5:
Notice how the second (⛛) curve is the uncompanded one. This looks like for anything but very high SNR, the companded curves are better.
A. Mattsson, G. Mendenhall and T. Dittmer, "Comments on reduction of peak-to-average power ratio of OFDM system using a companding technique", IEEE Transaction on Broadcasting, vol. 45, no. 4, December 1999.
and especially this paragraph:
Which shows that there is a significant increase in power for the companded signal. I.e. the SER for the companded signal should in our opinion be compared to the SER for the non-companded signal amplified by 10.9 dB [for the µ=16 case], 17 dB [for the µ=255 case] etc. It appears that the SNR refered to in Fig. 5 on page 307, refers to the signal power of the signal before companding and not the actual SNR of the transmitted signal.
In other words: shift the red (uncompanded) curve 11 dB to the left to compare against the µ=16 case, and by 17 dB to the left to compare against the (standard) µ=255 case.
Look how the uncompanded signal (red line) is always better at the same power than the µ=16 companded signal, and how it's better for SNRs > 12 dB for the µ=255 case. I highlighted the amount that uncompanded is better than companded in green for µ=16, and in orange for µ=255.
If your SNR is below 12 dB, you get a SER > 10⁻³, which is a typical design goal for wireless communication; you might want to use a lower modulation than 16-QAM then, which will then typically be an 8-PSK or QPSK. Which is indifferent about amplitude variation – so instead of companding nonlinearly, you'd just look at the peak in your OFDM symbol and simply either drastically scale a few isolated subcarriers, or the whole symbol slightly. (which you do would depend on how steep the BER curve of your channel decoder is at that point.)
TL;DR: Literature research shows companding only works for low SNR. There, you might not be in a sweet spot for system design, so my expectations for companding to work are low.
Instead, I propose you generally rather design your FEC so that it can live with intentionally broken isolated symbols that you insert on purpose to reduce PAPR.
Answered by Marcus Müller on January 6, 2022
1 Asked on November 4, 2020
2 Asked on October 26, 2020 by john-katsantas
2 Asked on October 24, 2020 by tiaro
1 Asked on October 16, 2020 by care-we
2 Asked on October 15, 2020 by premnath-d
1 Asked on October 5, 2020 by skaveelicious
2 Asked on September 27, 2020 by user3308243
1 Asked on September 7, 2020 by sampath
3 Asked on August 14, 2020 by nagasgura
Get help from others!