You are on page 1of 39

DCC

Step by step
Guide to learning essential concepts

Digital Calibration Evolving to DCC CENAM´s Developments


Certificate
Current status for
Calibration Certificate
Analog Document
These types of documents are usually
found on paper.

In our case it is a printed information about


items under calibration and their
measurement results.

A printed PDF document is also an analog


document.

Nowadays the analog documents are in


disuse.
Digital Document
Is a bit-coded information, and for read, display or record
the information, you need a device capable of understand
it.

The digital documents such a PDF are the most widely used
documents today to transmit and represent the calibration
certificates.

XML digital documents allows to define data structures for


information exchange and are the way to create the digital
calibration certificates.
XML Structure
Digital
Calibration certificate
XML in the communication process
<XML Code/>

{Message}

Transmitter Receiver

Channel
Description
A Digital Calibration Certificate is a virtual document, which
can be understood as a document that provides information
about an entity. In addition to guaranteeing the reliability,
integrity and confidence of the data.

Integrity

Calibration
Laboratory

Reliability

Digital Calibration Confidentiality


Certificate
Data exchange between machines
DCC XML Schema

Administrative Data Comments


All further information and files
The essential administrative
agreed between the customer and
information for calibration.
the calibration laboratory can be

Schema inserted into this element.

Measurement Result
PTB Document

Stores all information on the The element document


result of the measurement. contains the human-readable
The measurement and result variant of the DCC.
data must have a value and a
Base 64 method
unit. Ideally, the unit is a SI unit.
https://tools.ietf.org/html/rfc4648 )
DCC PTB
Analysis
AdministrativeDataTy
calibrationLaboratory
Code: CENAM
Name: Centro Nacional de Metrologia
Address: km 4.5 Carr a los Cues
Email: DSIServTec@cenam.mx

dccSoftware +

coreData +

items ++

AdministrativeDataType calibrationLaboratory +

respPersons +

customer +

statements +
CountryCodeISO3166_1
MX coreDataType
userdLangCodeISO639_1
es

mandatoryLangCodeISO639_1
mandatoryLangCodeISO639_1
es
coreDataType -
uniqueIdentifier
uniqueIdentifier

... -

identifications - ... -

identification -
receipDate
issuer
issuer

beginPerformanceDate
... - value

endPerformanceDate
endPerformanceDate
description +

previousReport +
measurementResultType
measurementResultType -

usedMethods - ... - usedMethod - name


name +

usedSoftware + ... - description +

... -
measuringEquipments + norm

influenceConditions
influenceConditions
influenceConditioon +++
s

results +
name
name + measuringEquipmentType
equipmentClass +

description
description +
measuringEquipmentType -

descriptionData +

certificate +
... -

manufacturer +

model
model

identifications
identifications +
label
label
dataType
value
value

real + unit

... - dateTime

standardUnc
expandedUnc +

-
coverageInterval + intervalMin

... - intervalMax

coverageProbability

distribution
Evolving
to DCC

Calibration XML Digital Data


Security
Laboratory Generation Certificate Repository
Obtain digitalized information
Services to digitize
of the
Calibration
Laboratory

Laboratory
Infrastructure

Administrative Data
Measurement Result

Digital SI Units

Calibration
Laboratory
Obtain digitalized information
label dataType
text
dataType - + dataType / Quantity / real /
name value
+
formula +
noQuantity + unit

byteData +
real - ... - dateTime
-
-
xml + expandedUnc + standardUnc
list +

intervalMin
quantity - ... - -
hybrid +
coverageInterval + ... - intervalMax
list usedMethods

Digital
+ +

coverageProbability

SI Units
usedSoftware +

distribution
InfluenceConditions +

measurementMetaData +

Calibration XML
Laboratory Generation
Obtain digitalized information

F.A.I.R
Digital data Findable Accesible Interoperable Reusable
concept

Calibration XML
Laboratory Generation
Obtain digitalized information

Machine to
Machine Machine
to human
Unambiguous,
User
Efficient,
Easly (Understandable),
Exchangeable
Human User to
Machine

Calibration XML
Laboratory Generation
Obtain digitalized information

DSI Machine-readable
CODATA 2018

Calibration XML
Laboratory Generation
Obtain digitalized information

Calibration XML
Laboratory Generation
Obtain digitalized information

Nowadays there are a lot of tools to


generate XML files; all programming
languages can generate them. There
Develop an are two main things to consider
application to generating them, but it is not the
generate XML generation itself.

Structure Data

Calibration XML
Laboratory Generation
Obtain digitalized information
DCC
The DCC the structure is already defined by PTB,
it can be obtained in:

https://www.ptb.de/dcc/v2.4.0/dcc.xsd

SI Schema
Structure
It includes also the SI schema; it can be obtained in:

https://www.ptb.de/si/v1.3.1/SI_Format.xsd

Calibration XML
Laboratory Generation
Obtain digitalized information
The Data is responsibility of each NMI; and for this reason,
there are some things to consider:

1. Interface to get the administrative data (customer


data, equipment data, etc.)
2. Database to save them.
3. Interface to retrieve the administrative data once the
DCC is about to be generated
4. Getting the measurement results. They can be obtained
directly from the calibration equipment, software like
Data
LabView, excel files or indicate them directly in an
interface.
5. Create a repository where XML files will be located​, it
must:
A. Being accessible from internet​
B. Have Security​
C. Assure Integrity
Calibration XML
Laboratory Generation
Obtain digitalized information

Different users/privileges:
Different purposes:
End user
Validity
Accreditation Body
Authenticity,
Performance summary,
Security Scope
History/Path
Analysis Accredited Lab
Full access
BIPM?

Different technologies: access


password, key encryption, blockchain

Calibration XML
Laboratory Generation Security
Obtain digitalized information

QR Item ID

DCC User Private


key
asymmetric key
cryptographic
signature​ User public
key
Encrypted DCC

Decrypted DCC

Calibration XML
Laboratory Generation Security
Obtain digitalized information

Integrity Reliability Confidentiality

Calibration XML Digital


Laboratory Generation Security Certificate
Obtain digitalized information

Generate a Blockchain Access Layer

calibration laboratory secure


database-machine readable.

Blockchain

Calibration XML Digital Data


Laboratory Generation Security Certificate Repository
CENAM’s
Developments
Web version
for generating
DCC

Load information Data processing XML generation


Web site for generating DCC
Web site for generating DCC
Desk version
for generating
DCC
Desk version
for generating

Load Admin Data Perform the XML DCC Send data


from DB and calibration generation Information
metrologist criteria
DCC DESK
Generator V.AR.1.0

Administrative Data
PTB Structure

Result Data
PTB Structure
Final
Comments
Team Members
Carlos Galvan Hernandez Hugo Gasca Aragón
Metrologist Management Coordinator
cgalvan@cenam.mx hgasca@cenam.mx

Jose Armando Lopez Celis Aldo Adrián García Gonzalez


Metrologist Metrologist
jolopez@cenam.mx algarcia@cenam.mx

Oscar Ramos Monzalvo Itzel Domínguez Mendoza


Developer Developer
proy-dim@cenam.mx idomingu@cenam.mx
Thanks

You might also like