射频指纹建模

雷达信号携带的无意调制特征,又被称为雷达信号“指纹”特征。雷达信号无意调制特征主要是由雷达发射机内部的元器件具有的非线性特征和内部元器件产生的相位噪声引起的。雷达发射机的功率放大器、调制器、频率源振荡器、发射管等各种元器件都会具有非线性特征,当这些元器件工作在非线性状态时,发射机发射出来的信号就会产生一定程度上的频域和时域上的失真。由于工艺水平
的限制,雷达信号发射机内部的元器件都是非理想的。不同厂商、不同型号、不同批次的雷达个体产生的信号都会携带有不同的能表征雷达发射机自身特性的独一无二的“指纹”特征。

对于雷达信号无意调制的研究建模主要分为两种,一种是利用信号附带调相构造相位噪声模型。一种是根据功率放大器非线性模型进行建模。

雷达辐射源内部相位噪声的存在会导致雷达辐射源发射的信号携带信号指纹特征。雷达信号的单边带相位噪声功率谱被定义为:偏离信号载波频率某个频率f_{m}点的 1Hz 带宽内,相位噪声单边带功率谱和载波信号的功率比值被记为L(f_{m})L(f_{m})的公式为: 

P_{c}来表示发射信号的总功率,用 dbm 来表示发射信号功率大小的单位,P_{sd}(f_{c}+f_{m},1Hz)来表示偏离载波频率f_{m}点处 1Hz 带宽内信号包含的相位噪声的单边带功率。用 dBc/Hz 来表示信号所包含相位噪声的大小。

不同辐射源元器件的非理想性会引起信号相位噪声的差异,雷达辐射源内部相位噪声的存在会导致雷达辐射源发射的信号携带信号指纹特征。以雷达仿真数据为例,基于matlab仿真,重点考虑了相位噪声的影响,通过相位噪声单边带功率谱和载波信号的功率比值L(f)(dBC/Hz)参数的设置,来构建基于相位噪声的LFM不同雷达辐射源个体。考虑仿真10个不同雷达目标,相位噪声参数设置如表所示。

表1 构建雷达辐射源个体的相位噪声参数表

频偏

1

10

100

1K

10K

100K

1M

10M

R1

-20

-55

-65

-70

-75

-85

-95

-105

R2

-30

-65

-75

-85

-95

-105

-118

-120

R3

-40

-70

-72

-78

-80

-95

-98

-100

R4

-25

-42

-50

-66

-70

-86

-92

-110

R5

-35

-50

-65

-73

-82

-89

-92

-106

R6

-26

-40

-68

-72

-80

-95

-100

-118

R7

-35

-62

-70

-76

-83

-97

-105

-112

R8

-30

-52

-60

-68

-82

-96

-102

-116

R9

-40

-55

-70

-78

-85

-92

-100

-108

R10

-28

-40

-48

-55

-62

-75

-88

-100

