Projection control device, projection system, projection control method, and program
The projection control device addresses the inability to confirm inspection result changes by updating projection images based on inspection results, enabling efficient detection and removal of defects.
Patent Information
- Application Number
- JP2023060051
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
Conventional defect position detection devices lack the ability to confirm changes in inspection results after the inspection target is transported from the inspection table to the confirmation table, as they are in different locations and the inspection object does not return to the inspection table.
A projection control device that obtains inspection results for each region of the imaging area, updates a projection image to overlap the imaging area for each region, and includes a control unit to manage the inspection and projection process, allowing confirmation of inspection result changes.
Enables quick confirmation of whether inspection results have changed by projecting marking images on defective inspection objects, facilitating efficient removal or replacement.
Smart Images

Figure 2024147193000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a projection control device, a projection system, a projection control method, and a program. [Background technology]
[0002] Conventionally, devices have been developed that photograph an inspection object with a camera to inspect for defects. For example, Patent Document 1 discloses a defect position detection device that transports an inspection object, photographs the object with a camera on an inspection table to detect defects, and projects a mark onto the defect position with a projection unit on a confirmation table. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 11-258111 Summary of the Invention [Problem to be solved by the invention]
[0004] In the conventional defect position detection device disclosed in Patent Document 1, the inspection object is transported through an area where defects are detected (inspection table) and then to an area where the defect positions are displayed (confirmation table). The inspection table and the confirmation table are in different locations, and the inspection object, after being transported to the confirmation table (after the defect positions are displayed), does not return to the inspection table. For this reason, it was previously impossible to confirm any changes in the inspection results of the inspection object (for example, whether the defect has been removed or not).
[0005] The present invention has been made in consideration of the above-described situation, and aims to provide a projection control device, a projection system, a projection control method, and a program that can confirm whether the results of inspecting an object to be inspected have changed. [Means for solving the problem]
[0006] In order to achieve the above object, one aspect of the projection control device according to the present invention comprises: an imaging area in which an inspection object is placed, the imaging area being divided into a plurality of areas, and an inspection result being obtained as a result of inspecting the state of the inspection object for each area of the imaging area; updating a projection image projected by a projection unit onto the imaging area in a superimposed manner for each region of the projection image corresponding to the divided region based on the inspection result; It has a control unit. [Effects of the Invention]
[0007] According to the present invention, it is possible to check whether the results of inspecting an inspection target have changed. [Brief explanation of the drawings]
[0008] [Figure 1] 1A and 1B are diagrams illustrating an example of the configuration of a projection system according to an embodiment and an image of the system in use. [Figure 2] FIG. 1 is a diagram illustrating an example of a functional configuration of a projection system according to an embodiment. [Figure 3] FIG. 10 is a diagram illustrating an example of transport information set in a transport unit. [Figure 4] FIG. 4 is a diagram illustrating an example of a carrier signal output from a carrier unit. [Figure 5] 10A and 10B are diagrams for explaining an example of the state of an inspection object before and after transportation. [Figure 6] FIG. 2 is a diagram for explaining that an imaging area is divided into a plurality of inspection regions. [Figure 7] FIG. 10 is a diagram for explaining an example of setting area coordinates of each inspection area. [Figure 8] 10 is a flowchart illustrating an example of an inspection process according to an embodiment. [Figure 9] 10A and 10B are diagrams for explaining an image of an inspection object, an image memory, and a projection immediately before being transported. [Figure 10] 10 is a flowchart illustrating an example of a transport start interrupt process according to an embodiment. [Figure 11]10A and 10B are diagrams for explaining an image of an inspection object, an image memory, and a projection immediately after being transported and stopped. [Figure 12] 10 is a flowchart illustrating an example of a projection interrupt process according to an embodiment. [Figure 13] 10A and 10B are diagrams for explaining an image of an inspection object, an image memory, and a projection while transportation is stopped after transportation. DETAILED DESCRIPTION OF THE INVENTION
[0009] A projection system and the like according to an embodiment will be described with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference numerals.
[0010] (Embodiment) As shown in FIG. 1, the projection system 100 according to the embodiment is configured by connecting a 3D (Dimensional) camera 240 as a detection device, a projector 250 as a projection device, and a conveyor 260 as a transport device to a PC (Personal Computer) 210 as a projection control device.
[0011] The conveyor 260 is provided with a transport line 300, and transports a large number of inspection objects 310 on the transport line 300. If any of the inspection objects 310 in the work area 301 of the transport line 300 is defective, the worker 400 removes or replaces the defective inspection object 310.
[0012] The projection system 100 is controlled by the PC 210, photographs the work area 301 with the 3D camera 240, inspects the inspection object 310, and for the inspection object 310 determined to be defective as a result of the inspection (the inspection object 310 whose inspection result was defective), projects a marking image 320 by the projector 250 onto the position of the inspection object 310. Therefore, the worker 400 removes or replaces the inspection object 310 onto which the marking image 320 is projected, so as to prevent the defective inspection object 310 from being transported downstream on the transport line 300.
[0013] When the worker 400 performs this task, it is easier for the worker 400 to work if the conveyance line 300 is stopped. Therefore, the conveyance line 300 conveys each predetermined unit (in FIG. 1, a block consisting of 5 rows and 4 columns, a total of 20 inspection objects 310) and performs intermittent operation in which the conveyance line 300 stops for a predetermined period of time and then conveys each block repeatedly.
[0014] As shown in FIG. 1, the projection system 100 is configured such that a 3D camera 240 is connected to a PC 210 via a USB (Universal Serial Bus), a projector 250 is connected via an HDMI (registered trademark) (High-Definition Multimedia Interface), and a conveyor 260 is connected via a USB.
[0015] 2, the projection system 100 and projection control device 200 according to the embodiment have functional configurations in which the projection control device 200 includes a control unit 110, a storage unit 120, and an operation input unit 130, while the projection system 100 additionally includes a detection unit 140, a projection unit 150, and a transport unit 160. For example, the PC 210 constituting the projection control device 200 corresponds to the control unit 110, the storage unit 120, and the operation input unit 130, the 3D camera 240 corresponds to the detection unit 140, the projector 250 corresponds to the projection unit 150, and the conveyor 260 corresponds to the transport unit 160. However, which of the devices included in the projection system 100 corresponds to each of these functional components can be determined arbitrarily. For example, the projection control device 200 may not correspond to the operation input unit 130, and the projector 250 may correspond to the operation input unit 130 and the projection unit 150.
[0016] The control unit 110 is configured with a processor such as a CPU (Central Processing Unit). The control unit 110 executes processes for realizing various functions of the projection system 100 and inspection processes (described later) using programs stored in the storage unit 120. The control unit 110 also has a timer function and can measure time. The control unit 110 also supports multi-threading and can execute multiple processes in parallel.
[0017] The storage unit 120 stores programs executed by the control unit 110 and necessary data. The storage unit 120 may include, but is not limited to, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, etc. Note that the storage unit 120 may be provided inside the control unit 110.
[0018] The storage unit 120 also includes an area (image memory) for storing data to be transferred to a video memory of the projection unit 150, which will be described later.
[0019] The operation input unit 130 includes a user interface such as a keyboard, a mouse, and a push button switch, and receives operation input from the user.
[0020] The detection unit 140 includes a 3D camera 240 capable of acquiring three-dimensional data consisting of image information (two-dimensional information) and depth information (information on the distance from the camera of the detection unit 140) of each pixel included in the image information, and acquires point cloud information of an area that can be imaged by the 3D camera 240 (image capture area). In this embodiment, the image capture area is set to coincide with the work area 301 in which the inspection objects 310 are placed, so the detection unit 140 acquires point cloud information within the work area 301. Based on this point cloud information, the control unit 110 detects whether or not each inspection object 310 has a defect. Note that, in the example shown in FIG. 1 , the projection system 100 includes the 3D camera 240 as the detection unit 140, but the detection unit 140 does not necessarily have to include the 3D camera 240. As long as the detection unit 140 can acquire information that the control unit 110 uses to determine whether or not the inspection object 310 has a defect, the detection unit 140 can include any sensor instead of the 3D camera 240.
[0021] The projection unit 150 is a projector 250 (projection device) that includes a light source that emits light for projection, a video memory that stores information about the image to be projected (projected image), a projection device that displays the projected image, a lens unit that focuses the projected image on a projection surface, and the like. The light source, projection device, and the like may be of any type. When the contents of the video memory are updated, the projected image is updated accordingly. In this embodiment, the lens unit is adjusted in advance so that the area onto which the projection image is projected by the projection unit 150 matches the working area 301. As described above, the imaging area is also set to match the working area 301, so the projection image by the projection unit 150 is projected and superimposed on the imaging area.
[0022] The conveying unit 160 is a belt conveyor equipped with a motor or the like for driving the conveying line 300, and conveys the inspection object 310 (inspection target) placed on the conveying line 300 from upstream to downstream. The start and stop of conveying and the conveying speed can be controlled by the control unit 110. In addition, an intermittent conveying mode is provided as a conveying mode, and in this mode, intermittent conveying is automatically performed according to the conveying information (conveying time, stopping time, conveying amount) shown in Fig. 3. In other words, after stopping for the stopping time, the operation of conveying from upstream to downstream along the conveying line by the conveying amount distance over the conveying time is repeated.
[0023] Then, a signal (transport signal) indicating whether transport is being performed is output from the transport unit 160 to the control unit 110. As shown in Fig. 4, during transport (during the transport time), the transport signal becomes H, indicating that transport is being performed. Also, while transport is stopped, the transport signal becomes L, indicating that transport is stopped.
[0024] In the transport information, the transport time Tm is, for example, 5 seconds. The stop time Ts is, for example, 25 seconds. The transport amount Lt is, for example, 1 m. These values are preset as default values in the transport unit 160, but can also be changed by the control unit 110 setting them for the transport unit 160.
[0025] Furthermore, when the projection system 100 is installed, a calibration process is performed to establish correspondence between the coordinates in the projection unit 150 (projector coordinates) and the coordinates in the detection unit 140 (camera coordinates).
[0026] The calibration process may be performed in any manner. For example, first, a checkerboard image is projected onto the work area 301 by the projection unit 150 (projector 250), and the projected image is captured by the detection unit 140 (3D camera 240). The control unit 110 then matches the coordinates of each intersection point in the captured image (camera coordinates) with the coordinates of each intersection point in the original checkerboard image (projector coordinates). Based on this correspondence between the two coordinates, the projection system 100 can acquire information on the correspondence between the projector coordinates and the camera coordinates, such as what kind of image (image expressed in projector coordinates) should be projected onto a certain area (area expressed in camera coordinates) on the work area 301.
[0027] A specific transporting process by the transport device will be described with reference to the example shown in Fig. 5. In this example, the inspection objects 310 are inspected and transported in blocks consisting of a total of 20 inspection objects 310 arranged in 5 rows and 4 columns. First, while transport is stopped (time Ts), as shown in Fig. 5 (1), the first to fortieth inspection objects 310 are placed in the work area 301 (i.e., the imaging area), and each of these inspection objects 310 is scanned in order to detect whether it is defective or not.
[0028] In order for the control unit 110 to scan each of these inspection objects 310 one by one in order, the image data of the imaging area (i.e., working area 301) imaged by the detection unit 140 is divided into a plurality of inspection areas (40 in this embodiment) as shown in Fig. 6. Then, inspection areas with area numbers 1 to 40 are set so that the inspection area corresponding to the position where the Nth inspection object 310 is placed becomes the Nth inspection area. Note that for each inspection area set by dividing the imaging area, the coordinates (area coordinates) of the inspection area for each area number are stored in advance in the storage unit 120 as data as shown in Fig. 7.
[0029] Therefore, when scanning the Nth inspection object 310, the control unit 110 compares data (image data or point cloud data) of the Nth inspection area (inspection area with area number N) among the data acquired from the detection unit 140 with normal data of the inspection object 310 to determine whether the Nth inspection object 310 is defective. In this embodiment, the control unit 110 performs such scanning sequentially from N=1 to 40 to determine the state of each inspection object 310 (obtain inspection results). Note that the determination of the state of the inspection object 310 is not limited to determining whether it is defective, but may also determine whether it satisfies a predetermined condition. For example, the state of the inspection object 310 may be evaluated using three or more levels such as "excellent, good, average, acceptable, and defective," or it may be determined whether it is difficult to determine whether it is defective or not.
[0030] Furthermore, the normal data of the inspection object 310 is image data or point cloud data of a normal (non-defective) inspection object 310. When the defect determination of the inspection object 310 can be performed using image data, the normal data is image data, and the control unit 110 uses image recognition to compare image data of the inspection area corresponding to each inspection object 310 with image data of the normal data to determine whether the inspection object 310 is normal or not. When it is necessary to three-dimensionally determine whether the inspection object 310 is defective or not, the normal data is point cloud data, and the control unit 110 compares the point cloud data of the inspection area corresponding to each inspection object 310 with the point cloud data of the normal data to determine whether the inspection object 310 is normal or not.
[0031] Although the numbering of the inspection objects 310 (or inspection areas) can be arbitrarily determined, it is desirable to assign numbers in order from downstream to upstream on the conveying line 300, as shown in (1) of Figure 5 (or Figure 6), for example. This allows the control unit 110 to inspect the inspection areas in order from downstream to upstream, so that the inspection object 310 that is transported out of the working area 301 earlier (that is transported out of the working area 301 first) can be inspected first.
[0032] Then, the inspection objects 310 on the transport line 300 are transported by the transport amount (Lt) during the transport time (Tm) by the transport operation. As a result, the first to twentieth inspection objects 310 move out of the work area 301, as shown in (2) of FIG. 5. Then, the transport line 300 stops in this state for the stop time (Ts). While the transport line 300 is stopped, the control unit 110 renumbers the inspection objects 310, as shown in (3) of FIG. 5, in order to inspect the inside of the work area 301. Then, scanning is started again from the inspection area with area number 1 corresponding to the first inspection object 310.
[0033] The projection system 100 transports the inspection object 310 using the transport unit 160, and sequentially scans the inspection object 310 during the stop time as described above, and if a defect is detected, projects a marking image 320 onto the position of the inspection object 310. This inspection process will be described with reference to Fig. 8. This process starts when the projection system 100 is started up or when a user issues an instruction to start the inspection process.
[0034] First, the control unit 110 initializes the device settings (step S101). In this step, the control unit 110 initializes the detection unit 140 and the projection unit 150, sets transport information in the transport unit 160, and starts transport. This clears the contents of the image memory (in the storage unit 120) and the video memory (in the projection unit 150) in which information about the image projected by the projection unit 150 is stored, and transport along the transport line 300 is performed intermittently according to the transport information. Also, in this step, the control unit 110 sets a transport start interrupt and a projection interrupt. The transport start interrupt occurs when the transport unit 160 starts transport (when the transport signal becomes H). Upon receiving this interrupt signal, the control unit 110 starts executing a transport start interrupt process, which will be described later. Furthermore, the projection interrupt occurs at the timing of a vertical synchronization signal (e.g., every 1 / 60 seconds). Upon receiving this interrupt signal, the control unit 110 starts executing a projection interrupt process, which will be described later.
[0035] Next, the control unit 110 initializes a variable N indicating the number of the inspection object 310 (i.e., inspection area) to be scanned to 1 (step S102). When returning from the transport start interrupt process described later, the control unit 110 resumes the process from step S102.
[0036] Then, the control unit 110 scans the Nth inspection area based on information from the detection unit 140, and determines whether the Nth inspection object 310 is defective (step S103). If the Nth inspection object 310 is defective (step S103; Yes), the control unit 110 determines whether a marking image 320 has been written in an area of the image memory corresponding to the Nth inspection area (step S104). If a marking image 320 has been written in the corresponding area (step S104; Yes), the process proceeds to step S108.
[0037] If the marking image 320 has not been written in the corresponding area (step S104; No), the control unit 110 writes the marking image 320 in the image memory (in the area corresponding to the Nth inspection area) so that the marking image (status display image) 320 is projected at the position corresponding to the inspection object 310 (the Nth inspection area) (step S105), and proceeds to step S108.
[0038] On the other hand, if the Nth inspection object 310 is not defective (step S103; No), the control unit 110 determines whether or not a marking image 320 has been written in an area of the image memory corresponding to the Nth inspection area (step S106). If the marking image 320 has not been written in the corresponding area (step S106; No), the process proceeds to step S108.
[0039] If the marking image 320 has been written in the corresponding area (step S106; Yes), the control unit 110 erases the marking image 320 in the image memory (the area corresponding to the Nth inspection area) so that the marking image 320 is not projected onto the position (Nth inspection area) corresponding to the inspection object 310 (step S107), and proceeds to step S108. Note that when updating the marking image 320 (determining whether or not it exists (steps S104, S106), writing (step S105), and erasing (step S107)), the control unit 110 needs to adjust the address (position) of the image memory to be updated, taking into consideration the projection range read position described later.
[0040] Then, the control unit 110 adds 1 to N (step S108) and determines whether the value of N is greater than the number of inspection areas (40 in the example shown in FIG. 5) (step S109). If the value of N is equal to or less than the number of inspection areas (step S109; No), the process returns to step S103. On the other hand, if the value of N is greater than the number of inspection areas (step S109; Yes), the control unit 110 initializes N to 1 to return the scan position to the beginning (step S110), and the process returns to step S103.
[0041] During this inspection process, while the transport is stopped, the control unit 110 executes the process of inspecting the inspection object 310 for defects and generating the marking image 320, starting from the first inspection area, and when the process is completed for all inspection areas, the process is repeated again from the first inspection area. Then, the generated marking image 320 is projected onto the work area 301 by a projection interrupt process.
[0042] 9, two blocks of 20 inspection objects 310 arranged in 5 rows and 4 columns are placed in the working area 301, and the Nth inspection object 310 is located in the Nth inspection region. In step S103, the control unit 110 determines whether the Nth inspection object 310 is defective, and updates the marking image 320 by writing (step S105) or erasing (step S107) the marking image 320 in the region of the image memory of the storage unit 120 corresponding to the placement position of the Nth inspection object 310, depending on the determination result.
[0043] When the above-mentioned projection interrupt occurs, the control unit 110 suspends the execution of the inspection process and starts the projection interrupt process. As a result, the contents of the image memory are transferred from the projection range read position to the video memory of the projection unit 150, and a marking image 320 is projected onto the position of the defective inspection object 310. In other words, the contents of the image memory are projected by the projection unit 150 to form a single projected image, which covers all 40 inspection objects 310 as shown in FIG. 9. Then, this projected image is updated (by updating the marking image 320) for each region corresponding to each inspection object 310.
[0044] Furthermore, when the above-mentioned transport start interrupt occurs, the control unit 110 suspends the execution of the inspection process and starts the transport start interrupt process, thereby clearing the area of the image memory corresponding to the inspection object 310 that moves out of the work area 301 due to transport, and changing the projection range read position by the amount of movement due to transport.
[0045] This transfer start interrupt process will be described with reference to Fig. 10. When the transfer signal becomes H (i.e., when the transfer unit 160 starts transfer on the transfer line 300), a transfer start interrupt occurs and the transfer start interrupt process begins.
[0046] First, the control unit 110 clears the image memory area that will fall outside the projection range when the transport unit 160 transports the transport line 300 (step S201). This transport causes the transport line 300 to move by Lt, transitioning, for example, from state (1) to state (2) in FIG. 5. Therefore, in the above example, as shown in FIG. 11, the transport line 300 moves by one block of the inspection object 310 (a total of 20 blocks, 5 rows x 4 columns), and the image memory area 302 that corresponds to the first to twentieth inspection object 310 is cleared. Note that the image memory area that will fall outside the projection range may be calculated by the control unit 110 based on the placement information of the inspection object 310 and the transport distance Lt, or may be stored in advance in the storage unit 120.
[0047] Then, the control unit 110 changes the projection range readout position on the image memory (step S202). Explaining this using the examples shown in Fig. 9 and Fig. 11, before the conveyance line moved, the projection range readout position was at the top right of the image memory as shown in Fig. 9. Then, when the conveyance line moves by one block of the inspection object 310 (a total of 20 blocks, 5 rows x 4 columns), the projection range readout position is changed in accordance with the amount of movement, and becomes the upper center of the image memory as shown in Fig. 11.
[0048] Then, the control unit 110 determines whether the transport unit 160 is still transporting the sheet along the transport line 300 (step S203). This can be determined by the control unit 110 checking whether the transport signal output from the transport unit 160 remains at H. If the sheet is still being transported (step S203; Yes), the process returns to step S203.
[0049] If the object is not being transported (step S203; No), the transport start interrupt process ends and the process returns to step S102 of the inspection process, whereby the control unit 110 resumes scanning (inspection) from the first inspection object 310 again.
[0050] Next, the projection interrupt process will be described with reference to Fig. 12. A vertical synchronization signal (frame signal) causes a projection interrupt to occur at predetermined intervals (for example, 1 / 60 seconds), and the projection interrupt process begins.
[0051] First, the control unit 110 stops the projection by the projection unit 150 (step S301) in order to prevent the image being projected from being distorted while the contents of the image memory are being transferred to the video memory.
[0052] Then, the control unit 110 sets the address of the projection range read position in the image memory to a variable GA, and sets the start address of the video memory of the projection unit 150 to a variable VA (step S302).
[0053] Then, the control unit 110 transfers the content of the address GA of the image memory to the address VA of the video memory of the projection unit 150 (step S303), and determines whether the address VA is the last address of the video memory (step S304).
[0054] If VA is not the last address of the video memory (step S304; No), the control unit 110 adds 1 to VA (step S305) and determines whether the address GA is the last address of the image memory (step S306). If GA is not the last address of the image memory (step S306; No), the control unit 110 adds 1 to GA (step S307) and returns to step S303.
[0055] On the other hand, if GA is the last address of the image memory (step S306; Yes), the control unit 110 sets the first address of the image memory in GA (step S308), and returns to step S303.
[0056] On the other hand, in step S304, if VA is the last address of the video memory (step S304; Yes), the control unit 110 resumes projection in the projection unit 150 (step S309), ends the projection interrupt process, and resumes the execution of the interrupted inspection process from the interruption position.
[0057] The inspection process, transport start interrupt process, and projection interrupt process have been described above, but the timing at which the transport start interrupt occurs is, for example, once every 30 seconds, which is significantly less frequent than the projection interrupt (for example, once every 1 / 60 seconds). Therefore, while transport is stopped (for example, for 25 seconds), the marking image 320 is updated on the image memory by the inspection process, and during that time the projection interrupt process is executed frequently (every 1 / 60 seconds), and the contents of the image memory at that time are projected onto the work area 301.
[0058] For example, if the time required for the processing from step S103 to step S110 in the inspection process (FIG. 8) (defective judgment for one inspection object 310 (inspection area) and updating of the marking image 320) (=scan time per inspection area) is assumed to be 0.1 seconds, it is possible to judge 250 inspection objects 310 while the conveyance is stopped (25 seconds) (because 25÷0.1=250). In the example shown in FIG. 9, since there are 40 inspection objects 310 in the work area 301, it is understood that, from 250÷40=6.25, it is possible to perform defect judgment and marking image 320 projection at least six times for each inspection object 310 while the conveyance line 300 is stopped.
[0059] When the transport stops, the control unit 110 returns from the transport start interrupt process to step S102 of the inspection process, and performs judgment on the first to fortieth inspection areas and generates marking images 320 for each inspection area one by one. However, since the projection interrupt process is frequently executed during this time, the marking images 320 are projected onto the position of each inspection object 310 in the work area 301 in almost real time.
[0060] Even if it takes 0.1 seconds to judge a defect in one inspection area, it only takes 4 seconds to judge all 40 inspection areas, so when the operator 400 removes the inspection object 310 onto which the marking image 320 is projected, the defect in that inspection area will no longer exist after 4 seconds at the latest (because the defective inspection object 310 has been removed), and the marking image 320 at that position will be erased. Therefore, the operator 400 can know that the defective inspection object 310 has been successfully removed from the fact that the marking image 320 is no longer being projected.
[0061] A specific example will be described with reference to the drawings to explain how the inspection object 310 is inspected and the marking image 320 is projected through the inspection process, transport start interrupt process, and projection interrupt process. In this example, 40 inspection objects 310 are placed in the work area 301, and it takes 0.1 seconds to judge whether one inspection object 310 (inspection area) is defective.
[0062] Figure 9 shows the placement of the object 310 to be inspected when the projection range read position of the image memory is set to the upper right of the image memory (the starting address of the image memory), the contents of the image memory, and an image of the contents of the image memory being projected onto the working area 301.
[0063] While the transport is stopped, the first to fortieth inspection objects 310 (inspection areas) are sequentially judged to be defective. Specifically, the control unit 110 judges whether the inspection object 310 placed in the inspection area is defective by, for example, performing image recognition on the image data of each inspection area and comparing it with data (normal data) of a normal inspection object 310. If the Nth inspection object 310 (first area) is judged to be defective (step S103; Yes), the control unit 110 writes the marking image 320 into the image memory corresponding to the Nth inspection object 310 (first area) (the address of the image memory projected onto the Nth work area) before judging whether the N+1th inspection object 310 (second area) is defective (step S105).
[0064] When the marking image 320 is written to the image memory, 1 / 60th of a second later at the latest, the marking image 320 is projected by a projection interrupt process onto the position of the defective inspection object 310 in the work area 301. Therefore, (even though it takes 40 inspection objects 310 × 0.1 seconds = 4 seconds to determine whether all inspection objects 310 are defective), the control unit 110 can project the marking image 320 of each inspection object 310 (inspection area) in almost real time (with a delay of 1 / 60th of a second or less) after the defect determination.
[0065] When the transport unit 160 transports one block (20 pieces) of inspection objects 310, the previous inspection objects 310, numbered 1 to 20, move out of the work area, as shown in (2) of Fig. 5. In order to deal with this, when the transport unit 160 starts transport, the control unit 110 clears the right half area 302 of the image memory and changes the projection range read position to the center of the image memory through transport start interrupt processing, as shown in Fig. 11.
[0066] By changing the projection range read position, as shown in FIG. 11, the left half area 303 of the image memory is projected in accordance with the position of the inspection object 310 (from No. 21 to No. 40) after the movement.
[0067] Then, when the transport start interrupt process is completed, the process returns to step S102 of the inspection process, and scanning of the object 310 is started from N=1. Then, as shown in Fig. 13, the numbers of the objects 310 are again assigned starting from 1 from downstream to upstream, and the 21st to 40th objects 310 before transport become the 1st to 20th objects 310 after transport. However, since the projection range read position has been changed, as shown in Fig. 13, block 304 of the object 310 located on the right side of the work area 301 corresponds to area 303 in the left half of the image memory, and block 305 of the object 310 located on the left side of the work area 301 corresponds to area 302 in the right half of the image memory.
[0068] Then, the contents of the image memory are transferred from the projection range read position to the video memory of the projection unit 150, so that, as shown in FIG. 13, a marking image 320 is projected based on the contents of the left half area 303 of the image memory onto the inspection objects 310 that have become numbered 1 to 20 after transport (the inspection objects 310 that were numbered 21 to 40 before transport), and a marking image 320 is projected based on the contents of the right half area 302 of the image memory onto the newly transported inspection objects 310 that are numbered 21 to 40.
[0069] In the above-described embodiment, the projection range read position is changed in the transport start interrupt process to improve processing efficiency. However, instead of changing the projection range read position, the control unit 110 may block-transfer the contents of the image memory. In this case, each time transport is performed, the control unit 110 writes the contents of the left half area 303 of the image memory to the right half area 302 of the image memory, and then clears the contents of the left half area 303. While this increases the processing time for the block transfer, the control unit 110 does not need to consider the projection range read position when updating the marking image 320 in the inspection process (FIG. 8).
[0070] In addition, in the above-described embodiment, the marking image 320 is projected when the inspection object 310 is determined to be defective, but the marking image 320 may be projected when the inspection object 310 is determined to be non-defective, or the marking image 320 indicating that it is difficult to determine whether the inspection object 310 is defective may be projected. That is, when the result of inspecting the inspection object 310 satisfies a predetermined condition (defective, good, difficult to determine, pass / fail, etc.), the control unit 110 may update the marking image 320 for each region of the projection image in accordance with the inspection result.
[0071] As described above, in the projection system according to the embodiment, the control unit 110 obtains the results (inspection results) of inspecting the state of the inspection object (inspection object 310) for each inspection area of the imaging area divided into multiple inspection areas, and based on the inspection results, updates the projection image for each area of the projection image corresponding to the inspection area, so that it is possible to quickly check whether the results of inspecting the inspection object 310 have changed.
[0072] In addition, the control unit 110 writes a marking image 320 in the area of the projection image corresponding to the inspection area where an inspection result indicating a defect was obtained, so that the worker 400 can check all the defective areas using the marking image 320.
[0073] Furthermore, when the control unit 110 obtains the inspection results of the first area, which is one of the inspection areas, it writes an image based on the inspection results of the first area in the area of the projection image corresponding to the first area before obtaining the inspection results of the second area, which is the other work area, so that the worker 400 can quickly know the inspection results of the first area.
[0074] Furthermore, the projection image projected by the projection unit 150 is superimposed so as to coincide with the imaging area, which is the range photographed by the detection unit 140, so that the operator 400 can easily understand the results of the inspection of the inspection object by the control unit 110 on the spot.
[0075] Furthermore, the control unit 110 inspects the inspection area in the order from downstream to upstream of the transport, so that inspection objects 310 that are transported out of the work area 301 first can be inspected first, reducing the possibility of overlooking defective inspection objects 310.
[0076] (Variation 1) In the above-described embodiment, the first to fortieth inspection areas are always inspected in the inspection process, but the inspection results may be saved (for example, in array variables R[1] to R
[40] ), and only when the inspection object 310 satisfied a predetermined condition (for example, was determined to be defective) in the previous inspection (only for the inspection area where the inspection object 310 satisfied the predetermined condition (for example, was determined to be defective) in the previous inspection), a determination as to whether the predetermined condition is satisfied (for example, whether it is defective) may be made again. In this way, the time required for inspection is shorter than when all inspection objects 310 in the work area 301 are always inspected, and therefore the update speed of the marking image 320 in the work area 301 can be increased (the number of updates can be increased).
[0077] Furthermore, when a transport is performed, the number of the inspection object 310 is shifted by one unit (20 in this embodiment), so the subscripts of the array variables in which the inspection results are saved are also shifted (for example, R
[21] to R
[40] are transferred to R[1] to R
[20] , and then the values of R
[21] to R
[40] are initialized). This makes it possible to apply the previous inspection results to the inspection object 310 after transport.
[0078] By doing so, for example, only when the result of inspecting a predetermined inspection object 310 in an inspection area (first inspection area) upstream in the conveyance direction indicates a defect, the control unit 110 can determine again whether or not the predetermined inspection object 310 is defective in an inspection area (second inspection area) downstream in the conveyance direction to which the predetermined inspection object 310 is conveyed. This can speed up the update speed of the marking image 320 in the work area 301 (increase the number of updates), and also enable the operator 400 to confirm the result of replacing or removing the defective inspection object 310 upstream in the conveyance direction, downstream in the conveyance direction.
[0079] (Variation 2) In the above-described embodiment, whether or not to project the marking image 320 was determined depending on whether or not the inspection object 310 was defective, but the design or color of the marking image 320 may be changed based on past and current judgment results.
[0080] For example, if the first inspection result is bad, a yellow marking image 320 is first projected, and if the next inspection result is also bad, a red marking image 320 is projected, thereby alerting the worker 400. Also, if the first inspection result is bad, a yellow marking image 320 is first projected, but if the next inspection result is good, a green marking image 320 indicating normality is projected, thereby reassuring the worker 400. Also, if the first inspection result is good, no marking image 320 is projected, but if the next inspection result is bad, an orange marking image 320 indicating an abnormality is projected, thereby issuing a warning to the worker 400.
[0081] To perform such processing, for example, the previous inspection result may be stored in a variable that stores the inspection result (for example, array variables R[1] to R
[40] ), and the control unit 110 may determine the color by checking both the current inspection result and the previous inspection result. Furthermore, when transportation is performed, the subscripts of the array variables that store the inspection results are also shifted, as in the above-described first modification. This makes it possible to apply the previous inspection result to the inspection object 310 after transportation.
[0082] By doing this, for example, the control unit 110 can obtain the results (first inspection result) of inspecting a specified inspection object 310 in an inspection area (first inspection area) upstream of the transport, and the results (second inspection result) of inspecting the condition of the specified inspection object 310 in an inspection area (second inspection area) downstream of the transport to which the specified inspection object 310 is transported, and can change the appearance (color, design, etc.) of the marking image 320 and project it based on the first inspection result and the second inspection result.
[0083] By providing different types of marking images 320 in this way, it is possible to alert the worker 400 to the type and make it easier to remove defective inspection objects 310.
[0084] (Variation 3) When replacing or removing a defective inspection object 310, the hand of the operator 400 will be captured in the inspection area. Therefore, in step S103 of the inspection process, if a hand or finger is recognized in an inspection area where the previous inspection result was defective, it may be determined that the inspection result of that inspection area is not defective. Also, in step S103 of the inspection process, if the inspection object 310 is not present in the inspection area where the previous inspection result was defective, it means that the inspection object 310 in that inspection area has been removed, and therefore it may be determined that the inspection result of that inspection area is not defective.
[0085] By doing so, in Modification 3, if no inspection object 310 is present or the hand of the operator 400 is detected in an inspection area where the previous inspection result was defective, the marking image 320 in the area of the projection image corresponding to the inspection area is erased. Therefore, in Modification 3, even if the operator 400 replaces the defective inspection object 310 with a good one, it is possible to prevent the marking image 320 indicating the defect from remaining projected on the inspection object 310 (inspection area) due to the operator 400's hand being captured in the inspection area. It is also possible to prevent the marking image 320 indicating the defect from remaining projected on the area of the projection image corresponding to the inspection area due to the absence of a normal inspection object 310 in the inspection area even after the operator 400 has removed the defective inspection object 310.
[0086] (Other variations) Note that the projection system 100 is not limited to a system including the PC 210, the 3D camera 240, the projector 250, and the conveyor 260, but can also be realized as a system including the projector 250 and the conveyor 260 having a defect determination function for the inspection object 310, or as a system including the 3D camera 240, the projector 250, and the conveyor 260. Furthermore, in the above embodiment, the control unit 110 is described as being included in the PC 210, but for example, the projector 250 may be provided with the control unit 110 and the storage unit 120, and all control of the projection system 100 may be performed by the control unit 110 included in the projector 250. In this case, the control unit 110 and the storage unit 120 of the projector 250 constitute a projection control device, and the light source, projection device, video memory, and lens unit of the projector 250 constitute a projection unit 150.
[0087] Furthermore, the PC 210 as the projection control device 200 is not limited to a normal PC, and any computer can be used as long as it is equipped with the control unit 110 and the storage unit 120. The projection control device 200 may be, for example, a one-board microcomputer.
[0088] In the above embodiment, the program for the inspection process and the like executed by control unit 110 has been described as being stored in advance in storage unit 120. However, the program may be stored and distributed on a non-transitory computer-readable recording medium such as a flexible disk, a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc), an MO (Magneto-Optical disc), a memory card, a USB memory, or the like, and the program may be read and installed on a computer to configure a computer capable of executing each of the above-described processes.
[0089] Furthermore, the program may be superimposed on a carrier wave and applied via a communication medium such as the Internet. For example, the program may be posted and distributed on a bulletin board system (BBS) on a communication network. The program may then be started and executed under the control of an operating system (OS) in the same way as other application programs, thereby enabling the above-described processes to be performed.
[0090] In addition, the control unit 110 may be configured by any single processor such as a single processor, multiprocessor, or multi-core processor, or by combining any of these processors with processing circuits such as an ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array).
[0091] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to such specific embodiments, and the present invention includes the inventions described in the claims and their equivalents. [Explanation of symbols]
[0092] 100...Projection system, 110...Control unit, 120...Storage unit, 130...Operation input unit, 140...Detection unit, 150...Projection unit, 160...Transport unit, 200...Projection control device, 210...PC, 240...3D camera, 250...Projector, 260...Conveyor, 300...Transport line, 301...Work area, 302, 303...Area, 304, 305...Block, 310...Inspection object, 320...Marking image, 400...Worker
Claims
1. an imaging area on which an inspection object is placed, the imaging area being divided into a plurality of regions, and an inspection result being obtained as a result of inspecting a state of the inspection object for each region of the imaging area; updating a projection image projected by a projection unit so as to be superimposed on the imaging area for each region of the projection image corresponding to the divided region based on the inspection result; A control unit is provided. Projection control device.
2. The control unit is writing a marking image indicating a defect in an area of the projection image corresponding to an area where an inspection result indicating a defect has been obtained; The projection control device according to claim 1 .
3. The control unit is when an inspection result of a first region, which is one of the divided regions, is obtained, before an inspection result of a second region, which is one of the divided regions and is a region other than the first region, is obtained, an image based on the inspection result of the first region is written in an area of the projection image corresponding to the first region. The projection control device according to claim 1 .
4. an area onto which the projection image is projected corresponds to the imaging area; The projection control device according to claim 1 .
5. The control unit is inspecting the divided regions in a predetermined order; The projection control device according to claim 1 .
6. The inspection object is transported by a transport unit, The control unit is inspecting the divided areas in a conveyance order from downstream to upstream; The projection control device according to claim 5 .
7. The inspection object is transported by a transport unit, The control unit is only when a result of inspecting the inspection object in a first inspection area, which is one of the divided areas upstream of the transport, satisfies a predetermined condition, an inspection result is obtained which is a result of inspecting a state of the inspection object in a second inspection area, which is downstream of the transport and is an area to which the inspection object from which the first inspection result was obtained is transported. The projection control device according to claim 1 .
8. The inspection object is transported by a transport unit, The control unit is writing a marking image based on the inspection result in an area of the projection image corresponding to an area where the inspection result is obtained; obtain a first inspection result which is a result of inspecting the inspection object in a first inspection area which is one of the divided areas upstream of the transport, and a second inspection result which is a result of inspecting a state of the inspection object in a second inspection area which is a area downstream of the transport to which the inspection object to which the first inspection result was obtained is transported; changing a color of the marking image based on the first inspection result and the second inspection result; The projection control device according to claim 1 .
9. The inspection object is transported by a transport unit, The control unit is when a result of inspecting the inspection object in a first inspection area, which is one of the divided areas upstream of the transport, indicates a defect in the inspection object, inspecting a second inspection area, which is downstream of the transport and is an area to which the inspection object for which the first inspection result was obtained is transported; when the inspection object is not present or the operator's hand is detected, erasing the marking image indicating a defect included in the projection image corresponding to the second inspection area; The projection control device according to claim 2 .
10. A projection control device according to any one of claims 1 to 9, A detection unit that captures an image of the imaging area; The projection unit projects the projection image; Equipped with The control unit is acquiring the inspection result for each of the divided regions of the imaging area based on information acquired by imaging with the detection unit; updating the projection image for each region of the projection image corresponding to the divided region based on the inspection result; The projection image is projected by the projection unit. Projection system.
11. The control unit: an imaging area on which an inspection object is placed, the imaging area being divided into a plurality of regions, and an inspection result being obtained as a result of inspecting a state of the inspection object for each region of the imaging area; updating a projection image projected by a projection unit so as to be superimposed on the imaging area for each region of the projection image corresponding to the divided region based on the inspection result; Projection control method.
12. In the control section, an imaging area on which an inspection object is placed, the imaging area being divided into a plurality of regions, and an inspection result being obtained as a result of inspecting a state of the inspection object for each region of the imaging area; updating a projection image projected by a projection unit so as to be superimposed on the imaging area for each region of the projection image corresponding to the divided region based on the inspection result; A program that executes a process.
Citation Information
Patent Citations
Method and device for detecting and indicating defect position, and method and system for inspecting defect
JP1999258111A
