Parcourir la source

Fixat ytterligare punkter. Börjat försöka plotta grafer i samma figurer.

Jonatan Gezelius il y a 4 ans
Parent
commit
67e165f1a1

+ 13 - 7
opponering/kommentarer på mitt/kommentarer på kommentarer.txt

@@ -1,25 +1,31 @@
 
-* Jag kallar Test pulse 1 annorlunda?
-	Använt versaler annorlunda. Det är inget speciellt med ordet, så tar bort versal när den inte står i början av mening.
-
-* Fixa ihop tabeller och figurer för pulser
 
-* Isolated differential probe
+* Fixa ihop tabeller och figurer för pulser (BLÄÄÄÄ)
 
-* 3.3 1k = inf
+* 3.3 1k = inf (Hjääälp!)
 
 * Figure 3.8 ??
 
 * Sprid ut figur 3.9
 
 * Figure 3.10
-  isolation != insulation
+  isolation != insulation???
+  
+* Figur 4.5 & 4.6
+	Olika Y-skala
+	Fel avstavning i figurtext?
+	
+Tydligare figurer i resultat
 
 ==== Behandlat
 * Publiceringsdatum?
+* Isolated differential probe
 * S21 som S_21? (Figur 4.9-4.11)
 * Disturbance är det ord som används i standarden
 * Allt var fel i tabell 2.5, copy-pastefel. Fixat.
 * Saknar referens till vishay i 2.5. Flyttat referensen till första förekomsten.
 * formel 2.2. Jag förstår inte härledningen :)
 * Fixat legend till figurerna med kablar
+* Table 4.2 footnote space
+* Jag kallar Test pulse 1 annorlunda?
+	Använt versaler annorlunda. Det är inget speciellt med ordet, så tar bort versal när den inte står i början av mening.

+ 5 - 0
python/plotlinlog.py

@@ -0,0 +1,5 @@
+from numpy import genfromtxt
+
+my_data = genfromtxt('sampledata.csv', delimiter=',')
+
+

+ 204 - 0
python/sampledata.csv