function Sout = add_phase_noise( Sin, Fs, phase_noise_freq, phase_noise_power, VALIDATION_ON )
%
% function Sout = add_phase_noise( Sin, Fs, phase_noise_freq, phase_noise_power, VALIDATION_ON )
%
% Oscillator Phase Noise Model
% 
%  INPUT:
%     Sin - input COMPLEX signal
%     Fs  - sampling frequency ( in Hz ) of Sin
%     phase_noise_freq  - frequencies at which SSB Phase Noise is defined (offset from carrier in Hz)
%     phase_noise_power - SSB Phase Noise power ( in dBc/Hz )
%     VALIDATION_ON  - 1 - perform validation, 0 - don't perfrom validation
%
%  OUTPUT:
%     Sout - output COMPLEX phase noised signal
%
%  NOTE:
%     Input signal should be complex
%
%  EXAMPLE ( How to use add_phase_noise ):
%         Assume SSB Phase Noise is specified as follows:
%      -------------------------------------------------------
%      |  Offset From Carrier      |        Phase Noise      |
%      -------------------------------------------------------
%      |        1   kHz            |        -84  dBc/Hz      |
%      |        10  kHz            |        -100 dBc/Hz      |
%      |        100 kHz            |        -96  dBc/Hz      |
%      |        1   MHz            |        -109 dBc/Hz      |
%      |        10  MHz            |        -122 dBc/Hz      |
%      -------------------------------------------------------
%
%      Assume that we have 10000 samples of complex sinusoid of frequency 3 KHz 
%      sampled at frequency 40MHz:
%       
%       Fc = 3e3; % carrier frequency
%       Fs = 40e6; % sampling frequency
%       t = 0:9999;
%       S = exp(j*2*pi*Fc/Fs*t); % complex sinusoid
%
%      Then, to produce phase noised signal S1 from the original signal S run follows:
%
%       Fs = 40e6;
%       phase_noise_freq = [ 1e3, 10e3, 100e3, 1e6, 10e6 ]; % Offset From Carrier
%       phase_noise_power = [ -84, -100, -96, -109, -122 ]; % Phase Noise power
%       S1 = add_phase_noise( S, Fs, phase_noise_freq, phase_noise_power );

% Version 1.0
% Alex Bur-Guy, October 2005
% alex@wavion.co.il
%
% Revisions:
%       Version 1.5 -   Comments. Validation.
%       Version 1.0 -   initial version

% NOTES:
% 1)  The presented model is a simple VCO phase noise model based on the following consideration:
% If the output of an oscillator is given as  V(t) = V0 * cos( w0*t + phi(t) ), 
% then phi(t)  is defined as the phase noise.  In cases of small noise
% sources (a valid assumption in any usable system), a narrowband modulation approximation can
% be used to express the oscillator output as:
% 
% V(t) = V0 * cos( w0*t + phi(t) )
% 
%        = V0 * [cos(w0*t)*cos(phi(t)) - sin(w0*t)*sin(phi(t)) ]
% 
%        ~ V0 * [cos(w0*t) - sin(w0*t)*phi(t)] 
% 
% This shows that phase noise will be mixed with the carrier to produce sidebands around the carrier.
%
% 
% 2) In other words, exp(j*x) ~ (1+j*x) for small x
%
% 3) Phase noise = 0 dBc/Hz at freq. offset of 0 Hz
% 
% 4) The lowest phase noise level is defined by the input SSB phase noise power at the maximal 
%    freq. offset from DC. (IT DOES NOT BECOME EQUAL TO ZERO )
% 
% The generation process is as follows:
%  First of all we interpolate (in log-scale) SSB phase noise power spectrum in M 
%  equally spaced points (on the interval [0 Fs/2] including bounds ).
%
%  After that we calculate required frequency shape of the phase noise by X(m) = sqrt(P(m)*dF(m)) 
%  and after that complement it by the symmetrical negative part of the spectrum.
%
%  After that we generate AWGN of power 1 in the freq domain and multiply it sample-by-sample to 
%  the calculated shape 
%
%  Finally we perform  2*M-2 points IFFT to such generated noise
%  ( See comments inside the code )
% 
%  0 dBc/Hz                                
%  \                                                          /
%   \                                                        / 
%    \                                                      /  
%     \P dBc/Hz                                            /   
%     .\                                                  /    
%     . \                                                /     
%     .  \                                              /      
%     .   \____________________________________________/  /_ This level is defined by the phase_noise_power at the maximal freq. offset from DC defined in phase_noise_freq   
%     .                                                   \        
%  |__| _|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__   (N points)
%  0   dF                       Fs/2                          Fs
%  DC
%
%
%  For some basics about Oscillator phase noise see:
%     http://www.circuitsage.com/pll/plldynamics.pdf
%
%     http://www.wj.com/pdf/technotes/LO_phase_noise.pdf

if nargin < 5
     VALIDATION_ON = 0;
end

% Check Input
error( nargchk(4,5,nargin) );

