Device for reading medical detection kit

文档序号:969548 发布日期:2020-11-03 浏览:2次 中文

阅读说明:本技术 一种读取医用检测试剂盒的装置 (Device for reading medical detection kit ) 是由 朱向冰 刘杰 陈筱 奚祥品 于 2020-08-05 设计创作,主要内容包括:为了应对传染病爆发的特殊情况,公开了自动读取检测试剂盒的装置,含有读取槽、光源、成像元件、感光元件、微控制器、数据接口;把加过样品的试剂盒插入读取槽,微控制器识别标签的内容和检测结果,微控制器通过数据接口将检测结果传出去。本申请自动读取试剂盒的检测结果,与医院信息系统配合良好,减轻医护人员劳动强度;本申请可以同时处理多个试剂盒,在爆发疫情时可以满足快速检测大量样品的需求。(In order to deal with the special situation of the infection outbreak, the device for automatically reading the detection kit is disclosed, which comprises a reading groove, a light source, an imaging element, a photosensitive element, a microcontroller and a data interface; the reagent kit with the added sample is inserted into the reading groove, the microcontroller identifies the content and the detection result of the label, and the microcontroller transmits the detection result out through the data interface. The detection result of the kit is automatically read, and the kit is well matched with a hospital information system, so that the labor intensity of medical staff is reduced; a plurality of kits can be processed simultaneously in this application, can satisfy the demand of a large amount of samples of short-term test when outbreak epidemic situation.)

1. A device for reading a medical detection kit is characterized in that: comprises a reading groove, a light source, an imaging element, a photosensitive element, a microcontroller and a data interface;

the reading groove can contain an observation window and a label area of the reagent kit; the side wall of the reading groove corresponding to the observation window and the label area of the kit is light-transmitting; a switch is arranged in the reading groove and electrically connected with the microcontroller;

the photosensitive element is electrically connected with the microcontroller; the microcontroller is electrically connected with the data interface;

the reagent box added with the sample is immediately inserted into the reading groove, light emitted by the light source irradiates an observation window of the reagent box and the surface of a label area, and under the action of an imaging element, images formed by the label area, a C line and a T line in the observation window are formed on a photosensitive element; the microcontroller reads the image of the label area on the photosensitive element and identifies the content of the label; the microcontroller uses the timing function, and when the time reaches the effective observation time range of the kit, the microcontroller reads images of the C line and the T line of the observation window on the photosensitive element, identifies the detection result, and then the microcontroller transmits the detection result out through the data interface.

2. The device for reading a medical test kit as claimed in claim 1, wherein: there are a plurality of read slots.

3. The device for reading a medical test kit as claimed in claim 2, wherein: using a structure variable corresponding reading groove in a program; the microcontroller detects each reading groove in sequence and determines whether a kit exists or not according to the switch state; the following four cases are handled separately:

the first condition is as follows: when the reading groove is detected last time, a certain reading groove is found to have no reagent kit, and when the reading groove is detected this time, the reading groove also has no reagent kit, and the structure body variable corresponding to the reading groove is not processed;

case two: detecting the reading groove last time, finding that a certain reading groove does not have a reagent kit, detecting the reading groove this time, finding that the reading groove has the reagent kit, modifying a structure body variable corresponding to the reading groove, recording the current time as the time of inserting the reagent kit into the structure body variable, reading the content of the label area, recording the minimum value and the maximum value of the effective observation time of the reagent kit in the structure body variable, and recording the state of the reading groove as 'detecting';

case three: when the reading groove is detected last time, a reagent kit is found in a certain reading groove, when the reading groove is detected this time, a reagent kit is also found in the reading groove, the time which is passed is calculated according to the time of inserting the reagent kit recorded in the structure body variable corresponding to the reading groove, if the time is greater than the minimum value of the effective observation time and less than the maximum value of the effective observation time, and the state of the reading groove is 'detecting', the images of the C line and the T line are read, the detection result is identified, the detection result is sent out, and after the detection result is successfully sent, the state of the reading groove in the structure body variable is changed into 'detection end';