@@ -0,0 +1,204 @@
+# Version 1.00
+#
+freq[Hz],re:Trc1_S21,im:Trc1_S21,
+9.000000000000000E+003,1.751948031596839E-003,-1.722975411736022E-004,
+9.461858453969153E+003,1.858391100540757E-003,7.483060564107558E-006,
+9.947418378105282E+003,1.763826003298163E-003,-1.323602333958006E-005,
+1.045789607511595E+004,1.897209440357983E-003,9.699598363134287E-005,
+1.099457026545186E+004,1.900798059068620E-003,6.820575074077436E-005,
+1.155878529043595E+004,1.960520632565022E-003,5.212935083750941E-005,
+1.215195447976952E+004,2.131544984877110E-003,4.538122722371091E-005,
+1.277556369185062E+004,1.893956912681460E-003,-4.518914871109520E-005,
+1.343117503577312E+004,1.968755619600415E-003,-1.292123312219058E-004,
+1.412043078432993E+004,1.927762408740819E-003,-6.483956786243675E-005,
+1.484505748782205E+004,1.903662341646850E-003,-1.279256888721273E-004,
+1.560687029897857E+004,1.964037073776126E-003,-3.910976257945616E-005,
+1.640777751982116E+004,1.816722797229886E-003,-1.096770710330736E-004,
+1.724978538186276E+004,1.917398301884532E-003,-1.969580902952349E-005,
+1.813500307161463E+004,1.952718594111502E-003,-1.172440431838441E-005,
+1.906564801399038E+004,1.997705083340406E-003,-7.858849858286164E-005,
+2.004405142684168E+004,1.815046183764935E-003,-9.914253025361568E-006,
+2.107266416053937E+004,1.969805220142007E-003,-1.214360416318856E-005,
+2.215406283722803E+004,2.019503386691213E-003,-5.620651679739809E-005,
+2.329095630513221E+004,1.905362936668098E-003,-5.316780833618839E-005,
+2.448619242408237E+004,1.728838658891618E-003,4.396028427683475E-005,
+2.574276519925769E+004,2.021680120378733E-003,3.064743993554988E-005,
+2.706382228101547E+004,1.990905264392495E-003,8.587464509474829E-005,
+2.845267284959389E+004,1.904237782582641E-003,-3.042396066651819E-005,
+2.991279590443872E+004,1.754299388267100E-003,-1.663092584581554E-004,
+3.144784897891860E+004,1.878064125776291E-003,3.160868642734352E-005,
+3.306167730225846E+004,1.843699836172164E-003,2.285948026754187E-005,
+3.475832343164158E+004,1.963688991963863E-003,-2.826608576948717E-005,
+3.654203737860800E+004,1.903760014101863E-003,3.411998350310227E-005,
+3.841728725511544E+004,1.958076842129231E-003,1.313821040089857E-005,
+4.038877046593060E+004,1.826139632612467E-003,4.421564592859197E-006,
+4.246142547538723E+004,1.828656182624400E-003,-1.636643284593964E-005,
+4.464044417798598E+004,1.872050459496677E-003,1.916197923511525E-005,
+4.693128490382385E+004,1.901390729472041E-003,-2.047975250045231E-005,
+4.933968609143118E+004,1.900321221910417E-003,2.538381391807193E-005,
+5.187168066226581E+004,1.840693759731948E-003,-6.697170899643977E-005,
+5.453361113287200E+004,1.919428352266550E-003,-2.917800086650553E-005,
+5.733214550255903E+004,1.840568380430341E-003,-3.476046055038356E-006,
+6.027429395639752E+004,1.882172888144851E-003,-4.810268239787644E-006,
+6.336742642537352E+004,1.882577314972878E-003,3.952416104486199E-005,
+6.661929104768763E+004,1.928630168549717E-003,-4.158994668710181E-005,
+7.003803357744386E+004,1.815766212530434E-003,1.679983773409061E-005,
+7.363221778934584E+004,1.797311357222498E-003,-9.806409952900825E-005,
+7.741084693051332E+004,1.820330275222659E-003,-2.916770082913768E-005,
+8.138338627315439E+004,1.906456542201340E-003,-5.855058733428463E-005,
+8.555978682458701E+004,1.916025648824871E-003,-3.578902839138097E-005,
+8.995051025400190E+004,1.939808251336217E-003,-8.891049461666428E-006,
+9.456655509840742E+004,1.912525272928178E-003,-7.763111213775649E-006,
+9.941948431340067E+004,1.885481644421816E-003,-1.508284938863101E-005,
+1.045214542377782E+005,1.845947816036642E-003,3.802669211323707E-005,
+1.098852450445413E+005,1.913763815537095E-003,1.776515992095328E-005,
+1.155242927545739E+005,1.920173177495599E-003,7.074984469480942E-006,
+1.214527228931858E+005,1.898630987852812E-003,-6.781530100049853E-005,
+1.276853858738292E+005,1.870310166850686E-003,-1.560344608102422E-005,
+1.342378941976227E+005,1.880855648778379E-003,-2.003533119466743E-005,
+1.411266615618659E+005,1.863808254711330E-003,-8.781436078415588E-006,
+1.483689439755094E+005,1.865481724962592E-003,-1.804375366327549E-005,
+1.559828829845721E+005,1.917372690513730E-003,2.170933664478650E-005,
+1.639875511157838E+005,1.850490341894329E-003,2.439608077548011E-005,
+1.724029996522864E+005,1.860617659986019E-003,-4.931001903776328E-006,
+1.812503088610697E+005,1.903392490930855E-003,-3.122375097897227E-005,
+1.905516407979592E+005,1.880084746517241E-003,-9.796902122013212E-006,
+2.003302948224292E+005,1.906705088913441E-003,-1.791808344509774E-006,
+2.106107659613039E+005,1.880967407487333E-003,5.669199572965585E-006,
+2.214188062675424E+005,1.891748863272369E-003,-2.508412046770691E-005,
+2.327814893278116E+005,1.901737763546407E-003,-4.044000758397377E-008,
+2.447272780804316E+005,1.888124970719218E-003,-1.634666915654875E-005,
+2.572860961135768E+005,1.910266466438770E-003,-1.592018582184543E-005,
+2.704894026223296E+005,1.871676067821682E-003,1.328716985326499E-005,
+2.843702712123506E+005,1.886364538222551E-003,-2.190082596203492E-005,
+2.989634727475644E+005,1.879150047898293E-003,-8.473840103028340E-006,
+3.143055624493910E+005,1.901580137200654E-003,-4.834587888174260E-006,
+3.304349714657000E+005,1.909338287077844E-003,-2.141150113823570E-005,
+3.473921031388654E+005,1.898715388961136E-003,-2.171934766048816E-005,
+3.652194342140664E+005,1.898649148643017E-003,-3.475189838365447E-005,
+3.839616212413550E+005,1.885620993562043E-003,-2.566909282138518E-005,
+4.036656124380241E+005,1.913353218697012E-003,-1.240561084120318E-005,
+4.243807652914837E+005,1.885594101622701E-003,-1.094774578029488E-005,
+4.461589701972360E+005,1.885416917502880E-003,-3.152237741797674E-005,
+4.690547804416543E+005,1.901376293972135E-003,-3.726174625485141E-005,
+4.931255488551680E+005,1.905762474052608E-003,-2.382276100972193E-005,
+5.184315714781611E+005,1.892360392957926E-003,-2.429598438824826E-005,
+5.450362385994613E+005,1.891774008981884E-003,-3.598990201521334E-005,
+5.730061935457623E+005,1.900146366097033E-003,-2.150062739010675E-005,
+6.024114996197396E+005,1.882806885987520E-003,-2.678927612762670E-005,
+6.333258156050298E+005,1.907904632389545E-003,-3.151118519112183E-005,
+6.658265802777067E+005,1.893007778562605E-003,-4.229810562920155E-005,
+6.999952063864433E+005,1.899134484119713E-003,-5.042341156663752E-005,
+7.359172845872723E+005,1.903263619169593E-003,-3.301749192737028E-005,
+7.736827978437896E+005,1.903771189972758E-003,-3.415281839295787E-005,
+8.133863468298630E+005,1.899551134556532E-003,-2.388643725256115E-005,
+8.551273868994694E+005,1.907306024804711E-003,-5.130547823636673E-005,
+8.990104772172550E+005,1.890306943096221E-003,-3.686030592447591E-005,
+9.451455426738808E+005,1.885058125481010E-003,-3.698116690959978E-005,
+9.936481492422358E+005,1.894545042887330E-003,-3.150034322132997E-005,
+1.044639793464272E+006,1.896770438179374E-003,-4.250983726561475E-005,
+1.098248206793613E+006,1.891580293886364E-003,-5.288204999333717E-005,
+1.154607675556290E+006,1.892766333185136E-003,-5.742088186189568E-005,
+1.213859377331106E+006,1.889031496830285E-003,-4.927297298225367E-005,
+1.276151734592228E+006,1.885853707790375E-003,-6.303149586002920E-005,
+1.341640786499875E+006,1.890436396934092E-003,-6.319817837488490E-005,
+1.410490579770407E+006,1.887467340566218E-003,-6.306275680113473E-005,
+1.482873579604942E+006,1.884797122329474E-003,-5.822642588370631E-005,
+1.558971101705836E+006,1.882143900729716E-003,-7.480588417822921E-005,
+1.638973766463218E+006,1.893802662380040E-003,-7.641299914117370E-005,
+1.723081976449296E+006,1.874955254606903E-003,-6.078165583737734E-005,
+1.811506418416517E+006,1.886525540612638E-003,-7.373833095919495E-005,
+1.904468591057078E+006,1.886229263618588E-003,-8.017279015337682E-005,
+2.002201359845792E+006,1.880020252428949E-003,-8.638378538825274E-005,
+2.104949540356161E+006,1.885321573354304E-003,-8.906296011078932E-005,
+2.212970511510824E+006,1.880170195363462E-003,-8.464810028356690E-005,
+2.326534860302570E+006,1.880940748378635E-003,-1.042994058722269E-004,
+2.445927059600869E+006,1.877827220596373E-003,-1.052237468546798E-004,
+2.571446180741821E+006,1.874514389783144E-003,-1.186335654674936E-004,
+2.703406642686522E+006,1.868119812570512E-003,-1.219032895135396E-004,
+2.842138999624426E+006,1.850076369009912E-003,-1.213617089955854E-004,
+2.987990768994645E+006,1.874314621090889E-003,-1.130279303917111E-004,
+3.141327301999308E+006,1.877450617030263E-003,-1.247500154405538E-004,
+3.302532698789585E+006,1.888753147795796E-003,-1.265614515930900E-004,
+3.472010770616866E+006,1.882481737993658E-003,-1.405088858248694E-004,
+3.650186051359238E+006,1.873266068287194E-003,-1.471070943496133E-004,
+3.837504860957076E+006,1.881300937384367E-003,-1.620393739369558E-004,
+4.034436423421604E+006,1.877899048849940E-003,-1.691764386994926E-004,
+4.241474042216974E+006,1.877654343843460E-003,-1.723191966378793E-004,
+4.459136335960154E+006,1.875788439065218E-003,-1.889812408400912E-004,
+4.687968537533958E+006,1.880313386209309E-003,-1.978024384091214E-004,
+4.928543859867454E+006,1.863720128312707E-003,-2.056674739582454E-004,
+5.181464931804959E+006,1.870352542027831E-003,-2.144535631681876E-004,
+5.447365307660383E+006,1.867345417849720E-003,-2.324103212158383E-004,
+5.726911054238297E+006,1.874812063761056E-003,-2.504927737053587E-004,
+6.020802419297114E+006,1.872403430752456E-003,-2.501913045389423E-004,
+6.329775585633814E+006,1.855985727161169E-003,-2.745763708598519E-004,
+6.654604515184094E+006,1.871315413154662E-003,-2.875365192285460E-004,
+6.996102887757324E+006,1.857186085544527E-003,-2.907606069418974E-004,
+7.355126139262738E+006,1.858506700955331E-003,-3.082833468871603E-004,
+7.732573604532515E+006,1.853097812272608E-003,-3.351343865004682E-004,
+8.129390770109411E+006,1.850593253038824E-003,-3.494323229583366E-004,
+8.546571642642060E+006,1.840696437284350E-003,-3.831440663167181E-004,
+8.985161238820646E+006,1.838909927755594E-003,-3.922530573007818E-004,
+9.446258203090120E+006,1.838216790929437E-003,-4.050152837728643E-004,
+9.931017559698191E+006,1.836968003772199E-003,-4.276274654232472E-004,
+1.044065360597183E+007,1.840142998844385E-003,-4.447034033527281E-004,
+1.097644295406978E+007,1.811692607589066E-003,-4.449378361528991E-004,
+1.153972772883059E+007,1.809385023079813E-003,-5.003458656912034E-004,
+1.213191892972644E+007,1.808352186344564E-003,-5.192232587771015E-004,
+1.275449996534450E+007,1.788231311365962E-003,-5.312470945443162E-004,
+1.340903036924935E+007,1.787782879546285E-003,-5.787873941462205E-004,
+1.409714970653456E+007,1.768335816450417E-003,-6.001644016515907E-004,
+1.482058168084920E+007,1.772122574038804E-003,-6.183672946537944E-004,
+1.558113845218704E+007,1.774261356331408E-003,-6.587618183898538E-004,
+1.638072517625442E+007,1.744931912980974E-003,-7.087233143537679E-004,
+1.722134477678758E+007,1.709306496195495E-003,-7.493885633689206E-004,
+1.810510296277390E+007,1.693764235824347E-003,-7.996625771671209E-004,
+1.903421350314491E+007,1.664304523728788E-003,-8.153817700017455E-004,
+2.001100377215394E+007,1.605930738151074E-003,-8.343565722560968E-004,
+2.103792057932926E+007,1.605873927474022E-003,-8.812192790039346E-004,
+2.211753629860647E+007,1.520578283816576E-003,-7.953723438582545E-004,
+2.325255531199325E+007,1.533909933641553E-003,-8.303904647228855E-004,
+2.444582078390763E+007,1.590694999322295E-003,-8.253487097819147E-004,
+2.570032178315902E+007,1.623149146325886E-003,-9.104788174437092E-004,
+2.701920077041231E+007,1.614191336557269E-003,-1.035421753922299E-003,
+2.840576146989062E+007,1.556348404847086E-003,-1.101484917427717E-003,
+2.986347714503508E+007,1.519930665381253E-003,-1.195832110482250E-003,
+3.139599929885164E+007,1.411666395142674E-003,-1.314069334667628E-003,
+3.300716682073878E+007,1.285523991100490E-003,-1.273192210381942E-003,
+3.470101560270859E+007,1.305703539401293E-003,-1.316648257102511E-003,
+3.648178864908931E+007,1.230237889103591E-003,-1.408319804436935E-003,
+3.835394670503350E+007,1.140007399953902E-003,-1.482295661962556E-003,
+4.032217943045595E+007,9.765715803951025E-004,-1.503983040346662E-003,
+4.239141714739119E+007,8.368007838726044E-004,-1.468510804687624E-003,
+4.456684319019736E+007,8.559474954381585E-004,-1.379817098532736E-003,
+4.685390688954295E+007,7.608075393363833E-004,-1.503820301712706E-003,
+4.925833722270060E+007,5.474234931170940E-004,-1.427937747790009E-003,
+5.178615716434146E+007,6.812789360992611E-004,-1.518029707835554E-003,
+5.444369877377772E+007,5.660547176375985E-004,-1.618839634457533E-003,
+5.723761905644652E+007,3.835892130155116E-004,-1.669077836325728E-003,
+6.017491663936716E+007,2.000319946091622E-004,-1.697908963971195E-003,
+6.326294930234280E+007,-5.553531445912086E-005,-1.668386747992991E-003,
+6.650945240882157E+007,-3.360336995683610E-004,-1.413244833727811E-003,
+6.992255828258526E+007,-4.203501448500902E-004,-1.167190543336661E-003,
+7.351081657880336E+007,-3.137840540148318E-004,-7.551746279661740E-004,
+7.728321570048070E+007,3.666142583824694E-004,-8.114021708734477E-004,
+8.124920531394610E+007,-1.732914388412610E-004,-1.460806980023821E-003,
+8.541872001978181E+007,-6.505519850179553E-004,-1.196358559454741E-003,
+8.980220423848853E+007,-5.359217175282538E-004,-1.193546286656261E-004,
+9.441063837322302E+007,7.365125347860158E-004,-8.971864351982868E-004,
+9.925556631514497E+007,-2.753059961833060E-004,-1.570266477771744E-003,
+1.043491243602723E+008,-7.765440386720002E-004,-1.325090390981138E-003,
+1.097040716102801E+008,-9.663080563768745E-004,-8.996353190062626E-004,
+1.153338219333962E+008,-9.310171008110046E-004,-5.450535076848497E-004,
+1.212524775654531E+008,-5.455989739857614E-004,-3.761493728804694E-004,
+1.274748644352653E+008,-7.862742641009390E-004,-4.521775364418473E-004,
+1.340165693028207E+008,-7.745366310700774E-004,-3.133646363291426E-004,
+1.408939788033152E+008,-6.972540286369622E-004,-3.978309120882150E-004,
+1.481243204948332E+008,-1.042308635078371E-003,-4.028752345429309E-004,
+1.557257060124971E+008,-1.104437629692257E-003,3.390392071734731E-005,
+1.637171764371845E+008,-1.196565455757082E-003,5.385880164930169E-004,
+1.721187499924593E+008,-1.983214169740677E-003,1.445240462997180E-004,
+1.809514721891949E+008,-1.725570182316005E-003,6.965212269728386E-003,
+1.902374685434997E+008,3.603850724175572E-003,-4.205885263107147E-004,
+2.000000000000000E+008,1.839409000240266E-003,-8.241711928249740E-004,