if ~any( imag(Sin(:)) )
     error( 'Input signal should be complex signal' );
end
if max(phase_noise_freq) >= Fs/2
     error( 'Maximal frequency offset should be less than Fs/2');
end
     
% Make sure phase_noise_freq and  phase_noise_power are the row vectors
phase_noise_freq = phase_noise_freq(:).';
phase_noise_power = phase_noise_power(:).';
if length( phase_noise_freq ) ~= length( phase_noise_power )
     error('phase_noise_freq and phase_noise_power should be of the same length');
end

% Sort phase_noise_freq and phase_noise_power
[phase_noise_freq, indx] = sort( phase_noise_freq );
phase_noise_power = phase_noise_power( indx );

% Add 0 dBc/Hz @ DC
if ~any(phase_noise_freq == 0)
     phase_noise_power = [ 0, phase_noise_power ];
     phase_noise_freq = [0, phase_noise_freq];
end

% Calculate input length
N = prod( size( Sin ) );

% Define M number of points (frequency resolution) in the positive spectrum 
%  (M equally spaced points on the interval [0 Fs/2] including bounds), 
% then the number of points in the negative spectrum will be M-2 
%  ( interval (Fs/2, Fs) not including bounds )
%
% The total number of points in the frequency domain will be 2*M-2, and if we want 
%  to get the same length as the input signal, then
%   2*M-2 = N
%   M-1 = N/2
%   M = N/2 + 1
%
%  So, if N is even then M = N/2 + 1, and if N is odd we will take  M = (N+1)/2 + 1
%
if rem(N,2),    % N odd
     M = (N+1)/2 + 1;
else
     M = N/2 + 1;
end


% Equally spaced partitioning of the half spectrum
F  = linspace( 0, Fs/2, M );    % Freq. Grid 
dF = [diff(F) F(end)-F(end-1)]; % Delta F


% Perform interpolation of phase_noise_power in log-scale
intrvlNum = length( phase_noise_freq );
logP = zeros( 1, M );
for intrvlIndex = 1 : intrvlNum,
     leftBound = phase_noise_freq(intrvlIndex);
     t1 = phase_noise_power(intrvlIndex);
     if intrvlIndex == intrvlNum
          rightBound = Fs/2; 
          t2 = phase_noise_power(end);
          inside = find( F>=leftBound & F<=rightBound );  
     else
          rightBound = phase_noise_freq(intrvlIndex+1); 
          t2 = phase_noise_power(intrvlIndex+1);
          inside = find( F>=leftBound & F<rightBound );
     end
     logP( inside ) = ...
          t1 + ( log10( F(inside) + realmin) - log10(leftBound+ realmin) ) / ( log10( rightBound + realmin) - log10( leftBound + realmin) ) * (t2-t1);     
end
P = 10.^(real(logP)/10); % Interpolated P ( half spectrum [0 Fs/2] ) [ dBc/Hz ]

% Now we will generate AWGN of power 1 in frequency domain and shape it by the desired shape
% as follows:
%
%    At the frequency offset F(m) from DC we want to get power Ptag(m) such that P(m) = Ptag/dF(m),
%     that is we have to choose X(m) =  sqrt( P(m)*dF(m) );
%  
% Due to the normalization factors of FFT and IFFT defined as follows:
%     For length K input vector x, the DFT is a length K vector X,
%     with elements
%                      K
%        X(k) =       sum  x(n)*exp(-j*2*pi*(k-1)*(n-1)/K), 1 <= k <= K.
%                     n=1
%     The inverse DFT (computed by IFFT) is given by
%                      K
%        x(n) = (1/K) sum  X(k)*exp( j*2*pi*(k-1)*(n-1)/K), 1 <= n <= K.
%                     k=1
%
% we have to compensate normalization factor (1/K) multiplying X(k) by K.
% In our case K = 2*M-2.

% Generate AWGN of power 1

