From 193fbd6475bd9256a8593fa39da833f874b8bbea Mon Sep 17 00:00:00 2001 From: niepra01 <rolf.niepraschk@ptb.de> Date: Thu, 7 Mar 2019 09:49:29 +0100 Subject: [PATCH] Verbereitung KS-Version 2019 (2) --- kalibrierschein/IK-2019.clo | 248 ++++++++++++++++++ kalibrierschein/kalibrierschein-2019-test.tex | 33 --- kalibrierschein/kalibrierschein-2019.cls | 15 +- kalibrierschein/test-ks-KK-2019.tex | 90 +++++++ 4 files changed, 350 insertions(+), 36 deletions(-) create mode 100644 kalibrierschein/IK-2019.clo delete mode 100644 kalibrierschein/kalibrierschein-2019-test.tex create mode 100644 kalibrierschein/test-ks-KK-2019.tex diff --git a/kalibrierschein/IK-2019.clo b/kalibrierschein/IK-2019.clo new file mode 100644 index 0000000..e68c48e --- /dev/null +++ b/kalibrierschein/IK-2019.clo @@ -0,0 +1,248 @@ + +\ProvidesFile{KK-2019.clo}[2019/03/07 v1.0d class option (RN/PTB)] + +%%% Definitionen, die ab 2019 gültig sind. + +\newcommand*\ks@printFirstPage{% + \unitlength=1bp % + \AtPageLowerLeft{% + %------------- Kopf ------------ + %%%\put(68,754){\includegraphics[width=308bp]{PTB-logo-2015.pdf}} + \put(68,763){\includegraphics[width=99bp,clip,viewport=14 74 298 177]% + {PTB-Weitergabe-Logo.pdf}} + \put(287,679){\includegraphics[width=62bp]{Adler.pdf}} + \put(67,750){\footnotesize + \resizebox{157bp}{!}{Physikalisch-Technische Bundesanstalt}} + \put(67,739){\footnotesize + \resizebox{117bp}{!}{Nationales Metrologieinstitut}} + \put(252,655){\normalfont\huge Kalibrierschein} + \put(266,637){\normalfont\itshape\normalsize Calibration Certificate} + %-----------Mittelteil --------- + \ks@put@main + %------------- Fuss ------------ + \normalfont\scriptsize + \put(68,86){\parbox[t]{\textwidth}{% + Kalibrierscheine ohne Unterschrift und Siegel haben keine G\"ultigkeit. + Dieser Kalibrierschein darf nur unver\"andert weiterverbreitet\\ + werden. Ausz\"uge bed\"urfen der Genehmigung der + Physikalisch-Technischen Bundesanstalt. + Die dargestellten Ergebnisse beziehen\\ + sich nur auf die kalibrierten Gegenstände.\\[.2ex] + \normalfont\itshape + Calibration certificates without signature and seal are not valid. + This calibration certificate may not be reproduced other than in + full. \\ Extracts may be taken only with permission of the + Physikalisch-Technische Bundesanstalt. + The presented results relate only to\\ + the items calibrated. + }} + } +} + +\newcommand\ks@put@main{% + \normalfont\normalsize + \@tempdima=68bp % + \@tempdimb=660bp % + \@tempdimd=207bp % + %-------------------------------- + \advance\@tempdimb-60bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Gegenstand:} + \put(\@tempdimd,\@tempdimb){\ks@object} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Object:} + %-------------------------------- + \advance\@tempdimb-51bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Hersteller:} + \put(\@tempdimd,\@tempdimb){\ks@printDevicesTable{348bp}{37bp}{33bp}} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Manufacturer:} + %-------------------------------- + \advance\@tempdimb-51bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Typ:} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Type:} + %-------------------------------- + \@tempdimb=452bp % + %-------------------------------- + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Kennnummer:} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Serial No.:} + %-------------------------------- + \advance\@tempdimb-30bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Auftraggeber:} + \put(\@tempdimd,\@tempdimb){\ks@applicant@table} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Applicant:} + \@tempdimb=377bp % + %-------------------------------- + \advance\@tempdimb-12bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Anzahl der Seiten:} + \put(\@tempdimd,\@tempdimb){\ztotpages} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Number of pages:} + %-------------------------------- + \advance\@tempdimb-30bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Gesch\"aftszeichen:} + \put(\@tempdimd,\@tempdimb){\ks@refNo} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Reference No.:} + %-------------------------------- + \advance\@tempdimb-30bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Kalibrierzeichen:} + \put(\@tempdimd,\@tempdimb){\ks@calibMark} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Calibration mark:} + %-------------------------------- + \advance\@tempdimb-30bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Ort der Kalibrierung:} + \put(\@tempdimd,\@tempdimb){PTB~\ks@location} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Location of calibration:} + %-------------------------------- + \advance\@tempdimb-30bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Datum der Kalibrierung:} + \put(\@tempdimd,\@tempdimb){\ks@calibDate} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape Date of calibration:} + %-------------------------------- + \@tempdime=\@tempdimd \advance\@tempdime185bp % + \advance\@tempdimb-30bp % + %%%\@tempdimb=204bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdima,\@tempdimb){Im Auftrag} + \put(\@tempdima,\@tempdimc){\scriptsize\itshape On behalf of PTB} + \put(\@tempdimd,\@tempdimb){\ks@location, \ks@certificateDate} + \put(\@tempdime,\@tempdimb){Im Auftrag} + \put(\@tempdime,\@tempdimc){\scriptsize\itshape On behalf of PTB} + \advance\@tempdimb-24bp % + \@tempdimc=\@tempdimb \advance\@tempdimc-10bp % + \put(\@tempdimd,\@tempdimb){Siegel} + \put(\@tempdimd,\@tempdimc){\scriptsize\itshape Seal} + %-------------------------------- + \advance\@tempdimb-40bp % + \put(\@tempdima,\@tempdimb){\ks@byOrder} + \put(\@tempdime,\@tempdimb){\ks@examiner} + %-------------------------------- + \put(46bp,256bp){\rotatebox[origin=c]{90}{\tiny \ks@doc@style@code}} +} + +\newcommand*\ks@head{% + \begin{picture}(0,0) + \unitlength=1bp % + \put(-1,24){\parbox{\textwidth}{% + \normalfont\small + Seite~\thepage\ zum Kalibrierschein vom~\ks@certificateDate, + Kalibrierzeichen:~\ks@calibMark \\ + \scriptsize\itshape + Page~\thepage\ of the Calibration Certificate dated~\ks@certificateDate, + calibration mark:~\ks@calibMark + }} + \end{picture} +} + + +\newcommand\ks@lastPage{% + + \begin{otherlanguage}{ngerman} + + \textbf{\Large Die Physikalisch-Technische Bundesanstalt} (PTB) in + Braunschweig und Berlin ist das nationale Metrologieinstitut und die + technische Oberbeh\"orde der Bundesrepublik Deutschland f\"ur das + Messwesen. Die PTB geh\"ort zum Gesch\"aftsbereich des Bundesministeriums + f\"ur Wirtschaft und Energie. Sie erf\"ullt die Anforderungen an Kalibrier- + und Pr\"uflaboratorien auf der Grundlage der DIN~EN ISO/IEC~17025. + + Zentrale Aufgabe der PTB ist es, die gesetzlichen Einheiten in + \"Ubereinstimmung mit dem Internationalen Einheitensystem (SI) darzustellen, + zu bewahren und weiterzugeben. Die PTB steht damit an oberster Stelle der + metrologischen Hierarchie in Deutschland. Die Kalibrierscheine der PTB + dokumentieren eine auf nationale Normale r\"uckgef\"uhrte Kalibrierung. + + Dieser Ergebnisbericht ist in \"Ubereinstimmung mit den Kalibrier- und + Messm\"oglichkeiten (CMCs), wie sie im Anhang~C des gegenseitigen + Abkommens (MRA) des Internationalen Komitees f\"ur Ma\ss e und + Gewichte enthalten sind. Im Rahmen des MRA wird die G\"ultigkeit der + Ergebnisberichte von allen teilnehmenden Instituten f\"ur die im + Anhang~C spezifizierten Messgr\"o\ss en, Messbereiche und + Messunsicherheiten gegenseitig anerkannt (n\"ahere Informationen unter + http://www.bipm.org). + + Diese Aussage und das CIPM-MRA-Logo beziehen sich nur auf die Messergebnisse + in diesem Kalibrierschein. + + \end{otherlanguage} + + \begingroup + \vspace{1.6\baselineskip} + \centering + \includegraphics[width=68bp]{CIPM-MRA.png}\par + \vspace{1.6\baselineskip} + \endgroup + + \itshape + + \begin{otherlanguage}{english} + + \textbf{\Large The Physikalisch-Technische Bundesanstalt} (PTB) in + Braunschweig and Berlin is the National Metrology Institute and the + supreme technical authority of the Federal Republic of Germany for metrology. + The PTB comes under the auspices of the Federal Ministry of Economics and + Energy. It meets the requirements for calibration and testing laboratories as + defined in DIN~EN ISO/IEC 17025. + + The central task of PTB is to realize, to maintain and to disseminate the + legal units in compliance with the International System of Units (SI). PTB + thus is at the top of the metrological hierarchy in Germany. The calibration + certificates issued by PTB document a calibration traceable to national + measurement standards. + + This certificate is consistent with the Calibration and Measurement + Capabilities (CMCs) that are included in Appendix~C of the Mutual + Recognition Arrangement (MRA) drawn up by the International Committee for + Weights and Measures (CIPM). Under the MRA, all participating institutes + recognize the validity of each other’s calibration and measurement + certificates for the quantities, ranges and measurement uncertainties + specified in Appendix~C (for details, see http://www.bipm.org). + + The CIPM MRA Logo and this statement attest only to the measurement component + of the certificate. + + + \end{otherlanguage} + + \vfill + + \normalfont + + \begin{tabular}{@{}p{.5\textwidth}@{\hspace{36bp}}p{.5\textwidth}@{}} + \multicolumn{2}{@{}l@{}}{ \small Physikalisch-Technische Bundesanstalt } + \tabularnewline[.3ex] + \parbox[b]{\linewidth}{ + \scriptsize Bundesallee 100 \\ + 38116~Braunschweig \\ + DEUTSCHLAND + } & + \parbox[b]{\linewidth}{ + \scriptsize Abbestra\ss e 2--12 \\ + 10587~Berlin \\ + DEUTSCHLAND + } + \end{tabular} + +} + +\newcommand*\ks@foot{% + \begin{picture}(0,0) + \unitlength=1bp % + \normalfont + %%\put(0,-25){\includegraphics[width=304bp]{ks-footline.png}}% + \put(-1,-55){\normalfont\footnotesize + \resizebox{303bp}{!}{% + \textcolor{PTBcolor}{PTB}~|~Physikalisch-Technische + Bundesanstalt~|~Nationales Metrologieinstitut}} + \end{picture} +} + +\endinput +%% +%% End of file `KK-2015.clo'. diff --git a/kalibrierschein/kalibrierschein-2019-test.tex b/kalibrierschein/kalibrierschein-2019-test.tex deleted file mode 100644 index 33aaf7a..0000000 --- a/kalibrierschein/kalibrierschein-2019-test.tex +++ /dev/null @@ -1,33 +0,0 @@ -%---------------------------+- -\listfiles -\documentclass[en,KK,2015]{kalibrierschein-2019} - -\missingEntries{ 0 } - -\object{ Helium Leak } -\manufacturer{ Inficon } -\type{ Permeation TL8 16557 } -\serialNo{ 90001065998 } -\applicant{ - { National Institute of Metrology \\Laboratorul Presiuni } - { Sos. Vitan Barzesti. nr. 11 } - { } - { 042122 Bucharest } -} -\refNo{ 7.5-1.8-18-2-2 } -\calibMark{ 75171~PTB~18 } -\calibDate{ 2018-06-18 } -\byOrder{ Dr. K. Jousten } -\examiner{ U. Becker } -\certificateDate{ 2018-06-20 } - -\begin{document} - -\printFirstPage - -\mbox{}\newpage -\mbox{}\newpage - -\printLastPage -\end{document} -%---------------------------+- diff --git a/kalibrierschein/kalibrierschein-2019.cls b/kalibrierschein/kalibrierschein-2019.cls index 9fd5ec4..27d2627 100644 --- a/kalibrierschein/kalibrierschein-2019.cls +++ b/kalibrierschein/kalibrierschein-2019.cls @@ -36,7 +36,7 @@ headheight=0bp, marginparwidth=0pt, left=69bp, -right=40bp, +textwidth=489bp, textheight=669bp, top=85bp, headsep=0bp, @@ -66,7 +66,16 @@ footskip=0bp, }% } -%\def\normalsize{...} +% nach scrsize11pt.clo +\def\normalsize{% + \@setfontsize\normalsize{11.2}{12.85}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI +} + \def\huge{\@setfontsize\huge{20.26}{25.3}} \def\large{\@setfontsize\large{12.17}{14.2}} \def\tiny{\@setfontsize\tiny\@viipt\@viiipt} @@ -293,7 +302,7 @@ footskip=0bp, \newcommand*\ks@examiner{Ellen Bogen} \newcommand*\examiner[1]{\xdef\ks@examiner{\trim@spaces{#1}}} -\newcommand*\ks@missingEntries{1} +\newcommand*\ks@missingEntries{0} \newcommand*\missingEntries[1]{\xdef\ks@missingEntries{\trim@spaces{#1}}} \newcolumntype{C}{>{\centering\arraybackslash}X} diff --git a/kalibrierschein/test-ks-KK-2019.tex b/kalibrierschein/test-ks-KK-2019.tex new file mode 100644 index 0000000..c7e8062 --- /dev/null +++ b/kalibrierschein/test-ks-KK-2019.tex @@ -0,0 +1,90 @@ + +%--------------------------- +\listfiles +\documentclass[en,KK,BLN]{kalibrierschein-2019} +\resultTable[Gas:~N$_2$]{ 6 }{% +{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\ +mbar&mbar&mbar&mbar&&\\\toprule\endhead +2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\ +4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\ +8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\ +2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\ +4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\ +4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\ +5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\ +8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\ +2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\ +4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\ +8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\ +2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\ +4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\ +8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\ +8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\ +8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\\bottomrule +} + +\resultTable{ 6 }{% +{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\ +mbar&mbar&mbar&mbar&&\\\toprule\endhead +2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\ +4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\ +8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\ +2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\ +4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\ +4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\ +5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\ +8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\ +2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\ +4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\ +8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\ +2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\ +4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\ +8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\ +8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\ +8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\ +} + +%%%\missingEntries{ 16 } +\object{ Stabil Ion Gauge } +\manufacturer{ Granville-Phillips } +\type{ EXT-Y, Stabil Ion Controler 370B } +% Anzahl Kommas bei \type gibt die Spaltenzahl vor. +% \manufacturer und \serialNo sollten dieselbe Anzahl Kommas haben. +\serialNo{ YEA06800, 1449 } +\applicant{ { BOC EDWARDS } { Marshall Road } { EASTBOURNE, EAST SUSSEX } { BN22 9BA } } +\refNo{ ? } +\calibMark{ 75120 PTB 13 } +\calibDate{ 2013-11-26 } +\byOrder{ Dr. K. Jousten } +\examiner{ ? } +\certificateDate{ 2013-12-18 } +\begin{document} + +\printFirstPage + \section{ Description of the calibration device } + + %\num{9.99E-7 +- 9E-9} \par \bigskip + \num{9.99 +- 0.09} \par \bigskip + + The device was shipped under atmospheric pressure kept in the producers plastic shell. + A memory module belonging to the stabil ion gauge (serial 06800) was provided. It was active during calibration. + \section{ Calibration procedure } + The device was installed in a vertical orientation. Before calibration the gauge head was baked at \(?\) °C for \(?\) h. During the cool down phase the head was degassed for \(?\) minutes. At room temperature it was exposed for \(?\) h at \(?â‹…10^{?}\) mbar argon for sputtering the ion collector. + The sensitivity factor was kept at an value of \(?\) mbar\(^{-1}\) during the calibration. The calibration was carried out with the following device settings: + \begin{itemize}\item display: mbar\item filament: F1\item emission: L\item channel: A\end{itemize} + Before each calibration point the residual pressure indication \(p_r\) was checked. + The temperature \(θ\) during the calibration was \(?\) °C and varied from this value within \(\pm?\) °C. + The device was calibrated with ? in the pressure range \(?â‹… 10^{?}\) mbar to \(?â‹…10^{?}\) mbar by comparing its reading with the calibration pressure that was established by the primary standard CE3 of PTB applying the continuous expansion method. + \section{ Relative error of indication } + The correction factor \(CF\) given in the table below was calculated from the indicated pressure \(p_{ind}\) as follows:\[CF =\frac{p_{cal}}{p_{ind} - p_{r}}\] where \(p_{cal}\) denotes the calibration pressure as generated in the primary standard and \(p_{r}\) the reading at residual pressure. From this, the corrected pressure \(p\) can be calculated from the residual pressure indication and the indicated pressure by:\[p = CF (p_{ind} - p_{r})\] + The uncertainty \(U\) of \(CF\) at the time of calibration is given in the last column of the table below. It includes the repeatability of \(p_{ind}\) for otherwise identical conditions (\(p_{cal}\), \(θ\)).\printResultTable + \section{ Uncertainty of Calibration } + The uncertainty \(U\) stated is the expanded measurement uncertainty obtained by multiplying the standard measurement uncertainty by the coverage factor \(k = 2\). It has been determined in accordance with the “Guide to the Expression of Uncertainty in Measurement (GUM)â€. The value of the measurand then normally lies, with a probability of approximately \(95\) \%. within the attributed coverage interval.\par \(95\)\,\% 95\,\% 95~\% \(95\) \% \par + 95 \% 95 \% + \printLastPage +\end{document} +%--------------------------- + + +\(95\)\,\% 95\,\% 95~\% + -- GitLab