what is the problem of the Power Amplifier curve for this WCDMA measurements ?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!