add processing and part measurements
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
elapsetime/s,val_poti,r_restheo/kohm,dr_restheo/kohm,v_keith/v,dv_keith/v,v_pit/v,dv_pit/v)
|
||||
37.121,0x000,0.000,0.0195,2.0217,0.0000,2.015,0.000
|
||||
58.041,0x040,2.500,0.0195,1.8467,0.0000,1.981,0.000
|
||||
88.620,0x080,5.000,0.0195,1.7196,0.0000,1.757,0.000
|
||||
122.717,0x0c0,7.500,0.0195,1.6239,0.0000,1.625,0.000
|
||||
|
@@ -0,0 +1,33 @@
|
||||
elapsetime/s,val_poti,r_restheo/kohm,dr_restheo/kohm,v_keith/v,dv_keith/v,v_pit/v,dv_pit/v)
|
||||
18.399,0x000,0.0000,0.0195,2.0217,0.0000,2.0239,0.0004
|
||||
30.491,0x008,0.3125,0.0195,1.9960,0.0000,1.9983,0.0003
|
||||
42.618,0x010,0.6250,0.0195,1.9719,0.0000,1.9743,0.0002
|
||||
55.085,0x018,0.9375,0.0195,1.9486,0.0000,1.9509,0.0002
|
||||
67.380,0x020,1.2500,0.0195,1.9267,0.0000,1.9290,0.0003
|
||||
79.489,0x028,1.5625,0.0195,1.9055,0.0000,1.9076,0.0003
|
||||
91.569,0x030,1.8750,0.0195,1.8851,0.0000,1.8873,0.0000
|
||||
103.798,0x038,2.1875,0.0195,1.8658,0.0000,1.8681,0.0003
|
||||
116.351,0x040,2.5000,0.0195,1.8467,0.0000,1.8488,0.0003
|
||||
128.406,0x048,2.8125,0.0195,1.8285,0.0000,1.8308,0.0004
|
||||
140.487,0x050,3.1250,0.0195,1.8111,0.0000,1.8132,0.0003
|
||||
152.549,0x058,3.4375,0.0195,1.7945,0.0000,1.7966,0.0004
|
||||
165.088,0x060,3.7500,0.0195,1.7785,0.0000,1.7809,0.0002
|
||||
177.330,0x068,4.0625,0.0195,1.7630,0.0000,1.7654,0.0004
|
||||
189.439,0x070,4.3750,0.0195,1.7480,0.0000,1.7502,0.0003
|
||||
201.549,0x078,4.6875,0.0195,1.7335,0.0000,1.7358,0.0003
|
||||
213.762,0x080,5.0000,0.0195,1.7196,0.0000,1.7217,0.0004
|
||||
226.329,0x088,5.3125,0.0195,1.7062,0.0000,1.7084,0.0005
|
||||
238.392,0x090,5.6250,0.0195,1.6934,0.0000,1.6955,0.0003
|
||||
250.453,0x098,5.9375,0.0195,1.6808,0.0000,1.6829,0.0004
|
||||
262.593,0x0a0,6.2500,0.0195,1.6686,0.0000,1.6709,0.0004
|
||||
275.091,0x0a8,6.5625,0.0195,1.6569,0.0000,1.6590,0.0004
|
||||
287.373,0x0b0,6.8750,0.0195,1.6453,0.0000,1.6470,0.0003
|
||||
299.485,0x0b8,7.1875,0.0195,1.6344,0.0000,1.6360,0.0002
|
||||
311.562,0x0c0,7.5000,0.0195,1.6239,0.0000,1.6254,0.0000
|
||||
323.866,0x0c8,7.8125,0.0195,1.6135,0.0000,1.6151,0.0003
|
||||
336.342,0x0d0,8.1250,0.0195,1.6035,0.0000,1.6052,0.0004
|
||||
348.453,0x0d8,8.4375,0.0195,1.5937,0.0000,1.5952,0.0004
|
||||
360.497,0x0e0,8.7500,0.0195,1.5845,0.0000,1.5863,0.0004
|
||||
372.592,0x0e8,9.0625,0.0195,1.5753,0.0000,1.5771,0.0000
|
||||
385.108,0x0f0,9.3750,0.0195,1.5663,0.0000,1.5679,0.0004
|
||||
397.381,0x0f8,9.6875,0.0195,1.5576,0.0000,1.5591,0.0003
|
||||
|
@@ -0,0 +1,18 @@
|
||||
potival,r_restheo/kohm,dr_res/kohm,v_keith,dv_keith,adcval,dadcval,v_pit,dv_pit
|
||||
0x000,0.000,.0195,
|
||||
0x010,0.625,.0195,
|
||||
0x020,1.250,.0195,
|
||||
0x030,1.875,.0195,
|
||||
0x040,2.500,.0195,
|
||||
0x050,3.125,.0195,
|
||||
0x060,3.750,.0195,
|
||||
0x070,4.375,.0195,
|
||||
0x080,5.000,.0195,
|
||||
0x090,5.625,.0195,
|
||||
0x0a0,6.250,.0195,
|
||||
0x0b0,6.875,.0195,
|
||||
0x0c0,7.500,.0195,
|
||||
0x0d0,8.125,.0195,
|
||||
0x0e0,8.750,.0195,
|
||||
0x0f0,9.375,.0195,
|
||||
0x100,10.00,.0195,
|
||||
|
@@ -0,0 +1,61 @@
|
||||
#! /usr/bin/python3
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
lognum = 2
|
||||
|
||||
plt.ioff()
|
||||
plt.style.use('bmh')
|
||||
plt.figure(figsize=(19.2,10.8))
|
||||
data = pd.read_csv("./log_poticalib_ana_{:02d}.csv".format(lognum))
|
||||
|
||||
print(data)
|
||||
|
||||
#plt.errorbar(
|
||||
# data['time'],
|
||||
# data['act_curr_ps'],
|
||||
# yerr=data['act_curr_ps']*.002,
|
||||
# label="Spannungsquelle Ausgang",
|
||||
# fmt='.'
|
||||
#)
|
||||
#plt.errorbar(
|
||||
# data['time'],
|
||||
# data['act_curr_el']-.125,
|
||||
# label="Elektronische Last Eingang",
|
||||
# fmt='.'
|
||||
#)#
|
||||
|
||||
data['val_poti'] = data['val_poti'].map(lambda x: int(x, base=16))
|
||||
data['r_bcu/kohm'] = 2*4.7+1/(1/data['r_restheo/kohm']+1/75)
|
||||
|
||||
data['v_bcutheo/v'] = 0.7+0.7*30.1/(data['r_bcu/kohm']+6.49)
|
||||
|
||||
plt.errorbar(
|
||||
data['r_bcu/kohm'],
|
||||
data['v_keith/v'],
|
||||
yerr=data['dv_keith/v'],
|
||||
label="V$_{Keith,IV8A}$",
|
||||
fmt='.'
|
||||
)
|
||||
plt.errorbar(
|
||||
data['r_bcu/kohm'],
|
||||
data['v_pit/v'],
|
||||
yerr=data['dv_pit/v)'],
|
||||
label="V$_{PIT,IV8A}$",
|
||||
fmt='.'
|
||||
)
|
||||
plt.plot(
|
||||
data['r_bcu/kohm'],
|
||||
data['v_bcutheo/v'],
|
||||
label="V$_{BCU,O}$"
|
||||
)
|
||||
|
||||
plt.xlabel('$R_{BCU,Set}$/k$\Omega$')
|
||||
plt.ylabel('V$_{1V8A}$/V')
|
||||
plt.title("PowerIt Calibration: Analog Potentiometer")
|
||||
plt.legend()
|
||||
#-plt.savefig("2kw_direct.png")
|
||||
|
||||
plt.savefig("adccalib_{:02d}.eps".format(lognum), format='eps', dpi=1000)
|
||||
Reference in New Issue
Block a user