DETECTION SYSTEM, DETECTION DEVICE AND DETECTION METHOD
The detection system addresses incomplete detection by using a two-dimensional approach with customizable threshold settings, ensuring accurate object recognition by combining light absorption and distance data.
Patent Information
- Application Number
- DE102017124838
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-01-30
- Filing Date
- 2017-10-24
- Publication Date
- 2025-12-04
- Estimated Expiration
- 2037-10-24
AI Technical Summary
Existing detection devices fail to properly detect a target object when relying solely on either light absorption or distance, leading to incomplete detection in certain scenarios.
A detection system that utilizes two-dimensional representation of light absorption and distance data, allowing users to set customizable threshold ranges through a touchscreen interface, ensuring accurate detection by considering both parameters simultaneously.
Enables reliable detection of objects by incorporating both light absorption and distance data, improving detection accuracy and reliability even in situations where single-parameter detection fails.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
AREA OF INVENTION
[0001] The present procedure relates to a recognition system, a recognition device and a recognition method for recognizing a recognition object (object to be recognized). TECHNICAL BACKGROUND
[0002] Traditionally, detection devices have been proposed that recognize a target object. For example, a detection device disclosed in JP H08.014889A detects the amount of light absorbed from the reflected light emitted by the detection device, as well as the distance between the detection device and the target object. It is proposed that the detection device operate in either a first mode for detecting a target object based on the amount of light absorbed rather than the distance, or a second mode for detecting a target object based on the distance rather than the amount of light absorbed.
[0003] DE 10 2006 011 692 A1 discloses a dislocation sensor comprising: a light projection element for illuminating a target object with light at a predetermined angle; a light receiving element for receiving reflected light from a light-illuminated target object; an automatic target range setting device for automatically setting measurement ranges for the two corresponding reflective surfaces detected by automatically increasing the emitted amount of light from the light projection element from a predetermined value by a predetermined amount of light until two or more reflective surfaces of the target object are detected on the light receiving element; and a dislocation measuring device that performs the desired measurement of the dislocation based on a received light image on the light receiving element.
[0004] EP 2 211 305 A1 discloses a device for supporting parameter determination and a program for supporting parameter determination, enabling faster and simpler determination of a parameter to be set in a processing device that achieves a processing result by performing a process using a set of parameters predefined for image data obtained by imaging a measurement object. A user can easily select an optimal parameter set when a determination result and a statistical output are displayed in a list for each of a multitude of experimental parameter candidates. OVERVIEW OF THE INVENTION: PROBLEM TO BE SOLVED BY THE INVENTION
[0005] As described above, the detection device described in JP H08.014889A detects a target object either by the amount of light received or by the distance, and not by the other of light received and distance when either the first or the second mode is selected. Therefore, in a situation where a target object could not be detected when only the amount of light received or when only the distance was used, there was a problem in that a target object could not be properly detected.
[0006] To solve the aforementioned problem, the present method provides a detection system, a detection device and a detection method that can properly detect a detection object, even in a situation where a detection object cannot be detected when only one quantity of light or only one distance is used.
[0007] A recognition system (detection system) according to one aspect of the present invention has the features of claim 1.
[0008] Preferably, the correspondence information is information in which the amount of light absorbed and the distance are represented two-dimensionally.
[0009] Preferably, the detection system can receive input information from a user when the correspondence information is displayed on the display unit, and the setting unit sets the threshold range based on the input information entered by the user in response to the correspondence information displayed on the display unit.
[0010] Preferably, the display unit is equipped with an input unit on a display surface, and when the user touches the display surface, the display unit can receive information at a point on the display surface touched by the user as input information, and the setting unit sets the threshold range based on the information at the point on the display surface of the display unit on which the corresponding information is displayed.
[0011] Preferably, the setting unit sets the threshold range within a range of values that differs from the point on the display surface touched by the user, where the correspondence information is displayed.
[0012] Preferably, when the user touches the display surface to create a closed area on the display surface where the correspondence information is shown, the setting unit adjusts the threshold range based on the closed area.
[0013] Preferably, when the user touches the display surface in two lines on the display surface where the correspondence information is shown, the setting unit sets the threshold range based on a value range delimited by the two lines.
[0014] Preferably, at least one of the two lines is a straight line.
[0015] Preferably, at least one of the two lines is a curved line.
[0016] Preferably, if the user touches multiple areas on the display surface where the correspondence information is shown, the setting unit sets the multiple threshold ranges based on the multiple areas.
[0017] A detection device according to another aspect of the present invention comprises the features of claim 9.
[0018] A detection method according to another aspect of the present invention has the features of claim 10.
[0019] According to the detection system, detection device and detection method of the present procedure, it is possible to properly detect a detection object, even in a situation where a detection object cannot be detected when only a certain amount of light is used or when only a certain distance is used. BRIEF DESCRIPTION OF THE DRAWINGS Fig. Figure 1 is a diagram illustrating an exemplary situation in which a recognition system according to one embodiment is used; Fig. Figure 2 is a diagram illustrating an exemplary configuration of the detection system according to the embodiment; Fig. Figure 3 is a diagram illustrating an exemplary functional configuration of the detection system according to the embodiment; Fig. 4 is a diagram to illustrate two-dimensional information according to the embodiment; Fig. Figure 5 is a diagram illustrating an exemplary flowchart of a step for displaying two-dimensional information according to the embodiment; Fig. Figure 6 is a diagram illustrating a graphical representation according to the embodiment; Fig. Figure 7 is a diagram illustrating an exemplary threshold range according to the embodiment; Fig. Figure 8 is a diagram illustrating an exemplary threshold range according to the embodiment; Fig. Figure 9 is a diagram illustrating an exemplary threshold range according to the embodiment; Fig. Figure 10 is a diagram illustrating an exemplary threshold range according to the embodiment; Fig. Figure 11 is a diagram illustrating an exemplary threshold range according to the embodiment; Fig. 12 is a diagram illustrating a case in which the threshold range is binarized according to the embodiment; Fig. 13 is a diagram illustrating a case in which the threshold range is binarized according to the embodiment; Fig. 14 is a diagram illustrating a case in which the threshold range is binarized according to the embodiment; Fig. Figure 15 is a diagram illustrating an exemplary flowchart of a step for setting a threshold range according to the embodiment; Fig. Figure 16 is a diagram illustrating an exemplary flowchart of a recognition step according to the embodiment; Fig. 17 is a diagram illustrating an effect of the detection system according to the embodiment; Fig. Figure 18 is a diagram illustrating an effect of the detection system according to the embodiment; Fig. 19 is a diagram illustrating an effect of the detection system according to the embodiment; Fig. Figure 20 is a diagram illustrating an effect of the detection system according to the embodiment; Fig. Figure 21 is a diagram illustrating an exemplary configuration of a detection system according to a modification; Fig. Figure 22 is a diagram illustrating a functional configuration of a detection device according to the modification; and Fig. Figure 23 is a diagram illustrating a functional configuration of a display device according to the modification. FORMS OF EXECUTION OF THE INVENTION
[0020] With reference to the drawings, an embodiment of the present invention is described in detail. Identical or equivalent parts are designated by the same reference numerals in the drawings. A repeated description of these parts is omitted. Situation in which a detection device 200 is used
[0021] First, an example of a situation in which a detection device 200 is used is described. Fig. Figure 1 is a diagram illustrating the exemplary situation in which the detection device 200 is used. In the diagram shown in Fig. In the example shown, several workpieces 1000 are arranged on a conveyor belt 1004. The conveyor belt 1004 can move in the direction of the Y-axis. A marker 1002 is attached to each workpiece 1000. The detection device 200 is positioned so that it faces each individual workpiece 1000. It is assumed that a back wall 1006 (a background) from the perspective of the detection device 200 and each marker 1002 are the same color. A detection system 1 (see Fig. 2) According to the embodiment, each marking 1002 is recognized as a recognition object. The recognition system 1 executes a predetermined control based on the recognized marking 1002. The predetermined control includes, for example, a control to spray paint onto the recognized marking 1002. Example of a recognition system according to the embodiment
[0022] Fig. Figure 2 is a diagram illustrating an exemplary detection system 1 according to the embodiment. The detection system 1 according to the embodiment comprises the detection device 200 and a display device 150. The detection device 200 is, for example, a photoelectric sensor. The display device 150 is also referred to as a control device for controlling the detection device 200. The detection device 200 is connected to the display device 150 via a cable 205. The display device 150 is also connected to a power source via a cable 160. The display device 150 also outputs an ON signal and an OFF signal via the cable 160, which are described later.
[0023] The display device 150 includes a display unit 155. The display unit 155 is also designed as a touchscreen. The touchscreen system can be any type of system. A resistive film system, a surface acoustic wave system, an infrared system, or an electromagnetic induction system can be used for the touchscreen system. The display unit 155 can receive input information from a user when the display unit 155 displays two-dimensional information, as described later. The display unit 155 has a display surface 156 that is touched by the user.
[0024] In this embodiment, the user can enter a threshold range into the display device 150 before a detection step in which the detection system 1 detects a detection object. In the detection step, the detection system 1 detects a detection object based on the set threshold range. The user can set the threshold range by touching the display surface 156. In the detection system 1, when a light absorption quantity detection unit 204 (see Fig. 3) a quantity of light absorption is detected, a distance detection unit 206 (see Fig. 3) simultaneously a distance between the detection device 200 and a point where light emitted by the detection device 200 is reflected.
[0025] If the amount of light detected by the light-intake detection unit 204 falls within the threshold range, and if a distance detected by the distance detection unit 206 also falls within the threshold range, the detection system 1 decides that it detects the marker 1002. Otherwise, the detection system 1 decides that it does not detect the marker 1002. These other cases include a case in which the amount of light detected by the light-intake detection unit 204 of the detection device 200 falls within the threshold range, but a distance detected by the distance detection unit 206 of the detection device 200 does not fall within the threshold range.These other cases also include a case in which a light absorption quantity detected by the light absorption quantity detection unit 204 of the detection device 200 does not fall within the threshold range, but a distance detected by the distance detection unit 206 of the detection device 200 does fall within the threshold range. As described above, the detection system 1 detects the marker 1002, which represents a detection object, based on the threshold range set by the user.
[0026] Fig. Figure 3 is a diagram illustrating an exemplary functional configuration of the detection system 1. An exemplary functional configuration of the detection device 200 and an exemplary functional configuration of the display device 150 are described with reference to Fig. 3 described. As in Fig. As shown in Figure 3, the detection device 200 comprises a light emission and reception circuit 202, the light reception quantity detection unit 204, and the distance detection unit 206. The light emission and reception circuit 202 comprises a light emission element 2022 and a light reception element 2024. The light emission element 2022 is also referred to as the light emission unit. The light reception element 2024 is also referred to as the light reception unit.
[0027] The display device 150 comprises a processor 152, an output unit 154, a display surface 156, and a memory 158. The processor 152 functions as the central processing unit (CPU) of the display device 150. The processor 152 also functions as a setting unit 1524, a recognition unit 1526, and a graph generator 1528. The memory 158 can store various types of information, such as a threshold range. The memory 158 includes a read-only memory (ROM) and a random-access memory (RAM).
[0028] The light emitter 2022 emits light. This light can be, for example, visible or infrared light. The light receiver 2024 receives reflected light from the light emitted by the light emitter 2022. The light absorption quantity detection unit 204 detects the quantity of light (hereinafter referred to as "light absorption quantity") received by the light receiver 2024. The distance detection unit 206 detects a distance L between the detection device 200 (the light receiver 2024) and a location from which the light emitted by the light emitter 2022 is reflected. Any method, such as triangulation, can be used to detect the distance. If the light emitted by the light emitter 2022 is reflected by the workpiece 1000, the distance detection unit 206 detects a distance between the detection device 200 and the workpiece 1000.The distance detection unit 206 can detect a distance based on a quantity of light absorbed by the light-absorbing element 2024 or on a basis other than the quantity of light absorbed.
[0029] The light absorption data (hereinafter referred to as light absorption data) acquired by the light absorption detection unit 204 and the distance data L (hereinafter referred to as distance data) acquired by the distance detection unit 206 are input into the processor 152. The graph generator 1528 displays two-dimensional information representing, in two dimensions, the light absorption data acquired by the light absorption detection unit 204 and the distance L acquired by the distance detection unit 206, based on the input light absorption data and the input distance data. This two-dimensional information is also referred to as a graph.
[0030] The light absorption quantity detection unit 204 according to the embodiment has a greater light absorption quantity along with a higher degree of similarity between the color of the reflected area and the color of the marking 1002. The light absorption quantity is set such that a maximum value is reached when the color of the reflected area is identical to the color of the marking 1002. In the example in Fig. 1. The amount of light absorbed has the maximum value because the color of wall 1006 is identical to the color of mark 1002 when the light is reflected from mark 1002 or from wall 1006.
[0031] When the detection device 200 detects the mark 1002, the output unit 154 externally outputs an ON signal via cable 160, indicating that the detection device has detected the mark 1002. If the detection device 200 does not detect the mark 1002, the output unit 154 externally outputs an OFF signal via cable 160, indicating that the detection device 200 has not detected the mark 1002. An external device (not shown) performs a predetermined control action based on the ON or OFF signal output externally. About two-dimensional information
[0032] Fig. Figure 4 is a diagram illustrating an example of the two-dimensional information as displayed on the display surface 156. The two-dimensional information according to the embodiment is presented with reference to Fig. 4 described. The example in Fig. Figure 4 shows the amount of light detected by the light absorption detection unit 204 on the x-axis and the distance L detected by the distance detection unit 206 on the y-axis. The example in Fig. Figure 4 represents a graph B based on the amount of light received and the distance. In a modification, the x-axis can show the distance L and the y-axis the amount of light received.
[0033] In the Fig. The situation depicted in Figure 1 is a state in which the detection device 200 detects the marker 1002, a state in which the distance L detected by the distance detection unit 206 is relatively short, and the amount of light detected by the light absorption detection unit 204 is relatively large. In this case, the user can assume that the marker 1002 is detected within the value range of approximately Z1. The user then assigns (by touch) a value range Z, which includes the range Z1, using their finger or a stylus. As a result, the setting unit 1524 sets the value range Z1 as the threshold range. The data of the threshold range set by the setting unit 1524 are stored in memory 158.The data for the threshold range are configured, for example, by minimum distance data, maximum distance data, minimum light absorption data, and maximum light absorption data.
[0034] In Fig. 1 can be a state in which the distance and the amount of light absorbed by area X in Fig. The state in which the detection device 200 detects the wall 1006 (i.e., the wall 1006 reflects the light emitted by the detection device 200) is described as belonging to the area X. The reason for this is that the amount of light received by area X is approximately equal to the amount of light received by the value range Z1, and, on the other hand, the distance to area X is greater than the distance to the value range Z1.
[0035] In Fig. 1 can be a state in which the distance and the amount of light absorbed by the area Y in Fig. 4. The state in which the detection device 200 detects a location other than the marking 1002 on the workpiece 1000 (that is, the light emitted by the detection device 200 is reflected at a location other than the marking 1002 on the workpiece 1000) is defined as the condition in which the detection device 200 detects a location other than the marking 1002 on the workpiece 1000. The reason for this is that the distance belonging to area Y is approximately equal to the distance in the value range Z1, and, on the other hand, the amount of light received belonging to area Y is less than the amount of light received in the value range Z1.
[0036] Graph B is generated and displayed based on the amount of light captured and the distance measured by the detection device 200, which identifies one of the workpieces transported on the conveyor belt. However, graph B is not generated and displayed based on the amount of light captured and the distance measured at a single point in time during detection, but rather based on the amount of light captured and the distance measured over multiple detection events. Therefore, if a detected value exhibits high variance, the line width of graph B will be relatively large, and if the detected value exhibits low variance, the line width of graph B will be relatively narrow.
[0037] A processing step of the recognition system 1 of the embodiment comprises a step for displaying two-dimensional information, a step for setting a threshold range, and a recognition step. The step for displaying two-dimensional information involves displaying two-dimensional information (graph) for each of the multiple workpieces by accumulating (summarizing) the two-dimensional information of each of the multiple workpieces as the multiple workpieces continue to move, as shown in Fig. Figure 1 illustrates this. The step for setting a threshold range involves the user setting a threshold range for the displayed two-dimensional value range. The set threshold range is stored in memory 158. An input unit is provided on the display surface 156. When the user touches the display surface 156, the input unit can receive information about the touched location as input information. The input information received by the display surface 156 (the display unit 155) is transmitted to the processor 152. The step for setting a threshold range involves setting the threshold range on the display surface 156, where the two-dimensional information is displayed, based on the user's touched location (input information).The recognition step involves recognition system 1 detecting a recognition object (marker 1002) based on the set threshold range. Furthermore, in this step, the threshold range stored in memory 158 is read, and recognition system 1 detects the recognition object (marker 1002) based on this read threshold range. The recognition object in this step can be identical to or different from the recognition object detected in the step for displaying two-dimensional information. These three steps are described in detail below. About the step to displaying two-dimensional information
[0038] First, the step for displaying two-dimensional information is described. In this step, several workpieces 1000 are arranged on the conveyor belt 1004 and moved in the direction of the Y-axis. In this embodiment, it is assumed that all the workpieces 1000 are identical. The recognition system 1 acquires the distance data and the light absorption data of each of the identical workpieces 1000. In the step for displaying two-dimensional information, two-dimensional information is both acquired and displayed.
[0039] Fig. Figure 5 is a flowchart of the step for displaying two-dimensional information. In S2, processor 152 performs an initialization. This initialization includes, for example, a preparation process so that the recognition device 200 can detect a recognition object. Furthermore, the initialization includes not only the process of the recognition system 1, but also the process for moving the conveyor belt 1004 as an external device.
[0040] Next, in S4, the graph generator 1528 reads the amount of light detected by the light absorption detection unit 204 and the distance detected by the distance detection unit 206.
[0041] Then, in S6, the graph generator 1528 calculates a position for the graphical representation of the data. In the embodiment as in Fig. Figure 4 shows the amount of light absorbed set in the X-coordinate and the distance in the Y-coordinate. Next, in S8, the graph generator 1528 graphically displays the data set in S6 on the display surface 156. Fig. Figure 6 is a diagram of an exemplary graphical representation of a point in S8. Fig. Figure 6 shows an example case where the point corresponding to a light absorption quantity of 170 and a distance of 285 is graphically represented. The unit of distance is, for example, "mm". The light absorption quantity is a value that a light-emitting element 2024 can absorb, with a maximum value set to a predetermined value (for example, 1000).
[0042] In S10, graph generator 1528 determines whether a display stop condition is met. The display stop condition includes a user stop condition and a workpiece end condition. The user stop condition occurs when the user performs an operation to terminate the step for displaying two-dimensional information. The workpiece end condition occurs when the reading of distance data and light absorption data for all workpieces is complete. If S10 determines that the display stop condition is met (YES in S10), the step for displaying two-dimensional information ends. If S10 determines that the display stop condition is not met (NO in S10), the process returns to S4.
[0043] Each sampling cycle involves a process consisting of steps S4 to S10. The sampling cycle is a preset cycle of, for example, 0.1 seconds. The sampling cycle can also be configured to be user-adjustable.
[0044] By repeating the process from steps S4 to S10, two-dimensional information is generated as an aggregation of points (Graph B as in Fig. 4 shown) generated. About the step to setting a threshold range
[0045] Next, the step for setting a threshold range is described. In the step for setting a threshold range according to the embodiment, a threshold range is set when the user touches the display surface 156, on which the two-dimensional information is displayed. In the step for setting a threshold range according to the embodiment, the user can touch the display surface 156 in different modes. The different modes are described below with reference to Fig. 7 to Fig. 11 described.
[0046] Fig. Figure 7 shows an example case in which a user touches the display surface 156 to form a closed area (around a circle or an oval). In the example in Fig. 7. The user touches the display surface 156 to form the closed area, for example by drawing an outline A1. In this case, the setting unit 1524 sets the closed area formed by the outline A1 as the threshold range A. The threshold range A is defined by a Fig. The value range shown in shaded areas is formed in section 7. Within the threshold range A in Fig. 7. The light absorption range is between 200 and 500, and the distance range is contained within a rectangular range of 150 to 200. In the detection step described below, if the light absorption detected by the light absorption detection unit 204 falls within threshold range A, and simultaneously the distance detected by the distance detection unit 206 also falls within threshold range A, then marker 1002 is detected. In any other state, marker 1002 is not detected.
[0047] As described above, the user can set the threshold range A by touching the display surface 156, on which the two-dimensional information is displayed, in such a way that a closed area is formed. This makes it very easy for the user to set the threshold range A.
[0048] Fig. Figure 8 shows an example case in which the user touches the display surface 156 to draw two lines. In the Fig. In example 8, the two lines are a straight line L1 and a straight line L2. The endpoints of the straight line L1 are L1a and L1b. Furthermore, the endpoints of the straight line L2 are the points L2a and L1b.
[0049] In this case, setting unit 1524 assumes that a straight connecting line is drawn between L1a and an endpoint near L1a, below the endpoints of the straight line L2, which is different from the straight line L1 and includes L1a (i.e., L2a). Furthermore, setting unit 1524 assumes that a straight connecting line is drawn between L2a and an endpoint near L2a, below the endpoints of the straight line L2, which is different from the straight line L1 and includes L2a (i.e., L2b). Setting unit 1524 then sets the threshold range A to a closed area enclosed by the straight line connecting L1a and L2a, the straight line connecting L1b and L2b, the straight line L1, and the straight line L2.
[0050] As described above, the user can set the threshold range A by touching the display surface 156 and drawing two straight lines on the display surface 156, which shows the two-dimensional information. This allows the user to easily set the threshold range A. Furthermore, the user can set the threshold range A with a large range of values for the amount of light received by touching the display surface 156 and drawing two straight lines along the X-axis. The user can also set the threshold range A with a large range of values for the distance by touching the display surface 156 and drawing two straight lines along the Y-axis.
[0051] Fig. Figure 9 shows an example case in which the user touches the display surface 156 to draw two lines. In the Fig. In example 9, the two lines are a curved line C1 and a curved line C2. The endpoints of curved line C1 are C1a and C1b. Furthermore, the endpoints of curved line C2 are points C2a and C1b.
[0052] In this case, setting unit 1524 assumes that a straight connecting line is drawn between C1a and an endpoint near C1a, below the endpoints of the curved line C2, which is different from the curved line C1 that encloses C1a (i.e., C2a). Furthermore, setting unit 1524 assumes that a straight connecting line is drawn between C2a and an endpoint near C2a, below the endpoints of the curved line C2, which is different from the curved line C1 that encloses C2a (i.e., C2b). Subsequently, setting unit 1524 defines a closed region as threshold range A, enclosed by the straight line connecting C1a and C2a, the straight line connecting C1b and C2b, the curved line C1, and the curved line C2.
[0053] As described above, the user can adjust the threshold range A by touching the display surface 156 and dragging the two curved lines on the display surface 156, which shows the two-dimensional information. This allows the user to adjust the threshold range A very easily.
[0054] Fig. Figure 8 shows an example where the two lines drawn by the user are straight lines, and Fig. Figure 9 shows an example where the two lines drawn by the user are curved lines. Alternatively, one of the two lines can be straight and the other curved. The curved lines in Fig. Nine lines each have one arc. Alternatively, the curved line can also have multiple arcs (for example, a wavy line).
[0055] As described above, even if the user does not touch the display surface 156 in such a way as to form a closed area, it is assumed that a closed area is intended to be formed when the user touches the display surface 156 and draws two lines. This can improve user comfort.
[0056] Fig. Figure 7 shows a case in which only one threshold range A is set. Alternatively, an arrangement can be made in which two or more threshold ranges A can be set. Fig. Figure 10 shows a case in which two threshold ranges A are set. As in Fig. 10 will be shown when the user touches the display surface 156 and drags two or more closed areas; these two or more closed areas will be set as threshold range Aa and threshold range Ab of the two or more. The user can set two or more threshold ranges as described above.
[0057] A user touch mode for setting one or more threshold ranges is not limited to a mode in which a closed range is formed (see Fig. 7), but can also include the touch modes referred to in relation to Fig. 8 and Fig. 9 will be described.
[0058] Referring to Fig. 7 and Fig. Examples were described in section 10 where the closed area touched by the user is set as threshold range A. Alternatively, the setting unit 1524 can also set a different range as threshold range A. This means that the setting unit 1524 sets a value range different from threshold range A, based on a point on the display surface 156 that the user touches.
[0059] Fig. Figure 11 shows an example of a case in which a closed area other than one touched by the user is set as the threshold range A. Fig. Figure 11 is a representation of a case in which the user touches the display surface 156 in such a way that he forms two closed areas D1 and D2.
[0060] As in Fig. As shown in Figure 11, the setting unit 1524 sets a threshold range A other than the closed range D1 and the closed range D2. According to the reference to Fig. In the configuration described in section 11, the user can very easily set the threshold range with a large range of values.
[0061] An arrangement can also be made in which the user can select a first mode, in which a closed area defined by the user is set as the threshold range, or a second mode, in which a different closed area than the one defined by the user is set as the threshold range. For example, the display device 150 can be configured to display a selection screen on the display surface 156. The first mode and the second mode are displayed as options on the selection screen. The display device 150 sets the mode according to an option selected (touched) by the user when the selection screen is displayed. According to this configuration, the user can choose either the first or the second mode. This improves user convenience.
[0062] With reference to Fig. Section 11 described an example of a case in which two closed areas are formed. This was done with reference to Fig. The principle described in section 11 is also applicable when a single closed area is formed, as in Fig. 7 shown or when two lines are drawn (see Fig. 8 and Fig. 9) For example, if, with reference to Fig. The principle described in point 11 is applied to the principle which refers to Fig. As described in section 7, instead of threshold range A, another of all areas of the display surface 156 is set as the threshold range. Furthermore, if the following applies with reference to Fig. The principle described in point 11 is applied to the principle which refers to Fig. As described in section 8, instead of threshold range A, another of all areas of the display surface 156 is set as the threshold range. Furthermore, if the following applies with reference to Fig. The principle described in point 11 is applied to the principle which refers to Fig. As described in section 9, instead of threshold range A, another of all areas of the display surface 156 is set as the threshold range.
[0063] In a recognition step described below, a recognition object is identified using a decision table based on a defined threshold range. The decision table displays each element (each coordinate) of the display surface 156 in binarized form. The binarization is described below. Fig. Figure 12 is a diagram that schematically represents the binarization of a user-defined closed area. Fig. 12, and also in those described below Fig. 13 and Fig. In section 14, for the sake of simplicity, a value range of 0 to 19 is set for the amount of light received (the X-axis) and from 0 to 17 for the distance (the Y-axis). However, the actual light receive and distance values may fall within different ranges than those specified. For example, the light receive value range is set to 0 to 1000, and the distance value range to 100 to 300.
[0064] In Fig. 12 indicates "1" as a point touched by the user and "0" as a point not touched by the user. Fig. Figure 13 is a diagram that schematically represents a case in which the user touches the display surface 156 to create a closed area. Fig. Figure 14 is a diagram that schematically represents a case in which the closed area in Fig. 13 is converted to "1". The threshold range can be set in the Fig. 12 and Fig. The mode shown in 14 will be displayed. Fig. Figure 14 shows a case where the user selects the first mode (a mode where the closed range defined by the user is a threshold range). If, for example, the user selects the second mode (a mode where a range other than the closed range defined by the user is the threshold range), a position with the value "0" becomes "1" and a position with the value "1" becomes "0", see Figure 14. Fig. 14.
[0065] Fig. Figure 15 is a diagram illustrating the step of setting a threshold range. In S60, the setting unit 1524 captures a coordinate sequence of points touched by the user on the display surface 156. This coordinate sequence is an aggregation of the coordinates of the user-touched positions. In S62, the setting unit 1524 detects a closed range based on the aggregated coordinates captured in S60. Next, in S64, the setting unit 1524 decides whether the first mode is selected. If S64 determines that the first mode is selected (YES in S64), the process continues with S68. If S64 determines that the first mode is not selected, i.e., the second mode is selected (NO in S64), the process continues with S66.
[0066] In S68, as in Fig. In S66, all elements within the closed area are shown as "1". Furthermore, all elements in areas other than the closed area are shown as "0".
[0067] After S66 or S68, the process continues with S70. In S70, the setting unit 1524 decides whether the threshold range setting is complete. If setting unit 1524 decides in S70 that the threshold range setting is complete (YES in S70), the process ends in S70. Fig. 15. If the setting unit 1524 in S70 decides that the threshold range setting is not complete (NO in S70), the process returns to S60. If the graph in Fig. If a setting is displayed on display surface 156, either in section 7 or in another drawing, an end-of-setting button (not shown) is also displayed. The decision in S70 is based on whether the end-of-setting button has been pressed. If the decision process in S70 determines that the end-of-setting button has been pressed, the decision in S7 is YES. If the decision process in S70 determines that the end-of-setting button has not been pressed, the decision in S7 is NO.
[0068] As described above, in the step for setting a threshold range, the user can very easily set a threshold range by touching the display surface 156. As described above, the threshold range is as described in Fig. 12 and Fig. Figure 14 shows a “decision table”. The values “0” and “1” defined in the decision table are also referred to as “element values”. About the recognition step
[0069] Next, the detection step is described. The detection step involves detection system 1 recognizing the detection object (the marker 1002) based on the set threshold range. Fig. Figure 16 shows an exemplary flowchart of the detection step. First, in S12, the detection unit 1526 detects (a) light absorption quantity (data) from the light absorption quantity detection unit 204 and (a) distance (data) from the distance detection unit 206. Light absorption quantity and distance are detected simultaneously by the detection device 200.
[0070] Next, the detection unit 1526 in S14 records element values corresponding to the distance and light intake measured in S12, with reference to the decision table (see Fig. 12 and Fig. 14). For example, if the amount of light detected in S12 is 10 and the distance is 15, the detection unit 1526 in the decision table, which is in Fig. As shown in S14, "1" is the element value. If the amount of light detected in S12 is 7 and the distance is 9, the detection unit 1526 detects "0" as the element value. After the process in S14 is complete, the process continues with S16.
[0071] In S16, the recognition unit 1526 decides whether the element value detected in S14 is "1". If S16 decides that the element value is "1", the process continues with step S20, and if S16 decides that the element value is "0", the process continues with S18.
[0072] In S20, output unit 154 outputs an ON signal based on the control of detection unit 1526. The ON signal indicates that detection unit 1526 recognizes the marker 1002 as a recognition object. Furthermore, in S18, output unit 154 outputs an OFF signal based on the control of detection unit 1526. The OFF signal indicates that detection unit 1526 does not recognize the marker 1002 as a recognition object.
[0073] When processes S18 and S20 end, the process continues with S22. In S22, a decision is made as to whether the detection unit 1526 has completed the detection of each mark 1002 of all workpieces 1000. For example, the user decides whether the detection of each mark 1002 of all workpieces 1000 is complete. If the user decides that the detection of each mark 1002 of all workpieces 1000 is complete, the user executes a detection end operation. The decision in S22 is made by the user based on whether the detection end operation has been executed. The detection end operation is executed in response to a detection end button (not shown). If, during the decision process in S22, it is determined that the detection end button has been pressed, the decision in S22 is YES. If, during the decision process in S22, it is determined that the detection end button has not been pressed, the decision in S22 is NO.
[0074] If S22 is answered with YES, the recognition step ends. If S22 is answered with NO, the process returns to S12. A series of processes S12 to S22 is executed in each predetermined recognition cycle. The predetermined recognition cycle can be identical to the sampling cycle defined with reference to Fig. 5 was described, or it could be a different cycle.
[0075] This means that in S14 and S16 in Fig. 16 The detection unit 1526 detects a detection object based on whether the amount of light detected by the light absorption detection unit 204 falls within threshold range A, and also whether the distance detected by the distance detection unit 206 falls within threshold range A. In short, the detection unit 1526 detects a detection object based on whether the amount of light detected by the light absorption detection unit 204 and the distance detected by the distance detection unit 206 fall within threshold range A.
[0076] In particular, if it is determined that the amount of light detected by the light absorption detection unit 204 falls within threshold range A, and if it is also determined that the distance detected by the distance detection unit 206 falls within threshold range A, it is determined that the detection device 200 detects a detection object. In short, if it is determined that the amount of light detected by the light absorption detection unit 204 and the distance detected by the distance detection unit 206 fall within threshold range A, it is determined that the detection device 200 detects a detection object. Effects of the detection system 1 according to embodiment
[0077] (1) Next, the effects of the detection system 1 according to the embodiment are described. A detection device (hereinafter referred to as the detection device for a first comparison) that detects a detection object (the mark 1002) solely on the basis of a quantity of light received without the aid of a distance in the context of Fig. The detection mechanism for the first comparison, as described in section 1, emits light, receives reflected light, and detects, for example, mark 1002 based on the amount of light received. The amount of light received is based on the color of the point where the emitted light is reflected. Furthermore, as the similarity between the color of the reflected area and the color of mark 1002 increases, the value for the amount of light received increases. When the color of the reflected area is identical to the color of mark 1002, the value for the amount of light received is set to a maximum value.
[0078] This means that the detection device for the first comparison registers the amount of light absorbed by the reflected light from the location of mark 1002 on workpiece 1000 as a large value. Conversely, the detection device for the first comparison registers the amount of light absorbed by the reflected light from a location other than mark 1002 on workpiece 1000 as a small value.
[0079] This means that if the first-comparison detection device is in the state of detecting a large value as the amount of reflected light received, the first-comparison detection device will detect mark 1002. If the first-comparison detection device is in the state of detecting a small value as the amount of reflected light received, the first-comparison detection device will detect a location other than mark 1002 on workpiece 1000. When the first-comparison detection device is in the state of detecting mark 1002, it externally outputs an ON signal indicating that it has detected mark 1002.If the first comparison detection device is in the state of not recognizing mark 1002, the first comparison detection device externally outputs an OFF signal indicating that the detection device does not recognize mark 1002.
[0080] A case is now described in which the first-comparison detection device is not facing a detection object. In this case, the light emitted by the first-comparison detection device is not reflected by a detection object, but by wall 1006. Wall 1006 has the same color as marker 1002. Therefore, the first-comparison detection device detects a large value as reflected light from wall 1006. Accordingly, although the first-comparison detection device does not detect marker 1002, it externally outputs an ON signal, resulting in a false detection by the first-comparison detection device. As described above, the first-comparison detection device performs a false detection when the, with reference to Fig. The situation described in section 16 occurs.
[0081] On the other hand, the recognition system 1 according to the embodiment can properly recognize a recognition object, since the recognition system 1 according to the embodiment recognizes the recognition object (the marking 1002) not only on the basis of the amount of light received, but also on the basis of the distance.
[0082] A detection device (hereinafter referred to as a second-comparison detection device) that detects a recognition object (the mark 1002) solely based on distance without the aid of light absorption is described. For example, as recorded in the reference to Fig. In the situation described in section 1, the detection device for the second comparison has the same distance both when a reflection point is the marking 1002 of the workpiece 1000 and when a reflection point is a location other than the marking 1002 of the workpiece 1000. Therefore, the detection device for the second comparison cannot properly detect a recognition object.
[0083] In contrast, the recognition system 1 according to the embodiment can properly recognize a recognition object, since the recognition system 1 according to the embodiment recognizes the recognition object (the marking 1002) not only on the basis of the distance, but also on the basis of the amount of light received.
[0084] (2) Next, the effects of displaying two-dimensional information (Graph B in Fig. 4 and other drawings). By displaying the two-dimensional information, the stability of a detection state of the detection system 1 can be made apparent to the user. Fig. 17 and Fig. Figure 18 contains diagrams describing the stability of the recognition state. This section describes a case where, in the step for displaying two-dimensional information, a distance and a light absorption quantity are recorded for each of a plurality of identical workpieces.
[0085] Fig. Figure 17 shows a case in which two-dimensional information is displayed when the recognition state of recognition system 1 is stable. Since the multiple workpieces are all identical, the recognition variance is low when recognition system 1 is in a stable state, and graph B is displayed with a small line width. This means that the user can recognize that the recognition state is stable when the superimposed graphs of the multiple workpieces are displayed as shown in Fig. 17 shown.
[0086] Fig. Figure 18 shows a case where two-dimensional information is displayed when a recognition state of recognition system 1 is unstable. If a recognition state of recognition system 1 is unstable, even though several workpieces are all identical, the variance of the recognition values becomes large, and the width of the line used to represent graph B is also large. That is, it can be made apparent to the user that the recognition state is unstable when the graphs of the several workpieces are displayed as in Figure 1. Fig. 18 shown.
[0087] (3) Next, other effects of displaying two-dimensional information (Graph B in Fig. 4 and other drawings). By displaying the two-dimensional information, a decision margin can be identified for the user. The decision margin is the range within which it is decided whether a workpiece for which a distance and light absorption quantity are detected (hereinafter referred to as the workpiece for detection) is an approved workpiece (a workpiece that conforms to a standard) or an unapproved workpiece (a workpiece that does not conform to the standard). If the decision margin is large, the user can very easily decide whether the workpiece for detection is an approved or unapproved workpiece. Fig. 19 and Fig. Figure 20 shows a graph of the approved workpiece with a solid line (Graph B1) and a graph of the unapproved workpiece with a dashed line (Graph B2). If the graphs of the approved and unapproved workpieces differ significantly, the user can easily determine whether the workpiece being identified is approved or unapproved. The margin of error is large when the graphs of the approved and unapproved workpieces differ significantly.
[0088] In Fig. 20, the distance between the graph for an approved workpiece and the graph for an unapproved workpiece is greater than in Fig. 19 (a large difference between the graph for an approved workpiece and the graph for an unapproved workpiece). Accordingly, it shows Fig. 20 a larger decision margin than Fig. 19. The two-dimensional information (the graph) for the approved workpiece and for the unapproved workpiece is displayed so that the user can see the decision margin. Modifications
[0089] Although the embodiment of the present invention is described above with reference to the drawings, the present invention is not limited to this embodiment. Various changes and modifications can be made without departing from the scope of protection of the present invention. Modifications applicable to the present invention are described below.
[0090] (1) Fig. Figure 21 is a diagram illustrating an exemplary functional configuration of a detection system 10 according to a modification. As shown in Figure 21, the detection system 10 comprises a detection device 500 and a display device 600. The detection device 500 and the display device 600 can communicate with each other via a wired or wireless connection.
[0091] Any display device can be used as the display device 600, as long as it displays two-dimensional information. The display device 600 can be a non-portable personal computer (PC). The display device 600 can be a portable device that can be carried by the user. For example, the portable device can be a smartphone or a tablet computer. For example, an application that can display the two-dimensional information is stored in the display device 600. Thus, in the detection system 10 of the modification, an existing display device can be used without having to use the display device specifically provided for the detection system 1, unlike in the embodiment, so that the configuration of the detection system can be simplified.
[0092] Fig. Figure 22 illustrates an exemplary functional configuration of the detection device 500, and Fig. Figure 23 illustrates an exemplary functional configuration of the display device 600. The detection system 1 of the embodiment differs from the detection system 10 of the modification in the following respect. This means that in detection system 1 of the embodiment, the display device 150 performs the step for setting a threshold range and the detection step. In contrast, in detection system 10 of the modification, the detection device 500 performs the step for setting a threshold range and the detection step. In detection system 10 of the modification, the display device 600 performs the step for displaying two-dimensional information.
[0093] The detection device 500 transmits the light intake quantity detected by the light intake quantity detection unit 204 and the distance detected by the distance detection unit 206 as a communication signal via a communication interface 1542 to the display device 600. The display device 600 performs the step of displaying two-dimensional information based on the transmitted light intake quantity and distance (displays the two-dimensional information).
[0094] The two-dimensional information is displayed on a display unit 606 of the display device 600, and the user touches the display surface of the display unit 606, whereby the coordinate touched by the user is sent as a communication signal to the display device 600 via a communication interface 602. The setting unit 1524 of the detection device 500 sets the threshold range A based on the coordinate touched by the user.
[0095] The detection system 10 of the modification has a similar effect to that of the embodiment. The detection device can perform at least the step for displaying two-dimensional information, the step for setting a threshold range, and / or the detection step, and another device can perform other steps.
[0096] (2) In this embodiment, the user, for example, touches the display surface 156 as user input. However, the form of user input is not limited to touching the display surface 156 and other methods can also be used. For example, one of these methods can be voice input from the user. If the user says, for example, “Distances 120 to 180, light absorption amounts 300 to 400”, the detection system sets the threshold range based on the voice input. In this case, “Distances 120 to 180, light absorption amounts 300 to 400” is set as the threshold range according to the voice input.
[0097] Alternatively, the user can enter a numerical value as another input method. For example, a keyboard with a hard key can be connected to the display device. The user can enter the numerical value via the keyboard. A soft key can be displayed on the display device's interface. The user can enter the numerical value using the soft key. This allows the user to enter the exact numerical value when setting the threshold.
[0098] (3) In this embodiment, the graph B (see Fig. Figure 7 and other drawings) depict the two-dimensional information on distance and light intake. However, any information can be displayed as long as it is the corresponding information relating the distance and light intake to each other. For example, the two-dimensional information can be displayed as a table in which the distance is shown on the right, while the light intake detected simultaneously with the distance is shown on the left. A similar effect is achieved in the detection system with the modified configuration.
[0099] (4) The display device 150 can store graph B and the date on which graph B was created, and relate the two to each other. In other words, the display device 150 can store graph B with a timestamp added. This configuration can store a long-term detection state of the detection device 200. Accordingly, the user can check the detection state if an anomaly occurs in the detection device 200. Even if the user finds the anomaly, the user can understand the distance and amount of light absorbed. Thus, the user can obtain the dispositions of the detection device 200 and the workpiece 1000 so that the anomaly does not occur. Graph B can be stored in the display device 150 or in an external storage device connected to the display device 150.
[0100] (5) In this embodiment, a detection device 200 is connected to a display device 150. However, several detection devices 200 can also be connected to a display device 150. In this configuration, the detection system that recognizes the multiple objects can be built at low cost.
[0101] (6) The process in the display device 150 in Fig. 3 and the process in the display device 600 in Fig. 23. These operations are performed by hardware and by software running on the CPU. Occasionally, the software is pre-loaded into flash memory. Sometimes, the software is distributed as a program product on a memory card or other storage medium. Alternatively, the software is provided as a downloadable program product by an information provider connected to the internet. In such cases, the software is read by an IC card reader / writer or other reading device, or downloaded via a communication interface and temporarily stored in flash memory. The CPU reads the software from the flash memory and stores it in flash memory as an executable program. The CPU then executes the program.
[0102] The display device 150 in Fig. 3 and the display device 600 in Fig.23 are built from universal components. Accordingly, it should be noted that an essential part of the present invention is the software, which is stored in flash memory, on the memory card or on other data carriers, or which can be downloaded via the network.
[0103] The data carrier is not limited to DVD-ROM, CD-ROM, FD (Flexible Disk), and hard disk drives, but can be any data carrier such as magnetic tape, cassette, optical discs (for example, magneto-optical discs (MO), MiniDiscs (MD), and Digital Versatile Discs (DVD)), optical cards, and semiconductor memory (such as mask ROM, electronically programmable read-only memory (EPROM), electronically erasable programmable read-only memory (EEPROM), and flash ROM) on which the program is permanently stored. The data carrier is a non-transient medium from which a computer can read the program.
[0104] As used herein, the program includes, in addition to a program directly executable by the CPU, a program in source code form, a compressed program, and an encrypted program.
[0105] (7) The disclosed embodiment is to be regarded in every respect as exemplary and has no limiting character whatsoever. The scope of protection of the present invention is not defined by the embodiment but by the claims, and all correspondences to the claims as well as all amendments to the claims are deemed to be incorporated into the present invention. LIST OF REFERENCE MARKS 1 Recognition system 204 recording units 206 Distance measurement unit 1524 Setting unit 1526 Recognition unit 2022 Light emitting element 2024 Light absorption element
Claims
[1] Recognition system (1) for recognizing an object (1000) with a marker (1002), comprising: a detection device (200); and a control device (150) that controls the detection device (200), wherein the detection device (200) comprises the following: a light emission unit (2022) which is set up to emit light; a light recording unit (2024) which is designed to record reflected light from the light; a light absorption quantity detection unit (204) configured to detect a light absorption quantity detected by the light absorption unit (2024); and a distance detection unit (206) configured to detect a distance (L) between a point where the light is reflected and the detection device (200), and wherein the control device (150) comprises the following: a setting unit (1524) configured to set a threshold range which is a combined threshold range (A) of a threshold range of the amount of light received and a threshold range of the distance, wherein the amount of light absorbed by light emitted and reflected from the marking (1002) differs from the amount of light absorbed by light emitted and reflected from another region of the object that does not have the marking (1002); a detection unit (1526) configured to detect the marker (1002) when the amount of light received and the distance (L) fall within the combined threshold range (A); and a display unit (155) that displays correspondence information relating the amount of light detected by the light absorption detection unit (204) and the distance detected by the distance detection unit (206) to each other, wherein the correspondence information is information in which either the amount of light received or the distance is plotted on the X-axis of a display surface (156) of the display unit (155) and the other of the amount of light received or the distance is plotted on the Y-axis of the display surface (156), the recognition system (1), based on user input on the display unit (155), displays a line drawing when the correspondence information is shown on the display unit (155), and The setting unit (1524) sets the combined threshold range (A) based on an area enclosed by the line pattern. [2] Recognition system (1) according to claim 1, wherein the display unit (155) is equipped with an input unit on a display surface (156), and the display unit (155) displays a point on the display surface (156) touched by the user as the line image when the user touches the display surface (156). [3] Recognition system (1) according to one of claims 1 or 2, wherein the setting unit (1542) sets a range that differs from the range enclosed by the line pattern as the combined threshold range (A). [4] Recognition system (1) according to one of claims 1 or 2, wherein the setting unit (1542) sets the area enclosed by the line pattern as the combined threshold range (A). [5] Recognition system (1) according to any one of claims 1 to 4, wherein the line image comprises two line images. [6] Recognition system (1) according to claim 5, wherein at least one of the two line images is a straight line image (L1, L2). [7] Recognition system (1) according to claim 5 or 6, wherein at least one of the two line images is a curved line (C1, C2). [8] Detection system (1) according to any one of claims 1 to 7, wherein the setting unit (1542) sets several combined threshold ranges (A) based on the several closed ranges. [9] Detection device (200) for detecting an object (1000) with a marking (1002), wherein the detection device (200) comprises: a light emission unit (2022) which is set up to emit light; a light recording unit (2024) which is designed to record reflected light from the light; a light absorption quantity detection unit (204) which is configured to detect a quantity of light absorbed by the light absorption unit (2024); a distance detection unit (206) configured to detect a distance (L) between a point where the light is reflected and the detection device (200); a setting unit (1542) configured to set a threshold range (A) which is a combined threshold range (A) of a threshold range of the amount of light received and a threshold range of the distance, wherein the amount of light absorbed by light emitted and reflected from the marking (1002) differs from the amount of light absorbed by light emitted and reflected from another region of the object (1000) that does not have the marking (1002); a detection unit (1526) configured to detect the marker (1002) when the amount of light received and the distance fall within the combined threshold range (A); and a display unit (155) that displays correspondence information relating the amount of light detected by the light absorption detection unit (204) and the distance detected by the distance detection unit (206) to each other, wherein the correspondence information is information in which either the amount of light received or the distance is plotted on the X-axis of a display surface (156) of the display unit (155) and the other of the amount of light received or the distance is plotted on the Y-axis of the display surface (156), the recognition system (1), based on user input on the display unit (155), displays a line drawing when the correspondence information is shown on the display unit (155), The setting unit (1524) sets the combined threshold range (A) based on an area enclosed by the line pattern. [10] Recognition method for recognizing an object (1000) with a mark (1002), wherein the recognition method comprises the following steps: Capturing a quantity of light absorbed by a light absorption unit (2024) that captures reflected light from light emitted onto the object (1000); Determining a distance (L) between a point where the light is reflected and the detection device (200); and Setting a threshold range (A) that is a combined threshold range of the light absorption threshold range and a distance threshold range, wherein the amount of light absorbed from emitted light and reflected from the marking (1002) differs from the amount of light absorbed from emitted light and reflected from another region of the object (1000) that does not have the marking (1002); wherein the detection method further comprises the following steps: Detect the marker (1002) when the light intake and distance fall within the combined threshold range (A), which is a combination of a light intake threshold range and a distance threshold range; Display of correspondence information relating the amount of light detected by the light absorption detection unit (204) and the distance detected by the distance detection unit (206) to each other, wherein the correspondence information is information in which either the amount of light received or the distance is plotted on the X-axis of a display surface (156) of the display unit (155) and the other of the amount of light received or the distance is plotted on the Y-axis of the display surface (156), Displaying a line drawing based on user input on the display unit (155) when the correspondence information is displayed on the display unit (155); and Setting the combined threshold range (A) based on an area enclosed by the line pattern.
Citation Information
Patent Citations
distance sensor with an automatic adjustment unit for a measuring range
DE102006011692A1
Parameter determination assisting device and parameter determination assisting program
EP2211305A1