ソースを参照

Lagt till fil för att fundera ut saker kring rapporten. Lagt till ett par Scilab-skript för att generera grafik till rapporten

Jonatan Gezelius 6 年 前
コミット
12d1459417

+ 40 - 0
dokument/brainstorm rapport

@@ -0,0 +1,40 @@
+=============== Utkast till titlar ===============
+
+Considerations when automating measurements in a system with <<<high voltage>>> and high frequency components.
+
+Verifying voltage pulses up to 1500 V with high frequency components in time-domain.
+
+Designing an automated verification system for <<<high voltage>>> and high frequency.
+
+
+=============== Utkast till frågor ===============
+
+Alternativ för "fråga 1"
+* What is the best way of acquiring a <<<high voltage>>> signal with high frequency components?
+* How can a <<<high voltage>>> signal with short rise times be measured?
+* -- |  | --, with automatability in focus?
+* -- |  | --, with electrical safety in focus?
+
+Alternativ för "fråga 2"
+* What is the best way to verify the time-domain parameters of the signal?
+* How can the parameters of the signal be verified?
+* Which is the most <<<robust>>> way of analysing the signals time-domain parameters?
+
+Andra utkast
+* What consideration must be made when designing for automatability? (including safety)
+* How can the system be automated?
+* 
+
+
+=============== Förslag till upplägg på resterande tid ===============
+1. Rapportskrivning, alla lediga stunder (48h?)
+2. Sätta ihop reläkort med dämpare (16h)
+3. Mäta upp dämpare i frekvensdomän och pulser (8h)
+-- Slut på allt praktiskt --
+4. Jämföra simulering mot uppmätt dämpare (8h)
+(5. Ta fram två algoritmer för att få parametrar från mätvärde (32h))
+(6. Jämför algoritmerna på ideal data och på riktig mätdata (16h))
+7. Färdigställ rapport (24h)
+
+150h ~ 4 veckor....
+

BIN
scilab/pulses/doubleexpfunc.png


BIN
scilab/pulses/doubleexpfunc2.png


BIN
scilab/pulses/doubleexpfuncrep.png


+ 51 - 0
scilab/pulses/many pulses.sce

@@ -0,0 +1,51 @@
+xdel(winsid())
+clear;
+
+t = [0:0.01:10];
+a = 1;
+b = 2;
+k = 1;
+
+y = k*(exp(-a*t) - exp(-b*t) );
+ymax = max(y)*ones(1,length(y));
+
+ylong=[];
+tlong=[];
+for i = [-1:11]
+    if(modulo(i, 5) == 0)
+        disp('yoman!')
+        ylong = [ylong y];
+    else
+        disp('shitdude!')
+        ylong = [ylong zeros(1,length(y))];
+    end
+end
+
+xlong = [1:length(ylong)];
+
+xpts = [1 1];
+ypts = [-1 0];
+plot(xpts*1000, ypts, '--');
+plot(xpts*6000, ypts, '--');
+//plot(xpts*8.96, ypts, '--');
+
+plot(ylong, 'black');
+plot(ones(1,length(ylong))*-.01, 'white');
+plot(ones(1,length(ylong))*max(ylong)*1.01, 'white');
+//plot(t,ymax.*0.9, '--');
+
+// titletxt = ['$y = k(e^{-\alpha t} - e^{-\beta t})$' ; strcat(['$k=', string(k), ', \alpha=', string(a), ', \beta=', string(b), '$']) ];
+
+titletxt = '$y = k(e^{-\alpha t} - e^{-\beta t})$';
+title("Consecutive pulses", 'fontsize', 8);
+xlabel('t (s)', 'fontsize', 7);
+ylabel('U (V)', 'fontsize', 7, 'rotation', 0);
+
+a = get("current_axes");
+a.axes_visible = "off";
+//a.margins = [0 0 0 0];
+//a.zoom_box=[1,-0.01;10013,0.2524975];
+a.data_bounds = [1,-0.01;11500,0.2524975];
+//zoom_rect([-1,-1,1,1]);
+
+

+ 30 - 0
scilab/pulses/pulse shape.sce

@@ -0,0 +1,30 @@
+xdel(winsid())
+clear;
+
+t = [0:0.01:10];
+a = 0.5;
+b = 0.6;
+k = 1;
+
+y = k*(exp(-a*t) - exp(-b*t) );
+ymax = max(y)*ones(1,length(y));
+
+xpts = [1 1];
+ypts = [0 max(y)];
+plot(xpts*0.07, ypts, '--');
+plot(xpts*1.1, ypts, '--');
+plot(xpts*8.96, ypts, '--');
+
+plot(t,y, 'black');
+plot(t,ymax.*0.1, '--');
+plot(t,ymax.*0.9, '--');
+
+// titletxt = ['$y = k(e^{-\alpha t} - e^{-\beta t})$' ; strcat(['$k=', string(k), ', \alpha=', string(a), ', \beta=', string(b), '$']) ];
+
+titletxt = '$u(t) = k(e^{-\alpha t} - e^{-\beta t})$';
+title(titletxt , 'fontsize', 8);
+xlabel('t (s)', 'fontsize', 7);
+ylabel('U (V)', 'fontsize', 7, 'rotation', 0);
+
+a = get("current_axes");
+a.axes_visible = "off";