Test tube labeling system and method
By working together with the identification module, rotation module, and labeling module in the test tube labeling system, test tubes are automatically identified and labeled, solving the problem of low efficiency in manual labeling and achieving efficient test tube labeling.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUBEI UNIV OF ARTS & SCI
- Filing Date
- 2023-04-03
- Publication Date
- 2026-07-21
AI Technical Summary
The existing technology suffers from low efficiency due to the manual labeling of test tubes.
The test tube labeling system includes a main control unit, an identification module, a rotation module, and a labeling module. The identification module identifies whether there is a label on the test tube, the rotation module controls the rotation of the test tube, the main control unit determines the labeling position, and the labeling module applies the label.
It improves the efficiency of test tube labeling, reduces manual intervention, and increases the degree of automation in the operation.
Smart Images

Figure CN117864558B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of production technology, and in particular to a test tube labeling system and method. Background Technology
[0002] Some test tubes come with labels indicating their properties, including graduated lines along one side of the label's boundary. For example, with blood collection tubes, when blood is drawn, a label containing the patient's test information needs to be placed over the original label on the tube, leaving the graduated lines for observation. This boundary needs to be located before labeling. Previously, this task was done by nurses, requiring significant manpower and resulting in low efficiency. Therefore, improving the efficiency of labeling test tubes has become a pressing technical problem.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a test tube labeling system and method, which aims to solve the technical problem of low labeling efficiency caused by manual labeling of test tubes in the prior art.
[0005] To achieve the above objectives, the present invention provides a test tube labeling system, the test tube labeling system comprising: a main control unit, an identification module, a rotation module, and a labeling module, wherein the identification module, the rotation module, and the labeling module are respectively connected to the main control unit;
[0006] The main control unit is used to generate a label recognition instruction when there is a test tube to be labeled, and send the label recognition instruction to the recognition module and the rotation module;
[0007] The identification module is used to identify whether there is a label on the test tube to be labeled when the label identification instruction is received, generate an identification result, and send the identification result to the main control unit;
[0008] The rotation module is used to control the rotation of the test tube to be labeled according to the label recognition instruction when the label recognition instruction is received, generate rotation information, and send the rotation information to the main control unit;
[0009] The main control unit is also used to determine the labeling position based on the rotation information and the recognition result, generate a labeling instruction, and send the labeling instruction to the labeling module;
[0010] The labeling module is used to label the test tubes to be labeled according to the received labeling instruction.
[0011] Optionally, the test tube labeling system further includes a tube pusher motor module and a presence detection module, wherein the tube pusher motor module and the presence detection module are respectively connected to the main control unit;
[0012] The presence detection module is used to detect whether there are test tubes to be labeled and to send the detection result to the main control unit;
[0013] The main control unit is also used to generate a push tube command based on the detection result and send the push tube command to the push tube motor module;
[0014] The pusher motor module is used to push the test tube to be labeled into the inspection position corresponding to the identification module when the pusher command is received.
[0015] Optionally, the test tube labeling system further includes a signal conditioning module and an adjustment motor module, wherein the signal conditioning module is connected to the adjustment motor module, the tube pusher motor module, the presence detection module, the main control unit, the identification module, the rotation module and the labeling module, respectively;
[0016] The signal conditioning module is used for signal conversion between the main control unit and other modules;
[0017] The adjustment motor module is used to adjust the test tube to be labeled to a preset position and prevent the test tube to be labeled from sliding.
[0018] Optionally, the main control unit is further configured to determine the target position of the historical tag based on the rotation information and the recognition result;
[0019] The main control unit is also used to determine the labeling position based on the historical label target position and the preset labeling width, and to generate a labeling instruction based on the labeling position.
[0020] The main control unit is also used to send the labeling instruction to the labeling module.
[0021] Furthermore, to achieve the above objectives, the present invention also provides a test tube labeling method, wherein the test tube labeling method is applied to a test tube labeling system, and the test tube labeling method includes:
[0022] When there are test tubes to be labeled, the pusher motor module pushes the test tubes to be labeled into the corresponding inspection position of the recognition module.
[0023] The identification module and the rotation module are used to identify the labels on the test tubes to be labeled, and to determine the target positions of the historical labels on the test tubes to be labeled.
[0024] The location to be labeled is determined based on the historical label target location;
[0025] The labeling module affixes the target label to the designated location.
[0026] Optionally, the step of identifying the label on the test tube to be labeled using the identification module and the rotation module, and determining the target position of the historical label on the test tube to be labeled, includes:
[0027] The identification module identifies whether a label exists at the identification location corresponding to the identification module.
[0028] When a label is present at the identification position, the test tube to be labeled is controlled to rotate in the first rotation direction by the rotation module.
[0029] During the rotation of the test tube to be labeled, the presence of a label at the identification position is continuously detected;
[0030] When no label is detected at the identification location, obtain continuous label-free angle values;
[0031] When the continuous unlabeled angle value is greater than a preset angle threshold, the rotating module controls the test tube to be labeled to rotate in the second rotation direction, and continuously detects whether there is a label at the identification position during the rotation of the test tube to be labeled;
[0032] When a tag exists at the identified location, the identified location of the tag is taken as the target location of the historical tag.
[0033] Optionally, after the step of identifying whether a label exists at the identification location corresponding to the identification module, the method further includes:
[0034] When no label is present at the identification position, the test tube to be labeled is rotated in the second rotation direction by the rotation module.
[0035] During the rotation of the test tube to be labeled, the presence of a label at the identification position is continuously detected, and continuous label-free angle values are obtained;
[0036] When a tag is detected at the identification location, it is determined whether the consecutive tagless angle value is greater than a preset angle threshold.
[0037] When the consecutive unlabeled angle values are greater than a preset angle threshold, the identification position of the existing label is taken as the target position of the historical label.
[0038] Optionally, after determining whether the consecutive label-free angle value is greater than a preset angle threshold when a tag is detected at the identification location, the method further includes:
[0039] When the continuous unlabeled angle value is less than or equal to the preset angle threshold, the process returns to the step of controlling the test tube to be labeled to rotate in the first rotation direction by the rotation module when a label exists at the identification position.
[0040] Optionally, the step of identifying the label on the test tube to be labeled using the identification module and the rotation module, and determining the target position of the historical label on the test tube to be labeled, further includes:
[0041] Obtain the rotation angle of the rotation module;
[0042] When the rotation angle is greater than a preset rotation angle threshold, the test tube to be labeled is determined to be a defective test tube;
[0043] Place the test tube to be labeled at the target location.
[0044] Optionally, the step of determining the labeling location based on the historical label target location includes:
[0045] Get the preset label width;
[0046] The labeling position is determined based on the historical label target position and the preset labeling width.
[0047] The test tube labeling system of the present invention includes: a main control unit, an identification module, a rotation module, and a labeling module. The identification module, the rotation module, and the labeling module are respectively connected to the main control unit. The main control unit is used to generate a label identification command when there is a test tube to be labeled, and send the label identification command to the identification module and the rotation module. The identification module is used to identify whether there is a label on the test tube to be labeled when it receives the label identification command, generate an identification result, and send the identification result to the main control unit. The rotation module is used to control the rotation of the test tube to be labeled according to the label identification command when it receives the label identification command, generate rotation information, and send the rotation information to the main control unit. The main control unit is also used to determine the labeling position according to the rotation information and the identification result, generate a labeling command, and send the labeling command to the labeling module. The labeling module is used to label the test tube to be labeled according to the received labeling command. This invention improves labeling efficiency by using the cooperation of an identification module, a rotation module, a labeling module, and a main control unit to identify the labeling position and apply the label. Attached Figure Description
[0048] Figure 1 This is a structural block diagram of the first embodiment of the test tube labeling system of the present invention;
[0049] Figure 2This is a structural block diagram of the first embodiment of the test tube labeling system of the present invention;
[0050] Figure 3 This is a flowchart illustrating the first embodiment of the test tube labeling method of the present invention;
[0051] Figure 4 This is a structural block diagram of the second embodiment of the test tube labeling method of the present invention.
[0052] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0053] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0054] Reference Figure 1 , Figure 1 This is a structural block diagram of a first embodiment of the test tube labeling system of the present invention. The test tube labeling system includes: a main control unit 10, an identification module 20, a rotation module 30, and a labeling module 40, wherein the identification module 20, the rotation module 30, and the labeling module 40 are respectively connected to the main control unit 10;
[0055] The main control unit 10 is used to generate a label recognition instruction when there is a test tube to be labeled, and send the label recognition instruction to the recognition module and the rotation module;
[0056] The identification module 20 is used to identify whether there is a label on the test tube to be labeled when the label identification instruction is received, generate an identification result, and send the identification result to the main control unit;
[0057] The rotation module 30 is used to control the rotation of the test tube to be labeled according to the label recognition instruction when the label recognition instruction is received, generate rotation information, and send the rotation information to the main control unit;
[0058] The main control unit 10 is further configured to determine the labeling position based on the rotation information and the recognition result, generate a labeling instruction, and send the labeling instruction to the labeling module;
[0059] The labeling module 40 is used to label the test tubes to be labeled according to the received labeling instruction.
[0060] In this embodiment, the main control unit 10 can be a computing service device with data processing, network communication and program execution functions, such as a mobile phone, tablet computer, personal computer, etc., or a microcontroller unit (MCU) capable of performing the above functions.
[0061] It should be noted that the main control unit 10 communicates with each module via I / O signal lines, and is used for decision-making and instruction issuance for the entire test tube labeling system, as well as controlling the detection and movement execution of each sensor and module. Specifically, when the main control unit 10 detects the presence of a test tube to be labeled, it generates a label recognition instruction and sends this instruction to the recognition module and the rotation module. This enables the recognition module to identify whether a label is present on the test tube, and, in conjunction with the rotation module, to identify whether a label is present on the entire test tube.
[0062] The identification module 20 is used to detect the presence or absence of a label on the test tube. An infrared reflective sensor can be used. Before identification, the installation distance and angle of the infrared reflective sensor are adjusted to find a suitable position. The principle of adjustment is that when the label portion of the test tube faces the infrared reflective sensor, the reflected light can be detected by the sensor; when the transparent part of the test tube faces the sensor, light should be able to pass through without being detected by the sensor. This principle is used to detect whether a label exists on the side of the test tube facing the infrared reflective sensor.
[0063] The rotation module 30 is used to control the rotation of the test tube, adjusting the position of the test tube facing the infrared reflective sensor to detect whether a label is present on the test tube from all angles. Upon receiving the label recognition instruction, the rotation module 30 controls the rotation of the test tube to be labeled according to the label recognition instruction, generates rotation information, and sends the rotation information to the main control unit. The label recognition instruction may include the direction and angle of rotation, and the rotation module 30 controls the rotation of the test tube to be labeled according to the direction and angle of rotation. The recognition module 20 detects whether a label is present on the rotated area and generates a recognition result, so that the main control unit 10 determines the labeling position based on the rotation information and the recognition result, generates a labeling instruction, and sends the labeling instruction to the labeling module. The labeling module 40, upon receiving the labeling instruction from the main control unit 10, labels the test tube to be labeled according to the labeling position specified in the labeling instruction.
[0064] Further details can be found by referring to... Figure 2 , Figure 2 This is also a structural block diagram of the first embodiment of the test tube labeling system of the present invention; according to Figure 2 It is understood that the test tube labeling system also includes a tube pusher motor module 70 and an presence detection module 60, which are respectively connected to the main control unit;
[0065] The presence detection module 60 is used to detect whether there are test tubes to be labeled and to send the detection result to the main control unit.
[0066] The main control unit 10 is also used to generate a push tube command based on the detection result and send the push tube command to the push tube motor module;
[0067] The push tube motor module 70 is used to push the test tube to be labeled into the inspection position corresponding to the identification module when the push tube instruction is received.
[0068] It should be noted that the presence detection module 60 is used to detect the presence or absence of test tubes, determine whether there are test tubes to be labeled, and whether the previously tested test tube to be labeled has been removed from the cabin, ensuring no test tube retention occurs. The presence detection module can use non-contact sensors, such as infrared or ultrasonic sensors. After detecting the presence or absence of test tubes, the detection module 60 generates a detection result and sends it to the main control unit 10. Upon receiving the detection result, the main control unit 10 determines whether the detection result indicates the presence of a test tube to be labeled. If present, it generates a push command and sends the push command to the push motor module. The push motor module, upon receiving the push command, pushes the test tube to be labeled into the corresponding inspection position of the identification module.
[0069] The test tube labeling system also includes a signal conditioning module 50 and an adjustment motor module 80. The signal conditioning module 50 is connected to the adjustment motor module 80, the tube pusher motor module 70, the presence detection module 60, the main control unit 10, the identification module 20, the rotation module 30, and the labeling module 40, respectively.
[0070] The signal conditioning module 50 is used for signal conversion between the main control unit 10 and other modules;
[0071] The adjustment motor module 80 is used to adjust the test tube to be labeled to a preset position and prevent the test tube to be labeled from sliding.
[0072] It should be noted that the signal conditioning module 50 is responsible for matching and adjusting signal parameters between the main control unit 10 and other modules, isolating and protecting high-voltage and low-voltage signals, and signal conversion. The adjustment motor module 80 is used to adjust and press the test tube to be labeled into the middle of the rubber roller after the pusher motor module pushes the test tube to be labeled into the corresponding inspection position of the identification module, preventing the test tube from slipping. This allows the rotation module 30 to rotate the test tube to be labeled by controlling the rotation of the rubber roller.
[0073] In this embodiment, a power management unit 90 is also included to provide power support for the above modules and ensure that each unit works normally.
[0074] Furthermore, in order to prepare to attach the label to the labeling position on the test tube, the main control unit is also used to determine the historical label target position based on the rotation information and the recognition result;
[0075] The main control unit is also used to determine the labeling position based on the historical label target position and the preset labeling width, and to generate a labeling instruction based on the labeling position.
[0076] The main control unit is also used to send the labeling instruction to the labeling module.
[0077] It should be noted that the target position of the historical label can be a certain position on the test tube to be labeled, before the previous label was applied (it can be to the left or right of the historical label). In this embodiment, this is precisely to identify the target position of the historical label and apply the label according to the target position, so as to avoid the label obscuring the scale lines on the test tube to be labeled or the valid information on the historical label. The preset label width can be a pre-set reserved width. For example, the target position of the historical label can be to the right of the historical label, and the preset label width can be 1cm. The labeling position determined according to the target position of the historical label and the preset label width can be a position 1cm away from the right of the historical label.
[0078] This embodiment of the test tube labeling system includes a main control unit, an identification module, a rotation module, and a labeling module. When a test tube to be labeled is present, the main control unit generates a label identification command and sends it to the identification module and the rotation module. Upon receiving the label identification command, the identification module identifies whether a label exists on the test tube, generates an identification result, and sends the result to the main control unit. Upon receiving the label identification command, the rotation module controls the rotation of the test tube to be labeled, generates rotation information, and sends the rotation information to the main control unit. The main control unit determines the labeling position based on the rotation information and the identification result, generates a labeling command, and sends it to the labeling module. The labeling module labels the test tube according to the received labeling command. This invention, through the cooperation of the identification module, rotation module, labeling module, and main control unit, identifies the labeling position and performs labeling, thereby improving labeling efficiency.
[0079] Reference Figure 3 The present invention provides a test tube labeling system and a test tube labeling method. Figure 3 This is a flowchart illustrating the first embodiment of the test tube labeling method of the present invention. The test tube labeling system includes: a main control unit, an identification module, a rotation module, and a labeling module. The identification module, the rotation module, and the labeling module are respectively connected to the main control unit.
[0080] The test tube labeling method includes:
[0081] Step S10: When there is a test tube to be labeled, the test tube to be labeled is pushed into the corresponding inspection position of the identification module by the push tube motor module;
[0082] It should be noted that the executing entity of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a mobile phone, tablet computer, personal computer, etc., or a test tube labeling system that can achieve the above functions. The test tube labeling method in this embodiment will be described below using a test tube labeling system as an example.
[0083] It should be noted that the presence detection module in the test tube labeling system can detect whether there is a test tube to be labeled. When the presence detection module detects that there is a test tube to be labeled, the test tube labeling system pushes the test tube to be labeled into the detection position corresponding to the recognition module through the push tube motor module.
[0084] Step S20: The identification module and the rotation module are used to identify the labels on the test tubes to be labeled, and the target positions of the historical labels on the test tubes to be labeled are determined.
[0085] It should be noted that the label recognition of the test tube to be labeled using the recognition module and the rotation module can be achieved by the recognition module identifying whether a label exists at the recognition position corresponding to the recognition module, and by controlling the rotation module to rotate the test tube to be labeled, so as to identify whether there is a historical label on the entire test tube and the target position of the historical label. The target position can be the position of the historical label preset, which can be the left edge or right edge of the historical label. In this embodiment, the target position of the historical label on the test tube to be labeled can be found through the cooperation of the recognition module and the rotation module.
[0086] Step S30: Determine the labeling location based on the historical label target location;
[0087] It should be noted that determining the labeling position based on the historical label target position can mean using the historical label target position as the labeling position.
[0088] Furthermore, in order to retain valid information on historical labels or meet other needs, the labeling position can be a position determined based on the target position of the historical label. The step of determining the labeling position based on the target position of the historical label includes: obtaining a preset labeling width; and determining the labeling position based on the target position of the historical label and the preset labeling width.
[0089] It should be noted that the preset label width can be a reserved width determined according to the labeling requirements. Determining the labeling position based on the historical label target position and the preset label width can mean using the position 1cm away from the historical label target position as the labeling position. For example, if the preset label width is 1cm and the labeling direction is to the right, then the position 1cm to the right of the historical label target position would be the labeling position.
[0090] Step S40: Apply the target label to the position to be labeled using the labeling module.
[0091] Furthermore, in order to accurately identify whether there is a label on the test tube to be labeled, before step S10, this embodiment initially determines the installation distance and angle of the sensor of the identification module, fixes it, and sequentially puts a completely empty tube (fully transparent tube) and a fully labeled tube (the entire tube body is covered with labels) into the storage mechanism. After the presence detection module detects the test tube, the pusher motor module pushes the completely empty tube or the fully labeled tube into the corresponding inspection position of the identification module in sequence. The rotation module makes the test tube rotate 360 degrees. During the rotation, the data of the identification module is collected once every degree. After the rotation is completed, if the empty label ratio of the completely empty tube is 100% and the empty label ratio of the fully labeled tube is 0%, it indicates that the sensor of the identification module is properly adjusted. If not, fine-tuning is done until the requirements are met.
[0092] In this embodiment, the test tube labeling method, when a test tube to be labeled is present, pushes the test tube into the corresponding inspection position of the identification module via a pusher motor module; the identification module and rotation module identify the label on the test tube to be labeled, determining the historical label target position on the test tube; the labeling position is determined based on the historical label target position; and the labeling module affixes the target label to the labeling position. This embodiment, based on a test tube labeling system, uses a test tube labeling method to label test tubes, avoiding manual labeling and improving labeling efficiency.
[0093] Reference Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the test tube labeling method of the present invention, based on the above. Figure 3 The illustrated embodiment presents a second embodiment of the test tube labeling method of the present invention.
[0094] Step S20 includes:
[0095] Step S201: The identification module identifies whether a label exists at the identification location corresponding to the identification module.
[0096] It should be noted that the identification position can be the position illuminated by the detection light source emitted by the sensor of the identification module. When there is a test tube to be labeled at the position to be inspected corresponding to the identification module, if one side of the test tube to be labeled is at the identification position, it can be detected whether there is a label on the side of the test tube to be labeled at the identification position.
[0097] Furthermore, after step S201, the method further includes: when there is no label at the identification position, controlling the test tube to be labeled to rotate in a second rotation direction through a rotation module; continuously detecting whether there is a label at the identification position during the rotation of the test tube to be labeled, and obtaining continuous label-free angle values; when a label is detected at the identification position, determining whether the continuous label-free angle value is greater than a preset angle threshold; when the continuous label-free angle value is greater than the preset angle threshold, taking the identification position where the label exists as the historical label target position.
[0098] It should be noted that when no label is present at the identification location, the tube to be labeled can be rotated in the second rotation direction via the rotation module to locate the historical label. When a label is found, to avoid previous detection results indicating no label due to the black portion of the barcode absorbing light, a continuous no-label angle value is obtained. When the continuous no-label angle value is greater than a preset angle threshold, it indicates that no label was detected previously, and the misjudgment was not due to the barcode. In this case, the identification location where the label exists is taken as the historical label target location.
[0099] It should be understood that both CCD image sensors and reflective photoelectric sensors can be used for identification. CCD image sensors are large in size, require a large amount of image data computation, have high hardware processing power requirements, and result in high system costs. Reflective photoelectric sensors are small in size and have a simple identification principle, but they are sensitive to distance and can only return two states: presence or absence. When encountering a test tube with a black barcode on its historical label, the sensor may misidentify the existing black barcode portion as having no label (because pure black does not reflect light), leading to an identification error. Therefore, in this embodiment, a reflective photoelectric sensor can be used for label identification.
[0100] Furthermore, in order to accurately identify historical labels on the test tubes to be labeled, after the step of determining whether the consecutive label-free angle value is greater than a preset angle threshold when a label is detected at the identification position, the method further includes: when the consecutive label-free angle value is less than or equal to the preset angle threshold, step S202 is executed.
[0101] It should be noted that when the consecutive unlabeled angle value is less than or equal to the preset angle threshold, it means that no label was detected before, which may be due to a misjudgment caused by the barcode. Step S202 accurately identifies the historical label position of the test tube to be labeled.
[0102] Step S202: When a label is present at the identification position, the test tube to be labeled is rotated in the first rotation direction by the rotation module.
[0103] It should be noted that the first rotation direction can be either clockwise or counterclockwise. Controlling the tube to be labeled to rotate in the first rotation direction via the rotation module can be achieved by controlling the tube to rotate 1 degree at a time in the first rotation direction.
[0104] Step S203: During the rotation of the test tube to be labeled, continuously detect whether there is a label at the identification position.
[0105] It should be noted that the continuous detection of whether a label exists at the identification position during the rotation of the test tube to be labeled can be achieved by the identification module detecting whether a label exists at the identification position after rotation every one degree controlled by the rotation module.
[0106] Step S204: When it is detected that there is no label at the identification position, obtain the continuous label-free angle value.
[0107] It should be noted that when no label is detected at the identification location, it may be because there is no historical label at the current identification location, or it may be because the current identification location corresponds to a barcode. Since the black part of the barcode also absorbs light, it will also cause the light emitted by the sensor to not be reflected. In order to avoid misjudgment, there are consecutive no-label angle values at this time.
[0108] Step S205: When the continuous unlabeled angle value is greater than the preset angle threshold, the test tube to be labeled is controlled to rotate in the second rotation direction by the rotation module, and the presence of a label at the identification position is continuously detected during the rotation of the test tube to be labeled.
[0109] It should be noted that the preset angle threshold can be the angle value corresponding to the barcode. The second rotation direction is opposite to the first rotation direction. When the consecutive unlabeled angle values are greater than the preset angle threshold, it indicates that the lack of label detection is not due to the barcode. At this time, the rotation module controls the test tube to be labeled to rotate in the second rotation direction, and continuously detects whether a label exists at the identification position during the rotation of the test tube to be labeled.
[0110] Furthermore, if a label is detected when the consecutive unlabeled angle values are less than or equal to a preset angle threshold, the recorded unlabeled angle values are cleared to zero, and the search continues until the consecutive unlabeled angle values are greater than the preset angle threshold.
[0111] Step S206: When a tag exists at the identification location, the identification location of the existing tag is taken as the historical tag target location.
[0112] It should be noted that when the consecutive unlabeled angle values of the rotation in the first rotation direction are greater than the preset angle threshold, it indicates that the failure to detect a label is not due to the barcode. In this case, the test tube to be labeled is controlled to rotate in the second rotation direction by the rotation module. When a label is detected, the identification position of the label can be used as the target position of the historical label.
[0113] Furthermore, the test tube to be labeled may be a defective test tube, that is, it may not have a historical label or may be a fully labeled test tube. Therefore, the step of identifying the label on the test tube to be labeled by the identification module and the rotation module and determining the target position of the historical label on the test tube to be labeled also includes: obtaining the rotation angle of the rotation module; when the rotation angle is greater than a preset rotation angle threshold, determining that the test tube to be labeled is a defective test tube; and placing the test tube to be labeled at the target position.
[0114] It should be noted that the preset rotation angle threshold can be 360 degrees. That is, if the rotation angle of the rotation module is greater than the preset rotation angle threshold, and the identification of the above-mentioned historical labels has not been completed, the test tube to be labeled can be determined to be a defective test tube. The target position is the position where the defective test tube is stored.
[0115] In this embodiment, the identification module identifies whether a label exists at the identification position corresponding to the identification module; when a label exists at the identification position, the rotation module controls the test tube to be labeled to rotate in a first rotation direction; during the rotation of the test tube to be labeled, the presence of a label at the identification position is continuously detected; when no label is detected at the identification position, a continuous label-free angle value is obtained; when the continuous label-free angle value is greater than a preset angle threshold, the rotation module controls the test tube to be labeled to rotate in a second rotation direction, and during the rotation of the test tube to be labeled, the presence of a label at the identification position is continuously detected; when a label exists at the identification position, the identification position with the label is used as the historical label target position. This embodiment, through the cooperation of the identification module and the rotation module, can accurately identify historical labels on the test tube to be labeled, thereby completing the labeling and improving labeling efficiency.
[0116] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0117] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0118] In the unit claims that enumerate several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0119] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0120] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for labeling test tubes, characterized in that, The test tube labeling method includes: When there are test tubes to be labeled, the pusher motor module pushes the test tubes to be labeled into the corresponding inspection position of the recognition module. The identification module and the rotation module are used to identify the labels on the test tubes to be labeled, and to determine the target positions of the historical labels on the test tubes to be labeled. The location to be labeled is determined based on the historical label target location; The labeling module affixes the target label to the designated location. The step of identifying the label on the test tube to be labeled using the identification module and the rotation module, and determining the target position of the historical label on the test tube to be labeled, includes: The identification module identifies whether a label exists at the identification location corresponding to the identification module. When a label is present at the identification position, the test tube to be labeled is controlled to rotate in the first rotation direction by the rotation module. During the rotation of the test tube to be labeled, the presence of a label at the identification position is continuously detected; When no label is detected at the identification location, obtain continuous label-free angle values; When the continuous unlabeled angle value is greater than a preset angle threshold, the rotating module controls the test tube to be labeled to rotate in the second rotation direction, and continuously detects whether there is a label at the identification position during the rotation of the test tube to be labeled; When a tag exists at the identified location, the identified location of the existing tag is taken as the target location of the historical tag; After the step of identifying whether a label exists at the identification location corresponding to the identification module through the identification module, the method further includes: When no label is present at the identification position, the test tube to be labeled is rotated in the second rotation direction by the rotation module. During the rotation of the test tube to be labeled, the presence of a label at the identification position is continuously detected, and continuous label-free angle values are obtained; When a tag is detected at the identification location, it is determined whether the consecutive tagless angle value is greater than a preset angle threshold. When the consecutive label-free angle values are greater than a preset angle threshold, the identification position where a label exists is taken as the historical label target position; after the step of determining whether the consecutive label-free angle values are greater than the preset angle threshold when a label is detected at the identification position, the method further includes: When the consecutive unlabeled angle value is less than or equal to the preset angle threshold, the process returns to the step of controlling the test tube to be labeled to rotate in the first rotation direction by the rotation module when a label exists at the identification position. The step of identifying the label on the test tube to be labeled using the identification module and the rotation module, and determining the target position of the historical label on the test tube to be labeled, further includes: Obtain the rotation angle of the rotation module; When the rotation angle is greater than a preset rotation angle threshold, the test tube to be labeled is determined to be a defective test tube; Place the test tube to be labeled at the target location.
2. The test tube labeling method as described in claim 1, characterized in that, The step of determining the labeling location based on the historical label target location includes: Get the preset label width; The labeling position is determined based on the historical label target position and the preset labeling width.
3. A test tube labeling system, characterized in that, The test tube labeling system is applied to the test tube labeling method as described in any one of claims 1-2. The test tube labeling system includes: a main control unit, an identification module, a rotation module, and a labeling module, wherein the identification module, the rotation module, and the labeling module are respectively connected to the main control unit. The main control unit is used to generate a label recognition instruction when there is a test tube to be labeled, and send the label recognition instruction to the recognition module and the rotation module; The identification module is used to identify whether there is a label on the test tube to be labeled when the label identification instruction is received, generate an identification result, and send the identification result to the main control unit; The rotation module is used to control the rotation of the test tube to be labeled according to the label recognition instruction when the label recognition instruction is received, generate rotation information, and send the rotation information to the main control unit; The main control unit is also used to determine the labeling position based on the rotation information and the recognition result, generate a labeling instruction, and send the labeling instruction to the labeling module; The labeling module is used to label the test tubes to be labeled according to the received labeling instruction.
4. The test tube labeling system as described in claim 3, characterized in that, The test tube labeling system also includes a tube pusher motor module and a presence detection module, which are respectively connected to the main control unit. The presence detection module is used to detect whether there are test tubes to be labeled and to send the detection result to the main control unit; The main control unit is also used to generate a push tube command based on the detection result and send the push tube command to the push tube motor module; The pusher motor module is used to push the test tube to be labeled into the inspection position corresponding to the identification module when the pusher command is received.
5. The test tube labeling system as described in claim 4, characterized in that, The test tube labeling system also includes a signal conditioning module and an adjustment motor module. The signal conditioning module is connected to the adjustment motor module, the tube pusher motor module, the presence detection module, the main control unit, the identification module, the rotation module, and the labeling module, respectively. The signal conditioning module is used for signal conversion between the main control unit and other modules; The adjustment motor module is used to adjust the test tube to be labeled to a preset position and prevent the test tube to be labeled from sliding.
6. The test tube labeling system as described in claim 5, characterized in that, The main control unit is also used to determine the target position of the historical tag based on the rotation information and the recognition result; The main control unit is also used to determine the labeling position based on the historical label target position and the preset labeling width, and to generate a labeling instruction based on the labeling position. The main control unit is also used to send the labeling instruction to the labeling module.