case four: if the reagent kit is found in a certain reading groove when the reading groove is detected last time, the reagent kit is found not in the reading groove when the reading groove is detected this time, if the state of the structure body variable corresponding to the reading groove is 'detecting', an error is indicated, the state of the reading groove is changed into 'error', and the error is prompted; and if the state of the reading groove in the structure body variable corresponding to the reading groove is 'detection end', changing the state of the reading groove of the structure body variable into 'idle'.

Technical Field

The application relates to the field of medical equipment, in particular to a device capable of automatically reading a detection kit and giving a result.

Background

When an infectious disease such as new coronary pneumonia breaks out, hospitals need to detect whether a large number of people are infected or not in a short time. The detection reagent mainly comprises two types: one is a nucleic acid detection reagent, and the other is an antibody detection reagent, wherein the antibody detection reagent comprises a colloidal gold method, a magnetic particle chemiluminescence method and the like.

Antibody detection techniques have several advantages: the sampling is convenient and accurate, the early infected person can be detected, the testing speed is high, the medical care personnel can quickly master the method, particularly the colloidal gold method, the operation is convenient, and the method is popularized and popularized.

In the colloidal gold method, test paper is used, and the test paper needs to be contained in a plastic box to form a kit. The reagent kit is generally a flat cuboid, one end of the reagent kit is provided with a sample adding hole, and some data are also called as a sample inlet hole or a sample hole; the test kit is also provided with an observation window, which is also called a test display hole, and a quality control line and a detection line on the test paper are read through the observation window, wherein the quality control line is also called a C line, and the detection line is also called a T line. The kit also has a label area for recording some information.

And (3) dripping the liquid biological sample into the kit through the sample adding hole, waiting for a period of time, wherein the color of the C line reflects whether the test is effective, and the color of the T line reflects whether an antibody exists, so that whether a disease is infected or not is judged.

Different types of kits have different waiting time and different effective observation time, for example, some types of kits observe a T line and a C line between 5 minutes and 10 minutes after adding a sample, and the obtained result is effective, wherein the minimum value of the effective observation time is 5 minutes, and the maximum value of the effective observation time is 10 minutes; the results obtained with the kit of the present kind were valid between 10 minutes and 15 minutes after the addition of the sample, with a minimum value of the effective observation time of 10 minutes and a maximum value of the effective observation time of 15 minutes.

When an infectious disease occurs, a large number of people need to be detected, a large number of kits with samples exist, medical staff are prone to make mistakes, for example, specific moments when a certain kit with a sample is added are not remembered or are wrongly remembered, or the maximum value of effective observation time is passed, the kit is not observed, or the kit is used wrongly, so that the detection result is incorrect.

The label area on the kit can be used to record information, but is too small to adequately record information when a medical practitioner is required to directly read and record the information.

Most of modern hospitals have completed informatization transformation, after medical workers read detection results, the detection results need to be manually input into network terminals such as computers, time is wasted, errors can be made, and particularly when infectious diseases occur, the medical workers are high in labor intensity, extremely fatigue and prone to error, and the results are input in a short time.

Disclosure of Invention

In order to solve the problems, the application discloses a device for reading a medical detection kit, which comprises a reading groove, a light source, an imaging element, a photosensitive element, a microcontroller and a data interface;

the reading groove can contain an observation window and a label area of the reagent kit; the side wall of the reading groove corresponding to the observation window and the label area of the kit is light-transmitting; a switch is arranged in the reading groove and electrically connected with the microcontroller;

the photosensitive element is electrically connected with the microcontroller; the microcontroller is electrically connected with the data interface;

the reagent box added with the sample is immediately inserted into the reading groove, light emitted by the light source irradiates an observation window of the reagent box and the surface of a label area, and under the action of an imaging element, images formed by the label area, a C line and a T line in the observation window are formed on a photosensitive element; the microcontroller reads the image of the label area on the photosensitive element and identifies the content of the label; the microcontroller uses the timing function, and when the time reaches the effective observation time range of the kit, the microcontroller reads images of the C line and the T line of the observation window on the photosensitive element, identifies the detection result, and then the microcontroller transmits the detection result out through the data interface.