BIN
python/sampledata.png


+ 1 - 1
rapport/conclusion.tex

@@ -35,7 +35,7 @@
 \label{cha:conclusion}
 
 %%%%%%%%%%%%%%%%%%%%%%%
-The main goal of this thesis was to examine the potential of reusing old test equipment with newer standards and how to assure that the results are reliable. A method to verify the test equipment according to the latest standard was suggested in this thesis and some considerations for automating this procedure was made. A dummy load was developed and good enough to be used for verification. The verification system was not completed and the high frequency attenuators did not perform well enough to be used in their current form.
+The main goal of this thesis was to examine the potential of reusing old test equipment with newer standards and how to assure that the results are reliable. A method to verify the test equipment according to the latest standard was suggested in this thesis and some considerations for automating this procedure was made. A dummy load was developed and found good enough to be used for verification. The verification system was not completed and the high frequency attenuators did not perform well enough to be used in their current form.
 
 \section{Research questions}
 The answers to the research questions are here answered based on the results of the project.

+ 5 - 5
rapport/discussion.tex

@@ -45,7 +45,7 @@ The old and the new standards proved to be very similar. This was not entirely u
 
 %%%%%%%%%%%%%%%%%%%%%%%%
 \subsection{Examination and initial measurement of the old equipment}
-As can be seen in \autoref{tab:initial_measurements} and \autoref{tab:initial_measurements_cna}, some values exceeded the limits (marked in red). Three of these values even exceeds the old standard's limits, thus indicating that the equipment should probably be usable with the new standard after some service or calibration. With this in mind, the course of the project was targeted towards the design of an automated verification system. With such a verification equipment at hand, the calibration of the generators might be easier to perform as well.
+As can be seen in \autoref{tab:initial_measurements} and \autoref{tab:initial_measurements_cna}, some values exceeded the limits (marked in red). Three of these values even exceeds the old standard's limits which indicates the equipment needs service and calibration, after which it hopefully will be usable with the new standard as well. With this in mind, the course of the project was targeted towards the design of an automated verification system. With such a verification equipment at hand, the calibration of the generators might be easier to perform as well.
 
 %%%%%%%%%%%%%%%%%%%%%%%%
 \subsection{Test architecture}
