what is the problem of the Power Amplifier curve for this WCDMA measurements ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I used the follwing link to get the data sets of input and output of PA to simluate PA model
I draw the follwoing figures:
1- input and output in time domain
2- the curve of the gain
3- the power gain transfer function
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242869/image.png)
When I serach fro new swt of data ( for example WCDMA )
when I try to draw the aforementioned figures in this case, I get unexpected curves for gain & power gain transfer function
what is the problrm of this data set ?! why it didn't give me the predicted curves of PA nonlinearity ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242870/image.png)
Here is the code I used to draw the figures
%----------------------------
clc
clear all
close all
load('simrfV2_powamp_dpd_data.mat')
DataRate = 15.36e6;
Tstep = 1/DataRate;
% PAPR calculations
PAPR_in=10*log10(max(abs(inDataPA).^2)/mean(abs(inDataPA).^2));
PAPR_out=10*log10(max(abs(outDataPA).^2)/mean(abs(outDataPA).^2));
% Draw time domain signals
numDataPts = length(inDataPA);
figure(1)
plot((1:numDataPts)*Tstep, abs(inDataPA),(1:numDataPts)*Tstep, abs(outDataPA))
legend('Abs(In)','Abs(Out)','Location','northeast')
xlabel('Time (s)')
xlim([0 1e-5])
ylabel('Voltage (V)')
title('Absolute Values of Input and Output Voltage Signals')
% Draw the PA characteristic curve
figure(2)
scatter(abs(inDataPA/max(inDataPA)),abs(outDataPA/max(outDataPA)),'r','MarkerEdgeColor',[0 .5 .5],...
'MarkerFaceColor',[0 .8 .8],...
'LineWidth',1.5)
xlabel('Normalized Input')
ylabel('Normalized Output')
title('PA curve')
% Draw gain in dB
TransferPA = abs(outDataPA./inDataPA);
figure(3)
plot(abs(inDataPA),20*log10(TransferPA),'.')
xlabel('Input Voltage Absolute Value(V)')
ylabel('Magnitude Power Gain (dB)')
title('Power Gain Transfer Function')
%----------------------------
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!