Terminal device, program, method and system
Patent Information
- Application Number
- JP2024229596
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2040-03-19
AI Technical Summary
【0032】 以上説明したように、本開示によれば、ユーザは視覚によって定置式コードリーダが設置された現場の状況を仮想的に把握できる。
Smart Images

Figure 2025036593000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a terminal device, a program, a method and a system. [Background technology]
[0002] Generally, a code reader is configured to use a camera to capture an image of a code such as a barcode or two-dimensional code attached to a workpiece, extract and binarize the code contained in the resulting image using image processing, and then decode the code to read the information (see, for example, Patent Documents 1 and 2).
[0003] The optical reading device of Patent Document 1 is configured to determine an upper limit of the exposure time for reading the code based on the movement speed of the workpiece and the size of the cells that make up the code, and to automatically set the exposure time within the above-mentioned upper limit by acquiring and analyzing multiple images containing the code.
[0004] The optical reading device of Patent Document 2 has a first core that causes an imaging unit to perform imaging processing and transfers the acquired image data to a shared memory, and a second core that reads image data from the shared memory and performs decoding processing based on a decoding processing request from the first core. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2018-136860 A [Patent Document 2] JP 2012-64178 A Summary of the Invention [Problem to be solved by the invention]
[0006] The device in Patent Document 1 can input the line transport speed and the cell size of the code to be read and can suggest not only the upper limit of the exposure time but also the distance from the imaging unit to the code, i.e., the installation conditions. However, this device is based on the premise that the workpiece will be photographed from a certain side, and the only installation condition that can be suggested to the user is the recommended distance from the imaging unit to the code, so the suggestions may be insufficient.
[0007] The present invention has been made in consideration of the above points, and an object of the present invention is to enable a user to visually grasp virtually the situation of a site where a fixed code reader is installed. [Means for solving the problem]
[0008] In order to achieve the above object, the present disclosure can be premised on an installation assistance device for a fixed code reader that assists in the installation of a fixed code reader that reads a code attached to a workpiece being transported on a line. The installation assistance device includes an acquisition means for acquiring camera information including camera parameters of the code reader, code information of a target to be read, and environmental information indicating a reading environment, and a calculation means for determining a required field of view and depth of the code reader required to read a code under an environment specified by the environmental information based on the environmental information acquired by the acquisition means, and for determining an installation pattern that is a recommended installation position of the code reader that can satisfy the required field of view and depth based on the camera information and the code information.
[0009] The present disclosure also includes a method for supporting installation of a fixed code reader, the method including an acquisition step for realizing the acquisition means, and a calculation step for realizing the calculation means.
[0010] The present disclosure also includes a computer program that causes the installation support device to execute an acquisition step that realizes the acquisition means and a calculation step that realizes the calculation means.
[0011] According to this configuration, the calculation means can determine not only the recommended installation position of the code reader but also the posture of the code reader at the recommended installation position. This allows the user to check both the position and posture before installing the code reader. Furthermore, when installing the code reader in the determined recommended installation position, the user only needs to install the code reader so that it has the determined posture, making the installation work easier.
[0012] In the second disclosure, since an output means is provided that outputs the installation pattern determined by the calculation means, it is possible to present the recommended installation position and orientation of the code reader to the user.
[0013] In the third disclosure, the acquisition means acquires an assumed installation position and posture of the code reader, and the calculation means determines whether the field of view and depth at the assumed installation position and posture acquired by the acquisition means satisfy the required field of view and depth.
[0014] According to this configuration, before the recommended installation position and posture of the code reader are determined, the acquisition means can acquire a hypothetical installation position and posture of the code reader. The calculation means can determine whether or not the field of view and depth at the acquired hypothetical installation position and posture satisfy the required field of view and depth, and if so, can set the hypothetical installation position and posture as the recommended installation position and posture. If not, the hypothetical installation position and posture may not be set as the recommended installation position and posture, and a message indicating that they are not satisfied may be displayed to the user.
[0015] In the fourth disclosure, when the field of view and depth at the assumed installation position and posture acquired by the acquisition means do not satisfy the required field of view and depth, the calculation means executes a change process to change at least one of the assumed installation position and posture, makes the judgment at the assumed installation position and posture after the change process, and repeats the change process and the judgment to determine the installation pattern.
[0016] According to this configuration, if the field of view and depth at the acquired assumed installation position and posture do not satisfy the required field of view and depth, the calculation means executes a change process to change at least one of the assumed installation position and posture. A judgment is made again with the assumed installation position and posture after the change process, and if the required field of view and depth are satisfied, the assumed installation position and posture after the change process can be set as the recommended installation position and posture. If the required field of view and depth are not satisfied even after the second judgment, the change process is executed again, and a judgment can be made with the assumed installation position and posture after the change process. By repeating this process, the recommended installation position and posture of the code reader can be determined.
[0017] In the fifth disclosure, a memory unit is provided that stores a plurality of types of templates indicating assumed installation positions and posture types of the code reader, and the acquisition means is configured to be able to acquire any template from the plurality of types of templates stored in the memory unit.
[0018] According to this configuration, a plurality of types of templates, each of which differs in at least one of the assumed installation position and posture, can be created in advance and stored in the storage unit. Since any template can be acquired from the plurality of types of templates stored in the storage unit, the assumed installation position and posture can be acquired easily.
[0019] In a sixth disclosure, the template includes information about an attachment angle of the code reader with respect to a reference surface, and the output means outputs the information about the attachment angle of the code reader.
[0020] According to this configuration, the installation angle of the code reader relative to a reference plane that serves as a reference when installing the code reader can be indicated, making the installation work even easier. The reference plane may be, for example, a horizontal plane, a vertical plane, a plane extending in the conveying direction, a plane perpendicular to the conveying direction, a plane on a line, etc.
[0021] In a seventh disclosure, the template includes surface information to be read of the work, and the output means outputs the surface information.
[0022] According to this configuration, for example, if a code is attached to the side of a workpiece, it is possible to recommend a position and orientation of the code reader that can read the side of the workpiece, and if a code is attached to the top surface of the workpiece, it is possible to recommend a position and orientation of the code reader that can read the top surface of the workpiece. By outputting the position and orientation of the code reader as well as surface information of the workpiece, it is possible to make suggestions that are easy for the user to understand.
[0023] In an eighth disclosure, the output means outputs model information that differs depending on the model of the code reader.
[0024] That is, although the field of view and depth differ depending on the model of the code reader, by outputting the model information of the code reader, it is possible to present the user with a model of a code reader that satisfies their requirements.
[0025] In the ninth disclosure, the acquisition means accepts input from a user of information relating to the width of the line and information relating to the height of the workpiece as the environmental information, and the calculation means calculates and determines the required field of view and depth of the code reader based on the conveying speed of the line, the information relating to the width of the line, and the information relating to the height of the workpiece.
[0026] The required field of view and depth of the code reader are calculated using information on the line width and workpiece height as well, making it possible to propose installation patterns based on environmental conditions close to those at the actual site of use.
[0027] In a tenth disclosure, the calculation means determines a plurality of the installation patterns, and the output means outputs the plurality of the installation patterns.
[0028] According to this, it is possible to present a plurality of installation patterns to the user. When presenting a plurality of installation patterns to the user, the most suitable installation pattern and other installation patterns may be presented. In addition, for example, it is also possible to present the cheapest installation pattern or the installation pattern with the fewest number of code readers.
[0029] In the eleventh disclosure, since a display unit that displays a diagram showing the installation pattern is provided, a diagram showing a recommended installation pattern can be displayed on the display unit to present it to the user, which makes it easier for the user to intuitively grasp the installation pattern.
[0030] In the twelfth disclosure, the output means outputs a parts list indicating part information and the number of parts required to realize the installation pattern, so that the user can grasp the parts and the number of parts required to realize the presented installation pattern.
[0031] In the thirteenth disclosure, the installation pattern can be output as a CAD file. The CAD file may be a two-dimensional CAD file or a three-dimensional CAD file showing the installation pattern. Since it can be provided to the user as a CAD file, the user can directly incorporate it into a design drawing and use it, which is highly convenient. Effect of the Invention
[0032] As described above, according to the present disclosure, a user can visually virtually grasp the situation of the site where a fixed code reader is installed. [Brief description of the drawings]
[0033] [Figure 1] FIG. 1 is a diagram illustrating a stationary code reader according to an embodiment of the present invention during operation. [Diagram 2] FIG. 2 is a block diagram of the installation support device for the fixed code reader. [Diagram 3] FIG. 3 is a block diagram of a stationary code reader. [Figure 4] FIG. 4 is a front view of the stationary code reader. [Diagram 5] FIG. 5 is a view of the stationary code reader as seen from the operation button side. [Figure 6] FIG. 6 is a view of the fixed code reader as seen from the terminal side. [Figure 7] FIG. 7 is a flowchart showing an example of the installation support process. [Figure 8] FIG. 8 is a diagram showing an example of a user interface screen for inputting conveyor information. [Figure 9] FIG. 9 is a diagram showing an example of a user interface screen for installing a clearance. [Figure 10] FIG. 10 is a diagram showing an example of a user interface screen for inputting work information. [Figure 11] FIG. 11 is a diagram showing an example of a user interface screen for setting the code pasting position. [Figure 12] FIG. 12 is a diagram showing an example of a user interface screen for detailed settings. [Figure 13] FIG. 13 is a diagram showing an example of a user interface screen for inputting code information. [Figure 14] FIG. 14 is a diagram showing an example of a user interface screen for inputting a chord position and direction. [Figure 15] FIG. 15 is a diagram showing an example of an installation pattern in the case where one code reader is provided. [Figure 16] FIG. 16 is a diagram showing an example of an installation pattern when a plurality of code readers are used. [Figure 17] FIG. 17 is a diagram showing an example of a code reader mounting pattern. [Figure 18] FIG. 18 is a diagram showing another example of a code reader mounting pattern. [Figure 19] FIG. 19 is a flowchart showing a procedure for calculating the performance of a code reader. [Figure 20]FIG. 20 shows an example of a user interface screen displayed when the installation support device performs installation support, and shows the case where the BANK tab is selected. [Figure 21] FIG. 21 shows an example of a user interface screen displayed when the installation support is performed by the installation support device, and is a diagram showing a case where the Read tab is selected. [Figure 22] FIG. 22 is a diagram showing an example of a form of presentation to the user. [Figure 23] FIG. 23 is a diagram showing an example of a list of devices in use. [Figure 24] FIG. 24 is a diagram showing an example of a display of a workpiece and a readable range from a top surface viewpoint. [Diagram 25] FIG. 25 is a diagram showing an example of a display of a workpiece and a readable range from a side perspective. [Figure 26] FIG. 26 is a diagram showing an example of detailed display of a mounting fixture. [Figure 27] FIG. 27 shows the structure of a report. [Figure 28] FIG. 28 is a diagram showing an example of a page on which a connection diagram is written in a report. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0034] Hereinafter, the embodiments of the present invention will be described in detail with reference to the drawings. Note that the following description of the preferred embodiments is merely illustrative in nature and is not intended to limit the present invention, its applications, or its uses.
[0035] FIG. 1 is a diagram showing a schematic diagram of a fixed code reader 1 according to an embodiment of the present invention during operation, and also shows a computer 100 and a display unit 42 that constitute part of an installation support device A for this fixed code reader 1.
[0036] 1, a plurality of workpieces W are placed on the upper surface of the transport belt conveyor B and are transported in the direction of arrow Y in Fig. 1, and the code reader 1 according to the embodiment is installed at a position above and away from the workpieces W. The workpieces W may flow not only in the center in the width direction of the upper surface of the transport belt conveyor B, but also on one side and the other side while being offset in the width direction, and the workpieces W do not always pass through a fixed position.
[0037] The code reader 1 can be used, for example, in a logistics distribution center. On a conveyor belt B for transport installed in the logistics distribution center, transported objects (workpieces W) of various sizes and shapes are transported at high speed. The distance between the workpieces W in the transport direction is also set narrow. Furthermore, the workpiece W may have multiple codes (not shown) attached thereto, or may have only one code attached thereto. The code may be a one-dimensional code or a two-dimensional code.
[0038] As shown in FIG. 1, the code reader 1 is a device that optically reads a code attached to a workpiece W, and is specifically configured to capture an image of the code attached to the workpiece W to generate a read image, decode the code contained in the generated read image, and output the decoded result.
[0039] The code reader 1 is fixed to a bracket or the like (not shown) so as to not move during operation, but may also be held and moved by a robot (not shown) or a user during operation. The code reader 1 may also be used to read the code of a workpiece W that is in a stationary state. During operation is when the code of the workpiece W that is transported sequentially by the transport belt conveyor B is being read. The code reader 1 of this embodiment is suitable for situations in which it is desired to read a code attached to a workpiece W whose position changes, but is not limited to this and can also be used when reading a code attached to a workpiece W whose position does not change.
[0040] 1, the code reader 1 is connected by signal line 101a to a computer 100 and a programmable logic controller (PLC) 101, which constitute an external control device and a part of the installation support device, respectively, but this is not limiting, and the code reader 1, the computer 100, and the PLC 101 may each have a built-in communication module, and the code reader 1 may be connected wirelessly to the computer 100 and the PLC 101. The PLC 101 is a control device for sequentially controlling the transport belt conveyor B and the code reader 1, and a general-purpose PLC can be used.
[0041] The computer 100 may be a general-purpose or dedicated electronic calculator, a portable terminal, or the like. In this example, a so-called personal computer is used, and as shown in Fig. 2, it is equipped with a control unit 40, a storage device 41, and a communication unit 44. By making the code reader 1 smaller, it becomes difficult to make all the settings of the code reader 1 using only the display unit 7 and buttons 8, 9, etc. (shown in Fig. 3) of the code reader 1. Therefore, it is also possible to prepare a computer 100 in addition to the code reader 1, make various settings of the code reader 1 on the computer 100, and transfer the setting information to the code reader 1.
[0042] Furthermore, since the computer 100 includes the communication unit 44, the computer 100 and the code reader 1 may be connected to enable two-way communication so that part of the processing of the code reader 1 described above is performed by the computer 100. In this case, part of the computer 100 becomes part of the components of the code reader 1.
[0043] Moreover, during operation, the code reader 1 receives a read start trigger signal that specifies the start timing of reading the code from the PLC 101 via the signal line 101a. Then, the code reader 1 performs imaging and decoding of the workpiece W based on this read start trigger signal. Thereafter, the decoded result obtained by the decoding process is transmitted to the PLC 101 via the signal line 101a. Thus, during operation of the code reader 1, the input of the read start trigger signal and the output of the decoded result are repeatedly performed between the code reader 1 and an external control device such as the PLC 101 via the signal line 101a. Note that the input of the read start trigger signal and the output of the decoded result may be performed via the signal line 101a between the code reader 1 and the PLC 101 as described above, or may be performed via other signal lines not shown. For example, a sensor for detecting that the workpiece W has arrived at a predetermined position may be directly connected to the code reader 1, and the read start trigger signal may be input from the sensor to the code reader 1. In addition, the decoded results, images, and various setting information can also be output to a device other than the PLC 101, such as the computer 100.
[0044] [Overall configuration of Code Reader 1] As shown in Figs. 4 to 6, the code reader 1 includes a housing 2 and a front cover 3. As shown in Fig. 5, an illumination unit 4, an imaging unit 5, and an aimer 6 are provided on the front side of the housing 2. The configurations of the illumination unit 4 and the imaging unit 5 will be described later. The aimer 6 is composed of a light-emitting body such as a light-emitting diode (Light Emitting Diode). The aimer 6 is intended to indicate the imaging range of the imaging unit 5 and the guide of the optical axis of the illumination unit 4 by irradiating light forward of the code reader 1. A user can also install the code reader 1 by referring to the light irradiated from the aimer 6.
[0045] As shown in FIG. 5, one end surface of the housing 2 is provided with a display unit 7, a select button 8, an enter button 9, and an indicator 10. The configuration of the display unit 7 will be described later. The select button 8 and the enter button 9 are buttons used for setting the code reader 1, and are connected to a control unit 20. The control unit 20 is capable of detecting the operation states of the select button 8 and the enter button 9. The select button 8 is a button operated to select one of a plurality of options displayed on the display unit 7. The enter button 9 is a button operated to confirm the result selected by the select button 8. The indicator 10 is connected to the control unit 20, and can be composed of a light-emitting body such as a light-emitting diode. The operating state of the code reader 1 can be notified to the outside by the lighting state of the indicator 10.
[0046] 6, the other end surface of the housing 2 is provided with a power connector 11, a network connector 12, a serial connector 13, and a USB connector 14. A heat sink 15, which serves as a rear case, is provided on the rear surface of the housing 2. A power wiring for supplying power to the code reader 1 is connected to the power connector 11. The serial connector 13 is signal lines 100a, 101a connected to the computer 100 and the PLC 101, and the network connector 12 is an Ethernet connector. Note that the Ethernet standard is just an example, and signal lines of standards other than the Ethernet standard can also be used.
[0047] 3, a control unit 20, a storage device 50, an output unit 60, and the like are provided inside the housing 2. These will be described later.
[0048] In the description of this embodiment, the front and back of the code reader 1 are defined as above, but this is only for the convenience of description and does not limit the orientation during use of the code reader 1. In other words, as shown in Fig. 1, the code reader 1 can be installed and used with its front surface facing substantially downward, or with its front surface facing upward, or with its front surface facing downward and inclined, or with its front surface aligned along a vertical plane, etc.
[0049] [Lighting section 4 configuration] As shown by the dashed line in Fig. 1, the lighting unit 4 is a member for irradiating light toward an area through which the workpiece W transported by the transport belt conveyor B passes. The light emitted from the lighting unit 4 illuminates at least a predetermined range in the transport direction by the transport belt conveyor B. This predetermined range is wider than the dimension in the same direction of the largest workpiece W expected to be transported during operation. The lighting unit 4 illuminates a first code CD1 and a second code CD2 attached to the workpiece W transported by the transport belt conveyor B.
[0050] The illumination section 4 includes a light-emitting body 4a formed of, for example, a light-emitting diode, and the number of light-emitting bodies 4a may be one or more. In this example, multiple light-emitting bodies 4a are included, and the imaging section 5 faces the outside from between the light-emitting bodies 4a. Light from the aimer 6 is irradiated from between the light-emitting bodies 4a. The illumination section 4 is electrically connected to the imaging control section 22 of the control unit 20 and controlled by the control unit 20, so that it can be turned on and off at any timing.
[0051] In this example, the lighting unit 4 and the imaging unit 5 are mounted and integrated in one housing 2, but the lighting unit 4 and the imaging unit 5 may be configured separately. In this case, the lighting unit 4 and the imaging unit 5 can be connected by wire or wirelessly. In addition, the control unit 20 described later may be built into the lighting unit 4 or into the imaging unit 5. The lighting unit 4 mounted in the housing 2 is called the internal lighting, and the lighting unit 4 separate from the housing 2 is called the external lighting. It is also possible to illuminate the workpiece W using both the internal lighting and the external lighting.
[0052] [Configuration of imaging unit 5] Fig. 3 is a block diagram showing the configuration of the code reader 1. The imaging unit 5 is a member that receives light that is irradiated from the illumination unit 4 and reflected from the area through which the workpiece W passes, and generates a read image of the area through which the workpiece W passes. An area camera with pixels arranged vertically and horizontally (X direction and Y direction) can be used as the imaging unit 5, which makes it possible to read two-dimensional codes and to capture images of one workpiece W multiple times during transport.
[0053] 3, the imaging unit 5 includes an imaging element 5a capable of imaging at least the portion of the workpiece W to which the code is attached, an optical system 5b having lenses and the like, and an autofocus mechanism (AF mechanism) 5c. Light reflected from at least the portion of the workpiece W to which the code is attached is incident on the optical system 5b. The imaging element 5a is an image sensor made of a light receiving element such as a charge-coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) that converts the image including the code obtained through the optical system 5b into an electrical signal.
[0054] The AF mechanism 5c is a mechanism for adjusting the focus by changing the position and refractive index of the focusing lens among the lenses constituting the optical system 5b. The AF mechanism 5c is connected to the control unit 20 and is controlled by the AF control unit 21 of the control unit 20.
[0055] The imaging element 5a is connected to the imaging control section 22 of the control unit 20. The imaging element 5a is controlled by the imaging control section 22 and is configured to be able to image the area through which the workpiece W passes at a preset fixed time interval or to image the area through which the workpiece W passes at any timing by changing the time interval. The imaging section 5 is configured to be able to perform so-called infinite burst imaging, which continues to generate read images continuously. This makes it possible to capture the code of the workpiece W moving at high speed into the read image without missing it, and to generate multiple read images by imaging one workpiece W multiple times during transportation. The imaging control section 22 may be built into the imaging section 5.
[0056] The intensity of light received on the light receiving surface of the imaging element 5a is converted into an electrical signal by the imaging element 5a, and the electrical signal converted by the imaging element 5a is transferred to the processing unit 23 of the control unit 20 as image data constituting the read image.
[0057] [Display unit 7 configuration] The display unit 7 is, for example, an organic EL display or a liquid crystal display. The display unit 7 is connected to the control unit 20 as shown in FIG. 3. The display unit 7 can display, for example, the code captured by the imaging unit 5, the character string resulting from decoding the code, the reading success rate, the matching level (reading margin), and the like. The reading success rate is the average reading success rate when a reading process is executed multiple times. The matching level is the reading margin indicating the ease of reading a successfully decoded code. This can be found from the number of error corrections that occurred during decoding, and can be expressed, for example, as a numerical value. The fewer the error corrections, the higher the matching level (reading margin), and conversely, the more the error corrections, the lower the matching level (reading margin).
[0058] [Configuration of storage device 50] The storage device 50 is composed of various memories, a hard disk, an SSD, and the like. The storage device 35 is provided with a decoded result storage unit 51, an image data storage unit 52, and a parameter set storage unit 53. The decoded result storage unit 51 is a unit that stores a decoded result that is a result of the decoding process executed by the processing unit 23. The image data storage unit 52 is a unit that stores an image captured by the imaging unit 5. The parameter set storage unit 53 is a unit that stores setting information set by the computer 100, setting information set by the select button 8 and the enter button 9, setting information (reading parameters) obtained as a result of the tuning execution unit 24 executing tuning, and the like. The parameter set storage unit 53 can store a plurality of parameter sets including a plurality of parameters that constitute the imaging conditions of the imaging unit 5 (gain, light amount of the illumination unit 4, exposure time, etc.) and the image processing conditions in the processing unit 23 (type of image processing filter, etc.).
[0059] [Configuration of output section 60] The code reader 1 has an output unit 60. The output unit 60 is a part that outputs a decoded result obtained by a processing unit 23 described later. Specifically, when the decoding process is completed, the processing unit 23 transmits the decoded result to the output unit 60. The output unit 60 can be configured with a communication unit that transmits data related to the decoded result received from the processing unit 23 to, for example, the computer 100 and the PLC 101. The output unit 60 may have an I / O unit connected to the computer 100 and the PLC 101, a serial communication unit such as RS232C, or a network communication unit such as a wireless LAN or a wired LAN.
[0060] [Configuration of control unit 20] 3 is a unit for controlling each part of the code reader 1, and can be configured with a CPU, MPU, system LSI, DSP, dedicated hardware, etc. The control unit 20 is equipped with various functions as described later, which may be realized by a logic circuit or by executing software.
[0061] The control unit 20 has an AF control unit 21, an imaging control unit 22, a processing unit 23, a tuning execution unit 24, and a UI management unit 25. The AF control unit 21 is a unit that performs focusing of the optical system 5b by conventionally known contrast AF or phase difference AF. The AF control unit 21 may be included in the imaging unit 5.
[0062] [Configuration of imaging control unit 22] The imaging control section 22 is a section that controls the imaging section 5 as well as the illumination section 4. That is, the imaging control section 22 is composed of units that adjust the gain of the imaging element 5a, control the amount of light of the illumination section 4, and control the exposure time (shutter speed) of the imaging element 5a. The gain, the amount of light of the illumination section 4, the exposure time, etc. are included in the imaging conditions of the imaging section 5.
[0063] [Configuration of processing unit 23] The processing unit 23 is a part that extracts a candidate area for a code in the read image generated by the imaging unit 5, executes a decoding process for the determined area, and generates a decoding result. Methods for extracting a candidate area for a code and methods for decoding process are well known in the art, so a description thereof will be omitted.
[0064] [Configuration of the fixed code reader installation support device A] 1 is a device for supporting the installation of the code reader 1 before the code reader 1 is actually installed at a site. The installation support device A can be used by people who will use the code reader 1 (including those who plan to use the code reader 1), people who propose the installation of the code reader 1, people who sell the code reader 1, etc. (these are collectively referred to as users).
[0065] In addition to the computer 100, the installation support device A is equipped with a display unit 42, an input unit 43, and a printer 45, although the printer 45 may be omitted. The display unit 42 is configured, for example, with a liquid crystal display or the like. The input unit 43 is configured with a keyboard 43a, a mouse 43b, a touch sensor (not shown), and the like. Although details will be described later, the input unit 43 can input code information to be read and environmental information indicating the reading environment. One example of the environmental information indicating the reading environment is the conveying speed of the line, but is not limited to the conveying speed of the line, and the environmental information may include, for example, the distance of the work W moved per unit time and the size of the work W.
[0066] As shown in FIG. 2, the computer 100 includes a control unit 40, a storage device 41, and a communication unit 44. The control unit 40 is a unit for controlling each part of the installation support device A, and can be configured with a CPU, an MPU, a system LSI, a DSP, dedicated hardware, etc. The control unit 40 has various functions as described later, which may be realized by a logic circuit or by executing software. The storage device 41 is configured with various memories, a hard disk, an SSD (Solid State Drive), etc. The communication unit 44 is a part that communicates with the code reader 1. The communication unit 44 may have an I / O unit connected to the code reader 1, a serial communication unit such as RS232C, or a network communication unit such as a wireless LAN or a wired LAN.
[0067] The control unit 40 is a part that controls each part of the computer 100 based on a program stored in the storage device 41, and has an information acquisition unit 40a, a UI management unit 40b, a calculation unit (an example of a calculation means) 40c, and an output unit (an example of an output means) 40d. Each part will be described in detail later, but the outline is as follows. The information acquisition unit 40a is an acquisition means that acquires various information input by the input unit 43 and various information pre-stored in the storage device 41, and is a part that can acquire at least camera information including camera parameters of the code reader 1, code information of the read target, and environmental information including the line transport speed. The acquisition step is executed by this information acquisition unit 40a.
[0068] The UI management unit 40b is a part that generates various user interface screens and accepts user input operations through the input unit 43. The calculation unit 40c is a part that determines the required field of view and depth of the code reader 1 required to read a code under an environment specified by the environmental information acquired by the information acquisition unit 40a, based on the environmental information acquired by the information acquisition unit 40a. Furthermore, the calculation unit 40c can determine an installation pattern that is a recommended installation position and posture of the code reader 1 that can satisfy the determined required field of view and depth, based on the camera information and code information acquired by the information acquisition unit 40a. The calculation step can be executed by the calculation unit 40c. The output unit 40d is a part that outputs the installation pattern determined by the calculation unit 40c to the display unit 42 via a user interface screen, or to the printer 45 in a report format.
[0069] Hereinafter, the flow of processing of the installation support device A will be described according to the flowchart shown in FIG. 7. In step SA1, the information acquisition unit 40a acquires camera parameters. The camera parameters are information of the imaging unit 5 of the code reader 1, that is, information included in the camera information. The information acquisition unit 40a may directly read the camera parameters from the code reader 1, or may store the camera parameters in advance in the storage device 41 and read and acquire the camera parameters from the storage device 41. The information acquisition unit 40a may also acquire the camera parameters input by the input unit 43. The camera parameters include the number of pixels of the imaging element 5a, the angle of view and aperture of the optical system 5b, and may also include information specific to the imaging unit 5 other than these. The camera parameters are fixed values determined for each imaging unit 5, and therefore cannot be changed by the user.
[0070] The code reader 1 is available in a number of models with different imaging units 5 and lighting units 4, and each model can be used. Since the camera parameters and the like differ depending on the model of the code reader 1, the information acquisition unit 40a acquires the camera parameters of each model. The camera parameters, model type, and the like are model information of the code reader 1.
[0071] In step SA2, the information acquiring unit 40a acquires code information. The code information is information for identifying the type of the code to be read. The code information includes the code type, such as one-dimensional code or two-dimensional code, the NB width (narrow bar width), the maximum code length, and the like. The code information is information input by the user operating the input unit 43. The code information may also be acquired by capturing an image of the code to be read.
[0072] In step SA3, the information acquiring unit 40a acquires work information and conveyor information. The work information and conveyor information are information input by the user operating the input unit 43. The work information includes the minimum and maximum sizes of the work W transported by the transport belt conveyor B, the minimum interval between the work W transported by the transport belt conveyor B, the side of the work W to which the code is attached, the position of the code on the work W, the position of the work W on the transport belt conveyor B, and the like.
[0073] The size of the workpiece W can be specified by the width, depth, and height of the workpiece W. The minimum and maximum sizes of the workpiece W can be used as reference values for the required field of view depth. The position information of the code relative to the workpiece W only needs to be input when the position of the code is limited, and by acquiring this information, the required field of view depth can be relaxed. The minimum interval of the workpiece W is the interval until the next workpiece W arrives, and is a value related to the reading timing and calculation of the required field of view. The position information of the workpiece W on the conveyor belt B for transport is information indicating, for example, whether the workpiece W is located in the center of the width direction on the conveyor or displaced to one side in the width direction, and by acquiring this information, the required field of view depth can be relaxed. In other words, the area through which the code passes can be narrowed down by the workpiece information, and by inputting the workpiece information, it can be used to calculate the required field of view depth.
[0074] The conveyor information also includes the height, width, conveying speed, length, etc. of the conveying surface of the transport belt conveyor B. The height of the conveying surface can be used to calculate the installation distance of the code reader 1. The width of the conveying surface can be used to calculate the required field of view. The conveying speed can be used to calculate the number of times the code reader 1 can read. The length of the conveying surface can be used as a reference value for the vertical field of view. In other words, the conveyor information can be used to calculate the required field of view and the installation distance of the code reader 1.
[0075] In addition, the required visual field in the conveyor movement direction can be calculated using the line transport speed, but it is also possible to calculate the required visual field in the conveyor movement direction using not only the line transport speed but also the distance the work W moves per unit time or the size of the work W. In other words, it is sufficient to have dimensional information related to the direction in which the work W moves as an input value.
[0076] Next, an example of a method for inputting work information and conveyor information will be described. FIG. 8 is a diagram showing an example of a user interface screen 200 for inputting conveyor information displayed in step SA3. The UI management unit 40b generates the user interface screen 200 for inputting conveyor information and displays it on the display unit 42. The user interface screen 200 for inputting conveyor information is provided with a progress status display area 200a, an image display area 200b, a conveyor information input area 200c, and a clearance setting start button 200d. The progress status display area 200a displays three steps, namely, an input step of conveyor information (conveyor conditions), an input step of work information (work conditions), and an input step of code information (code conditions), in the order of input. The image display area 200b shows a work W being transported by a transport belt conveyor B.
[0077] Each time each piece of information contained in the conveyor information and work information is input, the conveyor and work can be redrawn and displayed on each user interface screen, allowing the user to visually grasp the situation on-site virtually.
[0078] In the conveyor information input area 200c, three items can be input: the width of the conveying surface of the conveyor belt B (conveyor width), the height of the conveying surface of the conveyor belt B (conveyor height), and the conveying speed of the conveyor belt B (conveyor speed). Input operations for each item can be performed by the input unit 43. The input values are stored in the conveyor information storage unit 41a provided in the storage device 41.
[0079] When the UI management unit 40b detects that the clearance setting start button 200d has been operated, the UI management unit 40b generates a clearance setting user interface screen 201 shown in FIG. 9 and displays it on the display unit 42. The clearance setting user interface screen 201 is provided with an image display area 201a, a height direction clearance setting area 201b, a width direction clearance setting area 201c, and a depth direction clearance setting area 201d. The image display area 201a shows the clearances set in the clearance setting areas 201b, 201c, and 201d with arrows along with the workpiece W being transported by the transport belt conveyor B. In the height direction clearance setting area 201b, the clearances above and below the conveyor can be set. In the width direction clearance setting area 201c, the clearances on the right and left sides in the traveling direction of the workpiece W can be set. In the depth direction clearance setting area 201d, the clearance in the conveying direction of the conveyor belt conveyor B can be set. Input operations for each item can be performed by the input unit 43. When the "OK" button on the clearance setting user interface screen 201 is operated, the input value is stored in the conveyor information storage unit 41a and the screen returns to the conveyor information input user interface screen 200 shown in Fig. 8. When the "Cancel" button on the clearance setting user interface screen 201 shown in Fig. 9 is operated, the input value is not stored and the screen returns to the conveyor information input user interface screen 200 shown in Fig. 8.
[0080] When the UI management unit 40b detects an operation of the "Next" button on the user interface screen 200 for inputting conveyor information shown in Fig. 8, it generates a user interface screen 202 for inputting work information shown in Fig. 10 and displays it on the display unit 42. The user interface screen 202 for inputting work information is also displayed in step SA3. The user interface screen 202 for inputting work information also has a progress display area 202a and an image display area 202b. Furthermore, the user interface screen 202 for inputting work information has a work information input area 202c for inputting work information, a code pasting position setting start button 202d, and a detailed setting start button 202e.
[0081] In the work information input area 202c, the size of the smallest work W1 and the size of the largest work W2 transported by the transport belt conveyor B, and the minimum interval between the work W transported by the transport belt conveyor B can be input by the input unit 43. When the UI management unit 40b detects an operation of the code pasting position setting start button 202d, it generates a code pasting user interface screen 203 shown in FIG. 11 and displays it on the display unit 42. The code pasting user interface screen 203 is provided with an image display area 203a, a pasting surface designation area 203b, and a pasting position designation area 203c. In the pasting surface designation area 203b, it is possible to designate which surface of the work W the code is attached to by the input unit 43. For example, the user can designate the surface by selecting from a plurality of options such as the top surface, the left and right sides, etc. This surface information is surface information of the work W to be read. In the pasting position designation area 203c, it is possible to designate by dimensions where the code is present on the surface designated in the pasting surface designation area 203b. In the case of a workpiece W for which it is difficult to specify the attachment position, it is not necessary to input the position. In the image display area 203a, the surface specified in the attachment surface specification area 203b and the dimensions input in the attachment position specification area 203c can be illustrated.
[0082] When the "OK" button on the code pasting user interface screen 203 is operated, the input value is stored in the work information storage unit 41b provided in the storage device 41, and the screen returns to the work information input user interface screen 202 shown in Fig. 10. When the "Cancel" button on the code pasting user interface screen 203 shown in Fig. 11 is operated, the input value is not stored, and the screen returns to the work information input user interface screen 202 shown in Fig. 10.
[0083] When the UI management unit 40b detects an operation of the detail setting button 202e shown in FIG. 10, the UI management unit 40b generates a detail setting user interface screen 204 shown in FIG. 12 and displays it on the display unit 42. The detail setting user interface screen 204 is provided with an image display area 204a, a work shape / rotation designation area 204b, a width-pushing designation area 204c, and a film presence / absence designation area 204d. In the work shape / rotation designation area 204b, the input unit 43 can be used to designate whether the work W may rotate and whether the work W is cylindrical. In the width-pushing designation area 204c, the input unit 43 can be used to designate whether the work W is cylindrical. In the film presence / absence designation area 204d, the input unit 43 can be used to designate whether a film is present on the surface of the work W.
[0084] When the "OK" button on the detailed setting user interface screen 204 is operated, the input value is stored in the work information storage unit 41b provided in the storage device 41, and the screen returns to the user interface screen 202 for inputting work information shown in Fig. 10. When the "Cancel" button on the detailed setting user interface screen 204 shown in Fig. 12 is operated, the input value is not stored, and the screen returns to the user interface screen 202 for inputting work information shown in Fig. 10.
[0085] When the UI management unit 40b detects an operation of the "Next" button on the user interface screen 202 for inputting work information shown in FIG. 10, the UI management unit 40b generates a user interface screen 205 for inputting chord information shown in FIG. 13 and displays it on the display unit 42. The user interface screen 205 for inputting chord information is displayed in step SA2 of the flowchart shown in FIG. 7. The user interface screen 205 for inputting chord information also has a progress display area 205a and an image display area 205b. Furthermore, the user interface screen 205 for inputting chord information has a chord position / type display field 205c for displaying the position where the chord is to be pasted and the type of the chord, and a chord information input area 205d. In the chord information input area 205d, the chord type, NB width, maximum chord length, etc. can be input by operating the input unit 43.
[0086] The code information input area 205d is provided with a setting button 205e. When the UI management unit 40b detects an operation of the setting button 205e, the UI management unit 40b generates a code position / orientation input user interface screen 206 shown in FIG. 14 and displays it on the display unit 42. In the code position / orientation input user interface screen 206, the code position can be input from the top surface, side surface, front surface, rear surface, bottom surface, etc. of the workpiece W by operating the input unit 43. When the "OK" button on the code position / orientation input user interface screen 206 is operated, the input value is stored in the code information storage unit 41c provided in the storage device 41, and the screen returns to the code information input user interface screen 205 shown in FIG. 13. When the "Cancel" button on the code position / orientation input user interface screen 206 shown in FIG. 14 is operated, the input value is not stored and the screen returns to the code information input user interface screen 205 shown in FIG. 13. The above is an example of an input operation by the user in steps SA2 and SA3 of the flowchart shown in FIG. 7, but the input order, screen display form, etc. can be changed.
[0087] In steps SA4 and SA5 of the flowchart shown in FIG. 7, the user inputs the first installation pattern and the first attachment pattern by operating the input unit 43. First, the installation pattern will be described. The installation pattern is a pattern that indicates the relative positional relationship of the code reader 1 with respect to the workpiece W. As shown in FIG. 15, there are a plurality of installation patterns when there is one code reader 1, and as shown in FIG. 16, there are a plurality of installation patterns when there are a plurality of code readers 1. The installation patterns shown in FIG. 15 include an installation pattern in which the code reader 1 is installed at a position to read the code on the top surface of the workpiece W, an installation pattern in which the code reader 1 is installed at an angle with respect to the front and rear surfaces and side surfaces (reference surfaces) of the workpiece W, an installation pattern in which the code reader 1 is installed at a position to read the code on the side surface of the workpiece W, and the like. Also, the installation patterns shown in FIG. 16 include an installation pattern in which the code reader 1 is installed so as to read the code from four directions with respect to the workpiece W, an installation pattern in which the code reader 1 is installed on the side and diagonally above the workpiece W, and the like. An installation pattern in which the code reader 1 is installed at an angle to a reference surface (a surface to be imaged and on which the code to be read is attached) includes, as mounting angle information of the code reader 1 with respect to the reference surface, for example, inclination angle information (e.g., 15°, 30°, etc.) of the imaging surface of the code reader 1 with respect to the reference surface.
[0088] The UI management unit 40b can display the diagrams and pattern names of each installation pattern shown in Fig. 15 and Fig. 16 on the display unit 42. The diagrams and pattern names of each installation pattern can be stored in a template storage unit 41c provided in the storage device 41 as templates indicating the installation position and posture of the code reader 1. The user can operate the input unit 43 to select an arbitrary installation pattern on the display unit 42 and input it as the first installation pattern. The installation pattern includes surface information of the workpiece W to be read.
[0089] Next, the mounting pattern will be described. As shown in Fig. 17 and Fig. 18, there are a plurality of mounting patterns in which the position of the code reader 1 relative to the workpiece W is changed, and a plurality of mounting patterns in which the number of code readers 1 is changed. The UI management unit 40b can display the diagrams and pattern names of each mounting pattern shown in Fig. 17 and Fig. 18 on the display unit 42. The diagrams and pattern names of each mounting pattern can be stored as templates in the template storage unit 41c provided in the storage device 41. The user can operate the input unit 43 to select an arbitrary mounting pattern on the display unit 42 and input it as the first mounting pattern. The mounting pattern also includes surface information of the workpiece W to be read.
[0090] The installation pattern and the attachment pattern make it possible to set which surface of the workpiece W (up, down, left, right, front, back, etc.) to read, how much the imaging surface of the code reader 1 is inclined with respect to the conveyor, whether the code reader is vertical or horizontal with respect to the conveyor, etc. The installation pattern and the attachment pattern inputted by the input unit 43 are acquired by the information acquisition unit 41c as the first installation pattern and the first attachment pattern in steps SA4 and SA5 in FIG. 7. Since it has not been determined whether the first installation pattern and the first attachment pattern acquired at this stage are patterns to be recommended or not, they are stored in the storage device 41 as the assumed installation position and posture of the code reader 1. By acquiring the first installation pattern and the first attachment pattern, the range corresponding to the inclination of the code and the installation angle of the code reader 1, etc. can also be acquired.
[0091] For example, there are cases where the periphery of the workpiece W can be covered with four code readers 1, but in this case, one code reader 1 covers a range of approximately 90° around the workpiece W, which increases the inclination angle of the imaging unit 5 with respect to the surface of the workpiece W, and there is a risk that code acquisition may be limited depending on the NB width. In order to eliminate this limitation, it is possible to propose increasing the number of code readers 1 to, for example, six.
[0092] As shown by reference numeral 300 in FIG. 7, the camera parameters, the code information, and the work information can be additionally inputted in addition to the above steps SA1 to SA3. In this case, as shown by reference numeral 301, the user can input a second installation pattern and a second installation pattern different from the first installation pattern and the first attachment pattern. The input second installation pattern and the second attachment pattern are acquired by the information acquisition unit 41c and stored as the assumed installation position and the posture of the code reader 1. In this way, although not shown, the user can input a third installation pattern and a third attachment pattern, a fourth installation pattern and a fourth attachment pattern, ..., and the information acquisition unit 41c also stores these in the storage device 41 as the assumed installation position and the posture of the code reader 1. In other words, a plurality of assumed installation positions and postures can be stored and acquired later.
[0093] In step SA6 of the flowchart shown in Fig. 7, the calculation unit 40c executes a calculation of the performance of the code reader 1. The procedure for calculating the performance of the code reader 1 will be described with reference to the flowchart shown in Fig. 19. In step SB1, a focus condition is assumed. After assuming the focus condition, the depth is calculated, and by repeating the process of checking whether the required depth is satisfied, it is also possible to calculate the width of the focus condition that satisfies the conditions.
[0094] The focus condition is the amount of adjustment of the focusing lens by the AF mechanism 5c. In step SB2, the camera parameters acquired by the information acquisition unit 40a are read. In step SB3, the code found by the search in the read image captured by the imaging unit 5 is read.
[0095] In step SB4, the distance (mm) from the imaging unit 5 to the cord is obtained based on the correspondence between the adjustment amount of the focusing lens by the AF mechanism 5c when focusing by the focusing lens is completed and the distance from the imaging unit 5 to the cord. This becomes the current installation distance. Note that the user may measure the distance from the imaging unit 5 to the cord using a scale or the like, and input the actual measurement value as the installation distance.
[0096] In step SB5, the angle of view (rad) of the optical system 5b that has been stored in advance is read. In step SB6, the number of pixels of the image sensor 5a is read, for example in a format of 1280 pixels vertical by 768 pixels horizontal. The number of pixels of the image sensor 5a is known and may be stored in advance in the storage device 41. In step SB7, information regarding the aperture and focal length of the optical system 5b is read. The current aperture and focal length of the optical system 5b may be output to the calculation unit 40c.
[0097] In step SB8, PPC (pixels / cell) is calculated. In step SB9, the coordinates of the code are read. The coordinates of the code can be obtained, for example, by estimating the center of the code and determining the X and Y coordinates of the center, but the coordinates of the ends of the code may also be used.
[0098] In step SB10, the field of view range of the imaging unit 5 is calculated. The field of view range h can be calculated from equation (1).
[0099] h = 2d tan(θ / 2) (1) Here, d is the current installation distance, and θ is the angle of view of the optical system 5b.
[0100] In step SB11, the resolution r, that is, the actual length represented by one pixel constituting the image data, is calculated. The resolution r can be calculated from equation (2).
[0101] Resolution (r)=h / n (2) Here, n is the number of pixels in the horizontal direction of the image sensor 5a.
[0102] In step SB12, the size of the code (code size) is calculated. The code size CS (mm) can be obtained by multiplying the resolution r calculated from equation (2) by the number of pixels in the horizontal direction of the code. The number of pixels in the horizontal direction of the code can be obtained from the image data.
[0103] In step SB13, the size of the cell (cell size) is calculated. A cell is the smallest unit that constitutes a code. The cell size p can be obtained by multiplying the resolution r calculated from equation (2) by the number of pixels in the horizontal direction of the cell. The number of pixels in the horizontal direction of the cell can be obtained from the image data. The cell size p is calculated by the cell size setting unit 30.
[0104] In step SB14, the allowable circle of confusion diameter (mm) is set. The allowable circle of confusion diameter indicates the allowable degree of defocus caused by the lens, without taking into account movement. The allowable circle of confusion diameter can also be expressed by the number of cells that make up the code. The maximum allowable amount of blur is also obtained in advance, and can be stored in the storage device 41.
[0105] In step SB15, the front depth of field (mm) is calculated from equation (3), and the rear depth of field (mm) is calculated from equation (4).
[0106] Front depth of field Df=(δFd2) / (f2+δFd) (3) Back depth of field Db=(δFd2) / (f2-δFd) (4) Here, F is the aperture of the optical system 5b, f is the focal length of the optical system 5b, and δ is the allowable circle of confusion diameter. In this manner, the calculation unit 40c can determine the effective field of view and the effective depth of the code reader 1.
[0107] In step SA9 of the flow chart shown in Fig. 7, the field of view required to read the code is calculated based on the work information and conveyor information acquired in step SA3, with the conveyor coordinates as the reference. The required field of view information includes the required area in the conveyor width direction, the required area in the work movement direction, the required area in the work height direction, etc.
[0108] In step SA10, the field of view and depth required to read the code based on the installation pattern and mounting pattern acquired in steps SA4 and SA5 are calculated with reference to the coordinates of the code reader 1. The required field of view and depth information includes the vertical field of view, the required depth, etc. In this way, in steps SA9 and SA10, based on the environmental information acquired by the information acquisition unit 40a, the calculation unit 40c can determine the required field of view and depth of the code reader 1 required to read the code under the environment specified by the environmental information.
[0109] In step SA7, it is determined whether the capable field of view and the capable depth of the code reader 1 calculated in step SA6 can satisfy the required field of view and depth calculated in steps SA9 and SA10. If it is determined in step SA7 that the capable field of view and the capable depth of the code reader 1 satisfy the required field of view and depth, the process proceeds to step SA8 to calculate the possible installation range of the code reader 1. The possible installation range of the code reader 1 includes a minimum installation distance, a maximum installation distance, a recommended installation distance, etc. Also, if it is determined in step SA7 that the capable field of view and the capable depth of the code reader 1 do not satisfy the required field of view and depth, the possible installation range of the code reader 1 may be calculated in a similar manner. The determination result in step SA7 is stored.
[0110] In addition, in step SA7, the installation patterns and mounting patterns of all or any multiple templates stored in the template storage unit 41c may be judged. In other words, by performing the judgment in step SA7 on all templates in a brute-force manner, it is possible to identify an installation pattern that is the recommended installation position and posture of the code reader 1 from among those patterns.
[0111] In step SA11, if it is determined in step SA7 that the capable field of view and the capable depth of the code reader 1 satisfy the required field of view and depth, the first installation pattern and the first attachment pattern are determined to be the recommended installation position and posture of the code reader 1 that can satisfy the required field of view and depth. Also, if it is determined in step SA7 that the capable field of view and the capable depth of the code reader 1 do not satisfy the required field of view and depth, the first installation pattern and the first attachment pattern are determined to be patterns that cannot satisfy the required field of view and depth. This step is executed by the calculation unit 40c.
[0112] 7 is the same as steps SA6 to SA10, and if it is determined in the process indicated by reference numeral 302 that the capable field of view and the capable depth of the code reader 1 satisfy the required field of view and depth, the process proceeds to step 303, where the second installation pattern and the second attachment pattern are determined to be the recommended installation position and posture of the code reader 1 that can satisfy the required field of view and depth. If it is determined in the process indicated by reference numeral 302 that the capable field of view and the capable depth of the code reader 1 do not satisfy the required field of view and depth, the process proceeds to step 303, where the second installation pattern and the second attachment pattern are determined to be patterns that cannot satisfy the required field of view and depth. Similarly, the third installation pattern and the third attachment pattern, the fourth installation pattern and the fourth attachment pattern, etc. can also be determined.
[0113] In step SA12, the best pattern is selected from among the multiple installation patterns and mounting patterns. That is, when the visual field and depth in the assumed installation position and posture acquired by the information acquisition unit 40a do not satisfy the required visual field and depth, the calculation unit 40c executes a change process to change at least one of the assumed installation position and posture, performs the above-mentioned judgment with the assumed installation position and posture after the change process, and repeats the change process and judgment to determine an installation pattern that is the recommended installation position and posture of the code reader. For example, when the first installation pattern and the first mounting pattern do not satisfy the required visual field and depth, they are changed to the second installation pattern and the second mounting pattern, and it is judged whether the second installation pattern and the second mounting pattern satisfy the required visual field and depth. At this time, it is possible to judge whether the required visual field and depth are satisfied by changing only one of the installation position and posture of the code reader 1.
[0114] Instead of selecting the best pattern in step SA12, multiple recommended installation positions and attitudes of the code reader 1 may be presented, and the user may select any pattern by operating the input unit 43. At this time, patterns that are not determined to be the recommended installation positions and attitudes of the code reader 1 may be presented to the user.
[0115] Also, the criteria for selecting the best pattern in step SA12 may be changed. For example, the best pattern may be the pattern with the fewest number of code readers 1, or the pattern with the lowest total cost of the equipment used.
[0116] Then, the process proceeds to step SA13 to optimize (tune) the reading parameters, and then a reading test is performed in step SA14. Finally, the process proceeds to step SA15, where a report can be output. Steps SA13 to SA15 may be performed as necessary, and may be omitted. Details of steps SA13 to SA15 will be described later.
[0117] [Parameter set (bank)] 20 is a diagram showing an example of a user interface screen 400 displayed when installation support is performed by the installation support device A. The user interface screen 400 can be generated by the UI management unit 40b and displayed on the display unit 42. A plurality of tabs 401, 402, and 403 are provided at the top of the user interface image 400, and it is possible to select any one of the plurality of tabs 401, 402, and 403.
[0118] Fig. 20 shows a case where the bank tab 402 is selected. One parameter set is called a "bank." In the example shown in Fig. 20, only bank 1 and bank 2 are displayed, but the number of banks can be set arbitrarily.
[0119] Each bank is provided with common setting items such as a "decode timeout value" indicating the timeout period for the decode process, a "black and white inversion" for inverting the black and white of the read image, an "internal illumination" for switching on and off the internal illumination constituted by the illumination unit 4 mounted on the housing 2, an "external illumination" for switching on and off the external illumination constituted by the illumination unit 4 separate from the housing 2, and a "code detail setting" for switching the code type. Each bank is also provided with reading setting items such as an "exposure time" indicating the exposure time by the imaging unit 5, a "gain" indicating the gain of the imaging unit 5, a "contrast adjustment method" indicating the method for adjusting the contrast of the read image, and "first image filter" and "second image filter" for selecting the type and order of the image filters to be applied.
[0120] In this code reader 1, the user can select a bank to be used when operating the code reader 1 from among multiple banks stored in the parameter set storage unit 53. That is, the user can operate the input unit 43 while looking at a user interface image 400 shown in Fig. 20, and select an arbitrary bank on the user interface image 400.
[0121] [User interface screen during installation assistance] Fig. 21 shows a case where a reading tab 401 of a user interface screen 400 is selected, and can be displayed during installation support. The user interface screen 400 shown in Fig. 21 is provided with a read image display area 404 for displaying a read image captured by the imaging unit 5, and a tuning result display area 405 for displaying a tuning result. The tuning result display area 405 displays, for example, a graph showing the relationship between readability and brightness. In addition, a proposal creation button 400a, a monitor start button 400b, an autofocus button 400c, a tuning start button 400d, a reading rate button 400e, and a report output button 400f are also provided.
[0122] When the UI management unit 40b detects that the proposal creation button 400a has been operated, it displays the user interface screens 200 to 206 (shown in Figs. 8 to 14, respectively) in the above-mentioned order to prompt the user to input information necessary for installation support. This allows the information acquisition unit 40a to acquire each piece of information. In addition, the user is prompted to input the mounting patterns shown in Figs. 15 to 18, and the information acquisition unit 40a acquires them as information.
[0123] When the UI management unit 40b detects that the monitor start button 400b has been operated, it causes the imaging unit 5 to execute a process for generating a read image. The generated read image is displayed in the read image display area 404.
[0124] When the UI management unit 40b detects that the autofocus button 400c has been operated, the AF control unit 21 controls the AF mechanism 5c to perform focusing. In this example, a one-dimensional code CD is shown attached to the workpiece W, but a two-dimensional code may be used. A frame 410 that surrounds an area where the code CD is likely to exist is also displayed in the read image display area 404. If two or more codes CD are attached to the workpiece W, two or more codes CD may be displayed in the read image display area 404.
[0125] Thereafter, when the UI management unit 40b detects that the tuning start button 400d has been operated, it causes the tuning execution unit 24 shown in Fig. 2 to execute an optimization process for the reading parameters. This process corresponds to step SA13 in Fig. 7.
[0126] The tuning execution unit 24 causes the imaging unit 5 to acquire a plurality of read images while changing, for example, the brightness (exposure time, gain, amount of light of the illumination unit 4, etc.), and causes the processing unit 32 to execute a decode process for each read image. As a result, the tuning execution unit 24 can acquire a graph showing the brightness and readability of a read image as shown in the tuning result display area 405 shown in FIG. 21. The readability can be obtained, for example, from the above-mentioned reading margin. This makes it possible to acquire optimal reading parameters. The optimal reading parameters are stored as a parameter set in the bank shown in FIG. 20, and are also displayed on the display unit 42 so that the user can check them.
[0127] When the UI management unit 40b detects that the reading rate button 400e has been operated, it causes the imaging unit 5 to generate a new read image reflecting the tuning result, and causes the processing unit 32 to execute a decode process on the generated read image. This is a reading test mode for testing the stability of reading, and corresponds to the process of step SA14 shown in Fig. 7. For example, reading is attempted 10 times, and the results can be displayed in the tuning result display area 405.
[0128] The reading test mode includes a task test mode, a depth test mode, and a speed test mode. The task test mode is a mode for measuring the reading time, and displays the current reading time, the longest reading time, and the shortest reading time on the display unit 42.
[0129] The depth test mode is a mode for measuring the maximum readable depth, and for example, the relative positional relationship between the code reader 1 and the readable code can be drawn and displayed on the display unit 42. The shortest and longest distances between the code reader 1 and the readable code can be displayed on the display unit 42.
[0130] In the speed test mode, the moving workpiece W is continuously read, and the speed of the workpiece W is calculated from the number of times the code is read and the position, and is displayed on the display unit 42. The speed of the workpiece W can be calculated and displayed almost in real time. The speed of the workpiece W may be displayed as a numerical value or in bar form.
[0131] [Example of presentation format to users] 22 is a diagram showing an example of a form of presentation to a user. The presentation user interface screen 220 shown in this figure can be generated by the UI management unit 40b and displayed on the display unit 42. Each piece of information constituting the presentation user interface screen 220 is the calculation result of the calculation unit 40c, information acquired by the information acquisition unit 40a, etc., which are output from the output unit 40d to the UI management unit 40b, and the UI management unit 40b can generate the presentation user interface screen 220 based on each piece of information.
[0132] The presentation user interface screen 220 is provided with a list display button 220a, a frame option selection area 220b, a code reader selection area 220c, a model selection area 220d, a distance adjustment area 220e, an overall result display area 220f, a layout preview area 220g, a first layout plan display area 220h, a second layout plan display area 220i, etc.
[0133] When the UI management unit 40b detects that the list display button 220a has been operated, it generates a list of devices in use as shown in Fig. 23 and displays it on the display unit 42. The list of devices in use displays the names, models, and quantities of devices required when the code reader 1 is installed in the recommended installation position and posture. That is, the output unit 40d can output a parts list that shows part information and the required quantities of the parts required to realize an installation pattern showing the recommended installation position and posture. The presented parts can also be changed.
[0134] The frame option selection area 220b is an area for switching whether or not to propose frame options. When proposing frame options, the frame options are proposed taking into consideration frame restrictions, but when not proposing frame options, the frame options are proposed without frame restrictions.
[0135] The code reader selection area 220c is an area for selecting an arbitrary code reader 1 in the case of an installation pattern in which multiple code readers 1 are installed. The model selection area 220d is an area for displaying the model type, i.e., model information, of the optimal model when it is automatically proposed. In the model selection area 220d, the user can also select an arbitrary model, and the suitability of the selected model can be judged. The distance adjustment area 220e is an area operated when the user fine-tunes the installation position of the code reader 1. The suitability of the adjustment result can be judged. The overall result display area 220f is an area for displaying whether reading is possible or not in the case of the information displayed in the code reader selection area 220c, the model selection area 220d, the distance adjustment area 220e, etc. When reading is impossible, the extent to which it is insufficient with respect to the request can also be displayed in the overall result display area 220f.
[0136] The layout preview area 220g is an area that displays the relative positional relationship between the code reader 1, the workpiece W, and the conveyor, the dimensions of each part, etc. in a diagram. It also includes mounting angle information of the code reader 1 and the reading surface (surface information) of the workpiece W. While changing the viewpoint by 360 degrees, an overhead preview image can be generated and displayed in the layout preview area 220g. The viewpoint can be changed by the input unit 43. The first layout plan display area 220h is an area that displays, for example, a diagram showing the relative positional relationship between the code reader 1, the workpiece W, and the conveyor, the dimensions of each part, etc. from a front viewpoint. Moreover, the second layout plan display area 220i is an area that displays a diagram showing the relative positional relationship between the code reader 1, the workpiece W, and the conveyor, the dimensions of each part, etc. from a side viewpoint.
[0137] The first layout plan display area 220h or the second layout plan display area 220i can also display the workpiece W and readable range 600 from a top perspective, as shown in Fig. 24. The first layout plan display area 220h or the second layout plan display area 220i can also display the workpiece W and readable range 601 from a side perspective, as shown in Fig. 25. The first layout plan display area 220h or the second layout plan display area 220i can also display details of the mounting bracket 603, as shown in Fig. 26. The detailed information of the mounting bracket 603 includes mounting angle information of the code reader 1.
[0138] [Report Output] The recommended installation pattern of the code reader 1 may be presented to the user in the form of a report other than the above-mentioned user interface screen displayed on the display unit 42. The report may be presented as electronic data or as a paper medium printed by the printer 45 shown in FIG.
[0139] The report will be described below. When the UI management unit 40b detects that the report output button 400f on the user interface screen 400 shown in Fig. 21 has been operated, it executes step SA15 in the flowchart shown in Fig. 7. In this step, first, each piece of information constituting the report is prepared. Each piece of information constituting the report is the calculation result of the calculation unit 40c, information acquired by the information acquisition unit 40a, etc.
[0140] The structure of the report output by the output unit 40d will be described with reference to Fig. 27. The contents output as the report include, broadly speaking, general project information, a proposal summary, a list of devices used, a reading area, an installation diagram, a connection diagram, and reading results, but it is not necessary to include all of these.
[0141] The general project information in the report includes the user's project name, as well as the required information required for the project, such as work information, code information, clearance setting information, and information regarding the code pasting location. The work information is made up of information entered on a user interface screen for inputting work information, as shown in FIG. 10. The code information is made up of information entered on a user interface screen for inputting code information, as shown in FIG. 13. The clearance setting information is made up of information entered on a user interface screen for setting a clearance, as shown in FIG. 9. Information regarding the code pasting location is made up of information entered on a user interface screen for setting the code pasting location, as shown in FIG. 11.
[0142] The proposal summary of the report includes drawings and the like displayed in the layout preview area 220g of the presentation user interface screen 220 shown in Fig. 22. In other words, the proposal summary is information that allows the user to roughly grasp the relative positional relationship between the code reader 1, the workpiece W, and the conveyor.
[0143] The list of devices used in the report can be in the form of, for example, a list of devices used as shown in FIG. 23, which can present to the user the names, models, and quantities of devices required when installing the code reader 1 in the recommended installation position and posture.
[0144] The readable area of the report may be displayed as a diagram of a readable area from a frontal viewpoint or a diagram of a readable area from an oblique viewpoint. On these diagrams, the readable area may be indicated by color coding, etc. In addition, when multiple code readers are installed, the readable area of each code reader may be indicated by color coding, etc.
[0145] The installation diagram of the report includes an installation diagram from a front perspective displayed in the first layout diagram display area 220h of the presentation user interface screen 220 shown in FIG. 22, an installation diagram from a side perspective displayed in the second layout diagram display area 220i, a top view, etc.
[0146] An example of a connection diagram for the report is a connection diagram of a code reader 1 as shown in Figure 28. This connection diagram shows the connection to an encoder, a host, and a power supply, as well as the connection to a host system via a terminal box.
[0147] The report may also include tuning conditions such as model information and exposure time, information on whether internal and external lighting is used or not, read information showing the relationship between brightness and ease of reading, read images, and tuning results (parameter sets, etc.). The tuning results may be provided as electronic data so that they can be imported into the code reader 1 for use.
[0148] The reading results in the report include the read image, reading rate test results, tact test results, depth test results, speed test results, etc. The reading rate test results include the read data as well as the reading rate (%), bank number, code type, narrow bar width, etc. The tact test results include the read data as well as the bank number and the time required for reading (tact), etc. The depth test results include the reading depth as well as the focal length, the depth and field of view at the shortest readable distance, the depth and field of view at the longest readable distance, etc. The speed test results include the speed of the work W calculated in the above speed test mode.
[0149] [Variations in presentation format to the user] As a form of presentation of the recommended installation pattern of the code reader 1 to the user, for example, two-dimensional CAD data or three-dimensional CAD data (CAD file) in which the recommended installation pattern is illustrated may be output from the output unit 40d. The diagram showing the recommended installation pattern may be the same as the diagram displayed in the layout preview area 220g of the presentation user interface screen 220 shown in Fig. 22. By providing the user with the CAD data of the recommended installation pattern, the number of design steps on the user side can be reduced.
[0150] In addition, since the calculation unit 40c can grasp the conveyor speed and the arrangement of the code reader 1, it can obtain the code reading timing by calculation. This reading timing can also be presented to the user. In addition, by converting the time information into distance information, it is possible to present the information in an intuitive and easy-to-understand manner to the user.
[0151] Furthermore, in the case of a workpiece W covered with a transparent film or the like, a polarizing plate can be attached in front of the imaging unit 5. Attaching a polarizing plate reduces the brightness at the imaging unit 5, but this reduction in brightness can be dealt with by moving the code reader 1 closer to the workpiece W. By acquiring the reduction in brightness due to the polarizing plate in advance, it is possible to calculate the installation position of the code reader 1 when the polarizing plate is attached and present it to the user.
[0152] [Computer Program] It is a computer program installed in the installation support device A that causes the installation support device A to execute each of the above-mentioned functions, particularly the acquisition step of acquiring camera information and environmental information, and the calculation step of determining an installation pattern that is a recommended installation position and attitude of the code reader 1. The computer program can be stored in the storage device 41. The computer program can be stored in various storage media such as optical disks and distributed on the market, or it can be stored in a server and downloaded by a user via the Internet and installed on a computer for use. A computer with this program installed can be the installation support device A.
[0153] [Effects of the embodiment] As described above, according to this embodiment, the calculation unit 40c of the installation support device A determines not only the recommended installation position of the code reader 1 but also the attitude of the code reader 1 at the recommended installation position, allowing the user to check both the position and attitude before installing the code reader 1. Furthermore, when installing the code reader 1 in the determined recommended installation position, the user only needs to install the code reader 1 so that it has the determined attitude, making the installation work easier.
[0154] The above-described embodiment is merely illustrative in all respects and should not be construed as limiting. Furthermore, all modifications and variations within the scope of the claims are within the scope of the present invention. [Industrial Applicability]
[0155] As described above, the installation assistance device for a fixed code reader according to the present invention can be used when presenting the installation position and orientation of the code reader before the code reader is installed. [Explanation of symbols]
[0156] 1 Code Reader 4. Lighting section 5. Imaging unit 40a Information acquisition unit (an example of an acquisition means) 40c Calculation unit (an example of a calculation means) 40d output unit (an example of an output means) 41 Storage device A. Installation support device for fixed code readers
Claims
1. a means for displaying on a display unit a user interface screen including an information input area for allowing a user to input conveyor information relating to the conveyor, work information of the work carried by the conveyor, and code information of the code to be applied to the work, and an image display area for drawing an image of the work placed on the transport surface of the conveyor; means for detecting user input via the information entry area of the user interface screen; a means for displaying on the display unit the user interface screen including the image display area in which an image of the workpiece arranged on the conveyor conveyor is drawn based on the user input; and A terminal device comprising:
2. The apparatus further includes a means for displaying, on the display unit, the user interface screen including the image display area in which at least one of the conveyor information and the work information is redrawn when a user input for updating at least one of the conveyor information and the work information is detected via the user interface screen. The terminal device according to claim 1 .
3. The conveyor information includes at least one of a conveying speed of the conveyor and a conveyor width of the conveyor. The terminal device according to claim 1 .
4. The conveyor information display device further includes a means for displaying, on the display unit, the user interface screen including the image display area in which the conveyor is redrawn based on the conveyor width when a user input including the conveyor width as the conveyor information is detected via the user interface screen. The terminal device according to claim 3.
5. The workpiece information includes a size of a maximum workpiece that can be transported by the conveyor. The terminal device according to claim 1 .
6. The display device further includes a means for displaying, on the display unit, the user interface screen including the image display area in which the work is redrawn based on the size of the maximum work when a user input including the size of the maximum work as the work information is detected via the user interface screen. The terminal device according to claim 5.
7. The code information includes a maximum code length and a code type. The terminal device according to claim 1 .
8. The present invention further includes a means for displaying, on the display unit, the user interface screen that displays a progress status of information input in the order of the conveyor information, the work information, and the code information. The terminal device according to claim 1 .
9. The display device further includes a means for displaying, on the display unit, the user interface screen including the image display area that depicts a first image of the workpiece placed on the transport surface of the conveyor as viewed from a first direction and a second image of the workpiece as viewed from a second direction different from the first direction. The terminal device according to claim 1 .
10. means for causing the display unit to display a parts list indicating necessary parts based on the user input when it is detected that the information input via the information input area of the user interface screen is completed; The terminal device according to claim 1 .
11. A method executed by a terminal device, comprising: displaying on a display unit a user interface screen including an information input area for allowing a user to input conveyor information regarding the conveyor, work information regarding the work transported by the conveyor, and code information regarding the code to be affixed to the work, and an image display area for drawing an image of the work placed on the transport surface of the conveyor; detecting user input via the information entry area of the user interface screen; A step of displaying the user interface screen on the display unit, the user interface screen including the image display area in which an image of the workpiece arranged on the conveyor is drawn based on the user input; A method for providing the above.
12. The method further includes a step of displaying, on the display unit, the user interface screen including the image display area in which at least one of the conveyor information and the work information is redrawn when a user input for updating at least one of the conveyor information and the work information is detected via the user interface screen. The method of claim 11.
13. A program causing a computer to execute the method according to claim 11 or 12.
14. A system comprising a server and a terminal device connected to the server via a network, The server, transmitting to the terminal device a user interface screen including an information input area for allowing a user to input conveyor information relating to a conveyor, work information of a work transported by the conveyor, and code information of a code to be affixed to the work, and an image display area for drawing an image of the work placed on the transport surface of the conveyor; The terminal device a means for displaying the user interface screen on a display unit; means for detecting user input via the information entry area of the user interface screen; and a means for displaying on the display unit the user interface screen including the image display area in which an image of the workpiece arranged on the conveyor surface is drawn based on the user input. system.
15. The terminal device further includes a means for causing the display unit to display the user interface screen including the image display area in which at least one of the conveyor and the workpiece is redrawn when a user input for updating at least one of the conveyor information and the workpiece information is detected via the user interface screen. The system of claim 14.
Citation Information
Patent Citations
Laser beam machining condition setup device, laser beam machine, laser beam machining condition setup method, laser beam machining condition setup program, recording medium readable by computer, and recorded instrument
JP2008006460A
Optical information reader
JP2018136860A
Optical information reader
JP2012064178A