Preferably, there are a plurality of read slots.

Preferably, a structure variable correspondence reading slot is used in the program; the microcontroller detects each reading groove in sequence and determines whether a kit exists or not according to the switch state; the following four cases are handled separately:

the first condition is as follows: when the reading groove is detected last time, a certain reading groove is found to have no reagent kit, and when the reading groove is detected this time, the reading groove also has no reagent kit, and the structure body variable corresponding to the reading groove is not processed;

case two: detecting the reading groove last time, finding that a certain reading groove does not have a reagent kit, detecting the reading groove this time, finding that the reading groove has the reagent kit, modifying a structure body variable corresponding to the reading groove, recording the current time as the time of inserting the reagent kit into the structure body variable, reading the content of the label area, recording the minimum value and the maximum value of the effective observation time of the reagent kit in the structure body variable, and recording the state of the reading groove as 'detecting';

case three: when the reading groove is detected last time, a reagent kit is found in a certain reading groove, when the reading groove is detected this time, a reagent kit is also found in the reading groove, the time which is passed is calculated according to the time of inserting the reagent kit recorded in the structure body variable corresponding to the reading groove, if the time is greater than the minimum value of the effective observation time and less than the maximum value of the effective observation time, and the state of the reading groove is 'detecting', the images of the C line and the T line are read, the detection result is identified, the detection result is sent out, and after the detection result is successfully sent, the state of the reading groove in the structure body variable is changed into 'detection end';

case four: if the reagent kit is found in a certain reading groove when the reading groove is detected last time, the reagent kit is found not in the reading groove when the reading groove is detected this time, if the state of the structure body variable corresponding to the reading groove is 'detecting', an error is indicated, the state of the reading groove is changed into 'error', and the error is prompted; and if the state of the reading groove in the structure body variable corresponding to the reading groove is 'detection end', changing the state of the reading groove of the structure body variable into 'idle'.

Compared with the prior art, the device has a good technical effect, the device disclosed by the application automatically times and reads the detection result, and the information and the detection result of the label area are automatically transmitted into an information system of a hospital; medical staff are not required to time and read the detection result, and the detection result is not required to be manually transmitted to the hospital information system by the medical staff, so that the possibility of error of the medical staff is reduced, and the labor intensity and the workload of the medical staff are reduced; according to the method and the device, a human is not required to directly read the tag area which is used for recording information read by a machine, so that more information can be recorded, and the information amount of the tag area is increased without increasing the tag area; the system has higher automation level, is well matched with a hospital information system, simultaneously processes the detection results of a plurality of detected personnel, improves the detection efficiency, improves the speed and accuracy of hospital detection, and can effectively deal with a large amount of detection work and the conditions of the detected personnel when the epidemic situation is outbreak; under the special condition of epidemic outbreak, the kit can be conveniently, correctly and effectively used.

Drawings

The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiment(s) of the application and together with the description serve to explain the application and not limit the application.

FIG. 1 is a schematic diagram of a kit.

Fig. 2 is a top view and a cross-sectional view of the kit.

FIG. 3 is a schematic view of the insertion of the reagent cartridge into the reading slot.

FIG. 4 is a schematic diagram showing the connection of the photosensitive element, the microcontroller and the data interface in the embodiment.

FIG. 5 is an image of a viewing window of a kit of some type obtained by the microcontroller in the example.

In the figure: 1. the kit comprises a kit body, 11, a sample adding hole, 12, a detection line (T line), 13, a quality control line (C line), 14, a label area, 15 and an observation window; 2. a reading groove 21, a light-transmitting side wall of the reading groove; 3. light source, 4, imaging element, 5, photosensitive element, 6, microcontroller, 7, data interface, 81, image of negative test result, 82, image of positive test result, 83, image of invalid test result.

