R&D cases

Blockchain as quality control system for chemistry

Originally, the following task was set: developing a quality control system for the production of a certain chemical product.

Blockchain as quality control system for chemistry

Why is monitoring the quality so important here?

The main active substance of this chemical product is chlorine dioxide. It is hazardous to health in high concentrations. And if the concentration is below normal then this chemical product is useless.

What does Blockchain have to do with it?

Blockchain helps to build trust for the manufacturing company. The consumer knows that no one can change the information in the Blockchain. That means that the manufacturing company can not forge the results of the audit.

An autonomous Cyber-Physical System (CPS)

An autonomous Cyber-Physical System (CPS) that checks the concentration of a random packet from each batch was developed in order to solve this problem. And a spectrograph is used for verification. The audit was carried out manually during tests, but, with the emergence of the production line, it can be automated using a manipulator.

It's interesting how a CPS is building into the network of Robonomics

The quality control system is an autonomous economic agent that lists one single service on the market — quality control.

We considered the following scenario of CPS work:

  1. Demand is created on the site
  2. The system creates a corresponding supply offer
  3. AIRA creates a liability contract
  4. The system receives the task and starts implementing it
  5. Finalization of the liability
  6. Customer gets a QR code with the link to results of the audit

The main work process

The main work starts happening after receiving the message 'task'. In our case, the lab technician sees that a liability contract was created. He then takes the next packet, checks the concentration of chlorine dioxide, and sends the file to the system. When the file is received, it's published in the IPFS network. The hash of the file and the address of the liability contract are stored in the local database, for quick access to information.

Finally, the last message about the finalization of the liability is sent and tokens are transferred to the beneficiary. If the lab technician is removed from the script, the system becomes incorruptible. The quality control system for the chemical product was designed and launched as part of this project. For the record, the architecture of the project turned out to be universal. All it takes to change the algorithm of work after receiving the message 'task' is to implement the exact system at another production.

For more details about the implementation, see the blog post about the chemistry quality control system.