Disclosure of Invention
An object of the present invention is to provide a laser coding system for a refrigerator and a control method thereof, which are used for solving the above technical problems.
Particularly, the invention provides a control method of a refrigerator laser coding system, wherein the refrigerator laser coding system comprises a position detection device, a control device and a control device, wherein the position detection device is used for detecting position-related parameters of coding positions on a refrigerator;
the control method comprises the following steps:
controlling a position detection device to detect a position related parameter of a coding position on the refrigerator;
judging whether the coding position is in a preset area range according to the position related parameters;
if the coding position is not in the range of the preset area, outputting a reminding signal.
Optionally, the position detection device is configured to detect an edge of the refrigerator by translation; the refrigerator laser coding system also comprises a coding device, wherein the coding device is configured to code to a coding position when the coding position is within a preset area range; two sides intersecting in the side face of the refrigerator where the coding position is located are respectively called a first side and a second side;
the step of controlling the position detecting device to detect the position related parameter of the coding position on the refrigerator comprises the following steps:
controlling the position detection device to translate to a first side from the code printer and acquiring a first translation distance of the position detection device;
controlling the position detection device to translate from the code printer to the second side and obtaining a second translation distance of the position detection device;
the position-related parameter includes a first translation distance and a second translation distance.
Optionally, the position detecting device is provided with a laser, the laser is used for emitting laser to the refrigerator, the refrigerator is used for reflecting the laser, and the position detecting device is used for detecting the edge of the refrigerator according to the reflected laser;
the step of controlling the position detecting device to detect the position related parameter of the coding position on the refrigerator further comprises the following steps:
the position detection device calculates the distance between the refrigerator and the position detection device in the translation process according to the received reflected laser;
the location-related parameters also include spacing.
Optionally, the step of determining whether the coding position is within the preset area according to the position-related parameter includes:
comparing the first translation distance, the second translation distance and the spacing with corresponding threshold ranges respectively;
and if the first translation distance or the second translation distance or the distance exceeds the corresponding threshold range, the coding position is not considered to be in the preset area range.
Optionally, determining whether the coding position is within the preset area according to the position-related parameter further includes:
and determining the direction of the code printing position offset according to the position related parameters and the corresponding threshold range.
Optionally, the refrigerator laser coding system further comprises a code scanner, wherein the code scanner is used for identifying a model identification code of the refrigerator;
before the step of controlling the position detecting device to detect the position related parameters of the coding position on the refrigerator, the method further comprises the following steps:
the code scanner is controlled to acquire the model identification code of the refrigerator;
judging whether the refrigerator needs coding according to the model information of the refrigerator;
if the refrigerator needs to be coded, executing the step of controlling the position detection device to detect the position related parameters of the coding position on the refrigerator;
if the code scanner cannot identify the model identification code, a reminding signal is output.
Optionally, the refrigerator laser coding system further comprises a visual detection device, wherein the visual detection device is used for detecting whether the refrigerator is coded;
in the case that the refrigerator needs to be coded, before the step of controlling the position detection device to detect the position related parameters of the coding position on the refrigerator, the method further comprises the following steps:
controlling a visual detection device to detect whether codes are coded on the refrigerator;
and if the code is not coded on the refrigerator, executing the step of controlling the position detection device to detect the position related parameters of the code coding position on the refrigerator.
Optionally, the step of controlling the visual detection device to detect whether the refrigerator is coded further comprises the following steps of;
if the code is coded on the refrigerator, judging whether the code is correct or not according to the model identification code of the refrigerator;
if the code is incorrect, outputting a reminding signal.
According to a second aspect of the present invention, there is also provided a refrigerator laser coding system, comprising a position detecting device, a memory, a processor and a machine executable program stored on the memory and running on the processor, and the processor implements the method of any one of the above when executing the machine executable program; the position detection device is used for detecting position related parameters of the coding position on the refrigerator.
Optionally, the refrigerator laser coding system further comprises:
the code printing device is configured to print codes to the code printing position when the code printing position is within the range of the preset area;
the code scanner is used for identifying the model identification code of the refrigerator;
the visual detection device is used for detecting whether the refrigerator is coded;
the position detection device is configured to detect the edge of the refrigerator through translation; the position detecting device is provided with a laser, the laser is used for emitting laser to the refrigerator, the refrigerator is used for reflecting the laser, and the position detecting device is used for detecting the edge of the refrigerator according to the reflected laser.
The invention provides a refrigerator laser coding system and a control method thereof. Judging whether the coding position is in the range of a preset area according to the position related parameters. If the coding position is not in the range of the preset area, outputting a reminding signal. Before the refrigerator is coded, the position detection device detects whether the coding position is within the range of the preset area, so that the refrigerator is prevented from being coded under the condition that the coding position is deviated, and inconsistency when the refrigerator is displayed is avoided.
The above, as well as additional objectives, advantages, and features of the present invention will become apparent to those skilled in the art from the following detailed description of a specific embodiment of the present invention when read in conjunction with the accompanying drawings.
Detailed Description
Due to inertia, the refrigerator may deviate in position when the refrigerator is operated on a production line. When the refrigerator is coded, the refrigerator can be clamped by the fixing device, and the refrigerator can be offset due to the external force. When people put the refrigerator on the assembly line, the position deviation is easy to be caused, the refrigerator is large in size, and the position deviation of a single refrigerator is not easy to be perceived in the visual range of eyes of people. These factors can lead to deviations in the coding position of the refrigerator.
FIG. 1 is a schematic diagram of a refrigerator 160 laser coding system 100 according to one embodiment of the present invention;
fig. 2 is a flowchart of a control method of the laser coding system 100 of the refrigerator 160 according to an embodiment of the present invention; fig. 3 is a flowchart of a control method of the laser coding system 100 of the refrigerator 160 according to an embodiment of the present invention; fig. 4 is a block diagram of the refrigerator 160 laser coding system 100 according to one embodiment of the present invention; fig. 5 is a schematic diagram of a refrigerator 160 laser coding system 100 according to one embodiment of the invention.
Based on this, the present invention proposes a laser coding system 100 of a refrigerator 160, and the laser coding system 100 of the refrigerator 160 is used for solving the above technical problems. The refrigerator 160 laser coding system 100 includes a position detecting device 110, a coding device 120, a code scanner 130 and a visual detecting device 140. The position detecting device 110 is used for detecting a position-related parameter of the coding position 163 on the refrigerator 160. In other embodiments, the position detection device 110 is configured to detect an edge of the refrigerator 160 by translation. Alternatively, the position detecting device 110 has a laser 111, the laser 111 is used for emitting laser light to the refrigerator 160, the refrigerator 160 is used for reflecting the laser light, and the position detecting device 110 is used for detecting edges of the refrigerator 160 according to the reflected laser light.
The specific type of position detection device 110 may be selected as desired, such as an image detector, a laser detector, or an infrared detector.
The type of position detection device 110 is exemplified by a laser detector, at which time the position detection device 110 is configured to detect an edge of the refrigerator 160 by translation. The laser detector is used to emit laser light for detecting edges of the refrigerator 160. For example, if the laser detector is constantly being reflected during translation, i.e., the laser cannot pass through the refrigerator 160, it is demonstrated that the refrigerator 160 is present, where it is not a refrigerator 160 edge. During translation, the laser light is not reflected, i.e., the laser light passes through, which is evidenced by the edges of the refrigerator 160. Thus, the laser detector can detect edges of the refrigerator 160 during translation.
The code printer 120 is configured to code the code printing position 163 when the code printing position 163 is within a preset area range. The position of the code printer 120 is set, i.e., the position of the code printer 120 is fixed for the same type of refrigerator 160. When the refrigerator 160 is coded, if the position of the refrigerator 160 does not deviate, the code printer 120 is opposite to the code printing position 163 on the refrigerator 160, if the position of the refrigerator 160 deviates, the code printing position 163 on the refrigerator 160 also deviates, at this time, the code printer 120 corresponds to other positions of the refrigerator 160, and if the code is printed, the deviation occurs.
And (3) calculating the translation time of the laser detector in the process of translating the laser detector to the edge of the refrigerator 160 by taking the code printer 120 as a starting point, wherein the product of the speed and the time is the length of the translation of the code printer 120 to the edge of the refrigerator 160 according to the translation speed of the laser detector, and the length value is the position-related parameter. Alternatively, the laser coding system 100 of the refrigerator 160 includes a position sensor, where the position sensor is configured to detect a displacement of the laser detector from the position of the coder 120 to the edge of the refrigerator 160, where the displacement is a length of the translation of the coder 120 to the edge of the refrigerator 160, and the length value is a position-related parameter.
The two sides intersecting in the side of the refrigerator 160 where the coding position 163 is located are referred to as a first side 161 and a second side 162, respectively, i.e., the first side 161 and the second side 162 are the two sides intersecting in the coded surface of the refrigerator 160. In this embodiment, as shown in the drawing, the first edge 161 is the upper edge of the coded surface of the refrigerator 160, and the second edge 162 is the left edge of the coded surface of the refrigerator 160, and it is obvious that the first edge 161 and the second edge 162 may also be the upper edge and the right edge of the coded surface.
In the present embodiment, the position-related parameters include at least a first translation distance from the encoder 120 to the first side 161 and a second translation distance from the encoder 120 to the second side 162, so as to measure the deviation of the refrigerator 160 in all directions.
The length value of the code printing position 163 on the refrigerator 160 from the first edge 161 of the refrigerator 160 is measured, the error value can be set to 1 millimeter, and the threshold range corresponding to the first translation distance is the sum of the length value and the error value. The length value of the code position 163 on the refrigerator 160 from the second edge 162 of the refrigerator 160 is measured, and the threshold range corresponding to the second translation distance is the sum of the length value and the error value. If the first translation distance or the second translation distance does not fall within the threshold range corresponding thereto, the code printing position 163 on the refrigerator 160 is not considered to be within the preset area range, and the deviation of the position of the refrigerator 160 can be considered. Otherwise, no deviation is generated in the position of the refrigerator 160.
The laser detector can receive the laser reflected by the refrigerator 160 in real time in the process of translating to the edge of the refrigerator 160, and is used for acquiring the distance between the laser detector and the refrigerator 160 in real time according to the reflected laser. The distance value can determine whether the code printing position 163 on the refrigerator 160 is within a preset area range, that is, the distance value can also determine whether the code printing position 163 on the refrigerator 160 has deviation.
The distance, the first translation distance, and the second translation distance are combined to accurately determine the offset direction and the offset value of the refrigerator 160. For example, as the refrigerator 160 is deflected to the right as shown, the distance value of the laser detector from the refrigerator 160 decreases as the laser detector translates to the second edge 162 (i.e., the left edge of the coded surface of the refrigerator 160). Accordingly, the separate interval value can detect whether the position of the refrigerator 160 is shifted; the distance value in combination with the first translation distance and the second translation distance can determine the direction of the offset of the refrigerator 160.
The detection principle of the infrared detector is similar to that of the laser detector, and the detection principle is not repeated here.
The image detector is used for acquiring an image of the side face of the refrigerator 160 where the coding position 163 is located, the image is a position-related parameter, and when the position of the refrigerator 160 is not deviated, the image of the side face plus an error is a threshold range.
In other embodiments, the code printer 120 is configured to code the code location 163 when the code location 163 is within the predetermined area. The code printer 120 is configured to be translatable; the two sides intersecting in the side of the refrigerator 160 where the coding position 163 is located are referred to as a first side 161 and a second side 162, respectively. The specific type of the encoder 120 may be selected as desired, and in this embodiment, the type of the encoder 120 is a laser encoder 120. The code printer 120 can translate to meet the code printing of different types of refrigerators 160.
In other embodiments, the code scanner 130 is configured to identify a model identification code of the refrigerator 160, and the visual detection device 140 is configured to detect whether the refrigerator 160 has been coded. In the production line of the refrigerator 160, there are various models of the refrigerator 160, but some models of the refrigerator 160 do not need coding. The code scanner 130 is configured to obtain a model identification code of the refrigerator 160, so as to determine whether the refrigerator 160 needs to be coded, which can avoid coding errors and ensure correct coding of the refrigerator 160 on an automated assembly line.
In one embodiment, the control method of the refrigerator 160 laser coding system 100 includes:
step S302: the control position detecting device 110 detects a position-related parameter of the code printing position 163 on the refrigerator 160.
Based on the above description, the type of the position detecting device 110 can be selected as required, and the position-related parameter is related to the type of the position detecting device 110, which is not described herein. The position-related parameter is a parameter that reflects the true position of the coding position 163 when the refrigerator 160 is coded, and reflects the true position of the refrigerator 160 when the refrigerator 160 is coded.
Generally, when the refrigerator 160 is coded, the refrigerator 160 is put or transported to a designated location, and the code printer 120 codes the refrigerator 160. Taking the pipeline as an example, the refrigerator 160 is transported to the encoder 120 on the pipeline and then encoded. The actual position of the refrigerator 160 when coded may shift due to inertia or human factors. If there is a deviation in the position of the refrigerator 160, this will result in a deviation in the coding position 163 on the refrigerator 160. Therefore, the position detecting device 110 detects the code position 163 before the refrigerator 160 is coded, so as to avoid being coded in the case that the code position 163 is deviated.
Step S304: whether the coding position 163 is within the preset area is judged according to the position-related parameters.
The specific manner of determining the coding position 163 according to the position-related parameter may be selected, and in this embodiment, whether the position-related parameter is within the threshold range is determined, and if the position-related parameter is within the threshold range, the coding position 163 is considered to be within the preset area range.
The position-related parameter can reflect the true condition of the coding position 163, and if the position-related parameter is no longer within the threshold range, the true condition of the coding position 163 is considered to have a deviation. If the position-related parameter is within the preset range, the true situation of the position is considered to have no deviation.
Step S306: if the code printing position 163 is not within the preset area range, a reminding signal is output.
The specific type of the reminding signal is not limited, and for example, the reminding signal can be a voice reminding code scanning error, an alarm sound or a related caption output on a display screen. The output alert signal prevents the code position 163 from being coded when it is biased.
In one embodiment, the control method of the refrigerator 160 laser coding system 100 includes:
step S302: the code scanner 130 is controlled to acquire the model identification code of the refrigerator 160.
In this embodiment, the laser coding system 100 of the refrigerator 160 further includes a code scanner 130, where the code scanner 130 is used to identify the model identification code of the refrigerator 160. The specific type of the model identification code can be selected according to the needs, such as a bar code or a two-dimensional code. The model identification code includes at least model information of the refrigerator 160, which includes at least the size of the refrigerator 160. Different types of refrigerators 160, different sizes of refrigerators 160, different coding positions 163 of the refrigerators 160, different coding patterns of the refrigerators 160, and some refrigerators 160 may not need coding. Therefore, obtaining the model identification code of the refrigerator 160 may avoid coding error codes to achieve automatic, correct coding of the multi-model refrigerator 160.
Step S304: if the code scanner 130 cannot recognize the model identification code, a reminding signal is output.
The specific type of the reminding signal is not limited, and for example, the reminding signal can be a voice reminding code scanning error, an alarm sound or a related caption output on a display screen. The code scanner 130 cannot recognize the model identification code, and outputs a reminding signal to remind the person of abnormal code scanning, so that the person is reminded of finding the problem and the missing scanning is avoided.
Step S306: whether the refrigerator 160 needs coding is judged according to the model information of the refrigerator 160.
In this embodiment, the laser coding system 100 of the refrigerator 160 further includes a transporting device 170, where the transporting device 170 is used to transport the coded complete refrigerator 160 to a specified location.
The model information may include whether the refrigerator 160 needs to be coded, or whether the refrigerator needs to be coded may be determined according to the model information. The specific pattern of the coding of the refrigerator 160 is not limited, for example, the coding pattern may be a logo of the refrigerator 160, different types of the refrigerator 160 may be different, and some refrigerators 160 may not need a logo. The step can avoid coding the refrigerator 160 without coding, and can also avoid that the logo on the refrigerator 160 is different from the model of the refrigerator 160.
In other embodiments, this step may be followed by controlling the transport device 170 to transport the refrigerator 160 to the next station if the refrigerator 160 does not need to be coded. This can avoid the refrigerator 160 from repeating the coding while giving the coding position 163 to the refrigerator 160 requiring coding.
Step S308: if the refrigerator 160 needs to be coded, the visual detection device 140 is controlled to detect whether the refrigerator 160 is coded.
The laser coding system 100 of the refrigerator 160 further includes a visual detection device 140, where the visual detection device 140 is configured to detect whether the refrigerator 160 has been coded. This ensures that the coding step is performed without coding, so that repeated coding and missing coding can be avoided.
Step S310: if the code is already printed on the refrigerator 160, whether the code is correct is judged according to the model identification code of the refrigerator 160.
The refrigerator 160 has a model identification code corresponding to the code pattern, and this step can avoid the error code.
In other embodiments, this step may be followed by controlling the transport device 170 to transport the refrigerator 160 to the next station if the code is correct. This can avoid the refrigerator 160 from repeating the coding while giving the coding position 163 to the refrigerator 160 requiring coding.
Step S312: if the code is incorrect, outputting a reminding signal.
The specific type of the reminding signal is not limited, and for example, the reminding signal can be a voice reminding code-coding error, an alarm sound or a related caption output on a display screen. If the code is incorrect, the prompt is corrected in time, and error code printing is avoided.
In other embodiments, this step may be followed by controlling the transport device 170 to transport the refrigerator 160 to the next station if the code is correct. This can avoid the refrigerator 160 from repeating the coding while giving the coding position 163 to the refrigerator 160 requiring coding.
Step S314: if the refrigerator 160 is not coded, the control position detecting device 110 detects the position-related parameter of the coding position 163 on the refrigerator 160.
Based on the above description, the type of the position detecting device 110 can be selected as required, and the position-related parameter is related to the type of the position detecting device 110, which is not described herein. The position-related parameter is a parameter that reflects the true position of the coding position 163 when the refrigerator 160 is coded, and reflects the true position of the refrigerator 160 when the refrigerator 160 is coded. Therefore, the position detecting device 110 detects the code position 163 before the refrigerator 160 is coded, so as to avoid being coded in the case that the code position 163 is deviated.
In some embodiments, the position detection device 110 is configured to detect an edge of the refrigerator 160 by translation; the refrigerator 160 laser coding system 100 further includes a coding device 120, the coding device 120 being configured to code the coding position 163 when the coding position 163 is within a preset area; the two sides intersecting in the side of the refrigerator 160 where the coding position 163 is located are referred to as a first side 161 and a second side 162, respectively.
The step of controlling the position detecting device 110 to detect the position-related parameter of the code printing position 163 on the refrigerator 160 includes: controlling the position detecting device 110 to translate from the encoder 120 to the first side 161 and acquiring a first translation distance of the position detecting device 110; controlling the position detecting device 110 to translate from the encoder 120 to the second side 162 and obtaining a second translation distance of the position detecting device 110; the position-related parameter includes a first translation distance and a second translation distance.
In this embodiment, the type of detection means may be a laser detector or an infrared detector,
in some embodiments, when the position detecting device 110 has the laser 111, the laser 111 is used to emit laser light to the refrigerator 160, the refrigerator 160 is used to reflect the laser light, and the position detecting device 110 is used to detect edges of the refrigerator 160 according to the reflected laser light.
The step of controlling the position detecting device 110 to detect the position-related parameter of the code printing position 163 on the refrigerator 160 further includes: in the translation process of the position detection device 110, calculating the distance between the refrigerator 160 and the position detection device 110 in the translation process according to the received reflected laser; the location-related parameters also include spacing.
The code printer 120 is configured to code the code printing position 163 when the code printing position 163 is within a preset area range. The position of the code printer 120 is set, i.e., the position of the code printer 120 is fixed for the same type of refrigerator 160. When the refrigerator 160 is coded, if the position of the refrigerator 160 does not deviate, the code printer 120 is opposite to the code printing position 163 on the refrigerator 160, if the position of the refrigerator 160 deviates, the code printing position 163 on the refrigerator 160 also deviates, at this time, the code printer 120 corresponds to other positions of the refrigerator 160, and if the code is printed, the deviation occurs.
And (3) calculating the translation time of the laser detector in the process of translating the laser detector to the edge of the refrigerator 160 by taking the code printer 120 as a starting point, wherein the product of the speed and the time is the length of the translation of the code printer 120 to the edge of the refrigerator 160 according to the translation speed of the laser detector, and the length value is the position-related parameter. Alternatively, the laser coding system 100 of the refrigerator 160 includes a position sensor, where the position sensor is configured to detect a displacement of the laser detector from the position of the coder 120 to the edge of the refrigerator 160, where the displacement is a length of the translation of the coder 120 to the edge of the refrigerator 160, and the length value is a position-related parameter.
The two sides intersecting in the side of the refrigerator 160 where the coding position 163 is located are referred to as a first side 161 and a second side 162, respectively, i.e., the first side 161 and the second side 162 are the two sides intersecting in the coded surface of the refrigerator 160. In this embodiment, as shown in the drawing, the first edge 161 is the upper edge of the coded surface of the refrigerator 160, and the second edge 162 is the left edge of the coded surface of the refrigerator 160, and it is obvious that the first edge 161 and the second edge 162 may also be the upper edge and the right edge of the coded surface.
In the present embodiment, the position-related parameters include at least a first translation distance from the encoder 120 to the first side 161 and a second translation distance from the encoder 120 to the second side 162, so as to measure the deviation of the refrigerator 160 in all directions.
The laser detector can receive the laser reflected by the refrigerator 160 in real time in the process of translating to the edge of the refrigerator 160, and is used for acquiring the distance between the laser detector and the refrigerator 160 in real time according to the reflected laser. The interval can determine whether the code printing position 163 on the refrigerator 160 is within a preset area, that is, the interval can also determine whether the code printing position 163 on the refrigerator 160 has deviation.
The distance, the first translation distance, and the second translation distance are combined to accurately determine the offset direction and the offset value of the refrigerator 160. For example, as the refrigerator 160 is deflected to the right as shown, the distance value of the laser detector from the refrigerator 160 decreases as the laser detector translates to the second edge 162 (i.e., the left edge of the coded surface of the refrigerator 160). Accordingly, the separate interval value can detect whether the position of the refrigerator 160 is shifted; the distance value in combination with the first translation distance and the second translation distance can determine the direction of the offset of the refrigerator 160.
The laser coding system 100 of the refrigerator 160 includes a position detecting device 110, and the position detecting device 110 is used for detecting a position-related parameter of a coding position 163 on the refrigerator 160. The detection position-related parameter reflects the real situation of the coding position 163, which can avoid the deviation of the refrigerator 160 when coding, and the inconsistency of coding of the refrigerator 160 is caused.
Step S316: the direction in which the coding position 163 is shifted is determined according to the position-related parameter and the corresponding threshold range.
The distance, the first translation distance, and the second translation distance are combined to accurately determine the offset direction and the offset value of the refrigerator 160. For example, when the refrigerator 160 is shifted to the right or left as shown, the second shift distance can only indicate that the refrigerator 160 is shifted to the left or right, and a specific direction cannot be determined. However, during translation of the laser detector to the second edge 162 (i.e., the left edge of the coded surface of the refrigerator 160), if the distance value of the laser detector from the refrigerator 160 is decreasing, it is proved to be shifted to the right, and if the distance value is increasing, it is proved to be shifted to the left. Accordingly, the separate interval value can detect whether the position of the refrigerator 160 is shifted; the distance value, in combination with the first translation distance and the second translation distance, can determine the offset direction of the refrigerator 160, which is helpful for calibrating the position of the refrigerator 160 and checking the reason.
Step S318: whether the coding position 163 is within the preset area is judged according to the position-related parameters.
The specific manner of determining the coding position 163 according to the position-related parameter may be selected, and in this embodiment, whether the position-related parameter is within the threshold range is determined, and if the position-related parameter is within the threshold range, the coding position 163 is considered to be within the preset area range. The threshold range is associated with a particular type of location-related parameter, e.g., if the location-related parameter is an image, then the threshold range is also an image; if the position-related parameter is a numerical value, the threshold range is also a numerical value.
If the position detecting device 110 is a laser type, the step of determining whether the coding position 163 is within the preset area according to the position-related parameter includes: comparing the first translation distance, the second translation distance and the spacing with corresponding threshold ranges respectively; if the first translation distance or the second translation distance or the distance exceeds the corresponding threshold range, the coding position 163 is not considered to be within the preset area range.
The length value of the code printing position 163 on the refrigerator 160 from the first edge 161 of the refrigerator 160 is measured, the error value is generally set to 1 mm, and the threshold range corresponding to the first translation distance is the sum of the length value and the error value. The length value of the code position 163 on the refrigerator 160 from the second side 162 of the refrigerator 160 is measured, and the threshold range corresponding to the second translation distance is the sum of the length value and the error value. If the first translation distance or the second translation distance does not fall within the threshold range corresponding thereto, the code printing position 163 on the refrigerator 160 is not considered to be within the preset area range, and the deviation of the position of the refrigerator 160 can be considered. Otherwise, no deviation is generated in the position of the refrigerator 160. Taking the coded surface of the refrigerator 160 as a plane as an example, in the case that the position of the refrigerator 160 has no deviation, the sum of the distance between the code encoder 120 and the code printing position 163 and the error value is the threshold range corresponding to the distance, and if the distance is not within the threshold range corresponding to the distance, the code printing position 163 on the refrigerator 160 is not considered to be within the preset area range.
The position-related parameter can reflect the true condition of the coding position 163, and if the position-related parameter is no longer within the threshold range, the true condition of the coding position 163 is considered to have a deviation. If the position-related parameter is within the preset range, the true situation of the position is considered to have no deviation.
Step S320: if the code printing position 163 is not within the preset area range, a reminding signal is output
When the code printing position 163 is not within the preset range, a reminding signal is output, so that the refrigerator 160 is prevented from being code printed when the position is deviated, and the code printing inclination is avoided.
Step S322: if the coding position 163 is within the preset area, the coding device 120 is controlled to code.
Step S324: the transport device 170 is controlled to transport the refrigerator 160 to the next station.
In this embodiment, the laser coding system 100 of the refrigerator 160 further includes a transporting device 170, where the transporting device 170 is used to transport the coded complete refrigerator 160 to a specified location. This step transports the coded refrigerator 160 to the next station, giving up the coding position 163 to the refrigerator 160 requiring coding.
According to a second aspect of the present invention, the present invention also provides a laser coding system 100 of a refrigerator 160, which includes a position detecting device 110 and a controller 150, the controller 150 includes a memory 151, a processor 152, and a machine executable program 1511 stored on the memory 151 and running on the processor 152, and the processor 152 implements the method according to any one of the above embodiments when executing the machine executable program 1511; the position detecting device 110 is used for detecting a position-related parameter of the coding position 163 on the refrigerator 160.
In other embodiments, the refrigerator 160 laser coding system 100 further comprises:
a code printer 120 configured to print a code to the code printing position 163 when the code printing position 163 is within a preset area range;
a code scanner 130 for identifying a model identification code of the refrigerator 160;
a visual inspection device 140 for detecting whether the refrigerator 160 has been coded;
the position detecting device 110 is configured to detect an edge of the refrigerator 160 by translation; the position detecting device 110 has a laser 111, the laser 111 is used for emitting laser light to the refrigerator 160, the refrigerator 160 is used for reflecting the laser light, and the position detecting device 110 is used for detecting edges of the refrigerator 160 according to the reflected laser light.
In the description of the present embodiment, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", "clockwise", "counterclockwise", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature, i.e. one or more such features. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise. When a feature "comprises or includes" a feature or some of its coverage, this indicates that other features are not excluded and may further include other features, unless expressly stated otherwise.
Unless specifically stated or limited otherwise, the terms "mounted," "connected," "secured," "coupled," and the like should be construed broadly, as they may be fixed, removable, or integral, for example; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. Those of ordinary skill in the art will understand the specific meaning of the terms described above in the present invention as the case may be.
Furthermore, in the description of the present embodiments, a first feature "above" or "below" a second feature may include the first and second features being in direct contact, or may include the first and second features not being in direct contact but being in contact through another feature therebetween. That is, in the description of the present embodiment, the first feature being "above", "over" and "upper" the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature "under", "beneath", or "under" a second feature may be a first feature directly under or diagonally under the second feature, or simply indicate that the first feature is less level than the second feature.
Unless otherwise defined, all terms (including technical and scientific terms) used in the description of this embodiment have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
In the description of the present embodiment, a description referring to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
By now it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been shown and described herein in detail, many other variations or modifications of the invention consistent with the principles of the invention may be directly ascertained or inferred from the present disclosure without departing from the spirit and scope of the invention. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.