@@ -74,13 +74,13 @@ The usage of the energy curve in the datasheet might have been wrong. In this wo
 %%%%%%%%%%%%%%%%%%%%%%%%
 \subsection{Design of attenuators}
 \label{discussion_attenuators}
-During the project, the attenuation was considered as the voltage attenuation \mbox{$att = 20 \times log_{10}\left( \frac{V_{in}}{V_{out}} \right)  \si{\deci\bel}$}. However, the online calculator used was using power attenuation \mbox{$att = 10 \times log_{10}\left( \frac{P_{in}}{P_{out}} \right)  \si{\deci\bel}$}. The two different ways of expressing attenuation will give the same result if the input impedance is equal to the output impedance. The derived expression seen in \autoref{equ:db-calc}. So to use the online calulator for the \SI{1000}{\ohm} attenuator one would have to specify that you want $\SI{60.1}{\deci\bel}+10 \times log_{10} \left( \frac{50}{1000} \right) \approx \SI{47.1}{\deci\bel}$. However, this was not known at the time and the values were tweaked manually in LTSpice until the desired attenuation was achieved, but the output impedance was not considered during the tweaking and thereby ended up being a bit mismatched for the next $\Pi$ link.
+During the project, the attenuation was considered as the voltage attenuation \mbox{$att = 20 \cdot log_{10}\left( \frac{V_{in}}{V_{out}} \right)  \si{\deci\bel}$}. However, the online calculator used was using power attenuation \mbox{$att = 10 \cdot log_{10}\left( \frac{P_{in}}{P_{out}} \right)  \si{\deci\bel}$}. The two different ways of expressing attenuation will give the same result if the input impedance is equal to the output impedance. The derived expression seen in \autoref{equ:db-calc}. So to use the online calulator for the \SI{1000}{\ohm} attenuator one would have to specify that you want $\SI{60.1}{\deci\bel}+10 \cdot log_{10} \left( \frac{50}{1000} \right) \approx \SI{47.1}{\deci\bel}$. However, this was not known at the time and the values were tweaked manually in LTSpice until the desired attenuation was achieved, but the output impedance was not considered during the tweaking and thereby ended up being a bit mismatched for the next $\Pi$ link.
 
 \begin{equation}
 \begin{split}
 \label{equ:db-calc}
-Power~attenuation = 10 \times log_{10}\left( \frac{P_{in}}{P_{out}}  \right) = 10 \times log_{10}\left( \frac{ \frac{U^2_{in}}{R_{in}}  }{  \frac{U^2_{out}}{R_{out}}  } \right) =\\
-=10 \times log_{10} \left( \left( \frac{U_{in}}{U_{out}} \right)^2 \times \frac{R_{out}}{R_{in}} \right) = 20 \times log_{10} \left( \frac{U_{in}}{U_{out}} \right) + 10 \times log_{10} \left( \frac{R_{out}}{R_{in}} \right)
+Power~attenuation = 10 \cdot log_{10}\left( \frac{P_{in}}{P_{out}}  \right) = 10 \cdot log_{10}\left( \frac{ \frac{U^2_{in}}{R_{in}}  }{  \frac{U^2_{out}}{R_{out}}  } \right) =\\
+=10 \cdot log_{10} \left( \left( \frac{U_{in}}{U_{out}} \right)^2 \cdot \frac{R_{out}}{R_{in}} \right) = 20 \cdot log_{10} \left( \frac{U_{in}}{U_{out}} \right) + 10 \cdot log_{10} \left( \frac{R_{out}}{R_{in}} \right)
 \end{split}
 \end{equation}
 
