ГОСТ Р ИСО/МЭК10373-7— 2011
Приложение F
(справочное)
Программа оценивания спектра
Данная программа, написанная на языке С, дает пример расчета величины спектра сигнала, передавае-
мото от карты VICC
r
This program calculates the fourier coefficients•*v
/*■* of load modulated voltage of a VICC according•**/
Г ’ the ISO/1EC 10373-7 Test methods.•**/
/*•• The coefficient are calculated for the frequency
/***Carrier: 13.5600 MHz**V
/***Subcarrier: 423.75 kHz / 484.286 kHz
/“ *see «define N FSUB: 32 28**V
/**•Upper sideband: 13.9838 MHz / 14.0443 MHz
/**•Lower sideband: 13.1363 MHz / 13.0757 MHz***/
/"**
/**• Input:***/
/***File in CSV Format containing a table of two
/***columns (time and test VCD output voltage vd. clause 7)
— /
— /
**•/
••V
***/
.../
/***
/***data format of input-file:
/***
—
/***- one data-point per Sne:
/***(timefseconds). sense-coil-voltage[volts])
/*** - contents in ASCII, no headers
/***- data-points shall be equidistant time
/***- minimum sampling rate: 100 MSamples/second
/“ *- modulation waveform centred
/***(max. tolerance: half of subcarrier cycle)
**•/
.../
*•*/
***/
/***’screen-shot of centred modulation-waveform
/***with 8 subcarrier cycles’:
/***
•**/
/***XXXXXXXXXXxx xx xx xx xx xx xx xxXXXXXXXXXX
/■"XXXXXXXXXX xx xx xx xx xx xx xx xxXXXXXXXXXX
/*••XXXXXXXXXXxxxxxxxxxxxxxxcxxxxxxxxxxxxxxxxxXXXXXXXXXX
/***XXXXXXXXXXxooooooocxxxxioooooooocxxxxxxxxxxXXXXXXXXXX
/*•*XXXXXXXXXXxcxxxxxxxxxxxxocxococoooococxxxxXXXXXXXXXX
/***XXXXXXXXXXxcxxxxxxxxxxxxocxxxxxoocxxxxxxxxXXXXXXXXXX
/’** XXXXXXXXXX xx
/*** XXXXXXXXXXxx
xx xx xx xx
xx xx xx xx
xx xx xxXXXXXXXXXX
xx xx xxXXXXXXXXXX
I
/***
..........• -
-------
--|
/*** example for spreadsheet file (start in next line):•*v
/—(time) (voltage)•••/
/■**З.ОООООе-Об . 1.00•••/
/***3.002006-06.1.01••V
/*••
/**•
/*••RUN: Modtst7 (filenameIJ.csv] ... filename[.csv] ]**V
/***
«include <sldio.h>
«include <con»o.h>
«include <string.h>
«include <math.h>
«define MAXSAMPLES 5000
«define N
_
FSUB 32.0F Г sidebands: 13.9838 MHz / 13.1363 MHz 4
Г «define N
_
FSUB 28.0F /* sidebands: 14.0443 MHz / 13.0757 MHz 7
20