what is the problem of the Power Amplifier curve for this WCDMA measurements ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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
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 ?
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Spectral Measurements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!