Software for medical analyzers

Background information

In 2012, the company "Medmash" started to develop several medical analyzers. We were invited to begin developing software to control these devices, and we were pleased to agree.

6 analyzers were developed. We'll tell you about two of them: a blood analyzer (which makes a general blood test) and an automatic urine analyzer (also a general test).

Running ahead, we'll show the work of the test firmware on the blood analyzer model:

Next there is a story about how everything was created.

Preparation

by the customer

The customer had a lot to do to develop the hardware. A crucially important stage was the design of the hydraulic system. For this purpose the customer developed special models for adjusting the operating procedure:

Макеты для отладки гидросистемы
Макеты для отладки гидросистемы
Макеты для отладки гидросистемы

by us

While the customer was adjusting the hydraulic system, we made our part of the work, i.e. we designed the electronic control unit. At the initial stage, we decided to use a ready-made board with a microcontroller LPC1788 (ARM architecture). In addition, we made several prototyping boards for different devices. In the future, it was planned to create one final board that would combine all the models.

Плата-макет для отладки ПО - экрана
Плата-макет для отладки ПО - экрана
Плата-макет для отладки ПО - принтера

We debugged the operation of the screen, buttons, thermal printer (which prints the results) on these boards. In a compact blood analyzer, a simple symbolic display was used (it is seen in the photographs), and in a fixed one - a full-fledged graphic LCD-display was used.

Then we started debugging the code that operates with hydraulic system actuators: valves, pumps, stepper motors. Together with the customer we developed an extended version of the prototyping board, which was tested. The switch-on of valves was simulated by LEDs.

Макет для программы отладки исполнительных механизмов
Макет для программы отладки исполнительных механизмов
Макет для программы отладки исполнительных механизмов

The video shows the debugging process:



Assembly of the parts

On completion of preparation, the customer assembled a full-fledged model of the device and handed it to us for further work on the program code.

Макет устройства для отладки программного обеспечения на заказ

The photographs show: tanks for mixing blood and reagents; Ри level measuring device; assembly view of the device.

Гематологический анализатор крови
Гематологический анализатор крови
Гематологический анализатор крови

The hydraulic and mechanical parts of the model were constantly being refined by the customer. The photos below show the loading module (the test tube with blood is installed in it) and the pump module:

Загрузочный модуль анализатора крови
Насосный модуль для ПО анализатора крови
Насосный модуль для ПО анализатора крови

In the photos there is an intermediate version of the graphical interface; presentation of analysis results in the printed form.

Графический интерфейс программного обеспечения анализатора
Графический интерфейс программного обеспечения анализатора
Графический интерфейс программного обеспечения анализатора

Video of the test firmware operation:



Automatic urine analyzer

The preparation was similar to the blood analyzer, therefore we'll show the operation of the full-fledged models.

The analyzer is as follows:

Внешний вид автоматического анализатора мочи

The inner part presents the model with mechanic, hydraulic and electric modules:

Макет для отладки программы для анализатора мочи

We'll show you some modules in more detail. In the pictures below there are a drum with dip sticks; tube delivery module; drive of the drawing needle.

Программа управления исполнительными механизмами анализатора мочи
Программа управления исполнительными механизмами анализатора мочи
Программа управления исполнительными механизмами анализатора мочи

The video shows the test firmware operation. In the second half of the video there is the process of measuring indicators. It is performed by an optical method (lightning by an optical source with certain properties and measurement of the echo signal spectral properties).



Chemiluminometer

The device serves to record weak and superweak light streams accompanying chemical reactions.

The device model is as follows:

Программное обеспечение для Хемилюминометра

The holder, where sample compartments are placed:

ПО управления кареткой хемилюминометра
ПО управления кареткой хемилюминометра

It is the video of debugging process. In the first part of the video, the user indicates the sample ID and their location in the compartment. The second part shows the movement of the compartment holder.