/Designs/Laboratory_instruments/High_voltage_power_supply/DATA/fit.log
182,3 → 182,95
k q
k 1.000
q -0.783 1.000
 
 
*******************************************************************************
Sat Sep 28 14:13:04 2013
 
 
FIT: data read from "prevod.txt" using 1:2
format = x:z
#datapoints = 51
residuals are weighted equally (unit weight)
 
function used for fitting: f(x)
fitted parameters initialized with current variable values
 
 
 
Iteration 0
WSSR : 1.98874e+06 delta(WSSR)/WSSR : 0
delta(WSSR) : 0 limit for stopping : 1e-05
lambda : 341.201
 
initial set of free parameter values
 
k = 1
q = 1
 
After 6 iterations the fit converged.
final sum of squares of residuals : 8408.23
rel. change during last iteration : -2.38703e-12
 
degrees of freedom (FIT_NDF) : 49
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 13.0995
variance of residuals (reduced chisquare) = WSSR/ndf : 171.597
 
Final set of parameters Asymptotic Standard Error
======================= ==========================
 
k = 0.335436 +/- 0.006401 (1.908%)
q = 208.341 +/- 3.089 (1.483%)
 
 
correlation matrix of the fit parameters:
 
k q
k 1.000
q -0.805 1.000
 
 
*******************************************************************************
Sat Sep 28 14:13:43 2013
 
 
FIT: data read from "prevod.txt" using 1:2
format = x:z
#datapoints = 51
residuals are weighted equally (unit weight)
 
function used for fitting: f(x)
fitted parameters initialized with current variable values
 
 
 
Iteration 0
WSSR : 1.99894e+06 delta(WSSR)/WSSR : 0
delta(WSSR) : 0 limit for stopping : 1e-05
lambda : 341.201
 
initial set of free parameter values
 
k = 1
q = 1
 
After 6 iterations the fit converged.
final sum of squares of residuals : 60.3904
rel. change during last iteration : -3.27692e-10
 
degrees of freedom (FIT_NDF) : 49
rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 1.11016
variance of residuals (reduced chisquare) = WSSR/ndf : 1.23246
 
Final set of parameters Asymptotic Standard Error
======================= ==========================
 
k = 0.333961 +/- 0.0005425 (0.1624%)
q = 206.952 +/- 0.2618 (0.1265%)
 
 
correlation matrix of the fit parameters:
 
k q
k 1.000
q -0.805 1.000
/Designs/Laboratory_instruments/High_voltage_power_supply/DATA/linearita.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Designs/Laboratory_instruments/High_voltage_power_supply/DATA/prevod.txt
30,7 → 30,7
360 327
390 337
420 347
450 450
450 350
480 367
510 378
540 387
/Designs/Measuring_instruments/GM_counter/SW/HV_source/main.c
34,6 → 34,13
 
#define MAX_OUTPUT 1000
 
/// Linear interpolation parameters
//
 
#define k 0.333961
#define q 206.952
 
 
unsigned int16 setpoint=43;
unsigned int16 adc_value;
int1 output_permit=FALSE;
122,7 → 129,7
if(input(OUTPUT_ENABLE)) output_permit=TRUE;
else output_permit=FALSE;
 
output_voltage = adc_value * 0.316142 + 223.294;
output_voltage = adc_value * k + q;
 
lcd_gotoxy(1,1);
printf(lcd_putc,"%3.0f",output_voltage);
/Designs/Measuring_instruments/GM_counter/SW/HV_source/main.hex
226,11 → 226,11
:1011C000D0218A159F14831686168312861EEA285C
:1011D0002B14EB282B102A08B3002908B2008A111F
:1011E000162A8A157A08C2007908C1007808C0005A
:1011F0007708BF005D30C600DD30C5002130C40077
:1011F0007708BF00F030C600FC30C5002A30C400BC
:101200007D30C3008A1135228A157708B20078082C
:10121000B3007908B4007A08B50083103508B90026
:101220003408B8003308B7003208B6004430BD00B7
:101230004B30BC005F30BB008630BA008A11AA2A4E
:101220003408B8003308B7003208B600B630BD0045
:10123000F330BC004E30BB008630BA008A11AA2AB7
:101240008A157A08B1007908B0007808AF007708ED
:10125000AE000130C000C1008A1191218A15023010
:1012600084003108B5003008B4002F08B3002E0800
267,4 → 267,4
:04400E00F52CFF3F4F
:00000001FF
;PIC16F887
;CRC=DF9D CREATED="28-IX-13 13:53"
;CRC=1231 CREATED="28-IX-13 14:14"