@@ -100,7 +100,7 @@ The book \emph{The circuit designer's companion} doesn't seem to be as widely us
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \section{The work in a wider context}
-Test equipment and methodologies can be a very sensitive topic. When a company wants to put a product on the market, they will need to bring their product to a test lab to conduct these tests according to the relevant standards. If the test procedure is wrong, or leaves too much space for interpretations, it could lead to a product failing the test even though it should have passed if the test was made in another lab. Or even worse, an unsafe product might be put on the market due to being falsely passed in the tests. There is always a chance for errors, but using well designed automated systems for testing and verification mitigates the human errors which are the most unpredictable.
+Test equipment and methodologies can be a very sensitive topic. When a company wants to put a product on the market, they will need to bring their product to a test lab to conduct these tests according to the relevant standards. If the test procedure is wrong, or leaves too much space for interpretations, it could lead to a product failing the test even though it should have passed if the test was made in another lab. Or even worse, an unsafe product might be put on the market due to being falsely passed in the tests. There is always a risk of errors, but using well designed automated systems for testing and verification mitigates the risk of human errors which are the most unpredictable.
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%% lorem.tex ends here

BIN
rapport/figures/diff-probe.jpg


BIN
rapport/figures/raw_pictures/equipment/IMG_20210226_170435.jpg


BIN
rapport/main.pdf


+ 17 - 12
rapport/method.tex

@@ -248,7 +248,7 @@ The relays were chosen based on high breakdown voltage between open contacts.
 \subsection{Attenuators}
 The target attenuation was decided to mimic the commercial attenuators, introduced in \autoref{sec:hv-attenuators}, where the \SI{50}{\ohm} attenuator has an attenuation of \SI{54.7}{\deci\bel} and the \SI{1000}{\ohm} attenuator has an attenuation of \SI{60.1}{\deci\bel}.
 
-The two attenuators were implemented as $\Pi$-attenuators. The resistor values for the attenuators were retrieved from an online calculator\footnote{$\Pi$ attenuator calculator \url{https://chemandy.com/calculators/matching-pi-attenuator-calculator.htm}}, and then simulated in LTSpice to verify the resulting properties.
+The two attenuators were implemented as $\Pi$-attenuators. The resistor values for the attenuators were retrieved from an online calculator\footnote{$\Pi$\nd{}attenuator calculator \url{https://chemandy.com/calculators/matching-pi-attenuator-calculator.htm}}, and then simulated in LTSpice to verify the resulting properties.
 
 By dividing the attenuators into two $\Pi$-networks, the series resistance required is lower compared to realizing them in a single $\Pi$-network. This is desirable because the parasitic capacitance, which is dependent of the resistor package and not the resistance value, will influence a high value resistor more at lower frequencies than it would on a low value resistor, as explained in \autoref{sec:theory:resistors_at_high_frequencies}.
 
@@ -291,16 +291,7 @@ Since the relay card will be used for measuring pulses with short rise times, it
 
 To measure the magnitude response, an $S_{21}$ measurement was performed using the ZVL network analyzer. A fixture was made to mimic the front panel of the CNA~200 to allow for a representative connection of the relay card. The setup can be seen in \autoref{fig:network_analyzing}. This setup proved to be unstable at first, as moving the coaxial wires and the grounding wire greatly affected the results for the higher frequencies. Because of the unstable results early in the measuring process, a modification was made to shorten the ground connection by attaching a braid as close to the attenuator grounds as possible and then grounding it directly to the fixture case, as depicted in \autoref{fig:ground_braid}. All subsequent measurements were performed with this modification.
 
-The signal was measured for each output terminal through each of the attenuators to get the magnitude response for the intended use, \autoref{fig:relay_box_other_open} shows this for the + terminal. To see how well the design suppresses unconnected signals, the magnitude response was also measured when the signal was disconnected completely, i.e. all the relays in the fixture were opened as depicted in \autoref{fig:relay_box_all_open}. In addition to this, the magnitude response was also measured with all but the relays on the current terminal closed, seen in \autoref{fig:relay_box_other_closed}, to see if there was any overhearing on the circuit board from the other terminals and the traces after the relays. The results were saved both as an image and as raw data in the form of complex numbers in a CSV\nd{}file to allow for further analysis and plotting.
-
-A single relay was also measured using the network analyzer to get a perception of its high frequency properties. The setup was made by soldering coaxial cable directly to the relay, with as short connecting wires as possible to prevent any influence on the result from the wires. The setup can be seen in \autoref{fig:relay-setup}.
-
-To measure the test pulses through the attenuators, the switching fixture was connected to the CNA~200 and the pulses were measured on the intended connectors using an oscilloscope, as seen in \autoref{fig:relay_card_measurement_time}. The results were saved both as an image and as data points in a CSV\nd{}file, for further analysis.
-
-For comparison, the commercial attenuators were also measured in frequency domain with the ZVL and in time domain using the oscilloscope.
-
-
-\begin{figure}[H]
+\begin{figure}
 	\centering
 	\begin{subfigure}[t]{0.48\textwidth}
 	    \includegraphics[width=\textwidth]{network_analyzing}
@@ -312,7 +303,15 @@ For comparison, the commercial attenuators were also measured in frequency domai
 	    \caption{The modified grounding path.}
 	    \label{fig:ground_braid}
 	\end{subfigure}
+	\caption{The test setups for frequency measurements of the attenuators.}
+   	\label{fig:dummy-load-pcb-freq}
+\end{figure}
 
+The signal was measured for each output terminal through each of the attenuators to get the magnitude response for the intended use, \autoref{fig:relay_box_other_open} shows this for the + terminal. To see how well the design suppresses unconnected signals, the magnitude response was also measured when the signal was disconnected completely, i.e. all the relays in the fixture were opened as depicted in \autoref{fig:relay_box_all_open}. In addition to this, the magnitude response was also measured with all but the relays on the current terminal closed, seen in \autoref{fig:relay_box_other_closed}, to see if there was any overhearing on the circuit board from the other terminals and the traces after the relays. The results were saved both as an image and as raw data in the form of complex numbers in a CSV\nd{}file to allow for further analysis and plotting.
+
+
+\begin{figure}
+	\centering
 	\begin{subfigure}[t]{0.4\textwidth}
 		\includegraphics[width=\textwidth]{relay_measurement}
 		\caption{The relay measured with coaxial wires.}
@@ -324,9 +323,15 @@ For comparison, the commercial attenuators were also measured in frequency domai
 		\label{fig:relay_card_measurement_time}
 	\end{subfigure}
 	\caption{The test setups for frequency and time measurements of the attenuators.}
-   	\label{fig:dummy-load-pcb}
+   	\label{fig:dummy-load-pcb-time}
 \end{figure}
 
+A single relay was also measured using the network analyzer to get a perception of its high frequency properties. The setup was made by soldering coaxial cable directly to the relay, with as short connecting wires as possible to prevent any influence on the result from the wires. The setup can be seen in \autoref{fig:relay-setup}.
+
+To measure the test pulses through the attenuators, the switching fixture was connected to the CNA~200 and the pulses were measured on the intended connectors using an oscilloscope, as seen in \autoref{fig:relay_card_measurement_time}. The results were saved both as an image and as data points in a CSV\nd{}file, for further analysis.
+
+For comparison, the commercial attenuators were also measured in frequency domain with the ZVL and in time domain using the oscilloscope.
+
 
 \begin{figure}
 	\centering

+ 36 - 39
rapport/results.tex

@@ -50,9 +50,7 @@ Only the properties that were found to differ are mentioned in the results.
 
 %%%%%%%%%%%%%%%%%%%%
 \subsection{Supply voltages}
-The specification of the DC supply voltage for the DUT differs in some case between the older and the newer versions of the standard. There are two different supply voltage definitions. $U_A$ represents a system where the generator is in operation and $U_B$ represents the system without the generator in operation. These have different values for \SI{12}{\volt} and \SI{24}{\volt} systems. $U_B$ is only relevant for Load dump Test A and is thus not defined in ISO~7637 anymore.
-
-\autoref{tab:supplyVoltageDiff} presents the supply voltage specifications from the different standards. The supply voltages are provided by an external PSU and will thus not be dependent on the test equipment.
+The specification of the DC supply voltage for the DUT, $U_A$ in \autoref{fig:doubleexp}, differs in some case between the older and the newer versions of the standard. These have different values for \SI{12}{\volt} and \SI{24}{\volt} systems. \autoref{tab:supplyVoltageDiff} presents the supply voltage specifications from the different standards. The supply voltages are provided by an external PSU and will thus not be dependent on the test equipment.
 
 \begin{table}[H]
     \caption{Comparison of the different supply voltage specifications.}
@@ -69,11 +67,6 @@ The specification of the DC supply voltage for the DUT differs in some case betw
        ISO 7637-2:2011   & \SIrange{12}{13}{\volt}    & \SIrange{24}{28}{\volt}  \\
        ISO 16750-1:2018 &  \SIrange{13.8}{14.2}{\volt}    & \SIrange{27.8}{28.2}{\volt}   \\
        \hline
-       \multicolumn{1}{|c}{} & \multicolumn{2}{c|}{$U_B$}    \\
-       \hline
-       ISO 7637-2:2004   & \SIrange{12.3}{12.7}{\volt}    & \SIrange{23.6}{24.4}{\volt}  \\
-       ISO 16750-1:2018 &  \SIrange{12.3}{12.7}{\volt}    & \SIrange{23.8}{24.2}{\volt}   \\
-       \hline
     \end{tabular}
 \end{adjustbox}
     \label{tab:supplyVoltageDiff}
@@ -81,7 +74,7 @@ The specification of the DC supply voltage for the DUT differs in some case betw
 
 %%%%%%%%%%%%%%%%%%%%
 \subsection{Surge voltages}
-Several of the surge voltages has a wider specified range, as can be seen in \autoref{tab:UADiff}. Notice how the old pulse 5a and the new load dump A have different specifications for $U_S$, but they describe the same pulse because of the different definition of $U_S$ in ISO~7637\nd2 and ISO~16750\nd2.
+Several of the surge voltages has a wider specified range, as can be seen in \autoref{tab:UADiff}. Notice how the old pulse 5a and the new load dump A have different specifications for $U_S$, but they describe the same pulse because of the different definition of $U_S$ in ISO~7637\nd2 and ISO~16750\nd2 as described in \autoref{sec:theory-load-dump-test-a}.
 
 \begin{table}[H]
     \caption{Comparison of the different surge voltage specifications.}
@@ -116,7 +109,7 @@ Several of the surge voltages has a wider specified range, as can be seen in \au
        \hline
        ISO 7637-2:2004   & \SIrange{65}{87}{\volt}    & \SIrange{123}{174}{\volt}  \\
        ISO 16750-2:2012 & \SIrange{79}{101}{\volt}    & \SIrange{151}{202}{\volt}   \\
-       ISO 16750-2:2012 \tablefootnote{Recalculated values to fit the same $U_S$ definitions as the older standard. $U_{S_{7637}} = U_{S_{16750}}-U_{N_{16750}}$} & \SIrange{65}{87}{\volt}    & \SIrange{123}{174}{\volt}   \\
+       ISO 16750-2:2012\tablefootnote{Recalculated values to fit the same $U_S$ definitions as the older standard. $U_{S_{7637}} = U_{S_{16750}}-U_{N_{16750}}$} & \SIrange{65}{87}{\volt}    & \SIrange{123}{174}{\volt}   \\
        \hline
     \end{tabular}
 \end{adjustbox}
@@ -183,7 +176,7 @@ At first, the test equipment itself needed some care before it was possible to o
 The result from the initial measurements are presented, along with the limits, in \autoref{tab:initial_measurements} without the CNA~200 connected and in \autoref{tab:initial_measurements_cna} with the CNA~200 connected.
 
 \begin{table}[h]
-    \caption{The initial manual measurements, measured directly at each generator's output.}
+    \caption{The initial manual measurements, measured directly at each generator's output. Values highlighted in red are not within its specification.}
 \begin{adjustbox}{width=\columnwidth,center}
     %\centering
     \begin{tabular}{|l|r|r|r|r|r|r|} 
@@ -207,7 +200,7 @@ The result from the initial measurements are presented, along with the limits, i
 \end{table}
 
 \begin{table}[h]
-    \caption{The initial manual measurements on the equipment, including the CNA~200.}
+    \caption{The initial manual measurements on the equipment, including the CNA~200. Values highlighted in red are not within its specification.}
 \begin{adjustbox}{width=\columnwidth,center}
     %\centering
     \begin{tabular}{|l|r|r|r|r|r|r|} 
@@ -279,7 +272,7 @@ The maximum energy transferred to the \SI{2}{\ohm}, however, is delivered by the
    	\label{fig:dummy2_energy}
 \end{figure}
 
-The LTO100 family\footnote{\url{https://www.vishay.com/docs/50051/lto100.pdf}} from Vishay was chosen because of its high power characteristics and because the maximum overload energy curve was specified in its datasheet. Whith the datasheet and simulation side by side, a worst ratio between the simulated energy and the energy specified in the datasheet was determined. The worst case found for the different pulses and dummy loads can be found in \autoref{tab:dummy_load_energies}.
+The LTO100 resistor series\footnote{\url{https://www.vishay.com/docs/50051/lto100.pdf}} from Vishay was chosen because of its high power characteristics and because the maximum overload energy curve was specified in its datasheet. Whith the datasheet and simulation side by side, a worst ratio between the simulated energy and the energy specified in the datasheet was determined. The worst case found for the different pulses and dummy loads can be found in \autoref{tab:dummy_load_energies}.
 
 \begin{table}[h]
     \caption{The worst case ratio between the simulation energies and the datasheet specification. The ratio equals the minimum number of resistors needed to share the energy.}
@@ -311,7 +304,7 @@ When the least number of resistors required had been determined, some different
 %%%%%%%%%%%%%%%%%%
 \subsection{PCB}
 
-Because of the high voltages present on the board, a minumum creepage of 3mm was used. This is in line with the \mbox{EN 60664-1} standard \cite{en_60664_1}. The board was perforated to allow for better air flow past the resistors, improving the cooling. The mounting holes for the card was placed in a \SI[product-units=single]{105 x 105}{\milli\meter} square, allowing a \SI{120}{\milli\meter} fan to be mounted on top of the card using mounting hardware.
+Because of the high voltages present on the board, a minimum creepage of \SI{3}{\milli\meter} was used. This is in line with the \mbox{EN 60664-1} standard \cite{en_60664_1}. The board was perforated to allow for better air flow past the resistors, improving the cooling. The mounting holes for the card was placed in a \SI[product-units=single]{105 x 105}{\milli\meter} square, allowing a \SI{120}{\milli\meter} fan to be mounted on top of the card using mounting hardware.
 
 A two layer board was chosen, and all of the traces were mirrored on both layers to get as much conductive cross sectional area as possible, and thus lowering the resistance and power dissipation in the traces. The default copper thickness from the manufacturer\footnote{Cogra Pro AB \url{ https://www.cogra.se/produkter/monsterkort/}},  was \SI{18}{\micro\meter}, but this PCB was ordered with \SI{60}{\micro\meter} thick copper layer to further extend the cross sectional areas. The width of the traces for the \SI{2}{\ohm} load was chosen as wide as possible without violating the \SI{3}{\milli\meter} creepage distance.
 
@@ -345,7 +338,7 @@ When the PCB was delivered, it was visually inspected before assembling. The com
 	    \caption{Bottom.}
 	    \label{fig:dummy-load-bottom}
 	\end{subfigure}
-	\caption{The plating in the ventilation holes was removed by hand using a drill.}
+	\caption{The plating in the ventilation holes was removed by hand using a drill to increase the creepage distance between the resistor terminals. All holes without annular ring are ventilation holes.}
    	\label{fig:dummy-load-pcb}
 \end{figure}
 
@@ -386,34 +379,36 @@ The Panasonic's LF-G relays were chosen as switching elements as they have a hig
 %%%%%%%%%%%%%%%%%%
 \subsection{Attenuators}
 \label{sec:result-attenuators}
-The \SI{54.7}{\deci\bel} attenuator was divided into two \SI{27.35}{\deci\bel} $\Pi$ attenuator links. The values obtained from the online calculator was \SI{54.48}{\ohm} as the parallel resistors and \SI{581.62}{\ohm} as the series resistor. Then the closest values for the resistors was chosen to \SI{54.67}{\ohm} as parallel resistors and \SI{560}{\ohm} as series resistors. The final attenuation was \SI{53.76}{\deci\bel} for the two links according to the simulation, as seen in \autoref{fig:ltspice-54db-attenuator}. The design was realized as seen in \autoref{fig:ltspice-54db-attenuator-comp}, based on the maximum voltages and powers. Capacitors were placed in the schematic to allow for phase compensation.
+The \SI{54.7}{\deci\bel} attenuator was divided into two \SI{27.35}{\deci\bel} $\Pi$\nd{}attenuator links. The values obtained from the online calculator was \SI{54.48}{\ohm} as the parallel resistors and \SI{581.62}{\ohm} as the series resistor. Then the closest values for the resistors was chosen to \SI{54.67}{\ohm} as parallel resistors and \SI{560}{\ohm} as series resistors. The final attenuation was \SI{53.76}{\deci\bel} for the two links according to the simulation, as seen in \autoref{fig:ltspice-54db-attenuator}. The design was realized as seen in \autoref{fig:ltspice-54db-attenuator-comp}, based on the maximum voltages and powers. Capacitors were placed in the schematic to allow for phase compensation.
 
 Since the uncompensated circuit had its \SI{3}{\deci\bel} limit at only \SI{190}{\mega\hertz}, as seen in \autoref{fig:ltspice-54db-attenuator-freq}, the circuit had to be compensated. The results after the compensation can be seen in \autoref{fig:ltspice-54db-attenuator-freq-comp} where the new \SI{3}{\deci\bel} limit is instead at \SI{1.7}{\giga\hertz}. The values used for compensating the circuit was \SI{130}{\pico\farad} for the first parallel resistance and \SI{10}{\pico\farad} for the second parallel link as seen in \autoref{fig:ltspice-54db-attenuator-comp}.
 
 \begin{figure}[h]
-	\begin{subfigure}[t]{0.45\textwidth}
+	\begin{subfigure}[t]{0.8\textwidth}
 		\captionsetup{width=\linewidth}
 		\centering
 		\includegraphics[width=\textwidth]{ltspice-54db-attenuator}
 		\caption{The ideal circuit simulated.}
 		\label{fig:ltspice-54db-attenuator}
-	\end{subfigure}\hfill
-	\begin{subfigure}[t]{0.45\textwidth}
-		\captionsetup{width=\linewidth}
-		\centering
-		\includegraphics[width=\textwidth]{ltspice-54db-attenuator-freq}
-		\caption{Frequency responce of the circuit with parasitics without compensation.}
-		\label{fig:ltspice-54db-attenuator-freq}
 	\end{subfigure}
 	
-	\begin{subfigure}[t]{0.45\textwidth}
+	\begin{subfigure}[t]{0.8\textwidth}
 		\captionsetup{width=\linewidth}
 		\centering
 		\includegraphics[width=\textwidth]{ltspice-54db-attenuator-comp}
 		\caption{Chosen topology simulated with parasitics and compensation capacitors. The components with designator X are the non-ideal resistors depicted in \autoref{fig:nonIdealResistor}}
 		\label{fig:ltspice-54db-attenuator-comp}
-	\end{subfigure}\hfill
-	\begin{subfigure}[t]{0.45\textwidth}
+	\end{subfigure}
+	
+	\begin{subfigure}[t]{0.8\textwidth}
+		\captionsetup{width=\linewidth}
+		\centering
+		\includegraphics[width=\textwidth]{ltspice-54db-attenuator-freq}
+		\caption{Frequency responce of the circuit with parasitics without compensation.}
+		\label{fig:ltspice-54db-attenuator-freq}
+	\end{subfigure}
+	
+	\begin{subfigure}[t]{0.8\textwidth}
 		\captionsetup{width=\linewidth}
 		\centering
 		\includegraphics[width=\textwidth]{ltspice-54db-attenuator-freq-comp}
@@ -426,7 +421,7 @@ Since the uncompensated circuit had its \SI{3}{\deci\bel} limit at only \SI{190}
 \end{figure}
 
 
-The \SI{60.1}{\deci\bel} attenuator was divided into one \SI{27.35}{\deci\bel} $\Pi$ attenuator link, the same as used in the \SI{54.7}{\deci\bel} attenuator, preceded by a \SI{32.75}{\deci\bel} $\Pi$ link with \SI{1000}{\ohm} in-impedance. When the closest values for the resistors had been chosen, using \SI{56}{\ohm} as parallel resistors and \SI{56}{\ohm} as series resistor, the final attenuation was \SI{60.33}{\deci\bel} for the two links according to the simulation, seen in \autoref{fig:ltspice-60db-attenuator}. The attenuator was then realized as seen in \autoref{fig:ltspice-60db-attenuator-comp}, based on the maximum voltages and powers.
+The \SI{60.1}{\deci\bel} attenuator was divided into one \SI{27.35}{\deci\bel} $\Pi$\nd{}attenuator link, the same as used in the \SI{54.7}{\deci\bel} attenuator, preceded by a \SI{32.75}{\deci\bel} $\Pi$ link with \SI{1000}{\ohm} in-impedance. When the closest values for the resistors had been chosen, using \SI{56}{\ohm} as parallel resistors and \SI{56}{\ohm} as series resistor, the final attenuation was \SI{60.33}{\deci\bel} for the two links according to the simulation, seen in \autoref{fig:ltspice-60db-attenuator}. The attenuator was then realized as seen in \autoref{fig:ltspice-60db-attenuator-comp}, based on the maximum voltages and powers.
 
 Since the uncompensated circuit had its \SI{3}{\deci\bel} limit at only \SI{130}{\mega\hertz}, as seen in \autoref{fig:ltspice-60db-attenuator-freq}, the circuit had to be compensated. The results after the compensation can be seen in \autoref{fig:ltspice-60db-attenuator-freq-comp} where the new \SI{3}{\deci\bel} limit is instead at \SI{2.2}{\giga\hertz}. The values used for compensating the circuit was \SI{40}{\pico\farad} for the first parallel resistance and \SI{30}{\pico\farad} for the second parallel link as seen in \autoref{fig:ltspice-60db-attenuator-comp}.
 
@@ -437,13 +432,6 @@ Since the uncompensated circuit had its \SI{3}{\deci\bel} limit at only \SI{130}
 		\includegraphics[width=\textwidth]{ltspice-60db-attenuator}
 		\caption{The ideal circuit simulated.}
 		\label{fig:ltspice-60db-attenuator}
-	\end{subfigure}\hfill
-	\begin{subfigure}[t]{0.45\textwidth}
-		\captionsetup{width=\linewidth}
-		\centering
-		\includegraphics[width=\textwidth]{ltspice-60db-attenuator-freq}
-		\caption{Frequency responce of the circuit with parasitics without compensation.}
-		\label{fig:ltspice-60db-attenuator-freq}
 	\end{subfigure}
 	
 	\begin{subfigure}[t]{0.45\textwidth}
@@ -452,7 +440,16 @@ Since the uncompensated circuit had its \SI{3}{\deci\bel} limit at only \SI{130}
 		\includegraphics[width=\textwidth]{ltspice-60db-attenuator-comp}
 		\caption{Chosen topology simulated with parasitics and compensation capacitors. The components with designator X are the non-ideal resistors depicted in \autoref{fig:nonIdealResistor}}
 		\label{fig:ltspice-60db-attenuator-comp}
-	\end{subfigure}\hfill
+	\end{subfigure}
+	
+	\begin{subfigure}[t]{0.45\textwidth}
+		\captionsetup{width=\linewidth}
+		\centering
+		\includegraphics[width=\textwidth]{ltspice-60db-attenuator-freq}
+		\caption{Frequency responce of the circuit with parasitics without compensation.}
+		\label{fig:ltspice-60db-attenuator-freq}
+	\end{subfigure}
+
 	\begin{subfigure}[t]{0.45\textwidth}
 		\captionsetup{width=\linewidth}
 		\centering
@@ -554,7 +551,7 @@ The time measurements are shown in \autoref{fig:time-measurements}
 		\includegraphics[width=\textwidth]{50_gooc}
 		\caption{Ground terminal open, all other closed}
 	\end{subfigure}
-	\caption{The S21 measurements for the \SI{50}{\ohm} attenuators. No compensation capacitors have been used.}
+	\caption{The $S_{21}$ measurements for the \SI{50}{\ohm} attenuators. No compensation capacitors have been used.}
 	\label{fig:50-s21}
 	
 \end{figure}
@@ -599,7 +596,7 @@ The time measurements are shown in \autoref{fig:time-measurements}
 		\includegraphics[width=\textwidth]{1k_gooc}
 		\caption{Ground terminal open, all other closed}
 	\end{subfigure}
-	\caption{The S21 measurements for the \SI{1}{\kilo\ohm} attenuators. No compensation capacitors have been used.}
+	\caption{The $S_{21}$ measurements for the \SI{1}{\kilo\ohm} attenuators. No compensation capacitors have been used.}
 	\label{fig:1k-s21}
 	
 \end{figure}
@@ -621,7 +618,7 @@ The time measurements are shown in \autoref{fig:time-measurements}
 		\caption{The relay's magnitude response.}
 		\label{fig:relay-result}
 	\end{subfigure}
-	\caption{The S21 measurements on the commercial attenuators and the solo relay.}
+	\caption{The $S_{21}$ measurements on the commercial attenuators and the solo relay.}
 	
 \end{figure}
 

+ 26 - 5
rapport/theory.tex

@@ -73,7 +73,7 @@ The ISO~16750, \emph{Road vehicles -- Environmental conditions and testing for e
 
 All test pulses defined in ISO~7637 and ISO~16750 are supposed to simulate events that can occur in a real vehicle's electrical environment, that equipment must be able to withstand. The properties of these test pulses are well defined, to allow for unified testing regardless of which test lab that performs the test. In the real world, however, the disturbances might of course differ from the test pulses since a real case environment is not controlled. \cite{iso_7637_2,iso_16750_2, comparison_iso_7637_real_world}
 
-The test pulses of interest defined in ISO~7637 are denoted \emph{test pulse 1}, \emph{test pulse 2a}, \emph{test pulse 3a} and \emph{test pulse 3b}. The test pulse of interest defined in ISO~16750 is denoted \emph{load dump test A}. There are more pulses and tests defined in these standards, but those are not in the scope of this project.
+The test pulses of interest defined in ISO~7637 are denoted \emph{pulse 1}, \emph{pulse 2a}, \emph{pulse 3a} and \emph{pulse 3b}. The test pulse of interest defined in ISO~16750 is denoted \emph{load dump test A}. There are more pulses and tests defined in these standards, but those are not in the scope of this project.
 
 The general characteristics in common for all pulses are the DC voltage $U_A$, the surge voltage $U_s$, the rise time $t_r$, the pulse duration $t_d$ and the internal resistance $R_i$. The property \emph{internal resistance} is only in series with the generated pulse, not in series with the DC power source. For pulses that are supposed to be applied several times, $t_1$ usually denotes the time between the start of two consecutive pulses. The timings are illustrated in  \autoref{fig:doubleexp}.
 
@@ -223,6 +223,7 @@ These pulses contain high frequency components, up to 100~MHz, and special care
 
 %%%%%%%%%%%%%%%%%%%
 \subsection{Load dump Test A}
+\label{sec:theory-load-dump-test-a}
 The load dump test A simulates the event of disconnecting a battery that is charged by the vehicles alternator, the current that the alternator is driving will give rise to a long voltage transient.
 
 This pulse has the longest duration, $t_d$, of all the test pulses. It also has the lowest internal resistance. These properties makes it capable of transferring high energies into a low impedance DUT or dummy load.
@@ -401,13 +402,33 @@ The oscilloscope available for this project is a Tektronix TDS7104\footnote{\url
 \end{table}
 
 %%%%%%%%%%%%%%%%%%%
-\subsection{xxxxx Isolated differential probe}
-\todo[Peta in kort beskrivning av prob och dess data]
+\subsection{Teseq MD 200A Isolated differential probe}
 \label{sec:hv-diff-probe}
+The Teseq MD 200A can be used to measure high voltage differential signals. It has only \SI{10}{\mega\hertz} bandwidth which makes it unusable for some of the quick pulses in this project. The probes are of \SI{4}{\milli\meter} safety banana type and can be connected directly to the pulse generator outputs.
+
+
+\begin{table}[H]
+    \caption{A selection of the specifications for the Teseq MD 200A}
+\begin{adjustbox}{center}
+    %\centering
+    \begin{tabular}{|l|r|} 
+        \hline
+        Attenuation ratio & $1$:$100$ and $1$:$1000$ \\
+        \hline
+        Bandwidth & \SI{10}{\mega\hertz} \\
+        \hline
+        Accuracy & $\pm$\SI{2}{\percent} \\
+        \hline
+        Max. input voltage differential and common mode & \SI{7000}{\volt} peak \\
+        \hline
+    \end{tabular}
+\end{adjustbox}
+    \label{tab:md200a}
+\end{table}
 
 %%%%%%%%%%%%%%%%%%%
 \subsection{EM Test MPG 200 Micropulse generator}
-The MPG~200 is used to generate \emph{test pulse 1} and \emph{2a}. MPG is an abbreviation for \emph{MicroPulse Generator}. The instrument is designed to generate test pulses according to the older ISO~7637-2:1990 version, but the parameters can be adjusted to comply with the new ISO~7637:1990 standard. The adjustable parameter ranges are shown in \autoref{tab:mpg200_specs}. The instrumentation panels can be seen in \autoref{fig:mpg200}. It can be controlled via a GPIB interface.
+The MPG~200 is used to generate \emph{test pulse 1} and \emph{2a}. MPG is an abbreviation for \emph{MicroPulse Generator}. The instrument is designed to generate test pulses according to the older ISO~7637-2:1990 version, but the adjustable parameters range cover those specified in the newer ISO~7637-2:2011 standard. The available settings are shown in \autoref{tab:mpg200_specs}. The instrumentation panels can be seen in \autoref{fig:mpg200}. It can be controlled via a GPIB interface.
 
 \begin{table}[H]
     \caption{Adjustable parameters in the MPG 200}
@@ -429,7 +450,7 @@ The MPG~200 is used to generate \emph{test pulse 1} and \emph{2a}. MPG is an abb
 \end{table}
 
 
-\begin{figure}
+\begin{figure}[H]
 	\centering
 	\begin{subfigure}{0.7\textwidth}
 		\includegraphics[width=\textwidth]{mpg200-front}