[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US9031694B2 - Entry detection device, robot, and entry detection method - Google Patents

Entry detection device, robot, and entry detection method Download PDF

Info

Publication number
US9031694B2
US9031694B2 US13/736,507 US201313736507A US9031694B2 US 9031694 B2 US9031694 B2 US 9031694B2 US 201313736507 A US201313736507 A US 201313736507A US 9031694 B2 US9031694 B2 US 9031694B2
Authority
US
United States
Prior art keywords
light
plural
marks
signal corresponding
boundary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US13/736,507
Other versions
US20130197694A1 (en
Inventor
Atsushi Harada
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Assigned to SEIKO EPSON CORPORATION reassignment SEIKO EPSON CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HARADA, ATSUSHI
Publication of US20130197694A1 publication Critical patent/US20130197694A1/en
Priority to US14/681,720 priority Critical patent/US9360860B2/en
Application granted granted Critical
Publication of US9031694B2 publication Critical patent/US9031694B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4061Avoiding collision or forbidden zones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/02Details
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • G01V8/20Detecting, e.g. by using light barriers using multiple transmitters or receivers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/048Monitoring; Safety
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/353183-D display of workpiece, workspace, tool track
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/39Robotics, robotics to robotics hand
    • G05B2219/39449Pendant, pda displaying camera images overlayed with graphics, augmented reality
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S901/00Robots
    • Y10S901/02Arm motion controller
    • Y10S901/09Closed loop, sensor feedback controls arm movement
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S901/00Robots
    • Y10S901/46Sensing device
    • Y10S901/47Optical

Definitions

  • the present invention relates to an entry detection device, a robot, and an entry detection method.
  • JP-A-2010-231713 discloses a technique in which whether an optical path from a light source or a reflection mirror arranged along a predetermined boundary to a camera is intercepted or not is determined based on an output from the camera, thus detecting an entry of a person into a danger zone beyond the boundary.
  • JP-A-2010-15258 discloses a technique in which each of light emission patterns of plural light sources is provided with certain information, thus specifying which of the optical paths from the light sources to the camera a trespasser is in. In these techniques, it is determined that there is an entry when a lighting pattern of a light source and a luminance pattern in a specified area detected by a light sensor do not coincide with each other.
  • An advantage of some aspects of the invention is that an entry into a specific area can be detected securely with a minimum delay.
  • An aspect of the invention is directed to an entry detection device including: plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary; plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary; a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks; a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light; and a detection unit which generates a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks,
  • the individual light marks emit light or do not emit light depending on time. Therefore, it is difficult to make an entry by deceiving the entry detection device with a shielding object or the like having a dummy light source. Even when one of the pair of light marks arranged on both sides of the boundary does not emit light, the other emits light. Therefore, when there is an entry across the boundary, the optical path from one of the pair of light marks to the light sensor is necessarily intercepted. Thus, according to this aspect of the invention, an entry across the boundary can securely be detected.
  • the light mark is a component which radiates or reflects light and can control the amount of radiated or reflected light by turning on or off the light source, by intercepting or opening the optical path, or by changing the reflectance of a reflection plate or the like.
  • an entry may be considered to be happening in the optical path from the first light mark to the light sensor at that time.
  • an entry may be considered not to be happening in the optical path from the first light mark to the light sensor at that time. That is, an entry in the optical path from the first light mark to the light sensor can be detected, based on the part of the light receiving signal corresponding to the first light mark. Similarly, an entry in the optical path from the second light mark to the light sensor can be detected, based on the part of the light receiving signal corresponding to the second light mark.
  • the light emission patterns of the first light mark and the second light mark are the reverse of each other in terms of on and off. Therefore, by comparing the second inspection value generated from the reverse bit string of the third part of the light receiving signal with the reverse bit string of the fourth part of the light receiving signal, an entry in the optical path from the second light mark to the light sensor can be detected. That is, according to this aspect of the invention, at each time, an entry at that time can be detected. Therefore, an entry into a specific area can securely be detected without any delay and whether the entry is from the side of the first light mark side or from the side of the second light mark can be specified as well.
  • the entry detection device may be configured to include plural light mark blocks including the plural first light marks and the plural second light marks and arrayed along the boundary.
  • the position of entry can be specified or the optical path from a specific light mark block to the light sensor can be made a temporarily undetectable zone.
  • the entry detection device may be configured such that the control signal includes information to be transmitted to the detection unit and the detection unit acquires the information based on the output from the light sensor.
  • information can be transmitted through light emitted by the light mark to the detection unit detecting an entry based on the output from the light sensor.
  • identification information that can specify the individual light marks is transmitted as a time-series light emission pattern
  • an area where an image of a specific light mark is recorded in image data can be specified based on the output from the light sensor, even if the correspondence between the light marks and the light sensor is not fixed.
  • time information is transmitted as a spatial light emission pattern
  • the time of entry can be specified even if no clock is provided on the entry detecting side.
  • Another aspect of the invention is directed to a robot including: plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary; plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary; a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks; a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light; a detection unit which generates a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks, generate
  • an emergency stop can be implemented so that no harm will be done to a person working in cooperation with the robot, and processing can be started as a workpiece is placed.
  • FIG. 1 is a block diagram according to an embodiment of the invention.
  • FIG. 2 is a schematic view according to an embodiment of the invention.
  • FIG. 3 is a flowchart according to an embodiment of the invention.
  • FIG. 4 is a schematic view according to an embodiment of the invention.
  • FIG. 5 is a schematic view according to an embodiment of the invention.
  • FIGS. 6A to 6D are schematic views according to an embodiment of the invention.
  • FIG. 7 is a schematic view according to an embodiment of the invention.
  • FIG. 8 is a schematic view according to an embodiment of the invention.
  • FIG. 9 is a schematic view according to an embodiment of the invention.
  • FIGS. 10A to 10D are schematic views according to an embodiment of the invention.
  • FIG. 1 shows the overall configuration of a first example of the invention.
  • the first example of the invention is an industrial robot having a robot body 6 and an entry detection device 7 for detecting an entry made by workers 9 a , 9 b toward the robot body 6 beyond a boundary that demarcates a predetermined safe work zone and a danger zone.
  • the robot body 6 has a robot controller 61 as a startup control unit, and an actuator, sensor, multi-joint arm and the like, not shown, controlled by the robot controller 61 .
  • the robot body 6 is configured to operate in cooperation with the workers 9 a , 9 b .
  • the control systems of the robot body 6 and the entry detection device 7 are independent of each other.
  • the robot controller 61 of the robot body 6 and a detection unit 5 of the entry detection device 7 are connected to each other via a communication line.
  • the robot controller 61 starts predetermined processing such as stopping an actuator, outputting an alarm sound or turning on a warning lamp, when the entry detection device 7 detects an entry.
  • the functions of the robot controller 61 are realized by a computer which controls the entire robot body 6 and a computer program executed by the computer.
  • the entry detection device 7 has a light emitting unit 1 including plural LEDs (light emitting diodes) as light marks, a light on-off control unit 2 which controls light emission of the LEDs, a digital camera 4 installed in such a way that the light emitting unit 1 fits within the field of view, and the detection unit 5 which detects an entry based on an output from the digital camera 4 .
  • the light on-off control unit 2 and the detection unit 5 are formed by separate computers.
  • the light on-off control unit 2 and the light emitting unit 1 are regarded as an integrated unit.
  • the digital camera 4 and the detection unit 5 are regarded as another integrated unit. These two units are installed at both ends of a boundary over which an entry is detected.
  • the light emitting unit 1 is installed along the boundary between the safe work zone and the danger zone for the workers 9 a , 9 b .
  • the light emitting unit 1 has a first light mark array 1 a including LEDs 11 a to 19 a arrayed along and near the boundary in the safe work zone demarcated by the boundary, a second light mark array 1 b including LEDs 11 b to 19 b arrayed in one-to-one pairs with the first light mark array, along the boundary in the danger zone demarcated by the boundary, and a drive circuit, not shown, for driving these LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b .
  • a control signal generated by the light on-off control unit 2 is applied to the drive circuit.
  • One LED belonging to the first light mark array 1 a and one LED that is opposite that LED across the boundary and belongs to the second light mark array 1 b , are paired as a control target of the light on-off control unit 2 .
  • the LED 11 a and the LED 11 b are paired and the LED 12 a and the LED 12 b are paired.
  • the pair of the LED 11 a and the LED 11 b is referred to as a pair 11
  • the pair of the LED 12 a and the LED 12 b is referred to as a pair 12 .
  • An arbitrary pair is arranged near each other on both sides of the boundary.
  • the line connecting the center of each LED of the pair arranged on both sides of the boundary is orthogonal to the boundary.
  • the digital camera 4 has an area image sensor, not shown, as a light sensor.
  • the area image sensor is formed by a CCD image sensor, CMOS image sensor or the like, and can pick up an image of all the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b formed by a lens, not shown.
  • the pickup timing of each frame in the digital camera 4 is controlled in such a manner that the light emission pattern of the LEDs 11 to 19 does not change during a period when an electric charge is accumulated in a photoelectric conversion element of the image sensor so that the digital camera 4 can generate image data of each frame.
  • FIG. 2 is a schematic view showing an example of the light emission pattern of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a controlled by the light on-off control unit 2 .
  • t represents time axis.
  • An x axis defined parallel to the boundary between the safe work zone and the danger zone as shown in FIG. 1 is also shown in FIG. 2 .
  • a white circle indicates that the LED is on, and a black circle indicates that the LED is off.
  • FIG. 2 only shows the light emission pattern of the first light mark array 1 a
  • the light emission pattern of the second light mark array 1 b is the reverse of the light emission pattern shown in FIG. 2 and therefore the illustration thereof is omitted.
  • the first light mark array 1 a arranged in the x axis direction along the boundary between the safe work zone and the danger zone includes the LEDs 11 a , 13 a , 16 a , 18 a which emit light and the LEDs 12 a , 14 a , 15 a , 17 a , 19 a which do not emit light in arbitrary timing.
  • the light emission pattern of the first light mark array 1 a and the light emission pattern of the second light mark array 1 b are the reverse of each other in each pair of LEDs. Therefore, as a matter of course, if the first light mark array 1 a includes both LEDs emitting light and LEDs not emitting light, the second light mark array 1 b includes both LEDs emitting light and LEDs not emitting light. If the LED group arranged in the x axis direction along the boundary between the safe work zone and the danger zone includes LEDs emitting light and LEDs not emitting light in this manner, an undetectable zone at an arbitrary time can be diminished.
  • the LEDs 12 b , 14 b , 15 b , 17 b , 19 b paired with the LEDs 12 a , 14 a , 15 a , 17 a , 19 a which are off at the time t 1 are on, the foreign matter is highly likely to be detected.
  • the LEDs of the first group a arranged in the x axis direction along the boundary between the safe work zone and the danger zone are on, there is no undetectable zone in the optical path from the first group a to the digital camera 4 .
  • the entire optical path from the second group b to the digital camera 4 is an undetectable zone. Therefore, the undetectable zone can be narrowed down further by including both LEDs emitting light and LEDs not emitting light in the LEDs groups arranged in the x axis direction.
  • the LED 11 a is on at times t 1 , t 3 , t 5 , t 8 , t 9 , t 11 and off at times t 2 , t 4 , t 6 , t 7 , t 10 .
  • the undetectable zone on the time axis can be shortened. For example, if a foreign matter enters only the optical path from the LED 11 a to the digital camera 4 at the time t 2 , the foreign matter cannot be detected because the LED 11 a is off.
  • the LED 11 a is on at the times t 1 and t 3 , that is, immediately before and after the time t 2 , the foreign matter is highly likely to be detected.
  • the LED 11 a is constantly on, there is no undetectable zone in the optical path from the LED 11 a to the digital camera 4 .
  • the optical path from the LED 11 b paired with the LED 11 a to the digital camera 4 is a constantly undetectable zone. Therefore, the temporal undetectable zone can be shortened by turning an arbitrary LED on and off depending on time.
  • the undetectable zone can be narrowed down and shortened.
  • a deliberate entry can be prevented. For example, if the light emission pattern of the LEDs does not change in terms of time, a person can place a shielding object imitating the spatial light emission pattern between the light emitting unit 1 and the digital camera 4 and thus enter the danger zone from between the shielding object and the light emitting unit 1 without being detected by the entry detection device 7 .
  • the light emission pattern of the LEDs does not change in terms of space, a person can place a shielding object imitating the temporal light emission pattern between the light emitting unit 1 and the digital camera 4 and thus enter the danger zone from between the shielding object and the light emitting unit 1 without being detected by the entry detection device 7 .
  • the light emission pattern of the LEDs changes in terms of both time and space, it is extremely difficult to imitate the light emission pattern of the LEDs and a deliberate entry is substantially impossible.
  • the control signal of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b generated by the light on-off control unit 2 is binary data having two states of on and off with respect to each LED.
  • the off-state is expressed by 0 and upper one bit is allocated to each of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a in order from the left to express a part of the control signal corresponding to the first light mark array 1 a as a binary number, this part is “101001010” at the time t 1 and “001010100” at the time t 2 .
  • the other LED is off.
  • the light on-off control unit 2 To control each pair of LEDs 11 to 19 in this manner, the light on-off control unit 2 generates a bit string which is the reverse of the bit string of the part of the control signal corresponding to the first light mark array 1 a , as the bit string of the part of the control signal corresponding to the second light mark array 1 b .
  • “110101011” is generated as the bit string of the part of the control signal corresponding to the LEDs 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b .
  • the light on-off control unit 2 may generate a bit string corresponding to one of the first light mark array 1 a and the second light mark array 1 b as a control signal
  • the drive circuit of the light emitting unit 1 may generate a control signal of the other one of the first light mark array 1 a and the second light mark array 1 b by reversing the bit string of the control signal generated by the light on-off control unit 2 .
  • FIG. 3 is a flowchart showing procedures of an entry detection method using the entry detection device 7 .
  • FIG. 3 shows a series of processing procedures corresponding to one frame of image data outputted from the digital camera 4 . That is, the processing shown in FIG. 3 is carried out for each frame of image data.
  • the LEDs 11 a to 14 a are referred to as a first light mark group A 1 of the first light mark array 1 a .
  • the LEDs 15 a to 19 a are referred to as a second light mark group B 1 of the first light mark array 1 a .
  • the LEDs 11 b to 14 b are referred to as a first light mark group A 2 of the second light mark array 1 b .
  • the LEDs 15 b to 19 b are referred to as a second light mark group B 2 of the second light mark array 1 b .
  • the number of LEDs belonging to the first light mark groups A 1 , A 2 and the number of LEDs belonging to the second light mark group B 1 , B 2 in this example are only simplified examples.
  • the number of the first light mark groups A 1 corresponding to an error detection code may be one or more and may be decided according to the number of second light mark groups B 1 suitably set according to the length of a boundary over which an entry is detected, and the type of the error detection code.
  • the light on-off control unit 2 generates a bit string of the control signal corresponding to the second light mark group B 1 of the first array at a certain time (S 100 ). That is, the light on-off control unit 2 generates a bit string of the part corresponding to the LEDs 15 a to 19 a forming the second light mark group B 1 of the first array, of the control signal controlling the lighting of each of the individual LEDS forming the light mark array for each bit. For example, to realize the light emission pattern at the time t 1 shown in FIG. 2 , the light on-off control unit 2 generates a bit string “01010” as the part of the control signal corresponding to the LEDs 15 to 19 .
  • the light on-off control unit 2 generates an error detection code of the bit string of the part of the control signal corresponding the second light mark group B 1 of the first array at a certain time, as a bit string of a part of the control signal corresponding to the first light mark group A 1 of the first array at that time (S 101 ). That is, the light on-off control unit 2 generates an error detection code of the bit string of the part of the control signal corresponding to the LEDs 15 a to 19 a as a bit string of the part corresponding to the LEDs 11 a to 14 a forming the first light mark group A 1 of the first array, of the control signal controlling the on-state of each of the individual LEDs forming the light mark array for each bit.
  • the light on-off control unit 2 generates a bit string “1010” of the part of the control signal corresponding to the LEDs 11 a to 14 a , based on the bit string “01010” of the part of the control signal corresponding to the LEDs 15 a to 19 a.
  • the part of the control signal corresponding to the first light mark group A 1 of the first array may be a bit string forming a code which can detect a transmission error of the part of the control signal corresponding to the second light mark group B 1 of the first array, such as cyclic redundancy check code (CRC), parity code or check sum. Considering detection accuracy and high speed, the cyclic redundancy check code is preferable.
  • CRC cyclic redundancy check code
  • parity code parity code
  • check sum check sum
  • the part of the control signal corresponding to the first light mark group A 1 of the first array may be generated in such a way as to form a code that can correct a transmission error of the part of the control signal corresponding to the second light mark group B 1 of the first array. That is, in this specification, the error detection code is used as a term including an error correction code.
  • the light on-off control unit 2 generates a bit string of the part of the control signal corresponding to the second light mark array 1 b by reversing the bit string of the part of the control signal corresponding to the first light mark array 1 a (S 102 ). For example, when the bit string “101001010” of the part of the control signal corresponding to the first light mark array 1 a is generated in order to realize the light emission pattern at the time t 1 shown in FIG. 2 , the light on-off control unit 2 generates a bit string “010110101” of the part of the control signal corresponding to the second light mark array 1 b.
  • the light on-off control unit 2 applies the control signal of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b to the light emitting unit 1 in predetermined timing (S 103 ).
  • a control signal “101001010010110101” is applied to the light emitting unit 1 , and the LEDs 11 a , 13 a , 16 a , 18 a , 12 b , 14 b , 15 b , 17 b , 19 b are turned on while the LEDs 12 a , 14 a , 15 a , 17 a , 19 a , 11 b , 13 b , 16 b , 18 b are turned off, as shown in FIG.
  • FIG. 4 shows the correspondence between each bit of the control signal and the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b , in the drive circuit of the light emitting unit 1 .
  • a white circle indicates that the LED is on and a black circle indicates that the LED is off.
  • the detection unit 5 acquires image data equivalent of one frame from the digital camera 4 (S 104 ).
  • the light emitting state of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b of the light emitting unit 1 is controlled not to switch.
  • the detection unit 5 analyzes the one-frame image data acquired from the digital camera 4 and generates a light receiving signal which indicates the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b , as a binary number for each LED (S 105 ).
  • FIG. 5 is a schematic view showing the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b , and shows an image expressed by a local area of the image data outputted from the digital camera 4 .
  • a white circle shows an image of an LED that is on
  • a dark circle shows an image of an LED that is off.
  • numbers and alphabetical letters are symbols indicating the position of pixels.
  • the detection unit 5 can compare the luminance value in each area corresponding to the images of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b with a threshold value and thus determine whether the corresponding LED is on or off.
  • a threshold value Specifically, for example, a case where the on-state LED 11 a corresponds to pixels 1 A, 1 B, 2 A, 2 B and the off-state LED 12 a corresponds to pixels 4 A, 4 B, 5 A, 5 B, is considered.
  • the detection unit 5 determines that the LED 11 a is on. In the opposite case, the detection unit 5 determines that the LED 11 a is off. More pixels may correspond to one LED or fewer pixels may correspond to one LED. Then, as each bit of the light receiving signal indicating the lighting state of each LED, the detection unit 5 generates 1 for the LED which is determined as on and 0 for the LED which is determined as off. For example, in the case of the light receiving state shown in FIG. 4 , “101” is generated as the bit string of the corresponding part of the light receiving signal.
  • the detection unit 5 generates a first inspection value of the error detection code based on the bit string of the part corresponding to the second light mark group B 1 of the first array, of the generated light receiving signal (S 106 ).
  • the function for generating the first inspection value of the error detection code may be any function that is the same as a function used when generating the bit string of the part of the control signal corresponding to the first light mark group A 1 of the first array based on the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array.
  • the detection unit 5 generates a second inspection value of the error detection code based on a reverse bit string of a part corresponding to the second light mark group B 2 of the second array, of the generated light receiving signal (S 107 ).
  • the function for generating the second inspection value of the error detection code is the same as the function used when generating the first inspection value. That is, the function for generating the second inspection value may be any function that is the same as the function used when generating the bit string of the part of the control signal corresponding to the first light mark group A 1 of the first array based on the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array.
  • the detection unit 5 compares the first inspection value of the error detection code with the bit string of the light receiving signal corresponding to the first light mark group A 1 of the first array and determines whether these values coincide with each other or not (S 108 ).
  • FIGS. 6A to 6D are schematic views showing the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a .
  • a white circle shows an image of an LED emitting light
  • a hatched circle shows an image of an off-state LED
  • a hatched semicircle shows an image of a foreign matter S.
  • a case is considered where at the time when the light receiving state shown in FIGS.
  • the lighting state of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a is off, on, on, off, on, off, off, off, on in order from the left (LED 11 a ). That is, the bit string of the part of the control signal corresponding to the first light mark array 1 a at the time when the light receiving state shown in FIGS. 6A to 6D is achieved is “011010001”.
  • the bit string of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array is “0110” and the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array is “10001”.
  • the bit string of the part of the control signal corresponding to the first light mark array 1 a at this time is “011010001”.
  • the bit string of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array is “0110”, and the bit string “10001” of the part of the control signal corresponding to the second light mark group B 1 of the first array coincides with the bit string “10001” of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array. Therefore, the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array is “0110”, too.
  • the bit string of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array coincides with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array.
  • the bit string of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array coincides with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array.
  • the bit string of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array is “0100”.
  • the bit string of the control signal corresponding to the first light mark group A 1 of the first array forming the error detection code of the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array is “0110”.
  • the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array coincides with the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array. Therefore, it is almost certain that the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array and the bit string of the light receiving signal corresponding to the first light mark group A 1 of the first array do not coincide with each other.
  • the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array is “10000”.
  • the bit string “0110” of the part of the control signal corresponding to the first light mark group A 1 of the first array generated based on the bit array of the part of the control signal corresponding to the second light mark group B 1 of the first array coincides with the bit string “0110” of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array.
  • the bit string of the control signal corresponding to the second light mark group B 1 of the first array is different from the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array.
  • the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array is different from the bit string of the part of the light receiving signal corresponding to the first light mark group A 1 of the first array.
  • the bit string of the light receiving signal corresponding to the first light mark group A 1 of the first array does not coincide with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B 1 of the first array, it can be said that there is almost certainly a foreign matter in the optical path from the first light mark array 1 a to the digital camera 4 .
  • the detection unit 5 detects an entry from the safe work zone side where the first light mark array 1 a is arranged, at a detection target time (S 109 ).
  • the detection target time is the time when images of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b are recorded in the image data equivalent to one frame acquired by the detection unit 5 from the digital camera 4 .
  • the detection unit 5 determines that there is no entry from the safe work zone side where the first light mark array 1 a is arranged, at the detection target time, and then executes the following processing of step S 110 . If an entry from the safe work zone side where the first light mark array 1 a is arranged is detected in step S 109 , the following processing of step S 110 may be executed or the entry detection processing may be ended without executing the processing of step S 110 .
  • step S 110 the detection unit 5 compares the second inspection value of the error detection code with the reverse bit string of the part of the light receiving signal corresponding to the first light mark group A 2 of the second array and determines whether these values coincide with each other or not (S 110 ).
  • FIG. 7 is a schematic view showing the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b .
  • a white circle shows an image of an LED emitting light
  • a hatched circle shows an image of an off-state LED
  • a hatched semicircle shows an image of a foreign matter S.
  • a case is considered where at the time when the light receiving state shown in FIG.
  • the lighting state of the first light mark array 1 a is on, off, on, off, off, on, off, on, off in order from the left (LED 11 a ).
  • the lighting state of the second light mark array 1 b is off, on, off, on, on, on, off, on, off, on in order from the left (LED 11 b ). That is, the control signal corresponding to the time when the light receiving state shown in FIG. 7 is achieved is “101001010010010101”.
  • a bit string b 22 of a part of the light receiving signal corresponding to the second light mark group B 2 of the second array coincides with a bit string b 21 of a part of the control signal corresponding to the second light mark group B 2 of the second array. Therefore, a reverse bit string b 23 of apart of the light receiving signal corresponding to the second light mark group B 2 of the second array coincides with a bit string b 11 of a part of the control signal corresponding to the second light mark group B 1 of the first array.
  • the second inspection value coincides with a bit string all of a part of the control signal corresponding to the first light mark group A 1 of the first array. Meanwhile, there is a foreign matter S in the optical path from the first light mark group A 2 of the second array to the digital camera 4 .
  • a bit string a 21 of a part of the control signal corresponding to the first light mark group A 2 of the second array which is a reverse bit string of the bit string all of the part of the control signal corresponding to the first light mark group A 1 of the first array, does not coincide with a reverse bit string a 23 of the part of the light receiving signal corresponding to the first light mark group A 2 of the second array.
  • the second inspection value generated from the reverse bit string b 23 of the part of the light receiving signal corresponding to the second light mark group B 2 of the second array and the reverse bit string a 23 of the part of the light receiving signal corresponding to the first light mark group A 2 of the second array coincide with each other.
  • the detection unit 5 detects an entry from the danger zone side where the second light mark array 1 b is arranged at the detection target time (S 111 ).
  • the detection unit 5 outputs a signal indicating whether there is an entry from the safe work zone side or not and whether there is an entry from the danger zone side or not, to the robot controller 61 of the robot body 6 .
  • the robot controller 61 starts predetermined processing such as stopping the actuator, outputting a warning sound, or turning on a warning lamp.
  • the robot controller 61 starts predetermined processing such as outputting a sound to instruct the workers 9 a , 9 b to take out a workpiece and tuning on an indicator indicating to the workers 9 a , 9 b that the workpiece can be taken out.
  • the detection unit 5 can detect an entry at the time when an image of the light emitting unit 1 is recorded in the image data. Therefore, the entry detection device 7 can detect an entry into the danger zone with a minimum delay. Moreover, according to this example, when one LED of the LED pairs 11 to 19 arranged near each other on both sides of the boundary is on, the other LED is necessarily off. Therefore, an entry across the boundary can securely be detected. Also, since the detection unit 5 can detect an entry using a light receiving signal generated from the image data acquired from the digital camera 4 and a predetermined function of error detection code, the light on-off control unit 2 and the detection unit 5 need not be connected via a signal line.
  • the entry detection device 7 can easily be installed if the two units need not be connected via a signal line even if the distance from the light on-off control unit 2 to the detection unit 5 extends to several meters. Also, since the detection unit 5 separately detects an entry in the optical path from the first light mark array 1 a to the digital camera 4 and an entry in the optical path from the second light mark array 1 b to the digital camera 4 , whether an entry is made from the danger zone side or from the safe work zone side is specified. Thus, according to this example, when the detection unit 5 detects an entry, the content of processing started by the robot controller 61 can be varied depending on whether an entry is made from the danger zone side or from the safe work zone side.
  • the light emission pattern of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b is controlled by a control signal generated by the light on-off control unit 2 .
  • a light receiving signal is generated by the detection unit 5 in accordance with the light emission pattern of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b .
  • a control signal is transmitted as a light receiving signal from the light on-off control unit 2 to the detection unit 5 in accordance with the light emitted from the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b .
  • the light on-off control unit 2 is transmitted as a light receiving signal from the light on-off control unit 2 to the detection unit 5 in accordance with the light emitted from the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b ,
  • the light emission pattern of the first light mark array 1 a and the light emission pattern of second light mark array 1 b are the reverse of each other in terms of on and off. Since the part of the control signal corresponding to the first light mark group A 1 of the first light mark array 1 a is the error detection code of the part of the control signal corresponding to the second light mark group B 1 of the first light mark array 1 a , the control signal of the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b is redundant as a signal indicating information.
  • the parts of the control signal corresponding to the first light mark group A 1 of the first light mark array 1 a and the first light mark group A 2 of the second light mark array 1 b cannot represent significant information, and information equivalent to only 5 bits, that is, a half of the 10 bits allocated in total to the part of the control signal corresponding to the second light mark group B 1 of the first light mark array 1 a and the part of the control signal corresponding to the second light mark group B 2 of the second light mark array 1 b , can be transmitted from the light on-off control unit 2 to the detection unit 5 .
  • a time-series bit string of the control signal corresponding to the LED 15 a may be generated so that a time-series light receiving signal corresponding to the LED 15 a forms identification information that can identify the LED 15 a with respect to the other LEDs.
  • the time-series bit string of the control signal corresponding to the LED 15 a at the times t 1 to t 8 shown in FIG. 2 is “01001010”.
  • the time-series bit string of the control signal corresponding to the LED 16 a at the times t 1 to t 8 shown in FIG. 2 is “10011001”.
  • the correspondence between local areas of image data acquired from the digital camera 4 and the individual LEDs can be specified at the detection unit 5 .
  • the correspondence between local areas of image data acquired from the digital camera 4 and the individual LEDs can be specified at the detection unit 5 , local areas where the luminance value is acquired in order to detect the lighting state of the individual LEDs can be set according to the positional relation between the digital camera 4 and the light emitting unit 1 . Consequently, the positional relation between the digital camera 4 and the light emitting unit 1 can be set freely to a certain extent.
  • time information that can specify a specific time when all the LEDs 11 a , 12 a , 13 a , 14 a , 15 a , 16 a , 17 a , 18 a , 19 a , 11 b , 12 b , 13 b , 14 b , 15 b , 16 b , 17 b , 18 b , 19 b emit light, based on the light emitted at that time, can be transmitted from the light on-off control unit 2 to the detection unit 5 .
  • the bit string of the part of the control signal corresponding to the LEDs 15 a , 16 a , 17 a , 18 a , 19 a at the time t 9 in FIG. 2 is “01010”.
  • bit string of the part of the control signal corresponding to the first light mark group A 1 of the first array is the function (error detection code) of the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array, the identification information of the LED and the time information cannot be included in the bit string of the part of the control signal corresponding to the first light mark group A 1 of the first array.
  • the identification information of each LED and the time information belonging to the second light mark group B 1 of the first array may be encoded to generate a bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array, and an error detection code of the generated bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array may be generated as the bit string of the part of the control signal corresponding to the first light mark group A 1 of the first array.
  • the light on-off control unit 2 sets the cycle of the control signal of all the LEDs to 9 units of time, inserts the time information at the same time, also inserts the identification information of the individual LEDs belonging to the second light mark group B 1 of the first array in time series, and generates the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array in each cycle, for example, as shown in FIG. 8 . Then, the light on-off control unit 2 generates the bit string of the part of the control signal corresponding to the first light mark group A 1 of the first array, based on the bit string of the part of the control signal corresponding to the second light mark group B 1 of the first array.
  • the light emission pattern at a specific time having the time information can also have the function of a synchronizing signal that can specify the start point of the time-series light emission pattern having the identification information.
  • a reset signal or synchronizing signal to set up a special light emission pattern such as turning on all the LEDs can also be inserted.
  • FIG. 9 is a schematic view showing a third example of the invention. Circles shown in FIG. 9 show the LEDs of the light emitting unit 1 . A white circle indicates on-state. A hatched circle indicates off-state.
  • the LEDs provided in the light emitting unit 1 are divided into blocks as control targets. That is, the plural LEDs provided in the light emitting unit 1 are divided into a first light mark block ⁇ made up of LEDs forming a first light mark array 1 a including a first light mark group A 1 and a second light mark group B 1 and a second light mark array 1 b including a first light mark group A 2 and a second light mark group B 2 , and a second light mark block ⁇ made up of LEDs forming a first light mark array 1 c including a first light mark group C 1 and a second light mark group D 1 and a second light mark array 1 d including a first light mark group C 2 and a second light mark group D 2 , as control targets of the light on-off control unit 2 .
  • a first light mark block ⁇ made up of LEDs forming a first light mark array 1 a including a first light mark group A 1 and a second light mark group B 1 and a second light mark array 1 b including a first
  • the bit string of the part corresponding to the first light mark group A 1 forms an error detection code of the bit string of the part corresponding to the second light mark group B 1
  • the bit string of the part corresponding to the first light mark array 1 a forms the reverse bit string of the second light mark array 1 b .
  • bit string of the part of the control signal corresponding to the second light mark block ⁇ the bit string of the part corresponding to the first light mark group C 1 forms an error detection code of the bit string of the part corresponding to the second light mark group D 1
  • bit string of the part corresponding to the first light mark array 1 c forms the reverse bit string of the second light mark array 1 d.
  • the detection unit 5 generates, for each light mark block, a first inspection value of the error detection code from the bit string of the part of the light receiving signal corresponding to the second light mark group of the first array and compares the first inspection value with the bit string of the part of the light receiving signal corresponding to the first light mark group of the first array.
  • the detection unit 5 also generates a second inspection value of the error detection code from the reverse bit string of the part of the light receiving signal corresponding to the second light mark group of the second array and compares the second inspection value with the reverse bit string of the part of the light receiving signal corresponding to the first light mark group of the second array.
  • the detection unit 5 detects that there is an entry from the safe work zone side in the optical path from the first light mark block ⁇ to the digital camera 4 .
  • the detection unit 5 detects that there is an entry from the danger zone side in the optical path from the second light mark block ⁇ to the digital camera 4 .
  • the entry detection device 7 can detect an entry in each section corresponding to a light mark block and therefore can specify at which position on the boundary and from which side the entry is made. Moreover, since the entry detection device 7 can detect an entry in each section corresponding to a light mark block, the entry detection device 7 is capable of detecting an entry only in a specific section of the boundary and not detecting an entry in another section of the boundary.
  • a signal showing the detection result of the second light mark block ⁇ may be fixed constantly to a value indicating that there is no entry, irrespective of the actual detection result.
  • a temporary undetectable zone can be set on the boundary where an entry can be detected by the entry detection device 7 , the workers 9 a , 9 b can put a workpiece into and take a workpiece out of the robot body 6 , for example, while the robot body 6 is operating.
  • an environment where an industrial robot and a person work in cooperation can be designed flexibly.
  • the light receiving surface of the digital camera 4 and the light emitting surface of the light emitting unit 1 may be made to face each other in vertical direction, as shown in FIGS. 10A and 10B .
  • the light receiving surface of the digital camera 4 and the light emitting surface of the light emitting unit 1 may be made to face each other in horizontal direction, as shown in FIG. 10C .
  • light marks such as LEDs may be arranged along the curve, in the light emitting surface of the light emitting unit 1 .
  • a light source such as fluorescent tube, light bulb and laser may be used as well as LED.
  • a liquid crystal shutter which intercepts and opens the optical path from a light source to a light sensor may also be used as a light mark.
  • a light sensor used to detect the light receiving state of the light mark a light sensor having spatial resolution such as area image sensor or linear image sensor may be used, or a light sensor without having spatial resolution such as photodiode may be used. Even when a light sensor without having spatial resolution such as photodiode is used, an entry can be detected on a broad boundary surface to a certain extent by pairing a light mark with directivity such as laser with a light sensor and using plural such pairs.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Burglar Alarm Systems (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

An entry detection device includes first light marks and second light marks. A control signal corresponding to a part of the first light marks is an error detection code of the control signal corresponding to the other part of the first light marks. A first inspection value is generated based on a first part of a light receiving signal corresponding to the other part of the first light marks. A second inspection value is generated based on a reverse bit string of a third part of the light receiving signal corresponding to a part of the second light mark paired with the other part of the first light marks. An entry is detected based on the first inspection value and the second inspection value.

Description

BACKGROUND
1. Technical Field
The present invention relates to an entry detection device, a robot, and an entry detection method.
2. Related Art
According to the related art, a technique of detecting an entry of a person into a danger zone or an entry of a suspicious person into private land using a camera is known. For example, JP-A-2010-231713 discloses a technique in which whether an optical path from a light source or a reflection mirror arranged along a predetermined boundary to a camera is intercepted or not is determined based on an output from the camera, thus detecting an entry of a person into a danger zone beyond the boundary. JP-A-2010-15258 discloses a technique in which each of light emission patterns of plural light sources is provided with certain information, thus specifying which of the optical paths from the light sources to the camera a trespasser is in. In these techniques, it is determined that there is an entry when a lighting pattern of a light source and a luminance pattern in a specified area detected by a light sensor do not coincide with each other.
However, with the related-art techniques, when a light source is off, an entry across the optical path from that light source to the camera cannot be detected. Meanwhile, if the light source is constantly on, a person can easily make an entry by installing a dummy light source in the optical path. Therefore, it is not desirable to keep the light source on constantly.
Also, in the related-art techniques, since a time-series light emission pattern in which the light source is turned on and off and a time-series luminance pattern in a specific area detected by the light sensor are compared to detect an entry, the entry cannot be detected based on each frame of a digital image outputted from the camera. Therefore, there is a problem that there is a delay between the occurrence of the entry and the detection of the entry.
SUMMARY
An advantage of some aspects of the invention is that an entry into a specific area can be detected securely with a minimum delay.
(1) An aspect of the invention is directed to an entry detection device including: plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary; plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary; a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks; a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light; and a detection unit which generates a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks, generates a first inspection value of the error detection code based on a first part of the light receiving signal corresponding to the other part of the plural first light marks, generates a second inspection value of the error detection code based on a reverse bit string of a third part of the light receiving signal corresponding to the second light mark paired with the other part of the plural first light marks, and detects an entry to the boundary based on a result of comparison between a second part of the light receiving signal corresponding to the one part of the plural first light marks and the first inspection value and a result of comparison between a reverse bit string of a fourth part of the light receiving signal corresponding to the second light mark paired with the one part of the plural first light marks and the second inspection value.
According to this aspect of the invention, the individual light marks emit light or do not emit light depending on time. Therefore, it is difficult to make an entry by deceiving the entry detection device with a shielding object or the like having a dummy light source. Even when one of the pair of light marks arranged on both sides of the boundary does not emit light, the other emits light. Therefore, when there is an entry across the boundary, the optical path from one of the pair of light marks to the light sensor is necessarily intercepted. Thus, according to this aspect of the invention, an entry across the boundary can securely be detected. In this specification, the light mark is a component which radiates or reflects light and can control the amount of radiated or reflected light by turning on or off the light source, by intercepting or opening the optical path, or by changing the reflectance of a reflection plate or the like. Also, according to this aspect of the invention, simply based on that the inspection value of the error detection code generated from the first part of the light receiving signal corresponding to the one part of the first light marks at a certain time and the second part of the light receiving signal corresponding to the other part of the first light marks do not coincide with each other, an entry may be considered to be happening in the optical path from the first light mark to the light sensor at that time. Conversely, simply based on that the inspection value of the error detection code generated from the first part of the light receiving signal corresponding to the one part of the first light marks at a certain time and the second part of the light receiving signal corresponding to the other part of the first light marks coincide with each other, an entry may be considered not to be happening in the optical path from the first light mark to the light sensor at that time. That is, an entry in the optical path from the first light mark to the light sensor can be detected, based on the part of the light receiving signal corresponding to the first light mark. Similarly, an entry in the optical path from the second light mark to the light sensor can be detected, based on the part of the light receiving signal corresponding to the second light mark. However, the light emission patterns of the first light mark and the second light mark are the reverse of each other in terms of on and off. Therefore, by comparing the second inspection value generated from the reverse bit string of the third part of the light receiving signal with the reverse bit string of the fourth part of the light receiving signal, an entry in the optical path from the second light mark to the light sensor can be detected. That is, according to this aspect of the invention, at each time, an entry at that time can be detected. Therefore, an entry into a specific area can securely be detected without any delay and whether the entry is from the side of the first light mark side or from the side of the second light mark can be specified as well.
(2) The entry detection device may be configured to include plural light mark blocks including the plural first light marks and the plural second light marks and arrayed along the boundary.
By employing this configuration, since an entry is detected in each light mark block, the position of entry can be specified or the optical path from a specific light mark block to the light sensor can be made a temporarily undetectable zone.
(3) The entry detection device may be configured such that the control signal includes information to be transmitted to the detection unit and the detection unit acquires the information based on the output from the light sensor.
When this configuration is employed, information can be transmitted through light emitted by the light mark to the detection unit detecting an entry based on the output from the light sensor. For example, when identification information that can specify the individual light marks is transmitted as a time-series light emission pattern, an area where an image of a specific light mark is recorded in image data can be specified based on the output from the light sensor, even if the correspondence between the light marks and the light sensor is not fixed. Also, for example, when time information is transmitted as a spatial light emission pattern, the time of entry can be specified even if no clock is provided on the entry detecting side.
(4) Another aspect of the invention is directed to a robot including: plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary; plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary; a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks; a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light; a detection unit which generates a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks, generates a first inspection value of the error detection code based on a first part of the light receiving signal corresponding to the other part of the plural first light marks, generates a second inspection value of the error detection code based on a reverse bit string of a third part of the light receiving signal corresponding to the second light mark paired with the other part of the plural first light marks, and detects an entry to the boundary based on a result of comparison between a second part of the light receiving signal corresponding to the one part of the plural first light marks and the first inspection value and a result of comparison between a reverse bit string of a fourth part of the light receiving signal corresponding to the second light mark paired with the one part of the plural first light marks and the second inspection value; and a startup control unit which starts predetermined processing when the entry is detected.
According to this aspect of the invention, an emergency stop can be implemented so that no harm will be done to a person working in cooperation with the robot, and processing can be started as a workpiece is placed.
The order in which operations described in the accompanying claims are carried out is not limited to the described order unless there is any technical impediment. The operations may be executed simultaneously or executed in the reverse order of the described order. The operations may not be executed in a continuous order. Moreover, an aspect of the invention is also implemented as an entry detection method.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention will be described with reference to the accompanying drawings, wherein like numbers reference like elements.
FIG. 1 is a block diagram according to an embodiment of the invention.
FIG. 2 is a schematic view according to an embodiment of the invention.
FIG. 3 is a flowchart according to an embodiment of the invention.
FIG. 4 is a schematic view according to an embodiment of the invention.
FIG. 5 is a schematic view according to an embodiment of the invention.
FIGS. 6A to 6D are schematic views according to an embodiment of the invention.
FIG. 7 is a schematic view according to an embodiment of the invention.
FIG. 8 is a schematic view according to an embodiment of the invention.
FIG. 9 is a schematic view according to an embodiment of the invention.
FIGS. 10A to 10D are schematic views according to an embodiment of the invention.
DESCRIPTION OF EXEMPLARY EMBODIMENTS
Hereinafter, embodiments of the invention will be described based on examples with reference to the accompanying drawings. Equivalent components in the drawings are denoted by the same reference numerals and duplicate explanation of such components in each example is omitted.
1. First Example
FIG. 1 shows the overall configuration of a first example of the invention. The first example of the invention is an industrial robot having a robot body 6 and an entry detection device 7 for detecting an entry made by workers 9 a, 9 b toward the robot body 6 beyond a boundary that demarcates a predetermined safe work zone and a danger zone.
The robot body 6 has a robot controller 61 as a startup control unit, and an actuator, sensor, multi-joint arm and the like, not shown, controlled by the robot controller 61. The robot body 6 is configured to operate in cooperation with the workers 9 a, 9 b. The control systems of the robot body 6 and the entry detection device 7 are independent of each other. The robot controller 61 of the robot body 6 and a detection unit 5 of the entry detection device 7 are connected to each other via a communication line. The robot controller 61 starts predetermined processing such as stopping an actuator, outputting an alarm sound or turning on a warning lamp, when the entry detection device 7 detects an entry. The functions of the robot controller 61 are realized by a computer which controls the entire robot body 6 and a computer program executed by the computer.
The entry detection device 7 has a light emitting unit 1 including plural LEDs (light emitting diodes) as light marks, a light on-off control unit 2 which controls light emission of the LEDs, a digital camera 4 installed in such a way that the light emitting unit 1 fits within the field of view, and the detection unit 5 which detects an entry based on an output from the digital camera 4. The light on-off control unit 2 and the detection unit 5 are formed by separate computers. The light on-off control unit 2 and the light emitting unit 1 are regarded as an integrated unit. The digital camera 4 and the detection unit 5 are regarded as another integrated unit. These two units are installed at both ends of a boundary over which an entry is detected.
The light emitting unit 1 is installed along the boundary between the safe work zone and the danger zone for the workers 9 a, 9 b. The light emitting unit 1 has a first light mark array 1 a including LEDs 11 a to 19 a arrayed along and near the boundary in the safe work zone demarcated by the boundary, a second light mark array 1 b including LEDs 11 b to 19 b arrayed in one-to-one pairs with the first light mark array, along the boundary in the danger zone demarcated by the boundary, and a drive circuit, not shown, for driving these LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b. A control signal generated by the light on-off control unit 2 is applied to the drive circuit. One LED belonging to the first light mark array 1 a, and one LED that is opposite that LED across the boundary and belongs to the second light mark array 1 b, are paired as a control target of the light on-off control unit 2. For example, the LED 11 a and the LED 11 b are paired and the LED 12 a and the LED 12 b are paired. Thus, the pair of the LED 11 a and the LED 11 b is referred to as a pair 11, and the pair of the LED 12 a and the LED 12 b is referred to as a pair 12. An arbitrary pair is arranged near each other on both sides of the boundary. The line connecting the center of each LED of the pair arranged on both sides of the boundary is orthogonal to the boundary.
The digital camera 4 has an area image sensor, not shown, as a light sensor. The area image sensor is formed by a CCD image sensor, CMOS image sensor or the like, and can pick up an image of all the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b formed by a lens, not shown. The pickup timing of each frame in the digital camera 4 is controlled in such a manner that the light emission pattern of the LEDs 11 to 19 does not change during a period when an electric charge is accumulated in a photoelectric conversion element of the image sensor so that the digital camera 4 can generate image data of each frame.
FIG. 2 is a schematic view showing an example of the light emission pattern of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a controlled by the light on-off control unit 2. In FIG. 2, t represents time axis. An x axis defined parallel to the boundary between the safe work zone and the danger zone as shown in FIG. 1 is also shown in FIG. 2. In FIG. 2, a white circle indicates that the LED is on, and a black circle indicates that the LED is off. When the drive circuit of the light on-off control unit 2 and the light emitting unit 1 turns on one LED of each pair 11 to 19, the drive circuit turns off the other LED. Even when one LED of the pair does not emit light, the other LED emits light. Therefore, if there is an entry, the optical path from one LED of the pair to the digital camera 4 is necessarily intercepted. Thus, an entry into the danger zone beyond the boundary can securely be detected. Although FIG. 2 only shows the light emission pattern of the first light mark array 1 a, the light emission pattern of the second light mark array 1 b is the reverse of the light emission pattern shown in FIG. 2 and therefore the illustration thereof is omitted.
First, a light emission pattern of the LEDs at an arbitrary time will be described. For example, at a time t1, the LEDs 11 a, 13 a, 16 a, 18 a are on and the LEDs 12 a, 14 a, 15 a, 17 a, 19 a are off. In this manner, it is preferable that the first light mark array 1 a arranged in the x axis direction along the boundary between the safe work zone and the danger zone includes the LEDs 11 a, 13 a, 16 a, 18 a which emit light and the LEDs 12 a, 14 a, 15 a, 17 a, 19 a which do not emit light in arbitrary timing. The light emission pattern of the first light mark array 1 a and the light emission pattern of the second light mark array 1 b are the reverse of each other in each pair of LEDs. Therefore, as a matter of course, if the first light mark array 1 a includes both LEDs emitting light and LEDs not emitting light, the second light mark array 1 b includes both LEDs emitting light and LEDs not emitting light. If the LED group arranged in the x axis direction along the boundary between the safe work zone and the danger zone includes LEDs emitting light and LEDs not emitting light in this manner, an undetectable zone at an arbitrary time can be diminished. For example, if a foreign matter enters only the optical paths from the LEDs 12 a, 14 a, 15 a, 17 a, 19 a to the digital camera 4 at the time t1, the entry of the foreign matter cannot be detected because these LEDs are off. However, since the LEDs 11 a, 13 a, 16 a, 18 a, belonging to the same group a and arranged next to these off-state LEDs, are on, the foreign matter is highly likely to be detected. Moreover, since the LEDs 12 b, 14 b, 15 b, 17 b, 19 b paired with the LEDs 12 a, 14 a, 15 a, 17 a, 19 a which are off at the time t1 are on, the foreign matter is highly likely to be detected. Of course, when all the LEDs of the first group a arranged in the x axis direction along the boundary between the safe work zone and the danger zone are on, there is no undetectable zone in the optical path from the first group a to the digital camera 4. However, when all the LEDs of the first group a are on, the entire optical path from the second group b to the digital camera 4 is an undetectable zone. Therefore, the undetectable zone can be narrowed down further by including both LEDs emitting light and LEDs not emitting light in the LEDs groups arranged in the x axis direction.
Next, a time-series light emission pattern of an arbitrary LED will be described. For example, the LED 11 a is on at times t1, t3, t5, t8, t9, t11 and off at times t2, t4, t6, t7, t10. By thus turning an arbitrary LED on and off depending on time, the undetectable zone on the time axis can be shortened. For example, if a foreign matter enters only the optical path from the LED 11 a to the digital camera 4 at the time t2, the foreign matter cannot be detected because the LED 11 a is off. However, since the LED 11 a is on at the times t1 and t3, that is, immediately before and after the time t2, the foreign matter is highly likely to be detected. Of course, if the LED 11 a is constantly on, there is no undetectable zone in the optical path from the LED 11 a to the digital camera 4. However, if the LED 11 a is constantly on, the optical path from the LED 11 b paired with the LED 11 a to the digital camera 4 is a constantly undetectable zone. Therefore, the temporal undetectable zone can be shortened by turning an arbitrary LED on and off depending on time.
By thus including LEDs emitting light and LEDs not emitting light in the LED groups arranged in the x axis direction along the boundary between the safe work zone and the danger zone and turning an arbitrary LED on and off depending on time, the undetectable zone can be narrowed down and shortened. Moreover, by thus changing the light emission pattern of the LEDs in terms of time and space, a deliberate entry can be prevented. For example, if the light emission pattern of the LEDs does not change in terms of time, a person can place a shielding object imitating the spatial light emission pattern between the light emitting unit 1 and the digital camera 4 and thus enter the danger zone from between the shielding object and the light emitting unit 1 without being detected by the entry detection device 7. Meanwhile, for example, if the light emission pattern of the LEDs does not change in terms of space, a person can place a shielding object imitating the temporal light emission pattern between the light emitting unit 1 and the digital camera 4 and thus enter the danger zone from between the shielding object and the light emitting unit 1 without being detected by the entry detection device 7. However, if the light emission pattern of the LEDs changes in terms of both time and space, it is extremely difficult to imitate the light emission pattern of the LEDs and a deliberate entry is substantially impossible.
The control signal of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b generated by the light on-off control unit 2 is binary data having two states of on and off with respect to each LED. Thus, if the on-state is expressed by 1, the off-state is expressed by 0 and upper one bit is allocated to each of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a in order from the left to express a part of the control signal corresponding to the first light mark array 1 a as a binary number, this part is “101001010” at the time t1 and “001010100” at the time t2. As described above, when one LED of each pair of LEDs 11 to 19 is on, the other LED is off. To control each pair of LEDs 11 to 19 in this manner, the light on-off control unit 2 generates a bit string which is the reverse of the bit string of the part of the control signal corresponding to the first light mark array 1 a, as the bit string of the part of the control signal corresponding to the second light mark array 1 b. For example, at the time t1, “110101011” is generated as the bit string of the part of the control signal corresponding to the LEDs 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b. Also, the light on-off control unit 2 may generate a bit string corresponding to one of the first light mark array 1 a and the second light mark array 1 b as a control signal, and the drive circuit of the light emitting unit 1 may generate a control signal of the other one of the first light mark array 1 a and the second light mark array 1 b by reversing the bit string of the control signal generated by the light on-off control unit 2.
FIG. 3 is a flowchart showing procedures of an entry detection method using the entry detection device 7. FIG. 3 shows a series of processing procedures corresponding to one frame of image data outputted from the digital camera 4. That is, the processing shown in FIG. 3 is carried out for each frame of image data. In the following description, the LEDs 11 a to 14 a are referred to as a first light mark group A1 of the first light mark array 1 a. The LEDs 15 a to 19 a are referred to as a second light mark group B1 of the first light mark array 1 a. The LEDs 11 b to 14 b are referred to as a first light mark group A2 of the second light mark array 1 b. The LEDs 15 b to 19 b are referred to as a second light mark group B2 of the second light mark array 1 b. The number of LEDs belonging to the first light mark groups A1, A2 and the number of LEDs belonging to the second light mark group B1, B2 in this example are only simplified examples. For example, as described later, the number of the first light mark groups A1 corresponding to an error detection code may be one or more and may be decided according to the number of second light mark groups B1 suitably set according to the length of a boundary over which an entry is detected, and the type of the error detection code.
First, the light on-off control unit 2 generates a bit string of the control signal corresponding to the second light mark group B1 of the first array at a certain time (S100). That is, the light on-off control unit 2 generates a bit string of the part corresponding to the LEDs 15 a to 19 a forming the second light mark group B1 of the first array, of the control signal controlling the lighting of each of the individual LEDS forming the light mark array for each bit. For example, to realize the light emission pattern at the time t1 shown in FIG. 2, the light on-off control unit 2 generates a bit string “01010” as the part of the control signal corresponding to the LEDs 15 to 19.
Next, the light on-off control unit 2 generates an error detection code of the bit string of the part of the control signal corresponding the second light mark group B1 of the first array at a certain time, as a bit string of a part of the control signal corresponding to the first light mark group A1 of the first array at that time (S101). That is, the light on-off control unit 2 generates an error detection code of the bit string of the part of the control signal corresponding to the LEDs 15 a to 19 a as a bit string of the part corresponding to the LEDs 11 a to 14 a forming the first light mark group A1 of the first array, of the control signal controlling the on-state of each of the individual LEDs forming the light mark array for each bit. For example, to realize the light emission pattern at the time t1 shown in FIG. 2, the light on-off control unit 2 generates a bit string “1010” of the part of the control signal corresponding to the LEDs 11 a to 14 a, based on the bit string “01010” of the part of the control signal corresponding to the LEDs 15 a to 19 a.
The part of the control signal corresponding to the first light mark group A1 of the first array may be a bit string forming a code which can detect a transmission error of the part of the control signal corresponding to the second light mark group B1 of the first array, such as cyclic redundancy check code (CRC), parity code or check sum. Considering detection accuracy and high speed, the cyclic redundancy check code is preferable. Also, while it suffices to be able to detect a transmission error of the part of the control signal corresponding to the second light mark group B1 of the first array, the part of the control signal corresponding to the first light mark group A1 of the first array may be generated in such a way as to form a code that can correct a transmission error of the part of the control signal corresponding to the second light mark group B1 of the first array. That is, in this specification, the error detection code is used as a term including an error correction code.
Next, the light on-off control unit 2 generates a bit string of the part of the control signal corresponding to the second light mark array 1 b by reversing the bit string of the part of the control signal corresponding to the first light mark array 1 a (S102). For example, when the bit string “101001010” of the part of the control signal corresponding to the first light mark array 1 a is generated in order to realize the light emission pattern at the time t1 shown in FIG. 2, the light on-off control unit 2 generates a bit string “010110101” of the part of the control signal corresponding to the second light mark array 1 b.
Next, the light on-off control unit 2 applies the control signal of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b to the light emitting unit 1 in predetermined timing (S103). For example, when 01010 is generated as the control signal corresponding to the second light mark group B1 at the time t1 in step S100 and 1010 is generated as the control signal corresponding to the first light mark group A1 at the time t1 in step S101, a control signal “101001010010110101” is applied to the light emitting unit 1, and the LEDs 11 a, 13 a, 16 a, 18 a, 12 b, 14 b, 15 b, 17 b, 19 b are turned on while the LEDs 12 a, 14 a, 15 a, 17 a, 19 a, 11 b, 13 b, 16 b, 18 b are turned off, as shown in FIG. 4. FIG. 4 shows the correspondence between each bit of the control signal and the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b, in the drive circuit of the light emitting unit 1. In FIG. 4, a white circle indicates that the LED is on and a black circle indicates that the LED is off.
Next, the detection unit 5 acquires image data equivalent of one frame from the digital camera 4 (S104). As described above, in the timing when the digital camera 4 picks up the one-frame image of the light emitting unit 1, the light emitting state of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b of the light emitting unit 1 is controlled not to switch.
Next, the detection unit 5 analyzes the one-frame image data acquired from the digital camera 4 and generates a light receiving signal which indicates the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b, as a binary number for each LED (S105).
FIG. 5 is a schematic view showing the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b, and shows an image expressed by a local area of the image data outputted from the digital camera 4. In FIG. 5, a white circle shows an image of an LED that is on, and a dark circle (hatched circle) shows an image of an LED that is off. Also, in FIG. 5, numbers and alphabetical letters are symbols indicating the position of pixels.
When the positional relation between the digital camera 4 and the light emitting unit 1 is fixed, images of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b are recorded in predetermined areas of the image data. Therefore, the detection unit 5 can compare the luminance value in each area corresponding to the images of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b with a threshold value and thus determine whether the corresponding LED is on or off. Specifically, for example, a case where the on-state LED 11 a corresponds to pixels 1A, 1B, 2A, 2B and the off-state LED 12 a corresponds to pixels 4A, 4B, 5A, 5B, is considered. In this case, the total of the luminance values of the pixels 1A, 1B, 2A, 2B is greater than the total of the luminance values of the pixels 4A, 4B, 5A, 5B. Therefore, if the total of the luminance values of the pixels 1A, 1B, 2A, 2B is greater than a predetermined threshold value, the detection unit 5 determines that the LED 11 a is on. In the opposite case, the detection unit 5 determines that the LED 11 a is off. More pixels may correspond to one LED or fewer pixels may correspond to one LED. Then, as each bit of the light receiving signal indicating the lighting state of each LED, the detection unit 5 generates 1 for the LED which is determined as on and 0 for the LED which is determined as off. For example, in the case of the light receiving state shown in FIG. 4, “101” is generated as the bit string of the corresponding part of the light receiving signal.
Next, the detection unit 5 generates a first inspection value of the error detection code based on the bit string of the part corresponding to the second light mark group B1 of the first array, of the generated light receiving signal (S106). Here, the function for generating the first inspection value of the error detection code may be any function that is the same as a function used when generating the bit string of the part of the control signal corresponding to the first light mark group A1 of the first array based on the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array.
Next, the detection unit 5 generates a second inspection value of the error detection code based on a reverse bit string of a part corresponding to the second light mark group B2 of the second array, of the generated light receiving signal (S107). Here, the function for generating the second inspection value of the error detection code is the same as the function used when generating the first inspection value. That is, the function for generating the second inspection value may be any function that is the same as the function used when generating the bit string of the part of the control signal corresponding to the first light mark group A1 of the first array based on the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array.
Next, the detection unit 5 compares the first inspection value of the error detection code with the bit string of the light receiving signal corresponding to the first light mark group A1 of the first array and determines whether these values coincide with each other or not (S108).
FIGS. 6A to 6D are schematic views showing the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a. In FIGS. 6A to 6D, a white circle shows an image of an LED emitting light, a hatched circle shows an image of an off-state LED, and a hatched semicircle shows an image of a foreign matter S. A case is considered where at the time when the light receiving state shown in FIGS. 6A to 6D is achieved, the lighting state of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a is off, on, on, off, on, off, off, off, on in order from the left (LED 11 a). That is, the bit string of the part of the control signal corresponding to the first light mark array 1 a at the time when the light receiving state shown in FIGS. 6A to 6D is achieved is “011010001”.
When there is no foreign matter in the optical paths from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a to the digital camera 4 at a certain time, as shown in FIG. 6A, the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array is “0110” and the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array is “10001”. Thus, the bit string of the part of the control signal corresponding to the first light mark array 1 a at this time is “011010001”. That is, the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array is “0110”, and the bit string “10001” of the part of the control signal corresponding to the second light mark group B1 of the first array coincides with the bit string “10001” of the part of the light receiving signal corresponding to the second light mark group B1 of the first array. Therefore, the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array is “0110”, too. Thus, the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array coincides with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array. In this way, when there is no foreign matter S in the optical path from any of the LEDs emitting light of the first light mark array 1 a to the digital camera 4, the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array coincides with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array.
When there is a foreign matter S in the optical path from the LED 13 a belonging to the first light mark group A1 of the first array and emitting light, to the digital camera 4, as shown in FIG. 6B, the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array is “0100”. However, the bit string of the control signal corresponding to the first light mark group A1 of the first array forming the error detection code of the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array is “0110”. Since there is no foreign matter in the optical path from the second light mark group B1 of the first array to the digital camera 4, the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array coincides with the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array. Therefore, it is almost certain that the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array and the bit string of the light receiving signal corresponding to the first light mark group A1 of the first array do not coincide with each other. In this way, when there is a foreign matter S in the optical path from one of the LEDs belonging to the first light mark group A1 of the first array and emitting light, to the digital camera 4, it is almost certain that the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array and the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array do not coincide with each other.
When there is a foreign matter S in the optical path from the LED 19 a belonging to the second light mark group B1 of the first array and emitting light, to the digital camera 4, as shown in FIG. 6C, the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array is “10000”. Since there is no foreign matter in the optical path from the first light mark group A1 of the first array to the digital camera 4, the bit string “0110” of the part of the control signal corresponding to the first light mark group A1 of the first array generated based on the bit array of the part of the control signal corresponding to the second light mark group B1 of the first array coincides with the bit string “0110” of the part of the light receiving signal corresponding to the first light mark group A1 of the first array. However, the bit string of the control signal corresponding to the second light mark group B1 of the first array is different from the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array. Therefore, it is almost certain that the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array is different from the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array. That is, also when there is a foreign matter S in the optical path from one of the LEDs belonging to the second light mark group B1 of the first array and emitting light, to the digital camera 4, it is almost certain that the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array and the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array do not coincide with each other.
Also, when there is a foreign matter S in the optical path from one of the LEDs belonging to the first light mark group A1 of the first array and emitting light, to the digital camera 4, and there is also a foreign matter S in the optical path from one of the LEDs belonging to the second light mark group B1 of the first array and emitting light, to the digital camera 4, as shown in FIG. 6D, it is almost certain that the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array and the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array do not coincide with each other.
In this way, when the bit string of the light receiving signal corresponding to the first light mark group A1 of the first array coincides with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array, it can be said that there is almost certainly no foreign matter in the optical path from the first light mark array 1 a to the digital camera 4. Moreover, when the bit string of the light receiving signal corresponding to the first light mark group A1 of the first array does not coincide with the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array, it can be said that there is almost certainly a foreign matter in the optical path from the first light mark array 1 a to the digital camera 4.
Thus, when the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array does not coincide with the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array, the detection unit 5 detects an entry from the safe work zone side where the first light mark array 1 a is arranged, at a detection target time (S109). Here, the detection target time is the time when images of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b are recorded in the image data equivalent to one frame acquired by the detection unit 5 from the digital camera 4.
Meanwhile, when the first inspection value of the error detection code generated based on the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array coincides with the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array, the detection unit 5 determines that there is no entry from the safe work zone side where the first light mark array 1 a is arranged, at the detection target time, and then executes the following processing of step S110. If an entry from the safe work zone side where the first light mark array 1 a is arranged is detected in step S109, the following processing of step S110 may be executed or the entry detection processing may be ended without executing the processing of step S110.
In step S110, the detection unit 5 compares the second inspection value of the error detection code with the reverse bit string of the part of the light receiving signal corresponding to the first light mark group A2 of the second array and determines whether these values coincide with each other or not (S110).
FIG. 7 is a schematic view showing the light receiving state of the digital camera 4 to the light emitted from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b. In FIG. 7, a white circle shows an image of an LED emitting light, a hatched circle shows an image of an off-state LED, and a hatched semicircle shows an image of a foreign matter S. A case is considered where at the time when the light receiving state shown in FIG. 7 is achieved, the lighting state of the first light mark array 1 a is on, off, on, off, off, on, off, on, off in order from the left (LED 11 a). Thus, at the same time, the lighting state of the second light mark array 1 b is off, on, off, on, on, off, on, off, on in order from the left (LED 11 b). That is, the control signal corresponding to the time when the light receiving state shown in FIG. 7 is achieved is “101001010010010101”.
In this case, since there is no foreign matter in the optical path from the second light mark group B2 of the second array to the digital camera 4, a bit string b22 of a part of the light receiving signal corresponding to the second light mark group B2 of the second array coincides with a bit string b21 of a part of the control signal corresponding to the second light mark group B2 of the second array. Therefore, a reverse bit string b23 of apart of the light receiving signal corresponding to the second light mark group B2 of the second array coincides with a bit string b11 of a part of the control signal corresponding to the second light mark group B1 of the first array. Therefore, as a second inspection value is generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array, the second inspection value coincides with a bit string all of a part of the control signal corresponding to the first light mark group A1 of the first array. Meanwhile, there is a foreign matter S in the optical path from the first light mark group A2 of the second array to the digital camera 4. Therefore, a bit string a21 of a part of the control signal corresponding to the first light mark group A2 of the second array, which is a reverse bit string of the bit string all of the part of the control signal corresponding to the first light mark group A1 of the first array, does not coincide with a reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array. Thus, when there is a foreign matter S in the optical path from the first light mark group A2 of the second array to the digital camera 4, it is almost certain that the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array do not coincide with each other.
Similarly, when there is a foreign matter in the optical path from the second light mark group B2 of the second array to the digital camera 4, it is almost certain that the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array do not coincide with each other.
Meanwhile, when there is no foreign matter in the optical path from the first light mark group A2 of the second array to the digital camera 4 or in the optical path from the second light mark group B2 of the second array to the digital camera 4, the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array coincide with each other.
Therefore, when the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array coincide with each other, it can be said that there is almost certainly no foreign matter in the optical path from the second light mark array 1 b to the digital camera 4. Conversely, when the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array do not coincide with each other, it can be said that there is almost certainly a foreign matter in the optical path from the second light mark array 1 b to the digital camera 4.
Thus, when the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array do not coincide with each other, the detection unit 5 detects an entry from the danger zone side where the second light mark array 1 b is arranged at the detection target time (S111).
Meanwhile, when the second inspection value generated from the reverse bit string b23 of the part of the light receiving signal corresponding to the second light mark group B2 of the second array and the reverse bit string a23 of the part of the light receiving signal corresponding to the first light mark group A2 of the second array coincide with each other, it is considered that there is no entry from the danger zone side where the second light mark array 1 b is arranged at the detection target time, and the entry detection processing ends.
As described above, the detection unit 5 outputs a signal indicating whether there is an entry from the safe work zone side or not and whether there is an entry from the danger zone side or not, to the robot controller 61 of the robot body 6. When the detection unit 5 detects an entry form the safe work zone side, the robot controller 61 starts predetermined processing such as stopping the actuator, outputting a warning sound, or turning on a warning lamp. Also, when the detection unit 5 detects an entry from the danger zone side, that is, from the side of the robot body 6, the robot controller 61 starts predetermined processing such as outputting a sound to instruct the workers 9 a, 9 b to take out a workpiece and tuning on an indicator indicating to the workers 9 a, 9 b that the workpiece can be taken out.
According to this example, based on image data equivalent to one frame acquired from the digital camera 4, the detection unit 5 can detect an entry at the time when an image of the light emitting unit 1 is recorded in the image data. Therefore, the entry detection device 7 can detect an entry into the danger zone with a minimum delay. Moreover, according to this example, when one LED of the LED pairs 11 to 19 arranged near each other on both sides of the boundary is on, the other LED is necessarily off. Therefore, an entry across the boundary can securely be detected. Also, since the detection unit 5 can detect an entry using a light receiving signal generated from the image data acquired from the digital camera 4 and a predetermined function of error detection code, the light on-off control unit 2 and the detection unit 5 need not be connected via a signal line. When the light on-off control unit 2 and the light emitting unit 1 are considered to be an integral unit while the digital camera 4 and the detection unit 5 are considered to be another integrated unit, and these two units are installed at both ends of the boundary over which an entry is detected, the entry detection device 7 can easily be installed if the two units need not be connected via a signal line even if the distance from the light on-off control unit 2 to the detection unit 5 extends to several meters. Also, since the detection unit 5 separately detects an entry in the optical path from the first light mark array 1 a to the digital camera 4 and an entry in the optical path from the second light mark array 1 b to the digital camera 4, whether an entry is made from the danger zone side or from the safe work zone side is specified. Thus, according to this example, when the detection unit 5 detects an entry, the content of processing started by the robot controller 61 can be varied depending on whether an entry is made from the danger zone side or from the safe work zone side.
2. Second Example
In the above first example, the light emission pattern of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b is controlled by a control signal generated by the light on-off control unit 2. When there is no foreign matter in the optical path from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b to the digital camera 4, a light receiving signal is generated by the detection unit 5 in accordance with the light emission pattern of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b. That is, in the above first example, when there is no foreign matter in the optical path from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b to the digital camera 4, a control signal is transmitted as a light receiving signal from the light on-off control unit 2 to the detection unit 5 in accordance with the light emitted from the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b. Thus, the light on-off control unit 2 may generate a control signal so that time information and identification information of the individual LEDs can be obtained from a light receiving signal generated by the detection unit 5.
The light emission pattern of the first light mark array 1 a and the light emission pattern of second light mark array 1 b are the reverse of each other in terms of on and off. Since the part of the control signal corresponding to the first light mark group A1 of the first light mark array 1 a is the error detection code of the part of the control signal corresponding to the second light mark group B1 of the first light mark array 1 a, the control signal of the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b is redundant as a signal indicating information. That is, the parts of the control signal corresponding to the first light mark group A1 of the first light mark array 1 a and the first light mark group A2 of the second light mark array 1 b cannot represent significant information, and information equivalent to only 5 bits, that is, a half of the 10 bits allocated in total to the part of the control signal corresponding to the second light mark group B1 of the first light mark array 1 a and the part of the control signal corresponding to the second light mark group B2 of the second light mark array 1 b, can be transmitted from the light on-off control unit 2 to the detection unit 5.
Specifically, for example, a time-series bit string of the control signal corresponding to the LED 15 a may be generated so that a time-series light receiving signal corresponding to the LED 15 a forms identification information that can identify the LED 15 a with respect to the other LEDs. The time-series bit string of the control signal corresponding to the LED 15 a at the times t1 to t8 shown in FIG. 2 is “01001010”. The time-series bit string of the control signal corresponding to the LED 16 a at the times t1 to t8 shown in FIG. 2 is “10011001”.
Thus, information that “01001010” indicates the LED 15 a and “10011001” indicates the LED 16 a, is stored in advance in the detection unit 5. Thus, when a time-series signal of on (1) and off (0) obtained by the detection unit 5 from the luminance value of an arbitrary local area of image data acquired from the digital camera 4 is “01001010”, it can be specified that the local area corresponds to the LED 15 a. Also, when a time-series signal of on (1) and off (0) obtained from the luminance value of an arbitrary local area of image data is “10011001”, it can be specified that the local area corresponds to the LED 16 a. By thus including identification information of the LED in the control signal of the individual LEDs, the correspondence between local areas of image data acquired from the digital camera 4 and the individual LEDs can be specified at the detection unit 5. When the correspondence between local areas of image data acquired from the digital camera 4 and the individual LEDs can be specified at the detection unit 5, local areas where the luminance value is acquired in order to detect the lighting state of the individual LEDs can be set according to the positional relation between the digital camera 4 and the light emitting unit 1. Consequently, the positional relation between the digital camera 4 and the light emitting unit 1 can be set freely to a certain extent.
Moreover, for example, time information that can specify a specific time when all the LEDs 11 a, 12 a, 13 a, 14 a, 15 a, 16 a, 17 a, 18 a, 19 a, 11 b, 12 b, 13 b, 14 b, 15 b, 16 b, 17 b, 18 b, 19 b emit light, based on the light emitted at that time, can be transmitted from the light on-off control unit 2 to the detection unit 5. For example, the bit string of the part of the control signal corresponding to the LEDs 15 a, 16 a, 17 a, 18 a, 19 a at the time t9 in FIG. 2 is “01010”. By storing a encoding rule for encoding time to a control signal in the light on-off control unit 2 and storing a decoding rule for decoding a light receiving signal to time in the detection unit 5 in advance, the correspondence between an arbitrary frame of image data acquired from the digital camera 4 and time can be specified at the detection unit 5. Thus, the detection unit 5 can detect whether there is an entry or not, adding attribute information that indicates time.
Since the bit string of the part of the control signal corresponding to the first light mark group A1 of the first array is the function (error detection code) of the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array, the identification information of the LED and the time information cannot be included in the bit string of the part of the control signal corresponding to the first light mark group A1 of the first array. That is, the identification information of each LED and the time information belonging to the second light mark group B1 of the first array may be encoded to generate a bit string of the part of the control signal corresponding to the second light mark group B1 of the first array, and an error detection code of the generated bit string of the part of the control signal corresponding to the second light mark group B1 of the first array may be generated as the bit string of the part of the control signal corresponding to the first light mark group A1 of the first array.
Thus, the light on-off control unit 2 sets the cycle of the control signal of all the LEDs to 9 units of time, inserts the time information at the same time, also inserts the identification information of the individual LEDs belonging to the second light mark group B1 of the first array in time series, and generates the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array in each cycle, for example, as shown in FIG. 8. Then, the light on-off control unit 2 generates the bit string of the part of the control signal corresponding to the first light mark group A1 of the first array, based on the bit string of the part of the control signal corresponding to the second light mark group B1 of the first array. In this case, the light emission pattern at a specific time having the time information can also have the function of a synchronizing signal that can specify the start point of the time-series light emission pattern having the identification information. Of course, a reset signal or synchronizing signal to set up a special light emission pattern such as turning on all the LEDs can also be inserted.
3. Third Example
FIG. 9 is a schematic view showing a third example of the invention. Circles shown in FIG. 9 show the LEDs of the light emitting unit 1. A white circle indicates on-state. A hatched circle indicates off-state.
In this example, the LEDs provided in the light emitting unit 1 are divided into blocks as control targets. That is, the plural LEDs provided in the light emitting unit 1 are divided into a first light mark block α made up of LEDs forming a first light mark array 1 a including a first light mark group A1 and a second light mark group B1 and a second light mark array 1 b including a first light mark group A2 and a second light mark group B2, and a second light mark block β made up of LEDs forming a first light mark array 1 c including a first light mark group C1 and a second light mark group D1 and a second light mark array 1 d including a first light mark group C2 and a second light mark group D2, as control targets of the light on-off control unit 2. That is, in the bit string of the part of the control signal corresponding to the first light mark block α, the bit string of the part corresponding to the first light mark group A1 forms an error detection code of the bit string of the part corresponding to the second light mark group B1, and the bit string of the part corresponding to the first light mark array 1 a forms the reverse bit string of the second light mark array 1 b. Also, in the bit string of the part of the control signal corresponding to the second light mark block β, the bit string of the part corresponding to the first light mark group C1 forms an error detection code of the bit string of the part corresponding to the second light mark group D1, and the bit string of the part corresponding to the first light mark array 1 c forms the reverse bit string of the second light mark array 1 d.
Also, the detection unit 5 generates, for each light mark block, a first inspection value of the error detection code from the bit string of the part of the light receiving signal corresponding to the second light mark group of the first array and compares the first inspection value with the bit string of the part of the light receiving signal corresponding to the first light mark group of the first array. The detection unit 5 also generates a second inspection value of the error detection code from the reverse bit string of the part of the light receiving signal corresponding to the second light mark group of the second array and compares the second inspection value with the reverse bit string of the part of the light receiving signal corresponding to the first light mark group of the second array. For example, when the first inspection value of the error detection code generated from the bit string of the part of the light receiving signal corresponding to the second light mark group B1 of the first array does not coincide with the bit string of the part of the light receiving signal corresponding to the first light mark group A1 of the first array, the detection unit 5 detects that there is an entry from the safe work zone side in the optical path from the first light mark block α to the digital camera 4. Also, when the second inspection value of the error detection code generated from the reverse bit string of the part of the light receiving signal corresponding to the second light mark group D1 does not coincide with the reverse bit string of the part of the light receiving signal corresponding to the first light mark group C2, the detection unit 5 detects that there is an entry from the danger zone side in the optical path from the second light mark block β to the digital camera 4.
In this way, the entry detection device 7 according to this example can detect an entry in each section corresponding to a light mark block and therefore can specify at which position on the boundary and from which side the entry is made. Moreover, since the entry detection device 7 can detect an entry in each section corresponding to a light mark block, the entry detection device 7 is capable of detecting an entry only in a specific section of the boundary and not detecting an entry in another section of the boundary. For example, if an entry in the optical path from the first light mark block α to the digital camera 4 is to be detected but an entry in the optical path from the second light mark block β to the digital camera 4 is not to be detected, a signal showing the detection result of the second light mark block β may be fixed constantly to a value indicating that there is no entry, irrespective of the actual detection result.
If a temporary undetectable zone can be set on the boundary where an entry can be detected by the entry detection device 7, the workers 9 a, 9 b can put a workpiece into and take a workpiece out of the robot body 6, for example, while the robot body 6 is operating. Thus, an environment where an industrial robot and a person work in cooperation can be designed flexibly.
4. Other Embodiments
Some embodiments of the invention are described, based on examples. However, the technical field of the invention is not limited to the above examples and various changes can be made in the above examples to carry out the invention.
For example, the light receiving surface of the digital camera 4 and the light emitting surface of the light emitting unit 1 may be made to face each other in vertical direction, as shown in FIGS. 10A and 10B. Also, the light receiving surface of the digital camera 4 and the light emitting surface of the light emitting unit 1 may be made to face each other in horizontal direction, as shown in FIG. 10C. Moreover, for example, when the boundary of the danger zone of the robot body 6 is curved as shown in FIG. 10D, light marks such as LEDs may be arranged along the curve, in the light emitting surface of the light emitting unit 1.
As a light mark, a light source such as fluorescent tube, light bulb and laser may be used as well as LED. A liquid crystal shutter which intercepts and opens the optical path from a light source to a light sensor may also be used as a light mark.
Moreover, as a light sensor used to detect the light receiving state of the light mark, a light sensor having spatial resolution such as area image sensor or linear image sensor may be used, or a light sensor without having spatial resolution such as photodiode may be used. Even when a light sensor without having spatial resolution such as photodiode is used, an entry can be detected on a broad boundary surface to a certain extent by pairing a light mark with directivity such as laser with a light sensor and using plural such pairs.
The entire disclosure of Japanese Patent Application No. 2012-016385, filed Jan. 30, 2012 is expressly incorporated by reference herein.

Claims (9)

What is claimed is:
1. An entry detection device comprising:
plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary;
plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary;
a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the first light mark and the second light mark of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks;
a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light; and
a detection unit which generates a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks, generates a first inspection value of the error detection code based on a first part of the light receiving signal corresponding to the other part of the plural first light marks, generates a second inspection value of the error detection code based on a reverse bit string of a third part of the light receiving signal corresponding to the second light mark paired with the other part of the plural first light marks, and detects an entry to the boundary based on a result of comparison between a second part of the light receiving signal corresponding to the one part of the plural first light marks and the first inspection value and a result of comparison between a reverse bit string of a fourth part of the light receiving signal corresponding to the second light mark paired with the one part of the plural first light marks and the second inspection value.
2. The entry detection device according to claim 1, further comprising plural light mark blocks including the plural first light marks and the plural second light marks and arrayed along the boundary.
3. The entry detection device according to claim 1, wherein the control signal has information to be transmitted to the detection unit, and
the detection unit acquires the information based on the output from the light sensor.
4. A robot comprising:
plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary;
plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary;
a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the first light mark and the second light mark of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks;
a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light;
a detection unit which generates a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks, generates a first inspection value of the error detection code based on a first part of the light receiving signal corresponding to the other part of the plural first light marks, generates a second inspection value of the error detection code based on a reverse bit string of a third part of the light receiving signal corresponding to the second light mark paired with the other part of the plural first light marks, and detects an entry to the boundary based on a result of comparison between a second part of the light receiving signal corresponding to the one part of the plural first light marks and the first inspection value and a result of comparison between a reverse bit string of a fourth part of the light receiving signal corresponding to the second light mark paired with the one part of the plural first light marks and the second inspection value; and
a startup control unit which starts predetermined processing when the entry is detected.
5. The robot according to claim 4, further comprising plural light mark blocks including the plural first light marks and the plural second light marks and arrayed along the boundary.
6. The robot according to claim 4, wherein the control signal has information to be transmitted to the detection unit, and
the detection unit acquires the information based on the output from the light sensor.
7. An entry detection method using
plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary,
plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary, and
a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light;
the method comprising:
generating a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the first light mark and the second light mark of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks;
generating a light receiving signal by binarizing the signal outputted from the light sensor for each of the light marks;
generating a first inspection value of the error detection code based on a first part of the light receiving signal corresponding to the other part of the plural first light marks;
generating a second inspection value of the error detection code based on a reverse bit string of a third part of the light receiving signal corresponding to the second light mark paired with the other part of the plural first light marks; and
detecting an entry to the boundary based on a result of comparison between a second part of the light receiving signal corresponding to the one part of the plural first light marks and the first inspection value and a result of comparison between a reverse bit string of a fourth part of the light receiving signal corresponding to the second light mark paired with the one part of the plural first light marks and the second inspection value.
8. An entry detection device comprising:
plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary;
plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary;
a light on-off control unit which generates a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the first light mark and the second light mark of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks;
a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light that is received; and
a detection unit which detects an entry to the boundary based on the signal outputted from the light sensor.
9. An entry detection method using
plural first light marks arrayed in an area on one side demarcated by a boundary and along the boundary,
plural second light marks arrayed in one-to-one pairs with the plural first light marks, in an area on the other side demarcated by the boundary, and
a light sensor which receives light from the plural first light marks and the plural second light marks and outputs a signal corresponding to the light,
the method comprising:
generating a control signal that varies the first light marks which are made to emit light and the second light marks which are made to emit light depending on time, wherein when one of the first light mark and the second light mark of the pair is made to emit light, the other is not made to emit light, and a part of the control signal corresponding to a part of the plural first light marks at an arbitrary time is an error detection code of the other part of the control signal corresponding to the other part of the plural first light marks; and
detecting an entry to the boundary based on the signal outputted from the light sensor.
US13/736,507 2012-01-30 2013-01-08 Entry detection device, robot, and entry detection method Active 2033-11-11 US9031694B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/681,720 US9360860B2 (en) 2012-01-30 2015-04-08 Entry detection device, robot, and entry detection method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-016385 2012-01-30
JP2012016385A JP5874412B2 (en) 2012-01-30 2012-01-30 Robot, approach detection method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/681,720 Division US9360860B2 (en) 2012-01-30 2015-04-08 Entry detection device, robot, and entry detection method

Publications (2)

Publication Number Publication Date
US20130197694A1 US20130197694A1 (en) 2013-08-01
US9031694B2 true US9031694B2 (en) 2015-05-12

Family

ID=48837314

Family Applications (2)

Application Number Title Priority Date Filing Date
US13/736,507 Active 2033-11-11 US9031694B2 (en) 2012-01-30 2013-01-08 Entry detection device, robot, and entry detection method
US14/681,720 Expired - Fee Related US9360860B2 (en) 2012-01-30 2015-04-08 Entry detection device, robot, and entry detection method

Family Applications After (1)

Application Number Title Priority Date Filing Date
US14/681,720 Expired - Fee Related US9360860B2 (en) 2012-01-30 2015-04-08 Entry detection device, robot, and entry detection method

Country Status (3)

Country Link
US (2) US9031694B2 (en)
JP (1) JP5874412B2 (en)
CN (1) CN103226885B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6177837B2 (en) * 2015-06-30 2017-08-09 ファナック株式会社 Robot system using visual sensor
JP6088605B1 (en) * 2015-08-31 2017-03-01 ファナック株式会社 Robot system using visual sensor
DE202017102411U1 (en) * 2017-04-25 2017-05-15 Leuze Electronic Gmbh + Co Kg Device for securing a system
US10503143B1 (en) * 2018-04-05 2019-12-10 Amazon Technologies, Inc. Protection system for multi-zone robotic area
CN112233174B (en) * 2020-09-10 2024-08-16 浙江大华技术股份有限公司 Warning area dividing method and related device thereof

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS592198A (en) 1982-06-29 1984-01-07 日本警備保障株式会社 Security system
JPS63500822A (en) 1986-01-13 1988-03-24 デ−タ・インストルメント・インコ−ポレ−テッド Intrusion detection system for operating industrial machinery
US4753569A (en) * 1982-12-28 1988-06-28 Diffracto, Ltd. Robot calibration
US4818866A (en) 1986-01-13 1989-04-04 Data Instruments, Inc. Intrusion detection system for operating industrial machines with variable sensitivity
US5526119A (en) * 1992-04-16 1996-06-11 Elop Electro-Optics Industries, Ltd. Apparatus & method for inspecting articles such as agricultural produce
JPH10103923A (en) 1996-09-30 1998-04-24 Sony Corp Apparatus and method for detecting position and robot apparatus
JPH10510479A (en) 1994-12-08 1998-10-13 ユーケイ ロボティクス リミテッド Object detection system
JP2001071192A (en) 1999-07-02 2001-03-21 Natl Inst Of Industrial Safety Ministry Of Labour Blanking system
JP2001235367A (en) 2000-02-23 2001-08-31 Optex Co Ltd Active type infra-red sensor
JP2004279127A (en) 2003-03-13 2004-10-07 Omron Corp Light curtain
JP2007104041A (en) 2005-09-30 2007-04-19 Sunx Ltd Multi-optical axis photoelectric sensor
JP2007197401A (en) 2006-01-30 2007-08-09 Milbon Co Ltd Hairdressing composition
JP2010015258A (en) 2008-07-01 2010-01-21 Sony Corp Monitoring system, information processing apparatus, information processing method, and program
US7675416B2 (en) 2005-12-28 2010-03-09 Mitsubishi Electric Corporation Intruder detection device
JP2010133765A (en) 2008-12-03 2010-06-17 Omron Corp Abnormality notification method and abnormality notification apparatus in sensor
JP2010231713A (en) 2009-03-30 2010-10-14 National Institute Of Advanced Industrial Science & Technology Safe position detecting apparatus with entry detecting function

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4639591A (en) * 1984-12-31 1987-01-27 Westinghouse Electric Corp. System for optical monitoring of machine positions
JPH0668457B2 (en) * 1985-10-04 1994-08-31 株式会社東芝 Stabilized light pulser
JPH0869578A (en) * 1994-08-26 1996-03-12 Kokusai Electric Co Ltd Intruder detection system and control method therefor
JP2000111655A (en) * 1998-09-30 2000-04-21 Sunx Ltd Safety device
US6166371A (en) * 1999-04-30 2000-12-26 Beckman Coulter, Inc. Diffuse reflective light curtain system
JP4066168B2 (en) * 2003-03-13 2008-03-26 オムロン株式会社 Intruder monitoring device
JP2006323709A (en) * 2005-05-20 2006-11-30 Fujitsu Ltd Crime prevention monitor
WO2007025267A2 (en) * 2005-08-25 2007-03-01 Gatekeeper Systems, Inc. Systems and methods for locating and controlling powered vehicles
JP5035768B2 (en) * 2006-04-18 2012-09-26 独立行政法人産業技術総合研究所 Safety device for human robot coexistence work
EP2161695A4 (en) * 2007-06-07 2011-06-08 Univ Electro Communications Object detection device and gate device using the same
JP5343641B2 (en) * 2009-03-12 2013-11-13 株式会社Ihi Robot apparatus control device and robot apparatus control method
US20110273293A1 (en) * 2010-05-04 2011-11-10 Arnold Itkin Light-curtain alarm with proximity-detected access authorization
JP2013073563A (en) * 2011-09-29 2013-04-22 Seiko Epson Corp Intrusion detection device, robot, intrusion detection method and intrusion detection program
JP2013083547A (en) * 2011-10-11 2013-05-09 Seiko Epson Corp Intrusion detection device, robot, intrusion detection method and intrusion detection program
EP2796903B1 (en) * 2013-04-24 2018-12-26 Rockwell Automation Safety AG Optical unit, light curtain and method for allocating an individual address
EP2813868B1 (en) * 2013-06-11 2021-08-04 Rockwell Automation Switzerland GmbH Method for synchronizing optical units of a photoelectric barrier and light curtain

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS592198A (en) 1982-06-29 1984-01-07 日本警備保障株式会社 Security system
US4559526A (en) 1982-06-29 1985-12-17 Secom Co., Ltd. Security alarm system
US4753569A (en) * 1982-12-28 1988-06-28 Diffracto, Ltd. Robot calibration
JPS63500822A (en) 1986-01-13 1988-03-24 デ−タ・インストルメント・インコ−ポレ−テッド Intrusion detection system for operating industrial machinery
US4818866A (en) 1986-01-13 1989-04-04 Data Instruments, Inc. Intrusion detection system for operating industrial machines with variable sensitivity
US5526119A (en) * 1992-04-16 1996-06-11 Elop Electro-Optics Industries, Ltd. Apparatus & method for inspecting articles such as agricultural produce
US6023064A (en) 1994-12-08 2000-02-08 U.K. Robotics Limited Object sensing system
JPH10510479A (en) 1994-12-08 1998-10-13 ユーケイ ロボティクス リミテッド Object detection system
JPH10103923A (en) 1996-09-30 1998-04-24 Sony Corp Apparatus and method for detecting position and robot apparatus
JP2001071192A (en) 1999-07-02 2001-03-21 Natl Inst Of Industrial Safety Ministry Of Labour Blanking system
JP2001235367A (en) 2000-02-23 2001-08-31 Optex Co Ltd Active type infra-red sensor
JP2004279127A (en) 2003-03-13 2004-10-07 Omron Corp Light curtain
JP2007104041A (en) 2005-09-30 2007-04-19 Sunx Ltd Multi-optical axis photoelectric sensor
US7675416B2 (en) 2005-12-28 2010-03-09 Mitsubishi Electric Corporation Intruder detection device
JP2007197401A (en) 2006-01-30 2007-08-09 Milbon Co Ltd Hairdressing composition
JP2010015258A (en) 2008-07-01 2010-01-21 Sony Corp Monitoring system, information processing apparatus, information processing method, and program
JP2010133765A (en) 2008-12-03 2010-06-17 Omron Corp Abnormality notification method and abnormality notification apparatus in sensor
JP2010231713A (en) 2009-03-30 2010-10-14 National Institute Of Advanced Industrial Science & Technology Safe position detecting apparatus with entry detecting function

Also Published As

Publication number Publication date
CN103226885B (en) 2016-10-12
JP2013156813A (en) 2013-08-15
CN103226885A (en) 2013-07-31
US20150212514A1 (en) 2015-07-30
US9360860B2 (en) 2016-06-07
US20130197694A1 (en) 2013-08-01
JP5874412B2 (en) 2016-03-02

Similar Documents

Publication Publication Date Title
US9360860B2 (en) Entry detection device, robot, and entry detection method
US11770516B2 (en) Apparatus and methods for three-dimensional sensing
US8002440B2 (en) LED lamp with remote control device
US20200077078A1 (en) Depth-sensing computer vision system
US20150301181A1 (en) Spatially coded structured light generator
JP5579279B2 (en) Portable electronics devices
US20130044187A1 (en) 3d camera and method of monitoring a spatial zone
US11908119B2 (en) Abnormality detection device for vehicle
WO2019174435A1 (en) Projector and test method and device therefor, image acquisition device, electronic device, readable storage medium
US9131121B2 (en) Intrusion detection device, robot system, intrusion detection method, and intrusion detection program
JP2007521211A (en) Apparatus and method for self-adjusting elevator positioning reference system
US20120218415A1 (en) Imaging intrusion detection system and method using dot lighting
KR20160040421A (en) Sensor apparatus and hazard sensing system
JP6390985B2 (en) Light grid synchronization method
JP2013083547A (en) Intrusion detection device, robot, intrusion detection method and intrusion detection program
JP6950276B2 (en) Distance measuring device
KR101806703B1 (en) Driver state monitoring apparatus
JP4574671B2 (en) Elevator positioning visual device based on call mechanism
KR20120000234A (en) The method of auto-exposure control for white light 3d scanner using an illuminometer
JP2013073563A (en) Intrusion detection device, robot, intrusion detection method and intrusion detection program
US20190017820A1 (en) Object detection system and method for a motor vehicle
JP2004074898A (en) Monitoring device of approach angle indicating lamp
KR101941902B1 (en) Measuring device and method for triangulation measurement
JP4134518B2 (en) Multi-axis photoelectric sensor
KR20140048529A (en) Vehicle lamp detecting light-source generated by reflective structure

Legal Events

Date Code Title Description
AS Assignment

Owner name: SEIKO EPSON CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HARADA, ATSUSHI;REEL/FRAME:029588/0139

Effective date: 20121203

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8