Detailed Description

The present application is described below in conjunction with the following figures and examples, it being understood that the examples described herein are only for the purpose of illustrating and explaining the present application and are not intended to limit the present application.

In the schematic, top and cross-sectional views of the kit of fig. 1 and 2, the wells, detection lines (T-lines), quality control lines (C-lines), viewing windows and label zones are indicated.

Referring to the embodiment of fig. 3, after a sample is added to the sample addition hole of the reagent cartridge and the reagent cartridge is immediately inserted into one reading slot, the label area and the observation window of the reagent cartridge are both in the reading slot, and the side wall of the reading slot corresponding to the observation window and the label area of the reagent cartridge is light-transmitting; the light source and the imaging element are arranged near the reading groove; the light emitted by the light source is indicated by arrows in the figure, the light irradiates the observation window of the reagent box and the surface of the label area, the label area and the observation window on the reagent box reflect the light, and after the light is acted by the imaging element, the C line and the T line of the label area and the observation window form images on the photosensitive element.

In the embodiment of fig. 3, the light-transmitting side wall of the reading slot is a piece of glass. In other embodiments, other transparent materials can be adopted to manufacture the light-transmitting side wall of the reading groove; the simplest mode is to directly open holes on the side wall of the reading groove corresponding to the observation window and the label area of the reagent box, and the light rays are directly irradiated to the observation window and the label area of the reagent box without using any material for blocking the light rays. In fig. 3, the reading tank is horizontally disposed, one end of the reading tank is open, and the interior of the reading tank is a rectangular space; the length of the rectangular space is 50 mm, the width is 22 mm, and the height is 8 mm; if the width and height of the entrance of the reading groove are slightly larger than those of the internal space, the four sides of the entrance are inclined and gradually transited to the internal space, so that a user can conveniently insert the reagent kit into the reading groove, the width of the entrance is preferably 8 mm larger than that of the internal space, and the height of the entrance is preferably 5 mm larger than that of the internal space.

The light source is used for illuminating the label area and the observation window of the kit, and various light sources can meet the requirements. In the embodiment of fig. 3, the light source is a certain type of LED, the power of a single LED is 0.25 w, and the LED light source has a small volume, a light weight, energy saving, a long service life, and is convenient to install, which is helpful to reduce the volume of the whole machine, the weight of the whole machine, the energy consumption, and the replacement and maintenance costs, and 3 LED light sources are used in fig. 3. The light source was near the reading well and above the reading well in fig. 3, the distance to the upper surface of the reagent cartridge was 19 mm.

Light of the label area and the observation window enters the imaging element, and images are formed on the photosensitive element after the light passes through the imaging element. The imaging element is near the reading slot; in the embodiment of fig. 3, two imaging elements are adopted in one reading slot to image the label area and the C line and the T line of the observation window respectively, the imaging elements are two plastic convex lenses with the radius of 14 mm and 9 mm, the plastic lenses are low in cost, the lenses made of other materials can also play a role in imaging, and the two imaging elements corresponding to one reading slot have good technical effects: the content in the observation window and the label area can form better images, so that the content and the detection result of the label area can be conveniently identified. In other embodiments, one imaging element is used for each reading slot, and one imaging element is used for imaging both the label area and the viewing window C-line and T-line, which is a less expensive solution.

The photosensitive element is used for converting the light image on the photosensitive surface into an electric signal corresponding to the light image, and various photosensitive elements can meet the requirements. Common photosensitive elements fall into two categories: CCD image sensors and CMOS image sensors. The details of the photosensitive elements are provided by the manufacturer of the photosensitive elements and some websites, including circuit diagrams connected to the microcontroller, exemplary programs for driving and controlling the microcontroller, exemplary programs for reading images of the surface of the photosensitive elements, and the like. The photosensitive element in the embodiment is an OV2640 chip, which is a commonly used chip.

