sar_range

Capsim Block Documentation

Short Description

Generate SAR range reference

Top
Output Connections
Port Type Name
0 float outSample
Top
Parameters
Num Description Type Name Default Value
0 Carrier Frequency, MHz float fc 1275
1 Pulse Chirp Rate, MHz/microsecond float Kr 0.5621
2 Pulse Duration Microseconds float tau 33.8
3 Pulse Bandwidth, MHz float Br 19.0
4 Center Frequency (IF) MHz float fIF 11.38
5 Pulse Repition Rate, Hz float prf 1645.0
6 Sampling Rate, MHz float fs 45.03 MHz
7 Doppler Frequency, Hz float fDc 1150.0
8 Doppler Rate of Change , Hz float Kaz 501.27
9 Platform Velocity, Km/s float v 7.0
10 Integration Time, s float total 2.0
11 Azimuth Sample Time float tazs 0.0
12 tc seconds float tc 1.0
13 Point Range rp, kM float rp 840.0
14 Point Azimuth tp in index units int tpi 1000
Top
States
Num Type Name Initial Value Description
0 float phase 0.
1 float t 0.
2 float dt
3 float tp
4 int done 0
5 int maxIndex
Top

Declarations


 

	int no_samples;
	int i,j,k;
	float taz;
	float range;



Top

Initialization Code



 

dt=(1.0/fs);
tp=tpi*(1.0/prf);
done=0;
maxIndex=(int)total*prf;




Top

Main Code



 

if(done)return(0);
for(i=0; i
    
Top

Wrapup Code



 





Top

License



/*  Capsim (r) Text Mode Kernel (TMK) Star Library (Blocks)
    Copyright (C) 1989-2017  Silicon DSP Corporation

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    http://www.silicondsp.com
    Silicon DSP  Corporation
    Las Vegas, Nevada
*/


Top

Description



 

/************************************************************************
 *									
 *
 
sar_range


Generate SAR range reference


Sasan Ardalan

 ************************************************************************/