if ~VALIDATION_ON
     awgn_P1 = ( sqrt(0.5)*(randn(1, M) +1j*randn(1, M)) );
else
     awgn_P1 = ( sqrt(0.5)*(ones(1, M) +1j*ones(1, M)) );
end

% Shape the noise on the positive spectrum [0, Fs/2] including bounds ( M points )
X = (2*M-2) * sqrt( dF .* P ) .* awgn_P1; 

% Complete symmetrical negative spectrum  (Fs/2, Fs) not including bounds (M-2 points)
X( M + (1:M-2) ) = fliplr( conj(X(2:end-1)) ); 

% Remove DC
X(1) = 0; 

% Perform IFFT 
x = ifft( X ); 

% Calculate phase noise 
phase_noise = exp( j * real(x(1:N)) );

% Add phase noise
if ~VALIDATION_ON
     Sout = Sin .* reshape( phase_noise, size(Sin) );
else
     Sout = 'VALIDATION IS ON';
end

if VALIDATION_ON
     figure; 
     plot( phase_noise_freq, phase_noise_power, 'o-' ); % Input SSB phase noise power
     hold on;    
     grid on;     
     plot( F, 10*log10(P),'r*-'); % Input SSB phase noise power
     X1 = fft( phase_noise );
     plot( F, 10*log10( ( (abs(X1(1:M))/max(abs(X1(1:M)))).^2 ) ./ dF(1) ), 'ks-' );% generated phase noise exp(j*x)     
     X2 = fft( 1 + j*real(x(1:N)) ); 
     plot( F, 10*log10( ( (abs(X2(1:M))/max(abs(X2(1:M)))).^2 ) ./ dF(1) ), 'm>-' ); % approximation ( 1+j*x )   
     xlabel('Frequency [Hz]');
     ylabel('dBc/Hz');
     legend( ...
          'Input SSB phase noise power', ...
          'Interpolated SSB phase noise power', ...
          'Positive spectrum of the generated phase noise exp(j*x)', ...
          'Positive spectrum of the approximation ( 1+j*x )' ...
     );     
end
close all;
clear;
clc

class=10;
samples=1000;

f0=100e6; %中心频率
A=1; %幅值
T=3e-6; %采样时间
B=20e6; %雷达信号带宽
K=B/T; %调频斜率
Fs=400e6;
Ts=1/Fs;


phase_noise_power=cell(1,class);% Phase Noise power

phase_noise_freq= [1,10,100,1e3,10e3,100e3,1e6,10e6]; % Offset From Carrier
phase_noise_power{1,1}= [-20,-55,-65,-70,-75,-85,-95,-105];
phase_noise_power{1,2}= [-30,-65,-75,-85,-95,-105,-118,-120];
phase_noise_power{1,3}= [-40,-70,-72,-78,-80,-95,-98,-100];
phase_noise_power{1,4}= [-25,-42,-50,-66,-70,-86,-95,-110];
phase_noise_power{1,5}= [-35,-50,-65,-73,-82,-89,-92,-106];
phase_noise_power{1,6}= [-26,-40,-68,-72,-80,-95,-100,-118];
phase_noise_power{1,7}= [-35,-62,-70,-76,-83,-97,-105,-112];
phase_noise_power{1,8}= [-30,-52,-60,-68,-82,-96,-102,-116];
phase_noise_power{1,9}= [-40,--55,-70,-78,-85,-92,-100,-108];
phase_noise_power{1,10}= [-28,-40,-48,-55,-62,-75,-88,-100];

for Tar=1:class
    
    N=T/Ts; %采样点数
    t=linspace(-T/2,T/2,N); %时间起始值,中止值,采样点数
    St1=A*exp(1i*(pi*K*t.^2+2*pi*f0*t));
    
    S = add_phase_noise( St1, Fs, phase_noise_freq, phase_noise_power{1,Tar});
    
    data=S;
    
    figure(1),plot(real(data))
end

图1 不同目标雷达仿真信号

  • 2
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值