In fig. 3, two photosensitive elements are used, corresponding to the image of the label area and the observation window, respectively, but in other embodiments it is also possible to use one photosensitive element for the label area and the observation window.

Referring to fig. 4, the photosensitive element is electrically connected to the microcontroller; the microcontroller reads the image of the label area through the photosensitive element, the two-dimensional code and/or the bar code of the label area are identified, the microcontroller knows the type, the number and the effective observation time of the kit, and the microcontroller starts timing; when the time reaches the effective observation time of the kit, the microcontroller reads images formed by the C line and the T line of the observation window through the photosensitive element, identifies the C line and the T line, and transmits the detection result out through the data interface.

In one embodiment, as the imaging element and the photosensitive element are integrated in the camera and can be conveniently connected with the microcontroller, the camera is directly used for reading the label area and the observation window, the development progress of the scheme is fast, and the whole structure is simpler. Similarly, two-dimensional code readers, bar code readers both contain imaging elements and light sensing elements and can be conveniently connected to a microcontroller so that the two-dimensional code reader and/or bar code reader can also be used to read the label area.

Com websites have a large number of example programs, patents accepted by the chinese intellectual property office of china with application numbers 201380059400.3, 201380059381.4 and 201811131516.4 have introduction about how to recognize two-dimensional codes, and published papers have also introduced identification programs of two-dimensional codes.

The microcontroller has two modes to obtain detailed information such as the type, the number, the effective observation time and the like of the kit: the first mode is that the bar code and/or the two-dimensional code in the label area records the detailed information of the kit, and the microcontroller identifies the two-dimensional code and/or the bar code to directly obtain a detailed signal; the second mode is that the bar code and/or the two-dimensional code in the label area do not record the detailed information of the reagent kit, the microcontroller reads the bar code and/or the two-dimensional code to obtain the index information, the type, the number, the effective observation time and other detailed information of the reagent kit are searched according to the index information, and the corresponding relation between the index information and the type, the number, the effective observation time and other detailed information of the reagent kit is stored in the microcontroller and/or the computer and/or the network server. Some websites, articles and chinese patents disclose techniques and procedures for searching other information according to index information, such as chinese patent with application number 201710435965.7, application number 201910978583.8, application number 201811641248.0, application number 201811644374.1, application number 201811642377.1, application number 202010156694.3.

The microcontroller has a timing function, and the technology of using the microcontroller for timing and a timing program are public common knowledge technology. The effective observation time of the reagent kit is in minutes unit, usually between several minutes and tens of minutes, the timing precision of the microcontroller can reach 1 millisecond, and the time for reading the image, identifying the information in the image and transmitting the data by the microcontroller is less than 1 second in the embodiment, so the microcontroller can meet the detection requirement of the reagent kit.

A variety of microcontrollers are available to meet the requirements of the present application, considering cost and development cycle, and in the embodiment used is a STM32F103 type microcontroller, which is less expensive, and the manufacturer of the microcontroller and the www.openedv.com website also provide a large amount of information, including exemplary programs and circuitry to interface with common components, timing programs, exemplary programs and circuitry to communicate with a computer, exemplary programs to communicate with a web server, exemplary programs to drive LEDs and display screens, and so forth.

After the effective observation time of the kit is reached, the microcontroller reads images formed by the C line and the T line of the observation window through the photosensitive element, identifies the C line and the T line, judges whether the test is effective or not, and judges whether diseases are infected or not. Referring to fig. 5, the view window image of a certain kit obtained by the microcontroller in the example, wherein (81) is an image of a negative detection result, wherein the C line is discolored, the C line is clearly distinguished from the background, the T line is not discolored, and the color of the T line is consistent with that of the background; (82) the image is a positive detection result, the C line and the T line are discolored, and the C line and the T line are obviously different from the background; (83) the two images have invalid detection results, the C line has no color change, and the C line has the same color with the background. The microcontroller has various methods for identifying the C-line and the T-line, and the technology for identifying the lines is public knowledge and technology, for example, chinese patents with application numbers 201611016638.X, 201210087412.4, 200410068486.9, 201080050131.0, etc. all disclose the technology for identifying the lines, and the published papers also have methods for identifying the lines.

