CN114260577B - Refrigerator laser coding system and control method thereof - Google Patents
Refrigerator laser coding system and control method thereof Download PDFInfo
- Publication number
- CN114260577B CN114260577B CN202111467526.7A CN202111467526A CN114260577B CN 114260577 B CN114260577 B CN 114260577B CN 202111467526 A CN202111467526 A CN 202111467526A CN 114260577 B CN114260577 B CN 114260577B
- Authority
- CN
- China
- Prior art keywords
- refrigerator
- coding
- detection device
- laser
- position detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000001514 detection method Methods 0.000 claims abstract description 98
- 230000000007 visual effect Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 6
- 238000006073 displacement reaction Methods 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
- 239000012855 volatile organic compound Substances 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域Technical field
本发明涉及冰箱打码领域,特别是涉及一种冰箱激光打码系统及其控制方法。The invention relates to the field of refrigerator coding, and in particular to a refrigerator laser coding system and a control method thereof.
背景技术Background technique
激光打码有很多优点,比如,激光打码能减少车间的挥发性有机物,激光打出的图案颜色比较稳定等等。因此,激光打码在冰箱领域比较流行,但激光打码也存在一些问题,例如,冰箱位置的不一致导致打码位置的偏移。冰箱在流水线上时,这种细微的偏移难以上察觉,但在冰箱放置在一起时,激光打码位置的不一致性比较明显,冰箱展出时,这种不一致性影响美观。Laser coding has many advantages. For example, laser coding can reduce volatile organic compounds in the workshop, and the color of laser-printed patterns is relatively stable, etc. Therefore, laser coding is more popular in the field of refrigerators, but there are also some problems in laser coding. For example, the inconsistent position of the refrigerator causes the coding position to shift. When the refrigerators are on the assembly line, this subtle shift is difficult to detect, but when the refrigerators are placed together, the inconsistency in the laser coding position is more obvious. When the refrigerators are on display, this inconsistency affects the appearance.
发明内容Contents of the invention
本发明的一个目的是要提供一种冰箱激光打码系统及其控制方法,用于解决上述技术问题。An object of the present invention is to provide a refrigerator laser coding system and a control method thereof to solve the above technical problems.
特别地,本发明提供了一种冰箱激光打码系统的控制方法,其中,冰箱激光打码系统包括位置检测装置,位置检测装置用于检测冰箱上打码位置的位置相关参数;In particular, the present invention provides a control method for a refrigerator laser coding system, wherein the refrigerator laser coding system includes a position detection device, and the position detection device is used to detect position-related parameters of the coding position on the refrigerator;
控制方法包括:Control methods include:
控制位置检测装置检测冰箱上打码位置的位置相关参数;Control the position detection device to detect position-related parameters of the coding position on the refrigerator;
根据位置相关参数判断打码位置是否在预设区域范围内;Determine whether the coding position is within the preset area based on position-related parameters;
若打码位置不在预设区域范围内,则输出提醒信号。If the coding position is not within the preset area, a reminder signal will be output.
可选地,位置检测装置被配置为通过平移探测冰箱的边沿;冰箱激光打码系统还包括打码器,打码器被配置成在打码位置在预设区域范围内时,向打码位置打码;打码位置所在的冰箱侧面内相交的两条边分别被称为第一边和第二边;Optionally, the position detection device is configured to detect the edge of the refrigerator through translation; the refrigerator laser coding system also includes a coder, and the coder is configured to move toward the coding position when the coding position is within the preset area. Coding; the two intersecting sides on the side of the refrigerator where the coding position is located are called the first side and the second side respectively;
控制位置检测装置检测冰箱上打码位置的位置相关参数的步骤包括:The steps for controlling the position detection device to detect position-related parameters of the coding position on the refrigerator include:
控制位置检测装置从打码器处平移至第一边并获取位置检测装置的第一平移距离;Control the position detection device to translate from the coder to the first side and obtain the first translation distance of the position detection device;
控制位置检测装置从打码器处平移至第二边并获取位置检测装置的第二平移距离;Control the position detection device to translate from the coder to the second side and obtain the second translation distance of the position detection device;
位置相关参数包括第一平移距离和第二平移距离。The position-related parameters include a first translation distance and a second translation distance.
可选地,位置检测装置具有激光器,激光器用于向冰箱发射激光,冰箱用于反射激光,位置检测装置用于根据反射激光探测冰箱的边沿;Optionally, the position detection device has a laser, the laser is used to emit laser light to the refrigerator, the refrigerator is used to reflect the laser light, and the position detection device is used to detect the edge of the refrigerator based on the reflected laser light;
控制位置检测装置检测冰箱上打码位置的位置相关参数的步骤还包括:The steps of controlling the position detection device to detect position-related parameters of the coding position on the refrigerator also include:
位置检测装置在平移的过程中,根据接收的反射激光计算冰箱与位置检测装置平移过程中的间距;During the translation process of the position detection device, the distance between the refrigerator and the position detection device during the translation process is calculated based on the received reflected laser light;
位置相关参数还包括间距。Position-related parameters also include spacing.
可选地,根据位置相关参数判断打码位置是否在预设区域范围内的步骤包括:Optionally, the step of determining whether the coding position is within the preset area based on position-related parameters 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 spacing exceeds the corresponding threshold range, it is considered that the coding position is not within the preset area.
可选地,在根据位置相关参数判断打码位置是否在预设区域范围内的同时还包括:Optionally, while determining whether the coding position is within the preset area based on position-related parameters, it also includes:
根据位置相关参数与相应的阈值范围确定打码位置偏移的方向。Determine the direction of the coding position offset according to the position-related parameters and the corresponding threshold range.
可选地,冰箱激光打码系统还包括扫码器,扫码器用于识别冰箱的型号识别码;Optionally, the refrigerator laser coding system also includes a code scanner, which is used to identify the model identification code of the refrigerator;
控制位置检测装置检测冰箱上打码位置的位置相关参数的步骤之前还包括:The step of controlling the position detection device to detect position-related parameters of the coding position on the refrigerator also includes:
控制扫码器获取冰箱的型号识别码;Control the scanner to obtain the model identification code of the refrigerator;
根据冰箱的型号信息判断冰箱是否需要打码;Determine whether the refrigerator needs coding based on the refrigerator model information;
若冰箱需要打码,则执行控制位置检测装置检测冰箱上打码位置的位置相关参数的步骤;If the refrigerator needs to be coded, execute the step of controlling the position detection device to detect position-related parameters of the coding position on the refrigerator;
若扫码器无法识别型号识别码,则输出提醒信号。If the scanner cannot recognize the model identification code, it will output a reminder signal.
可选地,冰箱激光打码系统还包括视觉检测装置,视觉检测装置用于检测冰箱是否已打码;Optionally, the refrigerator laser coding system also includes a visual detection device, which is used to detect whether the refrigerator has been coded;
在冰箱需要打码的情况下,执行控制位置检测装置检测冰箱上打码位置的位置相关参数的步骤之前还包括:When the refrigerator needs to be coded, the step of controlling the position detection device to detect position-related parameters of the coding position on the refrigerator also includes:
控制视觉检测装置检测冰箱上是否已打码;Control the visual inspection device to detect whether the refrigerator has been coded;
若冰箱上未打码,则执行控制位置检测装置检测冰箱上打码位置的位置相关参数的步骤。If there is no coding on the refrigerator, execute the step of controlling the position detection device to detect position-related parameters of the coding position on the refrigerator.
可选地,控制视觉检测装置检测冰箱上是否已打码的步骤之后还包括;Optionally, the step of controlling the visual detection device to detect whether a code has been printed on the refrigerator also includes;
若冰箱上已打码,则根据冰箱的型号识别码判断打码是否正确;If the refrigerator has been coded, use the model identification code of the refrigerator to determine whether the code is correct;
若打码不正确,则输出提醒信号。If the coding is incorrect, a reminder signal will be output.
根据本发明的第二个方面,本发明还提供一种冰箱激光打码系统,其包括位置检测装置、存储器、处理器及存储在存储器上并在处理器上运行的机器可执行程序,并且处理器执行机器可执行程序时实现上述任意一项的方法;位置检测装置用于检测冰箱上打码位置的位置相关参数。According to a second aspect of the invention, the invention also provides a refrigerator laser coding system, which includes a position detection device, a memory, a processor, and a machine executable program stored in the memory and run on the processor, and processes The method realizes any of the above when the machine executes the machine executable program; the position detection device is used to detect the position-related parameters of the coding position on the refrigerator.
可选地,冰箱激光打码系统还包括:Optionally, the refrigerator laser coding system also includes:
打码器,被配置成在打码位置在预设区域范围内时,向打码位置打码;The coder is configured to print code to the coding position when the coding position is within the preset area;
扫码器,用于识别冰箱的型号识别码;Scanner to identify the model identification code of the refrigerator;
视觉检测装置,用于检测冰箱是否已打码;A visual detection device used to detect whether the refrigerator has been coded;
位置检测装置被配置为通过平移探测冰箱的边沿;位置检测装置具有激光器,激光器用于向冰箱发射激光,冰箱用于反射激光,位置检测装置用于根据反射激光探测冰箱的边沿。The position detection device is configured to detect the edge of the refrigerator through translation; the position detection device has a laser for emitting laser light to the refrigerator, the refrigerator is used for reflecting the laser light, and the position detection device is used for detecting the edge of the refrigerator based on the reflected laser light.
本发明提供的一种冰箱激光打码系统及其控制方法,控制方法包括控制位置检测装置检测冰箱上打码位置的位置相关参数。根据位置相关参数判断打码位置是否在预设区域范围内。若打码位置不在预设区域范围内,则输出提醒信号。由于冰箱被打码之前,位置检测装置检测打码位置是否在预设区域范围内,因此,避免打码位置存在偏差的情况下被打码,避免冰箱展出时的不一致性。The invention provides a refrigerator laser coding system and a control method thereof. The control method includes controlling a position detection device to detect position-related parameters of the coding position on the refrigerator. Determine whether the coding position is within the preset area based on position-related parameters. If the coding position is not within the preset area, a reminder signal will be output. Before the refrigerator is coded, the position detection device detects whether the coding position is within the preset area. Therefore, it can avoid being coded when there is a deviation in the coding position and avoid inconsistency when the refrigerator is on display.
根据下文结合附图对本发明具体实施例的详细描述,本领域技术人员将会更加明了本发明的上述以及其他目的、优点和特征。From the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will further understand the above and other objects, advantages and features of the present invention.
附图说明Description of drawings
后文将参照附图以示例性而非限制性的方式详细描述本发明的一些具体实施例。附图中相同的附图标记标示了相同或类似的部件或部分。本领域技术人员应该理解,这些附图未必是按比例绘制的。附图中:Some specific embodiments of the invention will be described in detail below by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar parts or portions. Those skilled in the art will appreciate that these drawings are not necessarily drawn to scale. In the attached picture:
图1是根据本发明的一个实施例的冰箱激光打码系统的示意图;Figure 1 is a schematic diagram of a refrigerator laser coding system according to one embodiment of the present invention;
图2是根据本发明的一个实施例的冰箱激光打码系统的控制方法的流程图;Figure 2 is a flow chart of a control method of a refrigerator laser coding system according to one embodiment of the present invention;
图3是根据本发明的一个实施例的冰箱激光打码系统的控制方法的流程图;Figure 3 is a flow chart of a control method of a refrigerator laser coding system according to one embodiment of the present invention;
图4是根据本发明的一个实施例的冰箱激光打码系统的框图;Figure 4 is a block diagram of a refrigerator laser coding system according to one embodiment of the present invention;
图5是根据本发明的一个实施例的冰箱激光打码系统的示意图。Figure 5 is a schematic diagram of a refrigerator laser coding system according to an embodiment of the present invention.
具体实施方式Detailed ways
由于惯性,冰箱在生产流水线上运行时,冰箱的位置可能会出现偏差。冰箱打码时,固定装置也会将冰箱加紧,这些外力也会导致冰箱的偏移。人将冰箱放置到流水线上时,也容易造成位置偏差,冰箱体积比较大,人眼视觉范围内不容易察觉单个冰箱的位置偏移。这些因素会导致冰箱打码位置的偏移。Due to inertia, the position of the refrigerator may deviate when it is running on the production line. When the refrigerator is coded, the fixing device will also tighten the refrigerator, and these external forces will also cause the refrigerator to shift. When people place the refrigerator on the assembly line, it is also easy to cause positional deviation. The refrigerator is relatively large, and it is not easy to detect the positional deviation of a single refrigerator within the visual range of the human eye. These factors will cause the coding position of the refrigerator to shift.
图1是根据本发明的一个实施例的冰箱160激光打码系统100的示意图;Figure 1 is a schematic diagram of a laser coding system 100 for a refrigerator 160 according to an embodiment of the present invention;
图2是根据本发明的一个实施例的冰箱160激光打码系统100的控制方法的流程图;图3是根据本发明的一个实施例的冰箱160激光打码系统100的控制方法的流程图;图4是根据本发明的一个实施例的冰箱160激光打码系统100的框图;图5是根据本发明的一个实施例的冰箱160激光打码系统100的示意图。Figure 2 is a flow chart of the control method of the laser coding system 100 of the refrigerator 160 according to one embodiment of the present invention; Figure 3 is a flow chart of the control method of the laser coding system 100 of the refrigerator 160 according to one embodiment of the present invention; FIG. 4 is a block diagram of the laser coding system 100 for the refrigerator 160 according to one embodiment of the present invention; FIG. 5 is a schematic diagram of the laser coding system 100 for the refrigerator 160 according to one embodiment of the present invention.
基于此,本发明提出一种冰箱160激光打码系统100,该冰箱160激光打码系统100用于解决上述技术问题。其中,冰箱160激光打码系统100包括位置检测装置110、打码器120、扫码器130和视觉检测装置140。位置检测装置110用于检测冰箱160上打码位置163的位置相关参数。在其他一些实施方式中,位置检测装置110被配置为通过平移探测冰箱160的边沿。可选地,位置检测装置110具有激光器111,激光器111用于向冰箱160发射激光,冰箱160用于反射激光,位置检测装置110用于根据反射激光探测冰箱160的边沿。Based on this, the present invention proposes a laser coding system 100 for a refrigerator 160. The laser coding system 100 for a refrigerator 160 is used to solve the above technical problems. Among them, the laser coding system 100 for the refrigerator 160 includes a position detection device 110, a coder 120, a code scanner 130 and a visual detection device 140. The position detection device 110 is used to detect position-related parameters of the coding position 163 on the refrigerator 160 . In some other embodiments, the position detection device 110 is configured to detect the edge of the refrigerator 160 through translation. Optionally, the position detection device 110 has a 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 detection device 110 is used to detect the edge of the refrigerator 160 based on the reflected laser light.
其中,位置检测装置110的具体类型可根据需要选择,比如图像检测器、激光检测器或者红外检测器。The specific type of the position detection device 110 can be selected according to needs, such as an image detector, a laser detector or an infrared detector.
位置检测装置110的类型以激光检测器为例,此时,位置检测装置110被配置为通过平移探测冰箱160的边沿。激光检测器用于发射激光,激光用于探测冰箱160的边沿。例如,激光检测器在平移的过程中,激光一直被反射,也即,激光不能穿过冰箱160,则证明冰箱160存在,该处不是冰箱160边沿。激光检测器在平移过程中,激光未被反射,也即,激光穿过,则证明该处是冰箱160的边沿。因此,激光检测器在平移的过程中能检测冰箱160的边沿。The type of the position detection device 110 is a laser detector as an example. At this time, the position detection device 110 is configured to detect the edge of the refrigerator 160 through translation. The laser detector is used to emit laser light, and the laser light is used to detect the edge of the refrigerator 160 . For example, during the translation process of the laser detector, the laser light is always reflected, that is, the laser light cannot pass through the refrigerator 160 , which proves that the refrigerator 160 exists and is not at the edge of the refrigerator 160 . During the translation process of the laser detector, if the laser is not reflected, that is, if the laser passes through, it proves that the location is the edge of the refrigerator 160 . Therefore, the laser detector can detect the edge of the refrigerator 160 during the translation process.
打码器120被配置成在打码位置163在预设区域范围内时,向打码位置163打码。打码器120的位置是设定好的,也即,对于同一型号的冰箱160来说,打码器120的位置是固定不变的。冰箱160被打码时,如果冰箱160的位置没有出现偏差,打码器120是正对冰箱160上的打码位置163的,如果冰箱160的位置出现偏差,冰箱160上的打码位置163也会出现偏差,这时,打码器120对应的是冰箱160的其他位置,此时如果打码,就会出现偏差。The coder 120 is configured to code to the coding position 163 when the coding position 163 is within the preset area. The position of the coder 120 is set, that is, for the refrigerator 160 of the same model, the position of the coder 120 is fixed. When the refrigerator 160 is coded, if there is no deviation in the position of the refrigerator 160, the coder 120 is facing the coding position 163 on the refrigerator 160. If there is a deviation in the position of the refrigerator 160, the coding position 163 on the refrigerator 160 will also Deviation occurs. At this time, the coder 120 corresponds to other positions of the refrigerator 160. If coding is performed at this time, deviation will occur.
激光检测器以打码器120为起点平移至冰箱160边沿的过程,计算激光检测器平移的时间,根据激光检测器平移的速度,速度与时间的乘积即为打码器120平移至冰箱160边沿的长度,该长度值即为位置相关参数。或者,冰箱160激光打码系统100包括位置传感器,位置传感器用于检测激光检测器从打码器120处平移至冰箱160边沿的位移,该位移至即为打码器120平移至冰箱160边沿的长度,该长度值即为位置相关参数。The laser detector takes the coder 120 as the starting point to translate to the edge of the refrigerator 160. Calculate the translation time of the laser detector. According to the translation speed of the laser detector, the product of speed and time is the translation of the coder 120 to the edge of the refrigerator 160. The length is the position-related parameter. Alternatively, the refrigerator 160 laser coding system 100 includes a position sensor. The position sensor is used to detect the displacement of the laser detector from the coder 120 to the edge of the refrigerator 160. The displacement is the translation of the coder 120 to the edge of the refrigerator 160. Length, the length value is the position-related parameter.
打码位置163所在的冰箱160侧面内相交的两条边分别被称为第一边161和第二边162,也即,第一边161和第二边162是冰箱160被打码面内相交的两条边。在本实施例中,如图所示,第一边161是冰箱160被打码面的上边沿,第二边162是冰箱160被打码面的左边沿,很显然,第一边161和第二边162还可以是被打码面的上边沿和右边沿。The two sides that intersect in the side of the refrigerator 160 where the coding position 163 is located are called the first side 161 and the second side 162 respectively. That is, the first side 161 and the second side 162 are the intersections in the coding surface of the refrigerator 160. of two sides. In this embodiment, as shown in the figure, the first side 161 is the upper edge of the coded surface of the refrigerator 160, and the second side 162 is the left edge of the coded surface of the refrigerator 160. Obviously, the first side 161 and the The two sides 162 can also be the upper edge and the right edge of the surface to be coded.
在本实施方式中,位置相关参数至少包括从打码器120处平移至第一边161的第一平移距离,以及从打码器120处平移至第二边162的第二平移距离,以全方位测量冰箱160向不同方向的偏差。In this embodiment, the position-related parameters at least include a first translation distance from the coder 120 to the first side 161, and a second translation distance from the coder 120 to the second side 162, so as to fully The orientation measures the deviation of the refrigerator 160 in different directions.
测量冰箱160上的打码位置163距离冰箱160的第一边161的长度值,误差值可以设定为1毫米,第一平移距离相应的阈值范围是该长度值与误差值的和。测量冰箱160上的打码位置163距离冰箱160的第二边162的长度值,第二平移距离相应的阈值范围是该长度值与误差值的和。如果第一平移距离或第二平移距离没有落入与其相应的阈值范围内,则认为冰箱160上的打码位置163不在预设区域范围内,即可认定冰箱160的位置产生偏差。反之,则冰箱160的位置没有产生偏差。Measure the length value from the coding position 163 on the refrigerator 160 to the first side 161 of the refrigerator 160. The error value can be set to 1 mm. The corresponding threshold range of the first translation distance is the sum of the length value and the error value. Measure the length value from the coding position 163 on the refrigerator 160 to the second side 162 of the refrigerator 160. 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 corresponding threshold range, it is considered that the coding position 163 on the refrigerator 160 is not within the preset area, and it can be determined that the position of the refrigerator 160 is deviated. On the contrary, there is no deviation in the position of refrigerator 160 .
激光探测器在平移至冰箱160边沿的过程中,能实时接收冰箱160反射的激光,用于根据反射的激光实时获取激光探测器距离冰箱160的间距。该间距值能判断冰箱160上打码位置163是否在预设区域范围内,也即,该间距值也能判断冰箱160上打码位置163有没有偏差。When the laser detector is moving to the edge of the refrigerator 160, it can receive the laser reflected by the refrigerator 160 in real time, so as to obtain the distance between the laser detector and the refrigerator 160 in real time based on the reflected laser. The spacing value can determine whether the coding position 163 on the refrigerator 160 is within the preset area. That is, the spacing value can also determine whether there is any deviation in the coding position 163 on the refrigerator 160 .
该间距、第一平移距离和第二平移距离结合起来,能准确判定冰箱160的偏移方向以及偏移值。例如,如图所示,冰箱160向右偏斜时,激光探测器在平移至第二边162(也即冰箱160被打码面的左边边沿)的过程中,激光探测器距离冰箱160的间距值不断减小。因此,单独的该间距值能检测冰箱160的位置是否产生偏移;间距值与第一平移距离和第二平移距离结合起来能判断冰箱160的偏移方向。The distance, the first translation distance and the second translation distance are combined to accurately determine the offset direction and offset value of the refrigerator 160 . For example, as shown in the figure, when the refrigerator 160 is tilted to the right, the laser detector is in the process of translation to the second side 162 (that is, the left edge of the coded surface of the refrigerator 160). The distance between the laser detector and the refrigerator 160 The value keeps decreasing. Therefore, the distance value alone can detect whether the position of the refrigerator 160 is offset; the distance value combined with the first translation distance and the second translation distance can determine the offset direction of the refrigerator 160 .
红外探测器与激光探测器检测原理类似,在此不再赘述。The detection principles of infrared detectors and laser detectors are similar and will not be described in detail here.
图像检测器用于获取打码位置163所在的冰箱160侧面的图像,该图像即为位置相关参数,冰箱160的位置没有偏移时,该侧面的图像加上误差即为阈值范围。The image detector is used to obtain the image of the side of the refrigerator 160 where the coding position 163 is located. This image is the position-related parameter. When the position of the refrigerator 160 is not offset, the image of the side plus the error is the threshold range.
在其他一些实施方式中,打码器120被配置成在打码位置163在预设区域范围内时,向打码位置163打码。打码器120被配置为能平移;打码位置163所在的冰箱160侧面内相交的两条边分别被称为第一边161和第二边162。打码器120的具体类型可以根据需要选择,在本实施例中,打码器120的类型是激光打码器120。打码器120能平移以满足不同型号冰箱160的打码。In some other embodiments, the coder 120 is configured to code to the coding position 163 when the coding position 163 is within the preset area. The coder 120 is configured to be able to translate; the two intersecting sides on the side of the refrigerator 160 where the coding position 163 is located are called the first side 161 and the second side 162 respectively. The specific type of the coder 120 can be selected according to needs. In this embodiment, the type of the coder 120 is a laser coder 120 . The coder 120 can be moved horizontally to meet the coding needs of different models of refrigerators 160 .
在其他一些实施方式中,扫码器130用于识别冰箱160的型号识别码,视觉检测装置140用于检测冰箱160是否已打码。在冰箱160的生产流水线上,冰箱160的型号有多种,但冰箱160的有些型号是不需要打码的。扫码器130用于获取冰箱160的型号识别码,以供判断该冰箱160是否需要打码,这可以避免打错码,也可以保证冰箱160在自动化流水线上的正确打码。In some other embodiments, the code scanner 130 is used to identify the model identification code of the refrigerator 160, and the visual detection device 140 is used to detect whether the refrigerator 160 has been coded. On the production line of refrigerator 160, there are many models of refrigerator 160, but some models of refrigerator 160 do not require coding. The code scanner 130 is used to obtain the model identification code of the refrigerator 160 to determine whether the refrigerator 160 needs to be coded. This can avoid coding errors and ensure that the refrigerator 160 is coded correctly on the automated assembly line.
在一个实施方式中,冰箱160激光打码系统100的控制方法包括:In one embodiment, the control method of the laser coding system 100 of the refrigerator 160 includes:
步骤S302:控制位置检测装置110检测冰箱160上打码位置163的位置相关参数。Step S302: Control the position detection device 110 to detect position-related parameters of the coding position 163 on the refrigerator 160.
基于上述陈述可知,位置检测装置110的类型可根据需要选择,位置相关参数与位置检测装置110的类型有关,在此不再赘述。位置相关参数是冰箱160在被打码时、能反映打码位置163的真实位置的参数,冰箱160被打码时,该位置相关参数能反映冰箱160的真实位置情况。Based on the above statements, it can be seen that the type of the position detection device 110 can be selected according to needs. The position-related parameters are related to the type of the position detection device 110 and will not be described again here. The location-related parameters are parameters that can reflect the true location of the coding position 163 when the refrigerator 160 is coded. When the refrigerator 160 is coded, the location-related parameters can reflect the true location of the refrigerator 160.
一般地,冰箱160被打码时,冰箱160被放到或者运送到指定位置,打码器120对冰箱160进行打码。以流水线为例,冰箱160在流水线上被运送至打码器120处,然后打码。由于惯性或者人为因素,冰箱160被打码时的真实位置可能会偏移。如果冰箱160的位置存在偏差,这将导致冰箱160上的打码位置163存在偏差。因此,冰箱160被打码之前,位置检测装置110检测打码位置163,以避免打码位置163存在偏差的情况下被打码。Generally, when the refrigerator 160 is coded, the refrigerator 160 is placed or transported to a designated location, and the coder 120 codes the refrigerator 160 . Taking the assembly line as an example, the refrigerator 160 is transported to the coder 120 on the assembly line, and then coded. Due to inertia or human factors, the true position of the refrigerator 160 when it is coded may shift. If there is a deviation in the position of the refrigerator 160, this will lead to a deviation in the coding position 163 on the refrigerator 160. Therefore, before the refrigerator 160 is coded, the position detection device 110 detects the coding position 163 to avoid coding if there is a deviation in the coding position 163 .
步骤S304:根据位置相关参数判断打码位置163是否在预设区域范围内。Step S304: Determine whether the coding position 163 is within the preset area according to the position-related parameters.
根据位置相关参数判断打码位置163的具体方式可以选择,在本实施例中,判断位置相关参数是不是在阈值范围内,如果位置相关参数在阈值范围内,则认为打码位置163在预设区域范围内。The specific method of judging the coding position 163 according to the position-related parameters can be selected. In this embodiment, it is judged whether the position-related parameters are within the threshold range. If the position-related parameters are within the threshold range, the coding position 163 is considered to be in the preset position. within the region.
位置相关参数能反映打码位置163的真实情况,如果位置相关参数不再阈值范围内,则认为打码位置163的真实情况有偏差。如果位置相关参数在预设范围内,则认为位置的真实情况没有偏差。The position-related parameters can reflect the real situation of the coding position 163. If the position-related parameters are no longer within the threshold range, it is considered that the real situation of the coding position 163 is biased. If the location-related parameters are within the preset range, it is considered that there is no deviation from the true situation of the location.
步骤S306:若打码位置163不在预设区域范围内,则输出提醒信号。Step S306: If the coding position 163 is not within the preset area, output a reminder signal.
提醒信号的具体类型不做限定,例如,可以是语音提醒扫码错误、报警声或者在显示屏输出相关字幕。输出提醒信号避免打码位置163出现偏差时被打码。The specific type of the reminder signal is not limited. For example, it can be a voice reminder for code scanning errors, an alarm sound, or the output of relevant subtitles on the display screen. Output a reminder signal to avoid being coded when the coding position 163 deviates.
在一个实施方式中,冰箱160激光打码系统100的控制方法包括:In one embodiment, the control method of the laser coding system 100 of the refrigerator 160 includes:
步骤S302:控制扫码器130获取冰箱160的型号识别码。Step S302: Control the code scanner 130 to obtain the model identification code of the refrigerator 160.
在本实施例中,冰箱160激光打码系统100还包括扫码器130,扫码器130用于识别冰箱160的型号识别码。型号识别码的具体类型可以根据需要选择,例如是条形码或者二维码。型号识别码至少包括冰箱160的型号信息,该型号信息至少包括冰箱160的尺寸。不同型号的冰箱160,冰箱160尺寸不同,冰箱160的打码位置163不同,冰箱160打码图案也不同,有些冰箱160可能不需要打码。因此,获取冰箱160的型号识别码可以避免打错码,以实现自动化、多型号冰箱160的正确打码。In this embodiment, the laser coding system 100 for the refrigerator 160 also includes a code scanner 130 , and the code scanner 130 is used to identify the model identification code of the refrigerator 160 . The specific type of model identification code can be selected according to needs, such as bar code or QR code. The model identification code at least includes model information of the refrigerator 160 , and the model information at least includes the size of the refrigerator 160 . Different models of refrigerators 160 have different sizes, different coding positions 163 on the refrigerators 160 , and different coding patterns on the refrigerators 160 . Some refrigerators 160 may not require coding. Therefore, obtaining the model identification code of the refrigerator 160 can avoid incorrect coding and achieve automated and correct coding of multiple models of refrigerators 160 .
步骤S304:若扫码器130无法识别型号识别码,则输出提醒信号。Step S304: If the code scanner 130 cannot recognize the model identification code, output a reminder signal.
提醒信号的具体类型不做限定,例如,可以是语音提醒扫码错误、报警声或者在显示屏输出相关字幕。扫码器130无法识别型号识别码,输出提醒信号以提醒扫码异常,提醒人查找问题,避免漏扫。The specific type of the reminder signal is not limited. For example, it can be a voice reminder for code scanning errors, an alarm sound, or the output of relevant subtitles on the display screen. The code scanner 130 cannot recognize the model identification code and outputs a reminder signal to alert the user of abnormal code scanning, reminding people to find the problem and avoid missing scans.
步骤S306:根据冰箱160的型号信息判断冰箱160是否需要打码。Step S306: Determine whether the refrigerator 160 needs to be coded based on the model information of the refrigerator 160.
在本实施例中,冰箱160激光打码系统100还包括运输装置170,运输装置170用于将打码完整的冰箱160运输至指定位置。In this embodiment, the laser coding system 100 for the refrigerator 160 also includes a transport device 170, which is used to transport the completely coded refrigerator 160 to a designated location.
型号信息中可以包括冰箱160是否需要打码,也可以根据型号信息判断是不是需要打码。冰箱160打码的具体图案不做限定,例如,打码图案可以是冰箱160的logo,不同的冰箱160型号,其logo可能不同,有些冰箱160可能不需要logo。该步骤可以避免不需要打码的冰箱160打码,也可以避免冰箱160上的logo与其型号不同。The model information may include whether the refrigerator 160 needs to be coded, or it may be determined based on the model information whether the refrigerator 160 needs to be coded. The specific pattern for coding the refrigerator 160 is not limited. For example, the coding pattern can be the logo of the refrigerator 160. Different refrigerator 160 models may have different logos, and some refrigerators 160 may not require a logo. This step can avoid coding the refrigerator 160 that does not need to be coded, and can also avoid the logo on the refrigerator 160 being different from its model.
在其他一些实施方式中,该步骤之后还包括,若冰箱160不需要打码,则直接执行控制运输装置170将冰箱160运送至下一个工位。这可以避免冰箱160重复打码,同时将打码位置163让给需要打码的冰箱160。In some other embodiments, this step also includes, if the refrigerator 160 does not need to be coded, directly controlling the transport device 170 to transport the refrigerator 160 to the next work station. This can avoid repeated coding of the refrigerator 160 and at the same time give the coding position 163 to the refrigerator 160 that needs to be coded.
步骤S308:若冰箱160需要打码,控制视觉检测装置140检测冰箱160上是否已打码。Step S308: If the refrigerator 160 needs to be coded, control the visual detection device 140 to detect whether the refrigerator 160 has been coded.
冰箱160激光打码系统100还包括视觉检测装置140,视觉检测装置140用于检测冰箱160是否已打码。这可以保证在没有打码的情况下才执行打码步骤,这样可以避免重复打码和漏打码。The laser coding system 100 for the refrigerator 160 also includes a visual detection device 140. The visual detection device 140 is used to detect whether the refrigerator 160 has been coded. This ensures that the coding step is only performed when there is no coding, thus avoiding repeated coding and missed coding.
步骤S310:若冰箱160上已打码,则根据冰箱160的型号识别码判断打码是否正确。Step S310: If the refrigerator 160 has been coded, determine whether the code is correct based on the model identification code of the refrigerator 160.
冰箱160的型号识别码与打码图案是相应的,该步骤可以避免打错码。The model identification code of the refrigerator 160 corresponds to the coding pattern. This step can avoid incorrect coding.
在其他一些实施方式中,该步骤之后还包括,若打码正确,则直接执行控制运输装置170将冰箱160运送至下一个工位。这可以避免冰箱160重复打码,同时将打码位置163让给需要打码的冰箱160。In some other embodiments, this step also includes, if the coding is correct, directly controlling the transport device 170 to transport the refrigerator 160 to the next work station. This can avoid repeated coding of the refrigerator 160 and at the same time give the coding position 163 to the refrigerator 160 that needs to be coded.
步骤S312:若打码不正确,则输出提醒信号。Step S312: If the coding is incorrect, output a reminder signal.
提醒信号的具体类型不做限定,例如,可以是语音提醒打码错误、报警声或者在显示屏输出相关字幕。若打码不正确,这提醒及时改正,避免错误打码。The specific type of the reminder signal is not limited. For example, it can be a voice reminder for coding errors, an alarm sound, or the output of relevant subtitles on the display screen. If the coding is incorrect, this will remind you to correct it in time to avoid erroneous coding.
在其他一些实施方式中,该步骤之后还包括,若打码正确,则直接执行控制运输装置170将冰箱160运送至下一个工位。这可以避免冰箱160重复打码,同时将打码位置163让给需要打码的冰箱160。In some other embodiments, this step also includes, if the coding is correct, directly controlling the transport device 170 to transport the refrigerator 160 to the next work station. This can avoid repeated coding of the refrigerator 160 and at the same time give the coding position 163 to the refrigerator 160 that needs to be coded.
步骤S314:若冰箱160上未打码,控制位置检测装置110检测冰箱160上打码位置163的位置相关参数。Step S314: If there is no coding on the refrigerator 160, control the position detection device 110 to detect the position-related parameters of the coding position 163 on the refrigerator 160.
基于上述陈述可知,位置检测装置110的类型可根据需要选择,位置相关参数与位置检测装置110的类型有关,在此不再赘述。位置相关参数是冰箱160在被打码时、能反映打码位置163的真实位置的参数,冰箱160被打码时,该位置相关参数能反映冰箱160的真实位置情况。因此,冰箱160被打码之前,位置检测装置110检测打码位置163,以避免打码位置163存在偏差的情况下被打码。Based on the above statements, it can be seen that the type of the position detection device 110 can be selected according to needs. The position-related parameters are related to the type of the position detection device 110 and will not be described again here. The location-related parameters are parameters that can reflect the true location of the coding position 163 when the refrigerator 160 is coded. When the refrigerator 160 is coded, the location-related parameters can reflect the true location of the refrigerator 160. Therefore, before the refrigerator 160 is coded, the position detection device 110 detects the coding position 163 to avoid coding if there is a deviation in the coding position 163 .
在一些实施方式中,位置检测装置110被配置为通过平移探测冰箱160的边沿;冰箱160激光打码系统100还包括打码器120,打码器120被配置成在打码位置163在预设区域范围内时,向打码位置163打码;打码位置163所在的冰箱160侧面内相交的两条边分别被称为第一边161和第二边162。In some embodiments, the position detection device 110 is configured to detect the edge of the refrigerator 160 through translation; the laser coding system 100 of the refrigerator 160 further includes a coder 120, and the coder 120 is configured to detect the edge of the refrigerator 160 at a preset coding position 163. When within the area, code is printed toward the coding position 163; the two intersecting sides on the side of the refrigerator 160 where the coding position 163 is located are called the first side 161 and the second side 162 respectively.
控制位置检测装置110检测冰箱160上打码位置163的位置相关参数的步骤包括:控制位置检测装置110从打码器120处平移至第一边161并获取位置检测装置110的第一平移距离;控制位置检测装置110从打码器120处平移至第二边162并获取位置检测装置110的第二平移距离;位置相关参数包括第一平移距离和第二平移距离。The step of controlling the position detection device 110 to detect position-related parameters of the coding position 163 on the refrigerator 160 includes: controlling the position detection device 110 to translate from the coder 120 to the first side 161 and obtaining the first translation distance of the position detection device 110; Control the position detection device 110 to translate from the coder 120 to the second side 162 and obtain the second translation distance of the position detection device 110; the position-related parameters include the first translation distance and the second translation distance.
在本实施方式中,检测装置的类型可以是激光检测器或者红外检测器,In this embodiment, the type of detection device may be a laser detector or an infrared detector,
在一些实施方式中,当位置检测装置110具有激光器111,激光器111用于向冰箱160发射激光,冰箱160用于反射激光,位置检测装置110用于根据反射激光探测冰箱160的边沿。In some embodiments, when the position detection device 110 has a 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 detection device 110 is used to detect the edge of the refrigerator 160 based on the reflected laser light.
控制位置检测装置110检测冰箱160上打码位置163的位置相关参数的步骤还包括:位置检测装置110在平移的过程中,根据接收的反射激光计算冰箱160与位置检测装置110平移过程中的间距;位置相关参数还包括间距。The step of controlling the position detection device 110 to detect the position-related parameters of the coding position 163 on the refrigerator 160 also includes: during the translation process of the position detection device 110, calculating the distance between the refrigerator 160 and the position detection device 110 during the translation process based on the received reflected laser. ;Position-related parameters also include spacing.
打码器120被配置成在打码位置163在预设区域范围内时,向打码位置163打码。打码器120的位置是设定好的,也即,对于同一型号的冰箱160来说,打码器120的位置是固定不变的。冰箱160被打码时,如果冰箱160的位置没有出现偏差,打码器120是正对冰箱160上的打码位置163的,如果冰箱160的位置出现偏差,冰箱160上的打码位置163也会出现偏差,这时,打码器120对应的是冰箱160的其他位置,此时如果打码,就会出现偏差。The coder 120 is configured to code to the coding position 163 when the coding position 163 is within the preset area. The position of the coder 120 is set, that is, for the refrigerator 160 of the same model, the position of the coder 120 is fixed. When the refrigerator 160 is coded, if there is no deviation in the position of the refrigerator 160, the coder 120 is facing the coding position 163 on the refrigerator 160. If there is a deviation in the position of the refrigerator 160, the coding position 163 on the refrigerator 160 will also Deviation occurs. At this time, the coder 120 corresponds to other positions of the refrigerator 160. If coding is performed at this time, deviation will occur.
激光检测器以打码器120为起点平移至冰箱160边沿的过程,计算激光检测器平移的时间,根据激光检测器平移的速度,速度与时间的乘积即为打码器120平移至冰箱160边沿的长度,该长度值即为位置相关参数。或者,冰箱160激光打码系统100包括位置传感器,位置传感器用于检测激光检测器从打码器120处平移至冰箱160边沿的位移,该位移至即为打码器120平移至冰箱160边沿的长度,该长度值即为位置相关参数。The laser detector takes the coder 120 as the starting point to translate to the edge of the refrigerator 160. Calculate the translation time of the laser detector. According to the translation speed of the laser detector, the product of speed and time is the translation of the coder 120 to the edge of the refrigerator 160. The length is the position-related parameter. Alternatively, the refrigerator 160 laser coding system 100 includes a position sensor. The position sensor is used to detect the displacement of the laser detector from the coder 120 to the edge of the refrigerator 160. The displacement is the translation of the coder 120 to the edge of the refrigerator 160. Length, the length value is the position-related parameter.
打码位置163所在的冰箱160侧面内相交的两条边分别被称为第一边161和第二边162,也即,第一边161和第二边162是冰箱160被打码面内相交的两条边。在本实施例中,如图所示,第一边161是冰箱160被打码面的上边沿,第二边162是冰箱160被打码面的左边沿,很显然,第一边161和第二边162还可以是被打码面的上边沿和右边沿。The two sides that intersect in the side of the refrigerator 160 where the coding position 163 is located are called the first side 161 and the second side 162 respectively. That is, the first side 161 and the second side 162 are the intersections in the coding surface of the refrigerator 160. of two sides. In this embodiment, as shown in the figure, the first side 161 is the upper edge of the coded surface of the refrigerator 160, and the second side 162 is the left edge of the coded surface of the refrigerator 160. Obviously, the first side 161 and the The two sides 162 can also be the upper edge and the right edge of the surface to be coded.
在本实施方式中,位置相关参数至少包括从打码器120处平移至第一边161的第一平移距离,以及从打码器120处平移至第二边162的第二平移距离,以全方位测量冰箱160向不同方向的偏差。In this embodiment, the position-related parameters at least include a first translation distance from the coder 120 to the first side 161, and a second translation distance from the coder 120 to the second side 162, so as to fully The orientation measures the deviation of the refrigerator 160 in different directions.
激光探测器在平移至冰箱160边沿的过程中,能实时接收冰箱160反射的激光,用于根据反射的激光实时获取激光探测器距离冰箱160的间距。该间距能判断冰箱160上打码位置163是否在预设区域范围内,也即,该间距也能判断冰箱160上打码位置163有没有偏差。When the laser detector is moving to the edge of the refrigerator 160, it can receive the laser reflected by the refrigerator 160 in real time, so as to obtain the distance between the laser detector and the refrigerator 160 in real time based on the reflected laser. This spacing can determine whether the coding position 163 on the refrigerator 160 is within the preset area. That is, this spacing can also determine whether there is any deviation in the coding position 163 on the refrigerator 160 .
该间距、第一平移距离和第二平移距离结合起来,能准确判定冰箱160的偏移方向以及偏移值。例如,如图所示,冰箱160向右偏斜时,激光探测器在平移至第二边162(也即冰箱160被打码面的左边边沿)的过程中,激光探测器距离冰箱160的间距值不断减小。因此,单独的该间距值能检测冰箱160的位置是否产生偏移;间距值与第一平移距离和第二平移距离结合起来能判断冰箱160的偏移方向。The distance, the first translation distance and the second translation distance are combined to accurately determine the offset direction and offset value of the refrigerator 160 . For example, as shown in the figure, when the refrigerator 160 is tilted to the right, the laser detector is in the process of translation to the second side 162 (that is, the left edge of the coded surface of the refrigerator 160). The distance between the laser detector and the refrigerator 160 The value keeps decreasing. Therefore, the distance value alone can detect whether the position of the refrigerator 160 is offset; the distance value combined with the first translation distance and the second translation distance can determine the offset direction of the refrigerator 160 .
冰箱160激光打码系统100包括位置检测装置110,位置检测装置110用于检测冰箱160上打码位置163的位置相关参数。检测位置相关参数反映打码位置163的真实情况,这可以避免冰箱160打码时出现偏差,造成冰箱160打码的不一致性。The laser coding system 100 for the refrigerator 160 includes a position detection device 110 . The position detection device 110 is used to detect position-related parameters of the coding position 163 on the refrigerator 160 . The parameters related to the detection position reflect the actual situation of the coding position 163, which can avoid deviations in the coding of the refrigerator 160 and cause inconsistency in the coding of the refrigerator 160.
步骤S316:根据位置相关参数与相应的阈值范围确定打码位置163偏移的方向。Step S316: Determine the offset direction of the coding position 163 according to the position-related parameters and the corresponding threshold range.
该间距、第一平移距离和第二平移距离结合起来,能准确判定冰箱160的偏移方向以及偏移值。例如,如图所示,冰箱160向右或者向左偏移时,第二平移距离仅仅能显示冰箱160向左或者向右偏移,并不能确定具体方向。但是,激光探测器在平移至第二边162(也即冰箱160被打码面的左边边沿)的过程中,如果,激光探测器距离冰箱160的间距值不断减小,则证明是向右偏移,如果间距值不断变大,则证明是向左偏移。因此,单独的该间距值能检测冰箱160的位置是否产生偏移;间距值与第一平移距离和第二平移距离结合起来能判断冰箱160的偏移方向,有助于冰箱160位置的校准以及排查原因。The distance, the first translation distance and the second translation distance are combined to accurately determine the offset direction and offset value of the refrigerator 160 . For example, as shown in the figure, when the refrigerator 160 shifts to the right or left, the second translation distance can only show that the refrigerator 160 shifts to the left or right, but cannot determine the specific direction. However, when the laser detector is moving to the second side 162 (that is, the left edge of the coded surface of the refrigerator 160), if the distance between the laser detector and the refrigerator 160 continues to decrease, it proves that it is deflected to the right. Shift, if the spacing value continues to become larger, it proves to be shifted to the left. Therefore, the distance value alone can detect whether the position of the refrigerator 160 is offset; the distance value combined 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 Investigate the cause.
步骤S318:根据位置相关参数判断打码位置163是否在预设区域范围内。Step S318: Determine whether the coding position 163 is within the preset area according to the position-related parameters.
根据位置相关参数判断打码位置163的具体方式可以选择,在本实施例中,判断位置相关参数是不是在阈值范围内,如果位置相关参数在阈值范围内,则认为打码位置163在预设区域范围内。阈值范围与位置相关参数的具体类型相关,例如,如果位置相关参数是图像,则阈值范围也是图像;如果位置相关参数是数值,则阈值范围也是数值。The specific method of judging the coding position 163 according to the position-related parameters can be selected. In this embodiment, it is judged whether the position-related parameters are within the threshold range. If the position-related parameters are within the threshold range, the coding position 163 is considered to be in the preset position. within the region. The threshold range is related to the specific type of the position-related parameter, for example, if the position-related parameter is an image, the threshold range is also an image; if the position-related parameter is a numeric value, the threshold range is also a numeric value.
如果位置检测装置110是激光类,根据位置相关参数判断打码位置163是否在预设区域范围内的步骤包括:将第一平移距离、第二平移距离和间距分别与相应的阈值范围比较;若第一平移距离或第二平移距离或间距超出相应的阈值范围,则认为打码位置163不在预设区域范围内。If the position detection 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 parameters includes: comparing the first translation distance, the second translation distance and the spacing with the corresponding threshold range; if If the first translation distance or the second translation distance or spacing exceeds the corresponding threshold range, it is considered that the coding position 163 is not within the preset area.
测量冰箱160上的打码位置163距离冰箱160的第一边161的长度值,误差值一般设定为1毫米,第一平移距离相应的阈值范围是该长度值与误差值的和。测量冰箱160上的打码位置163距离冰箱160的第二边162长的长度值,第二平移距离相应的阈值范围是该长度值与误差值的和。如果第一平移距离或第二平移距离没有落入与其相应的阈值范围内,则认为冰箱160上的打码位置163不在预设区域范围内,即可认定冰箱160的位置产生偏差。反之,则冰箱160的位置没有产生偏差。以冰箱160的被打码面为平面为例,冰箱160的位置没有偏差的情况下,打码器120距离打码位置163的间距和误差值的和即是间距相应的阈值范围,如果间距没有在间距相应的阈值范围内,则认为冰箱160上的打码位置163不在预设区域范围内。Measure the length value from the coding position 163 on the refrigerator 160 to the first side 161 of the refrigerator 160. The error value is generally set to 1 mm. The corresponding threshold range of the first translation distance is the sum of the length value and the error value. The length value of the coding 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 corresponding threshold range, it is considered that the coding position 163 on the refrigerator 160 is not within the preset area, and it can be determined that the position of the refrigerator 160 is deviated. On the contrary, there is no deviation in the position of refrigerator 160 . Taking the coded surface of the refrigerator 160 as a plane as an example, if there is no deviation in the position of the refrigerator 160, the sum of the distance between the coder 120 and the coding position 163 and the error value is the threshold range corresponding to the distance. If the distance does not Within the threshold range corresponding to the distance, it is considered that the coding position 163 on the refrigerator 160 is not within the preset area.
位置相关参数能反映打码位置163的真实情况,如果位置相关参数不再阈值范围内,则认为打码位置163的真实情况有偏差。如果位置相关参数在预设范围内,则认为位置的真实情况没有偏差。The position-related parameters can reflect the real situation of the coding position 163. If the position-related parameters are no longer within the threshold range, it is considered that the real situation of the coding position 163 is biased. If the location-related parameters are within the preset range, it is considered that there is no deviation from the true situation of the location.
步骤S320:若打码位置163不在预设区域范围内,则输出提醒信号Step S320: If the coding position 163 is not within the preset area, output a reminder signal
打码位置163不在预设范围内时,输出提醒信号,避免冰箱160在位置偏差时被打码,导致打码倾斜。When the coding position 163 is not within the preset range, a reminder signal is output to prevent the refrigerator 160 from being coded when the position deviates, resulting in coding tilt.
步骤S322:若打码位置163在预设区域范围内,控制打码器120打码。Step S322: If the coding position 163 is within the preset area, control the coding device 120 to code.
步骤S324:控制运输装置170将冰箱160运输至下一个工位。Step S324: Control the transport device 170 to transport the refrigerator 160 to the next work station.
在本实施例中,冰箱160激光打码系统100还包括运输装置170,运输装置170用于将打码完整的冰箱160运输至指定位置。该步骤将完成打码的冰箱160运输至下一个工位,将打码位置163让给需要打码的冰箱160。In this embodiment, the laser coding system 100 for the refrigerator 160 also includes a transport device 170, which is used to transport the completely coded refrigerator 160 to a designated location. In this step, the refrigerator 160 that has been coded is transported to the next work station, and the coding position 163 is given to the refrigerator 160 that needs to be coded.
根据本发明的第二个方面,本发明还提供一种冰箱160激光打码系统100,其包括位置检测装置110和控制器150,控制器150包括存储器151、处理器152及存储在存储器151上并在处理器152上运行的机器可执行程序1511,并且处理器152执行机器可执行程序1511时实现根据上述实施例的任意一项的方法;位置检测装置110用于检测冰箱160上打码位置163的位置相关参数。According to a second aspect of the present invention, the present invention also provides a laser coding system 100 for a refrigerator 160, which includes a position detection device 110 and a controller 150. The controller 150 includes a memory 151, a processor 152 and data stored on the memory 151. and the machine executable program 1511 running on the processor 152, and when the processor 152 executes the machine executable program 1511, the method according to any one of the above embodiments is implemented; the position detection device 110 is used to detect the coding position on the refrigerator 160 163 position-related parameters.
在其他一些实施方式中,冰箱160激光打码系统100还包括:In some other embodiments, the refrigerator 160 laser coding system 100 also includes:
打码器120,被配置成在打码位置163在预设区域范围内时,向打码位置163打码;The coder 120 is configured to code to the coding position 163 when the coding position 163 is within the preset area;
扫码器130,用于识别冰箱160的型号识别码;The code scanner 130 is used to identify the model identification code of the refrigerator 160;
视觉检测装置140,用于检测冰箱160是否已打码;The visual detection device 140 is used to detect whether the refrigerator 160 has been coded;
位置检测装置110被配置为通过平移探测冰箱160的边沿;位置检测装置110具有激光器111,激光器111用于向冰箱160发射激光,冰箱160用于反射激光,位置检测装置110用于根据反射激光探测冰箱160的边沿。The position detection device 110 is configured to detect the edge of the refrigerator 160 through translation; the position detection device 110 has a laser 111, the laser 111 is used to emit laser to the refrigerator 160, the refrigerator 160 is used to reflect the laser, and the position detection device 110 is used to detect based on the reflected laser. The edge of the refrigerator 160.
在本实施例的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”、“轴向”、“径向”、“周向”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of this embodiment, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inside", "Outside", "Axis", "Radial", "Circumferential" ", "clockwise", "counterclockwise", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply the device referred to. Or elements must have a specific orientation, be constructed and operate in a specific orientation and therefore are not to be construed as limitations on the invention.
术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征,也即包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。当某个特征“包括或者包含”某个或某些其涵盖的特征时,除非另外特别地描述,这指示不排除其它特征和可以进一步包括其它特征。The terms “first” and “second” are used for descriptive purposes only and shall not be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include at least one of the features, that is, include one or more of the features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited. When a feature "includes or includes" one or some of the features it encompasses, unless specifically described otherwise, this indicates that other features are not excluded and may further be included.
除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”“耦合”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。本领域的普通技术人员,应该可以根据具体情况理解上述术语在本发明中的具体含义。Unless otherwise expressly stated and limited, the terms "installed", "connected", "connected", "fixed" and "coupled" should be understood in a broad sense. For example, it can be a fixed connection or a detachable connection, or Integrated; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be an internal connection between two elements or an interactive relationship between two elements, unless otherwise clearly limited . Those of ordinary skill in the art should be able to understand the specific meanings of the above terms in the present invention according to specific circumstances.
此外,在本实施例的描述中,第一特征在第二特征“之上”或“之下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。也即在本实施例的描述中,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”、或“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。In addition, in the description of this embodiment, the first feature "above" or "below" the second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but is through additional characteristic contact between them. That is to say, in the description of this embodiment, the terms "above", "above" and "above" the second feature include the first feature being directly above and diagonally above the second feature, or simply indicating the level of the first feature. Higher than the second feature. The first feature being "below", "below", or "under" the second feature may mean that the first feature is directly below or diagonally below the second feature, or it may simply mean that the first feature is less horizontally than the second feature.
除非另有限定,本本实施例的描述中所使用的全部术语(包含技术术语与科学术语)具有与本申请所属的技术领域的普通技术人员所通常理解的相同含义。Unless otherwise defined, all terms (including technical terms and scientific terms) used in the description of this embodiment have the same meanings as commonly understood by a person of ordinary skill in the technical field to which this application belongs.
在本实施例的描述中,参考术语“一个实施例”、“一些实施例”、“示意性实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this embodiment, reference to the description of the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" or the like is meant to be combined with the description. An embodiment or example describes a specific feature, structure, material, or characteristic that is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
至此,本领域技术人员应认识到,虽然本文已详尽示出和描述了本发明的多个示例性实施例,但是,在不脱离本发明精神和范围的情况下,仍可根据本发明公开的内容直接确定或推导出符合本发明原理的许多其他变型或修改。因此,本发明的范围应上理解和认定为覆盖了所有这些其他变型或修改。By now, those skilled in the art will appreciate that, although a number of exemplary embodiments of the present invention have been shown and described in detail herein, the disclosed embodiments may still be practiced in accordance with the present invention without departing from the spirit and scope of the present invention. The content directly identifies or leads to many other variations or modifications consistent with the principles of the invention. Accordingly, the scope of the present invention is to be understood and deemed to cover all such other variations or modifications.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111467526.7A CN114260577B (en) | 2021-12-03 | 2021-12-03 | Refrigerator laser coding system and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111467526.7A CN114260577B (en) | 2021-12-03 | 2021-12-03 | Refrigerator laser coding system and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114260577A CN114260577A (en) | 2022-04-01 |
CN114260577B true CN114260577B (en) | 2024-01-05 |
Family
ID=80826151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111467526.7A Active CN114260577B (en) | 2021-12-03 | 2021-12-03 | Refrigerator laser coding system and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114260577B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116174912A (en) * | 2022-12-20 | 2023-05-30 | 安徽杰蓝特新材料有限公司 | Laser coding system for gas pipeline |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006073303A1 (en) * | 2005-01-07 | 2006-07-13 | World Wide Automation Projects B. V. | Robot positioning system and method of using the same |
EP2244865A1 (en) * | 2007-08-28 | 2010-11-03 | Goldwing Nominees Pty Ltd. | System and method for precise real-time control of position and orientation of tooling |
CN103770477A (en) * | 2014-01-17 | 2014-05-07 | 北京京东方显示技术有限公司 | Code printer and code printing method |
CN203681012U (en) * | 2014-01-06 | 2014-07-02 | 河南莲花医疗用品有限公司 | Carton marking machine |
WO2015083356A1 (en) * | 2013-12-04 | 2015-06-11 | 旭化成エレクトロニクス株式会社 | Camera module adjustment method, lens position control device, control device and control method for linear motion device |
CN105270694A (en) * | 2015-11-18 | 2016-01-27 | 江苏省烟草公司无锡市公司 | Side face marking device for encased cigarette packages |
CN105345267A (en) * | 2015-12-11 | 2016-02-24 | 广州市比美高激光科技有限公司 | Astatic laser coding machine and coding method |
CN107672325A (en) * | 2017-10-20 | 2018-02-09 | 田喜桂 | It is automatically positioned the Laser Jet method of product |
CN108190434A (en) * | 2017-12-11 | 2018-06-22 | 囯网河北省电力有限公司电力科学研究院 | Electric energy meter position detecting device and method in turnover box |
CN109143629A (en) * | 2018-09-28 | 2019-01-04 | 张家港康得新光电材料有限公司 | The detection method of alignment film position precision in a kind of display panel mother matrix |
CN109945847A (en) * | 2019-03-20 | 2019-06-28 | 武汉建工集团股份有限公司 | A kind of metope monitoring method and system based on frame for line marking instrument |
CN110052420A (en) * | 2019-04-28 | 2019-07-26 | 广州美普森包装有限公司 | Laser Jet detects integrated machine for sorting and Laser Jet detects method for separating |
CN110102900A (en) * | 2019-04-03 | 2019-08-09 | 大族激光科技产业集团股份有限公司 | Ultraviolet laser removes gluing method and system |
CN209534496U (en) * | 2019-01-16 | 2019-10-25 | 蓝思智能机器人(长沙)有限公司 | A kind of Laser Jet aligning machine |
CN110711945A (en) * | 2019-10-12 | 2020-01-21 | 珠海格力智能装备有限公司 | Laser coding method and device and laser marking machine |
CN111003496A (en) * | 2019-12-23 | 2020-04-14 | 浙江欧视电科技有限公司 | Online PCB Laser Coder |
CN213353974U (en) * | 2020-08-12 | 2021-06-04 | 广州精陶机电设备有限公司 | System for printing on inclined printing medium by using printing head |
CN113001032A (en) * | 2021-04-30 | 2021-06-22 | 深圳市合力士机电设备有限公司 | Motor laser coding machine and coding method thereof |
CN213999854U (en) * | 2020-08-12 | 2021-08-20 | 广州精陶机电设备有限公司 | Ceramic tile production system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006136923A (en) * | 2004-11-12 | 2006-06-01 | Hitachi Via Mechanics Ltd | Laser beam machine and laser beam machining method |
US10618131B2 (en) * | 2014-06-05 | 2020-04-14 | Nlight, Inc. | Laser patterning skew correction |
-
2021
- 2021-12-03 CN CN202111467526.7A patent/CN114260577B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006073303A1 (en) * | 2005-01-07 | 2006-07-13 | World Wide Automation Projects B. V. | Robot positioning system and method of using the same |
EP2244865A1 (en) * | 2007-08-28 | 2010-11-03 | Goldwing Nominees Pty Ltd. | System and method for precise real-time control of position and orientation of tooling |
WO2015083356A1 (en) * | 2013-12-04 | 2015-06-11 | 旭化成エレクトロニクス株式会社 | Camera module adjustment method, lens position control device, control device and control method for linear motion device |
CN203681012U (en) * | 2014-01-06 | 2014-07-02 | 河南莲花医疗用品有限公司 | Carton marking machine |
CN103770477A (en) * | 2014-01-17 | 2014-05-07 | 北京京东方显示技术有限公司 | Code printer and code printing method |
CN105270694A (en) * | 2015-11-18 | 2016-01-27 | 江苏省烟草公司无锡市公司 | Side face marking device for encased cigarette packages |
CN105345267A (en) * | 2015-12-11 | 2016-02-24 | 广州市比美高激光科技有限公司 | Astatic laser coding machine and coding method |
CN107672325A (en) * | 2017-10-20 | 2018-02-09 | 田喜桂 | It is automatically positioned the Laser Jet method of product |
CN108190434A (en) * | 2017-12-11 | 2018-06-22 | 囯网河北省电力有限公司电力科学研究院 | Electric energy meter position detecting device and method in turnover box |
CN109143629A (en) * | 2018-09-28 | 2019-01-04 | 张家港康得新光电材料有限公司 | The detection method of alignment film position precision in a kind of display panel mother matrix |
CN209534496U (en) * | 2019-01-16 | 2019-10-25 | 蓝思智能机器人(长沙)有限公司 | A kind of Laser Jet aligning machine |
CN109945847A (en) * | 2019-03-20 | 2019-06-28 | 武汉建工集团股份有限公司 | A kind of metope monitoring method and system based on frame for line marking instrument |
CN110102900A (en) * | 2019-04-03 | 2019-08-09 | 大族激光科技产业集团股份有限公司 | Ultraviolet laser removes gluing method and system |
CN110052420A (en) * | 2019-04-28 | 2019-07-26 | 广州美普森包装有限公司 | Laser Jet detects integrated machine for sorting and Laser Jet detects method for separating |
CN110711945A (en) * | 2019-10-12 | 2020-01-21 | 珠海格力智能装备有限公司 | Laser coding method and device and laser marking machine |
CN111003496A (en) * | 2019-12-23 | 2020-04-14 | 浙江欧视电科技有限公司 | Online PCB Laser Coder |
CN213353974U (en) * | 2020-08-12 | 2021-06-04 | 广州精陶机电设备有限公司 | System for printing on inclined printing medium by using printing head |
CN213999854U (en) * | 2020-08-12 | 2021-08-20 | 广州精陶机电设备有限公司 | Ceramic tile production system |
CN113001032A (en) * | 2021-04-30 | 2021-06-22 | 深圳市合力士机电设备有限公司 | Motor laser coding machine and coding method thereof |
Non-Patent Citations (1)
Title |
---|
DataMan 100读码器:高效解决汽车工件粗糙表面的读码难题;陈洪生;;今日制造与升级(04);51 * |
Also Published As
Publication number | Publication date |
---|---|
CN114260577A (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10157458B2 (en) | Laser projection system and method | |
US20090066968A1 (en) | Method and apparatus for performing three-dimensional measurement | |
US8786700B2 (en) | Position and orientation measurement apparatus, position and orientation measurement method, and storage medium | |
JP6446329B2 (en) | Camera calibration apparatus, camera system, and camera calibration method | |
US20130155417A1 (en) | Three-dimensional measurement apparatus, method for three-dimensional measurement, and computer program | |
EP2774079B1 (en) | Image acquisition method | |
CN114260577B (en) | Refrigerator laser coding system and control method thereof | |
CN110838097A (en) | Conveyor belt offset measurement method based on machine vision | |
CN103324356B (en) | Optical touch system and optical touch position detection method | |
CN107907055B (en) | Pattern projection module, three-dimensional information acquisition system, processing device and measuring method | |
JP2000067247A (en) | Image recognizing device | |
JP2019091301A (en) | Reading display system, reading display method and reading value measuring device | |
JP2002288633A (en) | Image processing device and its positional correction method | |
JPH0563050A (en) | Method and device for measurement of state of ic lead frame | |
JP2000337853A (en) | Detecting device for record position of information code, and optical information reading device | |
JP4631384B2 (en) | Printing state inspection method, character inspection method, and inspection apparatus using these methods | |
EP4449367A1 (en) | Robust remote instrument reading | |
US20210090287A1 (en) | Article recognition apparatus | |
JP2002286425A (en) | Displacement sensor | |
JP3618599B2 (en) | Concavity and convexity detection apparatus and method | |
JPH05108800A (en) | Image defect discrimination processing device | |
JP2002286426A (en) | Dimension measurement method and apparatus by image processing | |
CN116412779B (en) | Processing method and device for Hall sensor package | |
JP7053070B1 (en) | Dimension measurement device, dimensional measurement method and dimensional measurement program | |
JP2012118684A (en) | Intruder monitoring device, identification method of foreign object solid image, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230714 Address after: No.1 Gangcheng South Road, Jiangbei District, Chongqing, 400026 Applicant after: CHONGQING HAIER REFRIGERATION ELECTRIC Co.,Ltd. Applicant after: QINGDAO HAIER REFRIGERATOR Co.,Ltd. Applicant after: Haier Smart Home Co., Ltd. Address before: 266101 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Applicant before: QINGDAO HAIER REFRIGERATOR Co.,Ltd. Applicant before: Haier Smart Home Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |