Specimen identification device, micro-CCD biochemical analyzer and specimen identification method
By using a specimen identification device and built-in algorithms, and leveraging light wave and image acquisition and conversion technologies, the problem of biochemical analyzers being unable to automatically identify specimen status has been solved, enabling automatic identification and rapid detection of specimens, while reducing instrument size and cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 北京中生金域诊断技术股份有限公司
- Filing Date
- 2023-03-20
- Publication Date
- 2026-06-26
AI Technical Summary
Existing biochemical analyzers cannot automatically determine whether a sample is suitable for testing, and automatic identification systems are complex, bulky, and costly.
The specimen identification device uses light waves emitted by the light source module to pass through the specimen. The light waves are received by the state detection area and the classification detection area. The image acquisition and conversion device captures the image and transmits it to the computer. The computer generates pixel gray values based on the light wave radiant flux to determine the specimen's state and category, and performs automatic identification in combination with the built-in algorithm.
It enables automatic evaluation and judgment of the specimen's preset position and the cover's opening and closing status, reducing instrument size and production costs, avoiding optical noise, and achieving automatic specimen identification and rapid detection.
Smart Images

Figure CN116448664B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of biochemical indicator detection technology, specifically to a specimen identification device, a miniature CCD biochemical analyzer, and a specimen identification method. Background Technology
[0002] In recent years, image measurement, image recognition, and image sensing technologies based on the CCD (Charge Coupled Device) imaging principle have developed rapidly. Currently, the use of CCD imaging methods to calibrate and measure luminescence signals has been applied to the detection of medical biochemical indicators.
[0003] The working principle of a CCD detector is that when a light source illuminates a sample at a certain angle, the light transmitted through or reflected from the workpiece enters the lens of the photosensitive element to form an image. The image sensor and image acquisition card convert the photoelectric signal into a digital image signal. The analysis software processes the image using preset digital models and parameters to distinguish image information. The grayscale of a CCD image is proportional to the incident light radiant flux, exhibiting a linear relationship. Therefore, quantitative detection of the sample can be performed by measuring the image grayscale value. Compared to traditional optical biochemical analyzers, CCD imaging technology has advantages such as simple and fixed structure, no need for complex optical paths, and rapid multi-channel detection, making it suitable for miniaturized, lightweight, and integrated biochemical analyzers.
[0004] While current biochemical analyzers can identify the type of a specimen by scanning markings on it, they cannot determine whether the specimen is suitable for testing. Performing testing directly on a specimen that is not in the testing area or whose cover is not properly closed will affect the test results.
[0005] Furthermore, before testing a sample, a biochemical analyzer needs to select the appropriate biochemical reaction program and set instrument parameters such as reaction time and heating temperature based on the sample type. Currently, sample identification in biochemical analyzers is divided into manual setting and automatic identification. Manual setting involves manually adjusting sample parameters before analysis, but this is often time-consuming, labor-intensive, and prone to errors when dealing with large batches of mixed samples of different types. Automatic identification biochemical analyzers scan markings on the sample before testing to quickly determine the sample type (e.g., Chinese utility model patent application number CN201922089718.3). However, these instruments are complex, requiring additional sample detection systems such as scanner modules, and are bulky and expensive. Summary of the Invention
[0006] Therefore, the technical problem to be solved by the present invention is to overcome the defect that current biochemical analyzers cannot determine whether a specimen is suitable for testing, thereby providing a specimen identification device, a miniature CCD biochemical analyzer and a specimen identification method, so as to achieve the purpose of evaluating and judging the specimen preset position and cover opening and closing state of the detection site.
[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0008] Specimen identification device, comprising:
[0009] The shell has an opening at the top and a cavity-like interior.
[0010] A cover plate is placed over the housing, and the bottom end of the cover plate is provided with a reflective coating;
[0011] A light source module is disposed inside the housing, and the light source module is used to emit light waves;
[0012] A reaction device is located at the top opening of the housing; the reaction device is used to hold the specimen to be tested and to allow light waves to pass through the specimen;
[0013] A state detection area and / or a classification detection area are disposed on the reaction device; the state detection area is used to receive light waves passing through the specimen to obtain a labeling image for detecting the specimen state; the classification detection area is used to receive light waves passing through the specimen to obtain a labeling image for detecting the specimen category.
[0014] An image acquisition and conversion device is located directly below the reaction device. The image acquisition and conversion device is used to capture the identification images of the state detection area and / or the classification detection area and perform signal conversion.
[0015] The computer has the controlled end of the light source module connected to the output end of the computer, the output end of the image acquisition and conversion device connected to the input end of the computer, and the output end of the state detection area and / or classification detection area connected to the input end of the computer. The computer calculates the radiant flux of the received light wave based on the identified image, generates pixel grayscale values based on the radiant flux of the light wave, and determines the detection state and / or category of the specimen based on the pixel grayscale values.
[0016] The reaction apparatus further optimizes the technical solution and includes:
[0017] Reaction apparatus plate;
[0018] Several specimen slots are respectively provided on the reaction device plate, and the specimen slots are used to hold specimens and specimen color reaction substrates.
[0019] The technical solution is further optimized, and the state detection area includes:
[0020] Several positioning and identification images are respectively and spaced apart on the edge of the reaction device plate; the positioning and identification images are light-absorbing materials and are composed of several pixel units.
[0021] The technical solution has been further optimized, and the classification detection area includes:
[0022] A classification label image is placed at the center of the reaction device plate; the classification label image is a light-absorbing material and is composed of several pixel units.
[0023] The technical solution has been further optimized, and the light source module includes:
[0024] Light source;
[0025] A light-diffusing plate is located directly above the light source, and the light-diffusing plate is used to convert the light waves emitted by the light source into diffused light.
[0026] An acrylic sheet is used to allow diffused light from the light-diffusing plate to pass through.
[0027] To further optimize the technical solution, the light source module also includes:
[0028] A light-shielding sleeve is provided, with the light source located around the light-shielding sleeve. The light-shielding sleeve is used to cut off the light waves emitted by the light source to prevent the light waves from directly entering the interior of the image acquisition and conversion device. The bottom end of the light-shielding sleeve is provided with a light-transmitting hole suitable for the image acquisition and conversion device to receive light waves.
[0029] To further optimize the technical solution, the image acquisition and conversion device includes:
[0030] A CCD camera is located directly below the light-transmitting hole, and the CCD camera is used to collect light source signals;
[0031] The control circuit is used to receive images acquired by the computer's control program;
[0032] The conversion circuit is used to amplify, filter, denoise, perform correlation double sampling and A / D conversion on the light source signal collected by the CCD camera, and then transmit the processed signal to the computer.
[0033] Further optimization of the technical solution also includes:
[0034] The upper cover signal sensing module has its output terminal connected to the input terminal of the computer. The upper cover signal sensing module is used to feed back the cover signal to the computer when the cover plate covers the shell, and then calculate and control the operation of the light source module.
[0035] Miniature CCD biochemical analyzer, including:
[0036] As described in the specimen identification device;
[0037] A heating device for heating a specimen, wherein the controlled end of the heating device is connected to the output end of a computer;
[0038] A biochemical reaction system is used to set biochemical reaction time and heating temperature parameters according to the type of specimen, and the output terminal of the computer is connected to the input terminal of the biochemical reaction system.
[0039] Specimen identification method, the method being performed based on the specimen identification device, includes the following steps:
[0040] S1. Place the specimen into the reaction apparatus and close the cover;
[0041] S2. The light waves emitted by the light source module pass through the specimen on the reaction device and are received by the state detection area and / or classification detection area to obtain a labeling image;
[0042] S3. The image acquisition and conversion device captures the identification images of the state detection area and / or classification detection area, performs signal conversion, and feeds them back to the computer;
[0043] S4. The computer calculates the radiant flux of the received light wave based on the identified image, generates pixel grayscale values based on the radiant flux of the light wave, and determines the detection status and / or category of the specimen based on the pixel grayscale values.
[0044] To further optimize the technical solution, step S4 includes the following steps:
[0045] Calculate the grayscale value G of the image. T The difference r between the grayscale value and the preset grayscale value G;
[0046] Calculate the average preset range value R;
[0047] Compare r with R; if r < R, it means the specimen is suitable for detection and / or the specimen belongs to a preset specimen type; if r > R, it means the specimen is not suitable for detection and / or the specimen does not belong to a preset specimen type.
[0048] To further optimize the technical solution, step S4 includes the following steps:
[0049] Calculate the grayscale value G of the image. T The absolute value of the difference between the grayscale value and the preset grayscale value G, r1;
[0050] Calculate the average preset Sd value;
[0051] Compare r1 with Sd value; if r1 < 2×SD, it is considered that the labeled image is no different from the preset information, the state of the specimen is suitable for detection, and / or the specimen belongs to a certain preset specimen type; if r1 > 2×SD, it means that the state of the specimen is not suitable for detection, and / or the specimen does not belong to the preset specimen type.
[0052] To further optimize the technical solution, the status of the specimen includes whether the specimen is in the preset position and / or whether the cover is properly closed.
[0053] The technical solution of this invention has the following advantages:
[0054] 1. The specimen identification device provided by this invention involves light waves emitted by a light source module passing through the specimen and being received by a status detection area and / or a classification detection area. An image acquisition and conversion device then acquires images of the status detection area and / or the classification detection area, feeding the acquired information back to a computer. The computer calculates the radiant flux of the received light waves based on the identification image, generates pixel grayscale values based on the radiant flux, and determines the specimen's detection status and / or category based on the pixel grayscale values. This invention uses an image acquisition and conversion device and a built-in algorithm to identify preset graphics and colors of specimen types and determine the test status. This invention enables the evaluation and judgment of the specimen's preset position and the cover's opening / closing status at the detection point. When the specimen is not in the preset position or the cover is not properly closed, the grayscale value of the obtained identification image differs from the grayscale value of the specimen in a normal state, thus effectively solving the problem that current biochemical analyzers cannot automatically identify the specimen's detection status.
[0055] Furthermore, this invention does not require the addition of a dedicated specimen detection module. After the emitted light waves are received by the status detection area and / or classification detection area, they can be directly acquired by the image acquisition and conversion device and automatically transmitted to the computer. The computer enables automatic identification and rapid detection of the specimen.
[0056] 2. The specimen identification device provided by this invention includes a light-shielding sleeve in the light source module. The light source is located around the light-shielding sleeve, which cuts off the light waves emitted by the light source, preventing them from directly entering the image acquisition and conversion device. Furthermore, all light emitted by the light source directly hits the light-diffusing plate, converting it into diffused light. Partial specular reflection occurs at the medium interface, and the lower surface of the acrylic plate forms a reflective surface. By cutting off the incident light with the light-shielding sleeve, the light from the LED beads is prevented from directly entering the CCD camera through reflection. Part of the diffused light is scattered onto the reaction device, undergoing diffuse reflection and being captured by the CCD camera, effectively avoiding light noise caused by direct light.
[0057] 3. The miniature CCD biochemical analyzer provided by this invention can directly control the heating device to set the biochemical reaction time and heating temperature parameters after detecting the state and position of the specimen through the specimen identification device. This enables automatic identification and rapid detection of the specimen without the need for an additional specimen detection system (such as a scanner module), which greatly reduces the size of the instrument and lowers production costs. Attached Figure Description
[0058] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0059] Figure 1 This is a schematic diagram of the specimen identification device of the present invention;
[0060] Figure 2 This is a cross-sectional view of the specimen identification device of the present invention;
[0061] Figure 3 This is a top view of the reaction device in the specimen identification device of the present invention;
[0062] Figure 4 This is a schematic diagram of the optical path principle of the specimen identification device of the present invention.
[0063] Figure label:
[0064] 1. Shell, 2. Light source, 3. Light shield, 4. Cover plate, 5. Acrylic plate, 6. Reaction device plate, 7. Light dome plate, 8. CCD camera, 9. Specimen tank, 10. Positioning and recognition image, 11. Classification and identification image, 12. Upper heat conduction plate, 13. Lower heat conduction plate. Detailed Implementation
[0065] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0066] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0067] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0068] Furthermore, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0069] Example 1
[0070] like Figures 1 to 4 The specific implementation of the specimen identification device shown includes: a housing 1, a cover plate 4, a light source module, a reaction device, an image acquisition and conversion device, a computer, a status detection area and / or a classification detection area.
[0071] The top of the shell 1 is open and the interior is cavity-shaped.
[0072] The cover plate 4 is placed on top of the housing 1, and the bottom of the cover plate 4 is provided with a reflective coating.
[0073] The light source module is located inside the housing 1 and is used to emit light waves.
[0074] The reaction device is located at the top opening of the housing 1; the reaction device is used to hold the specimen to be tested and to allow light waves to pass through the specimen.
[0075] A state detection area and / or a classification detection area are disposed on the reaction device; the state detection area is used to receive light waves passing through the specimen to obtain a labeling image for detecting the specimen's state. The classification detection area is used to receive light waves passing through the specimen to obtain a labeling image for detecting the specimen's category.
[0076] The image acquisition and conversion device is located directly below the reaction device. The image acquisition and conversion device is used to capture the identification images of the state detection area and / or classification detection area and perform signal conversion, that is, to convert photoelectric signals into digital signals.
[0077] The computer can be a microcontroller unit (MCU). The controlled end of the light source module is connected to the output end of the computer, and the output ends of the state detection area, image acquisition and conversion device, and / or classification detection area are connected to the input end of the computer.
[0078] In the aforementioned specimen identification device, light waves emitted by the light source module pass through the specimen and are received by the status detection area and / or classification detection area. An image acquisition and conversion device then acquires images of the status detection area and / or classification detection area and feeds the acquired information back to the computer. The computer calculates the radiant flux of the received light waves based on the identification image, generates pixel grayscale values based on the radiant flux, and determines the specimen's detection status and / or category based on the pixel grayscale values. When the specimen is not in the preset position or the cover is not properly closed, the grayscale value of the obtained identification image differs from the grayscale value of the specimen in its normal state, thus effectively solving the problem that current biochemical analyzers cannot automatically identify the specimen's detection status.
[0079] This invention uses an image acquisition and conversion device and a built-in algorithm to identify preset graphics and colors of specimen types to determine the test status. The test status includes determining the specimen's location, the airtightness of the casing, and the specimen category.
[0080] Furthermore, this invention does not require the addition of a dedicated specimen detection module. After the emitted light waves are received by the status detection area and / or classification detection area, they can be directly acquired by the image acquisition and conversion device and automatically transmitted to the computer. The computer can then automatically identify the current specimen's preset position and specimen type.
[0081] The status detection area includes a number of positioning and recognition images 10, which are spaced apart and positioned along the edge of the reaction device plate 6. The positioning and recognition images are made of light-absorbing material, thus absorbing light transmitted through the specimen. Each positioning and recognition image consists of several pixel units.
[0082] The classification detection area includes a classification marker image 11, which is positioned at the center of the reaction device plate 6. The classification marker image is made of a light-absorbing material, thus absorbing light transmitted through the specimen. The classification marker image consists of several pixel units. The classification marker image serves as a label.
[0083] The principle of using the positioning recognition image 10 and the classification label image 11 to detect grayscale values is to detect the light flux passing through a certain point and calculate the grayscale value of that point based on the light flux.
[0084] The reaction apparatus is made of transparent material and includes a reaction apparatus plate 6 and specimen slots 9. The reaction apparatus plate 6 is located at the opening at the top of the shell. Several specimen slots 9 are provided, surrounding the classification and identification image. During testing, the same specimen is placed in each specimen slot 9. Specifically, this embodiment provides six specimen slots 9, each located on the reaction apparatus plate 6. The specimen slots 9 are used to hold the specimen and the substrate for the specimen colorimetric reaction, and are the location for the biochemical colorimetric reaction.
[0085] The positions of specimen slot 9, positioning recognition image 10 and classification identification image 11 do not overlap, so as to ensure that the light transmitted from specimen slot 9 can be received by positioning recognition image 10 and / or classification identification image 11.
[0086] The light transmittance of the reaction device plate is greater than 99%. The area of the positioning and identification image 10 is less than 5% of the area of the reaction device. The area of the classification and identification image 11 is less than 5% of the area of the reaction device.
[0087] The light source module includes a light source 2, a light-diffusing plate 7, and an acrylic plate 5. The light-diffusing plate 7 is located directly above the light source 2 and around the light-shielding sleeve 3, below the acrylic plate 5. The light-diffusing plate 7 converts the light emitted from the light source 2 into diffused light. The acrylic plate 5 allows the diffused light from the light-diffusing plate 7 to pass through. The area of the light-diffusing plate 7 is larger than the area of the reaction device, and it surrounds the reaction device. The area of the acrylic plate 5 is the same as the area of the light-diffusing plate 7, and it is also arranged around the reaction device.
[0088] The light-diffusing plate 7 is made of polymethyl methacrylate (PMMA) mixed with nano-light-guiding particles. The acrylic plate 5 has a light transmittance of more than 90%, and its materials include, but are not limited to, polymethyl methacrylate (PMMA), polystyrene (PS), polycarbonate (PC), and AS resin.
[0089] Light source 2 includes a light source board and LEDs. The LEDs are mounted on the light source board, with a CCD camera at the center. The light source board and the CCD camera are located on the same horizontal plane. When turned on, light source 2 emits R, G, and B detection light.
[0090] Based on the emitted light wavelength, LED beads are classified into blue LED beads, red LED beads, and green LED beads. Preferably, the LED beads are LED beads, including but not limited to LED beads and LED strips.
[0091] As a further improved implementation, the light source module also includes a light-shielding sleeve 3 with a light-shielding rate greater than 99.99%. The light source 2 is located around the light-shielding sleeve 3, which cuts off the light waves emitted by the light source 2 to prevent them from directly entering the image acquisition and conversion device. The bottom of the light-shielding sleeve 3 has a light-transmitting hole suitable for the image acquisition and conversion device to receive the light waves. All the light emitted by the light sources directly hits the light-diffusing plate 7, converting the light into diffused light. Partial specular reflection occurs at the interface of the medium, and the lower surface of the acrylic plate forms a reflective surface. The light-shielding sleeve cuts off the incident light, thus preventing the light from the LEDs from directly entering the CCD camera through reflection. Part of the diffused light is scattered onto the reaction device, undergoing diffuse reflection and being captured by the CCD camera, effectively avoiding light noise caused by direct light.
[0092] The image acquisition and conversion device includes a CCD camera 8, a control circuit, an amplification circuit, and an AD conversion circuit. The CCD camera 8 is located directly below the light-transmitting aperture and is used to collect light source signals. Its principle is to acquire images by collecting light passing through the positioning recognition image 10 and the classification label image 11. The control circuit receives the computer's control program to acquire images. The AD conversion circuit amplifies, filters, denoises, performs correlation double sampling, and performs A / D conversion on the light source signals collected by the CCD camera 8, and then transmits the processed signal to the computer.
[0093] As a further improved implementation, a cover signal sensing module is also included. The output of the cover signal sensing module is connected to the input of a computer. The cover signal sensing module is used to feed back a covering signal to the computer when the cover plate covers the housing, thereby calculating and controlling the operation of the light source module to emit R, G, and B detection light. Because of the cover signal sensing module in this embodiment, the device automatically emits detection light after the cover plate is closed, enabling automatic sample detection and a higher level of intelligence.
[0094] Example 2
[0095] This embodiment discloses a miniature CCD biochemical analyzer, including the specimen identification device, heating device, and biochemical reaction system described in Embodiment 1.
[0096] The heating device is used to heat the specimen and includes a PTC low-voltage heater, a temperature probe, a PID low-voltage temperature control circuit, an upper heat-conducting plate 12, and a lower heat-conducting plate 13. The upper heat-conducting plate 12 and the lower heat-conducting plate 13 are made of copper-aluminum alloy. The upper heat-conducting plate 12 is fixedly connected to the cover plate, and the lower heat-conducting plate 13 is placed around the CCD camera, with the lower heat-conducting plate 13 sealing the opening at the top of the housing. After the specimen is placed in the specimen slot 9, the cover plate is closed. When the cover plate is closed, the upper heat-conducting plate 12, the lower heat-conducting plate 13, and the reaction device are thermally connected to each other, forming a closed heating environment, thereby enabling the heating of the sample.
[0097] The biochemical reaction system is used to set the biochemical reaction time and heating temperature parameters according to the type of specimen. The computer output is connected to the input of the biochemical reaction system. The biochemical reaction system specifically includes a temperature control module.
[0098] The aforementioned miniature CCD biochemical analyzer, after detecting the state and position of the specimen through the specimen identification device, can directly control the heating device according to the type of the specimen to set the biochemical reaction time and heating temperature parameters, thereby achieving automatic identification and rapid detection of the specimen. Furthermore, it eliminates the need to add a specimen detection system (such as a scanner module), greatly reducing the size of the instrument and lowering production costs.
[0099] The operation process of the aforementioned miniature CCD biochemical analyzer is as follows:
[0100] After the circuit is connected, the PTC low-voltage heater provides temperature to the upper heat-conducting plate 12 and the lower heat-conducting plate 13. The temperature sensor receives the temperature signal from the heat-conducting plate and transmits it to the computer. The computer uses a PID method according to a preset program to control the output current signal based on the temperature signal. The current signal is output from the temperature controller to the solid-state relay, which controls the power supply of the PTC low-voltage heater to switch on and off, thereby controlling the heater to heat up.
[0101] The computer is also electrically connected to the light source module and image acquisition and conversion device. It can issue different programs according to the type of specimen to control the heating time, the light source turn-on time, the continuous turn-on time, the time for the CCD camera to collect signals, the duration of signal collection, and the set temperature, so as to realize the automatic setting of instrument parameters.
[0102] Example 3
[0103] This embodiment discloses a specimen identification method, which is based on a specimen identification device and includes the following steps:
[0104] S1. Place the specimen into the specimen slot 9 of the reaction apparatus and close the cover plate 4. After the cover signal sensing module detects the cover closing signal, it sends an electrical signal to the MCU. The MCU then turns on the light source module to emit R, G, and B detection light.
[0105] S2. The light waves emitted by the light source module pass through the specimen on the reaction device and are received by the status detection area and / or classification detection area to obtain the identification image.
[0106] S3. The CCD camera in the image acquisition and conversion device captures the identification images of the status detection area and / or classification detection area, and the CCD camera transmits the signal to the central processing unit after A / D conversion.
[0107] S4. The computer first generates pixel grayscale values, R=G=B=(R+G+B) / 3. Then, it determines the detection status and / or category of the specimen based on the grayscale values.
[0108] The grayscale value of a CCD image is proportional to the incident light radiant flux, exhibiting a linear relationship. The grayscale value can be estimated from the CCD image using the following formula:
[0109] G=g0g z E e t+o+δ r
[0110] Where G is the gray value of the image, g o It is the output gain coefficient of the channel, g z E is the photoelectric conversion coefficient. e σ is the irradiance received by the pixel, t is the exposure time, o is the DC bias of the output link, and σ is the irradiance received by the pixel. r It is random noise in the output link.
[0111] The above formula shows that quantitative detection of samples can be achieved by measuring the grayscale value of the image.
[0112] Step S4 specifically includes the following steps:
[0113] Calculate the grayscale value G of the image. T The difference r between the grayscale value and the preset grayscale value G. Where the preset grayscale value G... T The average value of multiple sets of grayscale values is measured randomly after the cover plate is closed, under normal operation of the analyzer, with the fixed gain value, light source output port illuminance value and CCD exposure time remaining unchanged within a set period of time (24 hours).
[0114] Calculate the average preset range value R. The average preset range value R is the gray value of the positioning image signal detected when the instrument is at maximum load and can detect the maximum gray value signal of the specimen slot after the cover plate is closed, minus the gray value measured when the specimen slot is not loaded with a specimen.
[0115] Compare r with R.
[0116] If r < R, the label image is considered to be identical to the preset information. If the label image is a location identification image, it indicates that the specimen is located at the preset position, and the cover should be closed. If the label image is a classification label image, it indicates that the specimen location belongs to the preset specimen type.
[0117] If r > R, then the label image is considered to differ from the preset information. If the label image is a location recognition image, it indicates that the specimen location is not in the preset location or the cover is not properly closed. If the label image is a classification label image, it indicates that the specimen location does not belong to a certain preset specimen type, and is therefore judged as a specimen type not identified by this label image.
[0118] Based on the determined location and type of the specimen, the computer initiates the corresponding detection program. If the positioning and recognition image is not in the preset position, an alarm signal is issued, and the location of the deviation is identified.
[0119] Example 4
[0120] Based on Example 3, this example discloses a specimen identification method. The difference between this example and Example 3 is that the specific steps of step S4 are different.
[0121] Step S4 includes the following steps:
[0122] Calculate the grayscale value G of the image. T The absolute value of the difference between the grayscale value and the preset grayscale value G, r1. T This refers to the average value of multiple randomly measured grayscale values under normal operation of the analyzer, provided that the gain value, the illuminance value of the light source outlet, and the CCD exposure time remain unchanged over a set period of time.
[0123] Calculate the average preset Sd value. The average preset Sd value is the measured G. T The standard deviation of the data set.
[0124] Calculate G T The Sd value includes, but is not limited to, the gray value group of the marker image detected when the maximum gray value signal of the specimen slot 9 is detected (i.e., at maximum transmittance, when there is no sample) and the gray value group of the marker image measured when the minimum gray value signal of the specimen slot 9 is detected (i.e., when the transmittance is 0).
[0125] Compare the values of r1 and Sd.
[0126] If r1 < 2 × SD, the label image is considered to be identical to the preset information. If the label image is the location identification image 10, it indicates that the specimen is located at the preset position, the cover is in place, and the specimen can be measured. If it is the classification label image 11, it indicates that the specimen belongs to the preset specimen type.
[0127] If r1 > 2 × SD, the labeled image is considered to differ from the preset information. If the labeled image is a location recognition image 10, it indicates that the specimen is not in the preset position, the cover is not properly closed, or there are other reasons, suggesting that this state is not suitable for detection. If the labeled image is a classification label image 11, it indicates that the specimen location does not belong to a certain preset specimen type, and is therefore judged as a specimen type not identified by this labeled image. The computer, based on the determined specimen location status and specimen type, initiates the corresponding detection program.
[0128] If the location recognition image is determined to be outside the preset position, the computer controls the alarm to issue an alarm signal and identifies which position has deviated based on the calculated value. The calculated value is different for each location recognition image. By comparing the calculated values of each location recognition image, the location of the deviation can be identified, which helps staff to quickly understand the situation and take appropriate measures.
[0129] Example 5
[0130] Based on Example 4, this example discloses a specific implementation of the specimen identification method. Each positioning identification image consists of 16 pixels in a 4×4 format. The grayscale preset value of each positioning identification image is within 24 hours. Under the condition of fixed CCD exposure time, gain value g, and light source illuminance value E, after the cover plate is closed, the average grayscale value G0 of 12 positioning image signals is randomly measured 30 times when there is no specimen in the specimen slot.
[0131] After the cover is closed, the measuring instrument, at maximum load (i.e., when the light transmittance of the specimen chamber is 0), measures the average grayscale value G1 of 30 collected positioning images, as shown in Table 1. Calculate the average value G1 of these 60 measurements. C =(G1+G2) / 2 and the standard deviation S of the grayscale values measured 60 times. See Table 1. In this embodiment, each positioning module contains 4×4 square units; therefore, the grayscale value of each positioning image measured each time is... / 16, where G is the grayscale value measured in each positioning image, G ij The grayscale value is expressed in square units.
[0132] Get G c After Sd, the localization of the samples is measured, and the average gray value G of each localization image is calculated after 30 measurements. T Calculate the difference value r. t r t = G T -G C The size of r. t The size is Sd×2. In this embodiment, at bits L1, L2, T1, and R1 (e.g. Figure 3As shown in the image, r > Sd × 2, indicating deviations or incomplete sealing at these locations. The light source was not significantly altered, and the casing was not damaged or leaking light. After checking the sample positions and adjusting the reaction device, the top cover was closed, and the images were tested again. All positioning images were calculated, and the 12 r values detected this time were... t When the value is less than Sd×2, it indicates that the reaction device is in place and the calculation of pixel units in the specimen identification area begins.
[0133] Table 1
[0134]
[0135] In this embodiment, the specimen recognition area comprises 32×32 pixel units, with each recognition unit consisting of 4×4 pixels. Different specimens are labeled with different recognition units at the factory. The CCD camera uploads the collected grayscale values of the recognition unit pixels to the computer. The computer then matches these grayscale values with the grayscale values of preset recognition units for different types of specimens stored in the computer. If the specimen at this location is identified as urinary creatinine, a preheating time of 10 minutes is set based on the reaction time of urinary creatinine. The computer transmits a time signal to the RTC real-time clock module to preset the heating time, and a heating signal to the PTC heating plate in the heat conduction module to preheat the temperature to 49°C. A light source signal is transmitted to the light source module, and the light source is turned on after 10 minutes. A reading signal is transmitted to the CCD camera, and signal collection begins after 10 minutes. The designed acquisition time point is 1 minute.
[0136] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.
Claims
1. A specimen identification device, characterized in that, include: The shell (1) has an opening at the top and a cavity-like interior; A cover plate (4) is placed over the housing (1), and the bottom end of the cover plate (4) is provided with a reflective coating; A light source module is disposed inside the housing (1), and the light source module is used to emit light waves; The reaction device is located at the top opening of the housing (1); the reaction device is used to hold the specimen to be tested and to allow light waves to pass through the specimen; A state detection area and / or a classification detection area are disposed on the reaction device; the state detection area is used to receive light waves passing through the specimen to obtain a labeling image for detecting the specimen state; the classification detection area is used to receive light waves passing through the specimen to obtain a labeling image for detecting the specimen category. An image acquisition and conversion device is located directly below the reaction device. The image acquisition and conversion device is used to capture the identification images of the state detection area and / or the classification detection area and perform signal conversion. The computer has the controlled end of the light source module connected to the output end of the computer, the output end of the image acquisition and conversion device connected to the input end of the computer, and the output end of the state detection area and / or classification detection area connected to the input end of the computer. The computer calculates the radiant flux of the received light wave based on the identified image, generates pixel grayscale values based on the radiant flux of the light wave, and determines the detection state and / or category of the specimen based on the pixel grayscale values. The reaction apparatus includes: Reaction device plate (6); Several specimen tanks (9) are respectively opened on the reaction device plate (6), and the specimen tanks (9) are used to hold specimens and specimen color reaction substrates; The state detection area includes: several positioning recognition images (10), which are respectively spaced apart on the edge of the reaction device plate (6); the positioning recognition images are light-absorbing materials and are composed of several pixel units; The classification detection area includes: a classification identification image (11), which is set at the center of the reaction device plate (6); the classification identification image is a light-absorbing material and is composed of several pixel units; The light source module includes: Light source (2); A light-diffusing plate (7) is located directly above the light source (2). The light-diffusing plate (7) is used to convert the light waves emitted by the light source (2) into diffused light. Acrylic plate (5) is used to allow diffused light from the light-diffusing plate (7) to pass through; The light source module further includes: a light shield (3), the light source (2) is located around the light shield (3), the light shield (3) is used to cut off the light waves emitted by the light source (2) to prevent the light waves from directly entering the interior of the image acquisition and conversion device; the bottom end of the light shield (3) is provided with a light-transmitting hole suitable for the image acquisition and conversion device to receive light waves.
2. The specimen identification device according to claim 1, characterized in that, The image acquisition and conversion device includes: A CCD camera (8) is located directly below the light-transmitting hole, and the CCD camera (8) is used to collect light source signals; The control circuit is used to receive images acquired by the computer's control program; The conversion circuit is used to amplify, filter, denoise, perform correlation double sampling and A / D conversion on the light source signal collected by the CCD camera (8), and transmit the processed signal to the computer.
3. The specimen identification device according to claim 1 or 2, characterized in that, Also includes: The upper cover signal sensing module has its output terminal connected to the input terminal of the computer. The upper cover signal sensing module is used to feed back the cover signal to the computer when the cover plate covers the shell, and then calculate and control the operation of the light source module.
4. A miniature CCD biochemical analyzer, characterized in that, include: The specimen identification device as described in any one of claims 1 to 3; A heating device for heating a specimen, wherein the controlled end of the heating device is connected to the output end of a computer; A biochemical reaction system is used to set biochemical reaction time and heating temperature parameters according to the type of specimen, and the output terminal of the computer is connected to the input terminal of the biochemical reaction system.
5. A specimen identification method, characterized in that, The method is based on the specimen identification device according to any one of claims 1 to 3, and includes the following steps: S1. Place the specimen into the reaction apparatus and close the cover (4). S2. The light waves emitted by the light source module pass through the specimen on the reaction device and are received by the state detection area and / or classification detection area to obtain a labeling image; S3. The image acquisition and conversion device captures the identification images of the state detection area and / or classification detection area, performs signal conversion, and feeds them back to the computer; S4. The computer calculates the radiant flux of the received light wave based on the identified image, generates pixel grayscale values based on the radiant flux of the light wave, and determines the detection status and / or category of the specimen based on the pixel grayscale values.
6. The specimen identification method according to claim 5, characterized in that, Step S4 includes the following steps: Calculate the grayscale value G of the image. T The difference r between the grayscale value and the preset grayscale value G; Calculate the average preset range value R; Compare r with R; if r < R, it means the specimen is suitable for detection and / or the specimen belongs to a preset specimen type; if r > R, it means the specimen is not suitable for detection and / or the specimen does not belong to a preset specimen type.
7. The specimen identification method according to claim 5, characterized in that, Step S4 includes the following steps: Calculate the grayscale value G of the image. T The absolute value of the difference between the grayscale value and the preset grayscale value G, r1; Calculate the average preset Sd value; Compare r1 with Sd value; if r1 < 2×SD, it is considered that the labeled image is no different from the preset information, the state of the specimen is suitable for detection, and / or the specimen belongs to a certain preset specimen type; if r1 > 2×SD, it means that the state of the specimen is not suitable for detection, and / or the specimen does not belong to the preset specimen type.
8. The specimen identification method according to claim 6 or 7, characterized in that, The status of the specimen includes whether the specimen is in the preset position and / or whether the cover is properly closed.