The data interface is electrically connected with the microcontroller, in one embodiment, the microcontroller is communicated with the local computer through the data interface, the microcontroller transmits the detection result to the local computer through the data interface, the local computer transmits the detection result to an information system of a hospital, and medical care personnel can see the examination result on the local computer and also can look up the result on a remote computer through the information system, so that the medical care personnel can use the medical care personnel conveniently; in this embodiment, the data interface is a USB interface, the data interface and the local computer of the present application are connected by a USB cable, the connection circuit and the program of the microcontroller and the USB interface are public knowledge and technology, and the technology that the microcontroller communicates with the local computer through the USB interface is available in many chinese patent and literature documents. Any interface that can accomplish the communication between the microcontroller and the local computer can be used as the data interface, and in other embodiments, the data interface can be a serial port.

In another embodiment, the data interface is directly connected to the network. The data interface is a network interface, and the microcontroller directly communicates with the information system of the hospital through the network interface.

In the embodiment, the data interface has a bidirectional communication function, so that data can be transmitted and received, part of information of the kit can be stored in a hospital information system or a local computer, and after the information of the label area is read by the microcontroller, other information of the kit can be searched through the data interface. The local computer and/or the hospital information system remote computer can display the detection result, and can input new kit type, number and effective observation time or modify the information of the kit type, number, effective observation time and the like, thereby being convenient for increasing the information of the new kit and adjusting the information of the kit and providing better flexibility. The result can be prompted by a local computer and/or a hospital information system remote computer for how long the result needs to be obtained and whether the result is wrong, and the information is timely given to the tested personnel in the waiting process of the emergency of the tested personnel.

Various interfaces with network transmission function can be used as network interfaces, including but not limited to RJ-45 interface, fiber interface, FDDI interface, etc., and bluetooth, WiFi, mobile communication (5G, 4G, 3G, etc.) technology can also be used as network interface technology. The technology in which the microcontroller communicates with the server through a network interface is disclosed. In the embodiment, the network interface adopts WiFi technology, particularly an ESP8266 module, and a manufacturer provides complete document data of the ESP8266, including program examples, and any person can obtain the data freely.

In an embodiment, the device of the present application further comprises a display screen, wherein the microcontroller is electrically connected to the display screen, and the information and/or the detection result of the kit is directly displayed on the display screen. The device of the application can be additionally provided with an indicator light and/or a buzzer and/or a loudspeaker and/or a button and the like, the microcontroller is electrically connected with the indicator light and/or the buzzer and/or the loudspeaker and/or the button, man-machine interaction is achieved, the effect of prompting a user is achieved, the user can be prompted whether to make mistakes or not, the user can be prompted how long the detection result needs to be obtained, the detection result is positive or negative or invalid, and the like.

In one embodiment, the light source is made to emit light, information of the reagent kit is obtained through the image of the label area, the light source does not emit light temporarily after timing is started, the light source emits light again until the timing is finished, and the image of the observation window is read, so that energy can be saved, the service life of the light source is prolonged, and maintenance and replacement are reduced. In another embodiment, the light source is illuminated and the viewing window and label area are imaged during the time from the start of insertion of the kit to the time the test results are identified.

The inside of the reading groove is provided with a switch which is electrically connected with the microcontroller, the reagent box is inserted into the reading groove to cause the state of the switch to change, and the microcontroller knows that the reagent box is inserted into the reading groove through the state change of the switch. In one embodiment, a light sensitive element is used as a switch, when the reagent kit is inserted, the reagent kit is opaque and blocks light on the light sensitive element, the electrical property of the light sensitive element is changed, the light sensitive element is electrically connected with a microcontroller, and the microcontroller starts to acquire label area information and time when the reagent kit is inserted. Common light sensitive elements can be used as switches, including but not limited to photodiodes, phototransistors, photovoltaic cells, photoresistors.

In another embodiment, a microswitch is used, which is triggered when the cartridge is inserted, causing the microswitch to turn on, causing a change in the IO port level of the microcontroller. In order to prevent jitter when the switching state changes, it is necessary to add a jitter cancellation circuit and/or a jitter cancellation program.

The device for reading the medical detection kit can be provided with a plurality of reading grooves, each reading groove can be inserted with one kit, and a plurality of kits can be processed simultaneously. The microcontroller detects each reading groove in turn, reads the image of the label area of the reagent kit in the reading groove after finding that a certain reading groove is inserted into the reagent kit, respectively times each reagent kit, and respectively reads the detection result of the reagent kit after the time of each reagent kit is reached. In the embodiment, one device has dozens of reading grooves, can process dozens of kits simultaneously, can satisfy the demand of detecting a large amount of patients simultaneously, and is convenient for medical personnel to deal with the special condition of outbreak epidemic situation.

In one embodiment, the microcontroller is programmed in C language, and all the read slots are represented by an array of structure bodies, each read slot being associated with a structure body variable in the array of structure bodies, each structure body variable comprising several members: the first member indicates the status of the recording read slot in the read slot; the second member represents the type of the kit, the third member represents the number of the kit, the fourth member represents the minimum value of the effective observation time of the kit, the fifth member represents the maximum value of the effective observation time of the kit, the sixth member represents the moment of inserting the kit, and the seventh member records the detection result. If the program is written in other languages, records of the database may be used instead of the structure variables. The mode of using the structure variable corresponding to the reading groove can better reflect the state of the reading groove in the application, and is convenient for organizing data and writing programs.

In an embodiment, the microcontroller detects each reading slot in turn and determines whether a reagent kit exists or not according to the switch state; the following four cases are handled separately:

the first condition is as follows: when the reading groove is detected last time, a certain reading groove is found to have no reagent kit, and when the reading groove is detected this time, the reading groove also has no reagent kit, and the structure body variable corresponding to the reading groove is not processed;

case two: detecting the reading groove last time, finding that a certain reading groove does not have a reagent kit, detecting the reading groove this time, finding that the reading groove has the reagent kit, modifying a structure body variable corresponding to the reading groove, recording the current time as the time of inserting the reagent kit into the structure body variable, reading the content of the label area, recording the minimum value and the maximum value of the effective observation time of the reagent kit in the structure body variable, and recording the state of the reading groove as 'detecting';

case three: when the reading groove is detected last time, a reagent kit is found in a certain reading groove, when the reading groove is detected this time, a reagent kit is also found in the reading groove, the time which is passed is calculated according to the time of inserting the reagent kit recorded in the structure body variable corresponding to the reading groove, if the time is greater than the minimum value of the effective observation time and less than the maximum value of the effective observation time, and the state of the reading groove is 'detecting', the images of the C line and the T line are read, the detection result is identified, the detection result is sent out, and after the detection result is successfully sent, the state of the reading groove in the structure body variable is changed into 'detection end';

case four: if the reagent kit is found in a certain reading groove when the reading groove is detected last time, the reagent kit is found not in the reading groove when the reading groove is detected this time, if the state of the structure body variable corresponding to the reading groove is 'detecting', an error is indicated, the state of the reading groove is changed into 'error', and the error is prompted; if the state of the reading groove in the structure body variable corresponding to the reading groove is 'detection end', the state of the reading groove of the structure body variable is changed into 'idle';

the four treatments are respectively carried out, so that the conditions of various reading tanks and reagent boxes can be correctly treated, and the treatment and the programming are convenient.

Preferred embodiments of the present application are given in the description of the present application and the accompanying drawings thereof. However, the above description is only a preferred embodiment of the present application and is not intended to limit the present application, and although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the technical solutions described in the foregoing embodiments or equivalents may be substituted for some of the technical features. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种检测发酵酱油制品中毛发水的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!