Detection device, photoelectric sensor with multiple optical axes, method for controlling a detection device, information processing program and storage medium

The detection device in multi-optical axis photoelectric sensors determines the cause of abnormalities in light receiving elements by distinguishing between electrical noise and extraneous light noise, improving maintenance efficiency by identifying the specific source of output issues.

DE112019001332B4Active Publication Date: 2024-12-05OMRON CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE112019001332
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-03-13
Filing Date
2019-01-23
Publication Date
2024-12-05
Estimated Expiration
2039-01-23

AI Technical Summary

Technical Problem

Conventional multi-optical axis photoelectric sensors fail to determine whether an abnormality in the output of a light receiving element is caused by electrical noise or extraneous light, leading to unnecessary maintenance downtime.

Method used

A detection device that includes a first determining section to identify abnormalities in light receiving standby periods arranged in a non-overlapping cycle, and a second determining section to differentiate between electrical noise and extraneous light noise based on the occurrence of abnormalities in adjacent or non-adjacent standby periods.

Benefits of technology

Enables accurate identification of the cause of abnormalities in light receiving elements, reducing maintenance time by distinguishing between electrical noise and extraneous light noise, and facilitating targeted corrective actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Investigation device (10) for determining the cause of an anomaly in the output of a light receiving element (11) of light receiving elements (11) in a photoelectric sensor (1) with multiple optical axes, wherein the investigation device (10) comprises: a first investigation section (120) for determining whether an anomaly in the output has occurred at each of the respective light reception readiness periods (Ts) of the light reception elements (11), wherein the light reception readiness periods (Ts) are arranged in a cycle (Tc) such that they do not overlap; and a second investigation section (130) for (1) determining that electrical noise has occurred in a case where, for each of the adjacent light reception ready periods (Ts) among the light reception ready periods (Ts) in the one cycle (Tc), the first investigation section (120) has determined that the anomaly occurred at output, or (2) determining that stray light noise has occurred in a case where, for one light reception ready period (Ts) or two or more non-adjacent light reception ready periods (Ts) among the light reception ready periods (Ts) in the one cycle (Tc), the first investigation section (120) has determined that the anomaly occurred at output.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates, for example, to a detecting device for detecting a cause of an abnormality in the output of a light receiving element in a photoelectric sensor having multiple optical axes. TECHNICAL BACKGROUND

[0002] In the prior art, an attempt has been made to understand in detail the state of disturbance light reception in a multi-optical-axis photoelectric sensor including a plurality of light-emitting elements and a plurality of light-receiving elements corresponding to the light-emitting elements. JP 2007-150986A (publication date: June 14, 2007) discloses a multi-optical-axis photoelectric sensor that generates information indicating a state of disturbance light reception in each of the light-receiving elements based on a signal from each of the light-receiving elements under a condition where no light is emitted from a plurality of light-emitting elements.

[0003] WO 2016 / 157582 A1 discloses a signal processing circuit of a photodetection device having asynchronous detection units that detect the presence of a light reception signal that is not synchronous with a light emission drive timing in at least one of the following cases: wherein it is determined that a value of the light reception signal exceeds a predetermined first threshold value, and a case where the value of the light reception signal becomes smaller than a predetermined second threshold value in a non-synchronous detection period, except for a synchronous detection period in a detection period in the signal processing circuit.Furthermore, in a case where the presence of the light reception signal that is not synchronous with the light emission driving time is detected by the non-synchronous detection units, the signal processing circuit performs a result thereof of detecting the presence / absence of the light reception signal detected by the synchronous detection unit in a subsequent detection period.

[0004] DE 10 2005 013 555 A1 discloses a radar device comprising a reflected wave receiving means, a received signal output section, a noise component signal output section, and a selection section. The reflected wave receiving means receives a reflected light from the object. The received signal output section outputs a received signal containing a received signal component corresponding to the intensity of the reflected light. The noise component signal output section outputs a noise component signal containing only noise components. The selection section selects either the received signal or the noise component signal as the input signal for a detection means. OVERVIEW OF THE INVENTION PROBLEMS TO BE SOLVED BY THE INVENTION

[0005] However, conventional techniques as described above have the problem that, in a case where an abnormality in the output of a light-receiving element in a multi-optical-axis photoelectric sensor occurs, the cause of that output abnormality cannot be determined. For example, with conventional techniques, it is not possible to determine whether an abnormality in the output of a light-receiving element in a multi-optical-axis photoelectric sensor is caused by electrical noise (noise) or noise.

[0006] An object of one aspect of the present invention is to provide a detecting device capable of detecting the cause of an abnormality in the output of a light receiving element in a multi-optical axis photoelectric sensor. MEANS FOR SOLVING THE TASK

[0007] To solve the above problem, a detection device according to one aspect of the present invention is configured as a detection device for detecting a cause of an abnormality in the output of a light receiving element of light receiving elements in a multi-optical-axis photoelectric sensor, the detection device comprising: a first detection section for detecting whether or not an abnormality in the output has occurred in each of respective light-receiving standby periods of the light-receiving elements, the light-receiving standby periods being arranged in a cycle so as not to overlap with each other;and a second determination section for (1) determining that electrical noise has occurred in a case where, in each of adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle, the first determination section has determined that the abnormality in output has occurred, or (2) determining that disturbance light noise has occurred in a case where, in one light-receiving standby period or two or more non-adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle, the first determination section has determined that the abnormality in output has occurred.

[0008] In order to solve the above problem, a control method according to one aspect of the present invention is configured as a method for controlling a detecting device for detecting a cause of an abnormality in the output of a light receiving element of light receiving elements in a multi-optical-axis photoelectric sensor, the method comprising the steps of: A) detecting whether or not an abnormality in the output has occurred in each of respective light-receiving standby periods of the light receiving elements, the light-receiving standby periods being arranged in a cycle so as not to overlap with each other;and B) (1) determining that electrical noise has occurred in a case where it is determined that the abnormality in output has occurred in each of adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle in step A), or (2) determining that extraneous light noise has occurred in a case where it is determined that the abnormality in output has occurred in one light-receiving standby period or two or more non-adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle in step A); ADVANTAGEOUS EFFECTS OF THE INVENTION

[0009] An aspect of the present invention advantageously makes it possible to determine a cause of an abnormality in the output of a light receiving element in a photoelectric sensor. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a functional block diagram showing the configuration of a main part of a light receiver of a multi-optical axis photoelectric sensor according to Embodiment 1 of the present invention. Fig. 2 is a perspective view showing an example of the appearance of the multi-optical axis photoelectric sensor having the Fig. 1 represents the light receiver. Fig. 3 is a diagram showing, for example, the time sequence of light emission and reception processes performed by the Fig. 2 shown photoelectric sensor are carried out cyclically. Fig. 4 is a diagram showing outputs of light receiving elements in the Fig. 1 in a case where no noise occurs. Fig. 5 is a diagram showing outputs of the light receiving elements in the Fig. 1 in a case where electrical noise occurs. Fig. 6 is a diagram showing outputs of the light receiving elements in the Fig. 1 in a case where stray light occurs. Fig. Figure 7 is a flowchart showing an overview of a root cause determination process used in the Fig. 1 shown light receiver. EMBODIMENTS OF THE INVENTION Embodiment 1

[0010] In the following, with reference to the Fig. 1 to 7, an embodiment according to an aspect of the present invention will be described (hereinafter also referred to as "the present embodiment"). It should be noted that identical or corresponding parts in the drawings are designated by identical reference numerals, and their explanations will not be repeated. For a simple understanding of a photoelectric sensor with multiple optical axes according to an aspect of the present invention, the following will first be described with reference to Fig. 2, an overview of the multi-optical-axis photoelectric sensor 1 is discussed. Note that, below, an example will be discussed in which a light receiver 10 of a multi-optical-axis photoelectric sensor 1 performs a cause determination process for determining a cause of the abnormality in the output of a light receiving element 11 or light receiving elements 11 of the multi-optical-axis photoelectric sensor 1. In other words, below, an embodiment that realizes, through the light receiver 10, a determination device for determining a cause of the abnormality in the output of the light receiving element 11 or light receiving elements 11 will be discussed. §1. Application example

[0011] Fig. Fig. 2 is a perspective view showing an example of the appearance of the multi-optical axis photoelectric sensor 1. In the Fig. In the example shown in Figure 2, the photoelectric sensor 1 with multiple optical axes comprises a light emitter 20 and a light receiver 10, which are arranged to face each other with a predetermined detection range R therebetween. Fig. In the example shown in Figure 2, a plurality of optical axes OA are arranged between the light emitter 20 and the light receiver 10. The photoelectric sensor 1 with a plurality of optical axes detects an object entering the detection area R based on the input of light along these optical axes OA and an interruption state of the light.

[0012] In the case of a conventional multi-optical-axis photoelectric sensor, upon detecting a problem (incidence of noise, interference, or the like) that had occurred in that conventional multi-optical-axis photoelectric sensor, the conventional multi-optical-axis photoelectric sensor simply turned off the output. Furthermore, the conventional multi-optical-axis photoelectric sensor merely notified a user of the occurrence of the problem without providing a reason for the problem, for example, by causing a light-emitting diode (LED) to flash. Consequently, the conventional multi-optical-axis photoelectric sensor did not allow the user to know the reason why the output of the conventional multi-optical-axis photoelectric sensor was kept OFF.For this reason, the user could not determine, for example, whether the user could restore the multi-optical-axis photoelectric sensor to operation or whether replacing the multi-optical-axis photoelectric sensor would be necessary. Therefore, the conventional multi-optical-axis photoelectric sensor required time for maintenance once the output was turned OFF.

[0013] In light of the above, the multi-optical-axis photoelectric sensor 1 performs a cause determination process for diagnosing (i.e., determining) a cause of a problem that occurred in the multi-optical-axis photoelectric sensor 1, and then notifies a user of the result of performing the cause determination process. Specifically, the multi-optical-axis photoelectric sensor 1 first determines "whether or not an output abnormality occurred in a light-receiving element 11 (i.e., whether an output of the light-receiving element 11 exceeded a predetermined value in an abnormality detection period Td (described later))."In a case where it is determined that "an output abnormality has occurred in the light-receiving element 11," the multi-optical-axis photoelectric sensor 1 also determines the cause of the output abnormality and notifies a user of the result of the thus determined cause. Specifically, the multi-optical-axis photoelectric sensor 1 determines whether the cause of the output abnormality of the light-receiving element 11 is electrical noise (noise) or noise light, and notifies a user of the cause.

[0014] In a case where the abnormality occurs in the output of the light receiving element 11, the multi-optical-axis photoelectric sensor 1 determines whether a cause of the output abnormality is electrical noise or noise based on the number of consecutive outputs (e.g., analog outputs) output from respective light receiving elements 11 that exceed a predetermined value in one cycle. For example, the multi-optical-axis photoelectric sensor 1 monitors an analog output before receiving emitted light (i.e., input of a light signal) in a light reception standby period Ts (light signal reception time). At this time, when a signal level exceeds the predetermined value (ON threshold), the multi-optical-axis photoelectric sensor 1 determines that an output abnormality has occurred (i.e.,, there is a possibility that noise or electrical noise may occur.) Furthermore, in a case where consecutive analog outputs from multiple optical axes exceed the predetermined value, the multi-optical-axis photoelectric sensor 1 determines that "the cause of the output abnormality is electrical noise superimposed on the analog outputs." Then, the multi-optical-axis photoelectric sensor 1 internally leaves a log and notifies a user of the cause as maintenance information. On the other hand, in a case where no consecutive analog outputs from multiple optical axes exceed the predetermined value, the multi-optical-axis photoelectric sensor 1 determines that "the cause of the output abnormality is noise" and notifies a user of the occurrence of noise.

[0015] In a case where the multi-optical-axis photoelectric sensor 1 determines that "the cause of the abnormality in the output of the light-receiving element 11 is electrical noise," the multi-optical-axis photoelectric sensor 1 causes a notification section 300 (indicator light) to light up without blinking. On the other hand, in a case where the multi-optical-axis photoelectric sensor 1 determines that "the cause of the abnormality in the output of the light-receiving element 11 is noise," the multi-optical-axis photoelectric sensor 1 causes the notification section 300 to blink.

[0016] Therefore, the user can know "whether the cause of the abnormality in the output of the light receiving element 11 is electrical noise (noise) or noise light", and can shorten the time required to resolve the difficulty that occurred in the multi-optical axis photoelectric sensor 1, and can also shorten the time for maintenance.

[0017] The multi-optical-axis photoelectric sensor 1 determines whether the cause of the output abnormality of the light-receiving element 11 is electrical noise or noise, and causes the notification section 300 (indication light) to indicate the cause of the output abnormality. In this case, for example, the multi-optical-axis photoelectric sensor 1 changes the display type depending on whether the cause is electrical noise or noise. Accordingly, the multi-optical-axis photoelectric sensor 1 can visualize the cause of the output abnormality of the light-receiving element 11, that is, whether the cause of the output abnormality is electrical noise or noise.

[0018] The multi-optical-axis photoelectric sensor 1 leaves an abnormal output log when an output abnormality occurs, and causes an external display device (e.g., a monitor device) to display the log. Furthermore, the multi-optical-axis photoelectric sensor 1 analyzes the left log and causes the external display device to display a suggestion for improvement based on the result of analyzing the log. For example, in a case where the multi-optical-axis photoelectric sensor 1 determines that the cause of the output abnormality is noise, the multi-optical-axis photoelectric sensor 1 causes an external display device (e.g., a monitor device) to display a suggestion for improving noise resistance.On the other hand, in a case where the multi-optical-axis photoelectric sensor 1 determines that the cause of the output abnormality is electrical noise, the multi-optical-axis photoelectric sensor 1 uses a software filter to remove the electrical noise that caused the output abnormality. §2. Configuration example (overview of appearance and the like)

[0019] In the Fig. 2, in the multi-optical-axis photoelectric sensor 1, the light emitter 20 includes a plurality of light-emitting elements 21 arranged in a line, while the light receiver 10 includes a plurality of light-receiving elements 11 arranged in a line. In the multi-optical-axis photoelectric sensor 1, the light emitter 20 and the light receiver 10 are arranged such that the plurality of light-emitting elements 21 and the respective corresponding light-receiving elements 11 face each other at a 1:1 ratio, each forming a pair.

[0020] In other words, the multi-optical-axis photoelectric sensor 1 includes n light-emitting elements 21 and n light-receiving elements 11, where "n" is an integer of not less than 2. The light-emitting elements 21(1), 21(2), 21(3), ..., 21(n) of the light-emitter 20 correspond to the respective light-receiving elements 11(1), 11(2), 11(3), ..., 11(n). Then, the light-emitter 20 and the light-receiving element 10 are arranged such that "the light-emitting elements 21(1) to 21(n)" and "the light-receiving elements 11(1) to 11(n)" face each other. Note that in the following description, “n” is an “integer not less than 2” and “m” is an “integer not less than 1”, thus satisfying “n ≥ m + 1”.

[0021] An optical axis OA(1) is formed between the light-emitting element 21(1) and the light-receiving element 11(1), an optical axis OA(2) is formed between the light-emitting element 21(2) and the light-receiving element 11(2), and an optical axis OA(3) is formed between the light-emitting element 21(3) and the light-receiving element 11(3). Similarly, an optical axis OA(n) is formed between the light-emitting element 21(n) and the light-receiving element 11(n).

[0022] Note that in the following description, in a case where each of the light-emitting elements 21 needs to be distinguished from the other light-emitting elements 21, a subscript such as "(1)", "(2)", "(3)", ..., or "(n)" is appended to the respective reference numeral for differentiation. For example, the light-emitting elements 21 are distinguished from each other by expressions such as the "light-emitting element 21(1)", the "light-emitting element 21(2)", the "light-emitting element 21(3)", ..., or the "light-emitting element 21(n)". In a case where there is no need to distinguish each of the light-emitting elements 21 from the other light-emitting elements 21, the expression "light-emitting element(s) 21" is simply used. Similarly, in a case where each of the light receiving elements 11 needs to be distinguished from the other light receiving elements 11, an index such as “(1)”, “(2)”, “(3)”, ..., or "(n)" is appended to the respective reference numeral for differentiation. In a case where there is no need to distinguish the individual light-receiving elements 11 from the other light-receiving elements 11, the term "light-receiving element(s) 11" is simply used. Furthermore, similarly, in a case where each of the optical axes OA needs to be distinguished from the other optical axes OA, an index such as "(1)", "(2)", "(3)", ..., or "(n)" is appended to the respective reference numeral for differentiation. In a case where there is no need to distinguish the individual optical axes OA from the other optical axes OA, the term "optical axis(es)" is simply used. (Overview of light emission and reception processes)

[0023] Fig. 3 is a diagram showing, by way of example, the timing of light emission and reception processes cyclically performed by the multi-optical-axis photoelectric sensor 1. In the multi-optical-axis photoelectric sensor 1, the light emission element 21 and the light reception element 11 operate synchronously with each other in a predetermined cycle. In other words, the multi-optical-axis photoelectric sensor 1 causes the plurality of light emission elements 21 to alternately emit light in sequence in respective light emission periods Te. Furthermore, the multi-optical-axis photoelectric sensor 1 causes each of the plurality of light reception elements 11 corresponding to the respective light emission elements 21 to perform a light reception process in a light reception standby period Ts in synchronization with a corresponding light emission period Te of the individual light emission elements 21.Specifically, the multi-optical-axis photoelectric sensor 1 performs the light emission and reception processes in the predetermined cycle while synchronizing the light emission period Te of the light emission element 21 and the light reception standby period Ts (i.e., a received light sampling period) of the light reception element 11 on each of the multiple optical axes OA. The multi-optical-axis photoelectric sensor 1 thereby monitors whether or not an object has entered the detection area R by performing the light emission and reception processes.

[0024] The light-emitting elements 21(1) to 21(n) of the light emitter 20 alternately perform light-emitting processes in the respective light-emitting periods Te(1) to Te(n). The light-receiving elements 11(1) to 11(n) of the light receiver 10 alternately perform light-emitting processes in the respective light-receiving standby periods Ts(1) to Ts(n) of the light-receiving elements 11(1) to 11(n) in synchronization with the light-emitting periods Te of the light-emitting elements 21 corresponding to the respective light-receiving elements 11(1) to 11(n). The light-emitting periods Te(1) to Te(n) and the light-receiving standby periods Ts(1) to Ts(n) correspond to each other, that is, they are synchronized with each other.

[0025] Note that in the following description, in a case where each of the light emission periods Te needs to be distinguished from the other light emission periods Te, an index such as "(1)", "(2)", "(3)", ..., or "(n)" is appended to the respective reference symbol for differentiation. In a case where there is no need to distinguish each of the light emission periods Te from the other light emission periods Te, the term "light emission period(s) Te" is simply used. Similarly, in a case where each of the light reception standby periods Ts needs to be distinguished from the other light reception standby periods Ts, an index such as "(1)", "(2)", "(3)", ..., or "(n)" is appended to the respective reference symbol for differentiation.In a case where there is no need to distinguish each of the light-receiving standby periods Ts from the other light-receiving standby periods Ts, the term “light-receiving standby period(s) Ts” is simply used.

[0026] In the present specification, a time required for all light-emitting elements 21(1) to 21(n) of the light emitter 20 to perform respective light-emitting processes once, that is, one cycle for the execution of sequential light-emitting processes of the light emitter 20, is referred to as a “light-emitting cycle.” Then, the light-emitting periods Te(1) to Te(n) are as in a Fig. 3 are arranged in a light emission cycle such that they do not overlap each other.

[0027] Similarly, a time required for all light receiving elements 11(1) to 11(n) of the light receiver 10 to perform respective light receiving processes once, that is, one cycle for the execution of sequential light receiving processes of the light receiver 10, is referred to as a “light receiving cycle Tc.” The light emission cycle is identical to the light receiving cycle Tc. Then, the light receiving standby periods Ts(1) to Ts(n) of the light receiving elements 11(1) to 11(n) are as shown in the Fig. 3 are arranged in a light reception cycle Tc so that they do not overlap each other.

[0028] As in Fig. 3, (i) the light-emitting elements 21(1) to 21(n) alternately perform respective light-emitting processes in sequence, and (ii) the light-receiving elements 11(1) to 11(n) alternately perform respective light-receiving processes in sequence, in a direction from a first light-emitting element / first light-receiving element at one end to a last light-emitting element / last light-receiving element at the other end in an alignment of the light-emitting elements 21(1) to 21(n) and the light-receiving elements 11(1) to 11(n). In other words, the light-emitting periods Te(1) to Te(n) in one light-emitting cycle are arranged sequentially so as not to overlap each other. In addition, the light reception standby periods Ts(1) to Ts(n) corresponding to the respective light emission periods Te(1) to Te(n) are arranged sequentially in a light reception cycle Tc so that they do not overlap each other.In the multi-optical axis photoelectric sensor 1, the light emission and reception processes, that is, the light emission process of the light emission element 21 and the light reception process of the light reception element 11, are repeatedly performed in one light emission cycle (that is, the light reception cycle Tc). (Overview of the configuration of the photoelectric sensor with multiple optical axes)

[0029] The following discusses in detail the multi-optical-axis photoelectric sensor 1, the overview of which has been described above. For a simple understanding of the multi-optical-axis photoelectric sensor 1, the overview of the multi-optical-axis photoelectric sensor 1 is summarized as follows.

[0030] That is, the multi-optical-axis photoelectric sensor 1, specifically, the light receiver 10 (detecting device), is a detecting device that detects a cause of the output abnormality of the light receiving element 11 in the multi-optical-axis photoelectric sensor 1. The light receiver 10 includes: a first detecting section 120 for detecting whether or not an output abnormality has occurred with respect to each of the light-receiving standby periods Ts of the light-receiving elements 11, the light-receiving standby periods Ts being arranged in a light-receiving cycle Tc (one cycle) so as not to overlap with each other;and a second determination section 130 for (1) determining that electrical noise has occurred in a case where, with respect to each of the adjacent light-receiving standby periods Ts among the light-receiving standby periods Ts in the light-receiving cycle Tc, the first determination section 120 has determined that the abnormality in output has occurred, or (2) determining that disturbance light noise has occurred in a case where, with respect to one light-receiving standby period Ts or two or more non-adjacent light-receiving standby periods Ts among the light-receiving standby periods Ts in the light-receiving cycle Tc, the first determination section 120 has determined that the abnormality in output has occurred.

[0031] With the above configuration, in a case (1) where an output abnormality is detected in each of adjacent light reception standby periods Ts in one light reception cycle Tc, the light receiver 10 determines that electrical noise has occurred. Furthermore, in a case (2) where an output abnormality is detected in one light reception standby period Ts or in two or more non-adjacent light reception standby periods Ts in the one light reception cycle Tc, the light receiver 10 determines that noise has occurred.

[0032] This advantageously enables the light receiver 10 to determine whether a cause of the abnormality in the output of the light receiving element 11 is the occurrence of electrical noise or the occurrence of stray light noise.

[0033] In the light receiver 10, the light-receiving standby periods Ts are arranged to correspond to the respective light-emitting periods Te. Regarding each of the plurality of light-receiving standby periods Ts in one light-receiving cycle Tc, in a case where an output exceeds a predetermined value in a period excluding a corresponding one of the light-emitting periods Te (that is, an abnormality detection period Td) among the plurality of light-receiving standby periods Ts, the first determination section 120 determines that an abnormality has occurred in the output. For example, in a case where the light-receiving element 11 detects and holds a peak of a received light signal, the abnormality detection period Td may be a "period from the start of the light-receiving standby period Ts to the start of a corresponding light-emitting period Te."

[0034] With the above configuration, with respect to each of the plurality of light-receiving standby periods Ts, in a case where an output exceeds the predetermined value in a period other than a corresponding light-emitting period Te of each of the plurality of light-receiving standby periods Ts, the light receiver 10 determines that an abnormality has occurred in the output. In the light-emitting period Te, the output suddenly increases because the light-receiving element 11 receives light emitted from the light-emitting element.

[0035] Therefore, the light receiver 10 advantageously enables the accuracy of detecting whether or not an abnormality has occurred in the output by “determining that an abnormality has occurred in a case where an output has exceeded the predetermined value in a period except for a corresponding light emission period Te from a light reception standby period Ts”.

[0036] The light receiver 10 further includes a storage section 140 for storing outputs in light reception standby periods Ts in which electrical noise occurred according to the result of detection by the second detection section 130, in a storage section 200 (specifically, output data table 210).

[0037] With the above configuration, the light receiver 10 stores in the output data table 210 the outputs in the light reception standby periods Ts in which electrical noise occurred according to the detection result of the second detection section 130. Therefore, the light receiver 10 advantageously allows a user to check the outputs of the light receiving elements 11 at a time when the electrical noise occurred.

[0038] The light receiver 10 further includes a notification section 300 for differentially notifying a user of (1) a case where it was determined by the second determination section 130 that the electrical noise occurred, or (2) a case where it was determined by the second determination section 130 that the disturbance light noise occurred.

[0039] In the above configuration, the light receiver 10 notifies a user differentially of (1) a case where the electrical noise occurred or (2) a case where the disturbance light noise occurred.

[0040] This advantageously enables the light receiver 10 to notify a user whether an abnormality in the output of the light receiving element 11 is caused by electrical noise or by noise from the ambient light.

[0041] The light receiver 10 further includes a filter section 160 for removing the electrical noise that caused the abnormality in a case where the electrical noise has been determined by the second detection section 130 to have occurred.

[0042] With the above configuration, the light receiver 10 removes the electrical noise that was a cause of the output abnormality of the light receiving element 11 in a case where the electrical noise has been detected to have occurred. Therefore, the light receiver 10 advantageously makes it possible to restore the output of the light receiving element 11 by removing the electrical noise that caused the output abnormality in a case where the occurrence of the electrical noise led to the output abnormality of the light receiving element 11.

[0043] The multi-optical-axis photoelectric sensor 1 includes the light receiver 10. With the above configuration, the multi-optical-axis photoelectric sensor 1 determines that (1) electrical noise has occurred in a case where an abnormality in output is found in each of adjacent light-receiving standby periods Ts in one light-receiving cycle Tc. On the other hand, the multi-optical-axis photoelectric sensor 1 determines that (2) noise interference has occurred in a case where an abnormality in output is found in one light-receiving standby period Ts or two or more non-adjacent light-receiving standby periods Ts in the one light-receiving cycle Tc.

[0044] This enables the multi-optical axis photoelectric sensor 1 to advantageously determine whether a cause of the abnormality in the output of the light receiving element 11 is the occurrence of electrical noise or the occurrence of stray light noise.

[0045] The overview of the multi-optical-axis photoelectric sensor 1 (particularly the light receiver 10) has been discussed above. The light receiver 10 of the multi-optical-axis photoelectric sensor 1 will be described in detail below with reference to Fig. 1 etc. discussed. (Details of the multi-optical axis photoelectric sensor)

[0046] Fig. 1 is a functional block diagram illustrating the configuration of a main part of the light receiver 10. Note that parts not directly relevant to the present embodiment (for example, a configuration in which a plurality of light-receiving standby periods Ts are sequentially arranged in a light-receiving cycle Tc so as not to overlap with each other and each synchronized with a corresponding one of the plurality of light-emitting periods Te) are excluded from the following description and functional block diagram. However, note that the light receiver 10 may include a configuration(s) omitted in this manner depending on the actual implementation conditions.

[0047] The light receiver 10 includes a control section 100, a storage section 200, and a notification section 300. The control section 100 performs the overall control of each section of the light receiver 10. The storage section 200 stores various data used by the light receiver 10. The notification section 300 notifies a user of a "cause of the abnormality in the output of the light receiving element 11," the cause of which has been determined by the control section 100. (Details of functional blocks except the memory section)

[0048] The notification section 300 notifies a user of a cause of the abnormality in the output of the light receiving element 11 under the control of the control section 100 (specifically, the notification control section 150). Specifically, the notification section 300 notifies a user differently depending on whether the cause of the abnormality in the output of the light receiving element 11 is electrical noise (noise) or noise. For example, the notification section 300 may be an indicator light (notification lamp) implemented by a light-emitting diode (LED), and the indicator light is configured to blink when the cause of the abnormality in the output of the light receiving element 11 is electrical noise, or to light up without blinking when the cause of the abnormality in the output of the light receiving element 11 is noise.Alternatively, the notification section 300 can also be implemented using, for example, three-color LEDs. Then, the notification section 300 can notify a user in different colors depending on the cause, "whether the cause of the abnormality in the output of the light-receiving element 11 is electrical noise or noise." The notification section 300 only needs to be able to notify a user differently depending on the cause, "whether the cause of the abnormality in the output of the light-receiving element is electrical noise or noise." There is no particular limitation on how the cause is notified to a user differently depending on the cause.

[0049] The control section 100 is configured to perform the overall control of processes performed by the light receiver 10. The Fig. The control section 100 shown in FIG. 1 includes, as functional blocks, a light-receiving element output receiving section 110, the first detection section 120, the second detection section 130, the storage section 140, the notification control section 150, and the filter section 160. The functional blocks of the above-described control section 100 can be implemented, for example, by a central processing unit (CPU) that loads a program stored in a storage device (storage section 200) formed, for example, in the form of a read-only memory (ROM) or a non-volatile random access memory (NVRAM) onto a random access memory (RAM; not shown). The details of the control section 100 are described below.

[0050] The light-receiving element output receiving section 110 receives respective outputs from the plurality of light-receiving elements 11 in the light-receiving standby periods Ts arranged sequentially in a light-receiving cycle Tc. More specifically, the light-receiving element output receiving section 110 receives respective outputs in anomaly detection periods Td. The "anomaly detection periods Td" are each a "period that does not include a corresponding one of the light-emitting periods Te of each of the plurality of light-receiving standby periods Ts." The "anomaly detection period Td" is, for example, a "period from the start of a light-receiving standby period Ts to the start of a light-emitting period Te corresponding to the light-receiving standby period Ts."

[0051] The light-receiving element output recording section 110 records, for example, an output in an abnormality detection period Td(1) of the light-receiving element 11(1), an output in an abnormality detection period Td(2) of the light-receiving element 11(2), and an output in an abnormality detection period Td(3) of the light-receiving element 11(3). Similarly, the light-receiving element output recording section 110 records, for example, an output in an abnormality detection period Td(n) of the light-receiving element 11(n). Then, the light receiving element output receiving section 110 notifies the first determination section 120 of the “respective outputs in the abnormality detection periods Td,” which outputs have been received from all the respective light receiving elements 11, that is, respective outputs in all the light reception standby periods Ts (anomaly detection periods Td) in the one light reception cycle Tc.

[0052] Then, the first determination section 120 determines whether an output abnormality is currently occurring with respect to all the light reception standby periods Ts in the one light reception cycle Tc, and notifies the second determination section 130 of the determination result. If it determines that an output of the light reception element 11 in an abnormality detection period Td exceeds a predetermined value, the first determination section 120 determines that an output abnormality is currently occurring in a light reception standby period Ts corresponding to the abnormality detection period Td.

[0053] For example, the first determination section 120 determines whether each of the "respective outputs in the abnormality detection periods Td" in the one light-receiving cycle, the outputs being received by the light-receiving element output receiving section 110, exceeds the predetermined value. Then, the first determination section 120 notifies the second determination section 130 of the determination result. Specifically, the first determination section 120 determines whether the output in the abnormality detection period Td(1) of the light-receiving element 11(1), the output in the abnormality detection period Td(2) of the light-receiving element 11(2), and the output in the abnormality detection period Td(3) of the light-receiving element 11(3) all exceed the predetermined value. Similarly, the first determination section 120 determines whether the output in the abnormality detection period Td(n) of the light receiving element 11(n) exceeds the predetermined value.When it has determined that an output of a light receiving element 11(m) exceeds the predetermined value, the first determination section 120 determines that an abnormality in the output is currently occurring in a light receiving standby period Ts(m) corresponding to the abnormality detection period Td(m).

[0054] The first determination section 120 also notifies the storage section 140 of the output of the light-receiving element 11 in the light-receiving standby period Ts corresponding to the abnormality detection period Td, in which the "output abnormality occurred" according to a result of the determination by the first determination section 120. If it has determined that the output in the abnormality detection period Td(m) of the light-receiving element 11(m) exceeds the predetermined value, the first determination section 120 notifies the storage section 140 of the output of the light-receiving element 11(m) in the light-receiving standby period Ts(m) corresponding to the abnormality detection period Td(m).

[0055] The second determination section 130 determines a cause of the abnormality in the output of the light-receiving element 11 in the light-receiving standby period Ts in which the "output abnormality occurred" according to the result of the determination by the first determination section 120. Then, the second determination section 130 notifies the notification control section 150 and the filter section 160 of the result of the determination by the second determination section 130. The second determination section 130 may further notify the storage section 140 of the result of the determination regarding the cause of the abnormality in the output of the light-receiving element 11.

[0056] The second determination section 130 determines that electrical noise has occurred in a case where (1) in one light-receiving cycle Tc, there are multiple light-receiving standby periods Ts in each of which an "output abnormality occurred" according to the result of determination by the first determination section 120, and (2) these light-receiving standby periods Ts are adjacent to each other (consecutive) in the one light-receiving cycle Tc. In other words, the second determination section 130 determines that (1) electrical noise has occurred in a case where, in two or more adjacent light-receiving standby periods Ts in one light-receiving cycle Tc, the first determination section 120 has determined that an output abnormality occurred.

[0057] The second determination section 130 determines that noise interference occurred in a case where there is only one light-receiving standby period Ts in a light-receiving cycle Tc in which an "output abnormality occurred" according to the result of the determination by the first determination section 120. On the other hand, the second determination section 130 determines that noise interference occurred in a case where (i) there are multiple light-receiving standby periods Ts in a light-receiving cycle Tc in which an "output abnormality occurred" according to the result of the determination by the first determination section 120, and (ii) these light-receiving standby periods Ts are not adjacent to each other in the one light-receiving cycle Tc.In other words, the second determination section 130 determines that noise occurred in a case (2) where an abnormality in output occurred in one light reception standby period Ts or two or more non-adjacent light reception standby periods Ts in one light reception cycle Tc according to the result of the determination by the first determination section 120.

[0058] For example, the second determination section 130 performs the following process in a case where the first determination section 120 has determined that the "output of the light receiving element 11(m) in the abnormality detection period Td(m) is greater than the predetermined value (the abnormality in the output occurred in the light reception standby period Ts(m))." That is, the second determination section 130 determines whether (i) an "output of a light receiving element 11(m+1) in an abnormality detection period Td(m+1)" and / or (ii) an "output of a light receiving element 11(m-1) in an abnormality detection period Td(m-1)" is greater than the predetermined value according to the result of the determination by the first determination section 120. In other words, the second determination section 130 determines "whether the first determination section 120 has determined that 'an abnormality occurred in the output in the abnormality detection period Td(m+1) and / or the abnormality detection period Td(m-1)'".

[0059] In a case where the first determination section 120 has determined that "an output abnormality occurred in the light reception standby period Ts(m)" and "an output abnormality occurred in the abnormality detection period Td(m+1) and / or the abnormality detection period Td(m-1)," the second determination section 130 determines that electrical noise occurred. On the other hand, in a case where the first determination section 120 has determined that "an output abnormality occurred in the light reception standby period Ts(m)" but "an output abnormality occurred in neither the abnormality detection period Td(m+1) nor the abnormality detection period Td(m-1)," the second determination section 130 determines that noise from external light occurred.

[0060] The second determination section 130 notifies the notification control section 150 of the result of the determination regarding the cause of the output abnormality. Furthermore, the second determination section 130 notifies the filter section 160 and the storage section 140 of "outputs in adjacent light-receiving standby periods Ts in a light-receiving cycle Tc" in which an "output abnormality occurred" according to the result of the determination by the first determination section 120.

[0061] For example, in a case where the first determination section 120 has determined that "an output abnormality occurred" with respect to the light-receiving standby periods Ts(m) and Ts(m+1) in one light-receiving cycle Tc, the second determination section 130 notifies the notification control section 150 of the determination result that "electrical noise occurred." Furthermore, the second determination section 130 notifies the filter section 160 and the storage section 140 of the "outputs in the adjacent light-receiving standby periods Ts(m) and Ts(m+1)" in which "an output abnormality occurred" according to the determination result of the first determination section 120.

[0062] The storage section 140 stores, in the output data table 210, the outputs of the light-receiving elements 11 in the light-receiving standby periods Ts in which an "output abnormality occurred" according to the result of the determination by the first determination section 120. More specifically, the storage section 140 stores, in the storage section 200, the outputs in the light-receiving standby periods Ts in which electrical noise occurred according to the result of the determination by the second determination section 130.

[0063] For example, in a case where (i) the first determination section 120 has determined that "the output of the light-receiving element 11(m) in the abnormality detection period Td(m) exceeds the predetermined value," and further (ii) the second determination section 130 has determined that this occurred due to electrical noise, the storage section 140 performs the following process. That is, the storage section 140 stores in the output data table 210 the output of the light-receiving element 11(m) in the light-receiving standby period Ts(m). Note that the storage section 140 may store in the storage section 200 an output in a light-receiving standby period Ts in which noise occurred according to a result of the determination by the second determination section 130.

[0064] The notification control section 150 controls the notification section 300 and causes the notification section 300 to notify a user of the cause of the abnormality in the output of the light receiving element 11, which cause has been determined by the second determination section 130. The notification control section 150 causes the notification section 300 to notify the user whether the cause of the abnormality in the output of the light receiving element 11 is electrical noise or noise from external light.

[0065] When the second detection section 130 notifies the result of the detection that “electrical noise occurred,” the filter section 160 removes the electrical noise that was the cause of the abnormality in the output of the light receiving element 11, and outputs an output signal of the light receiving element 11 with the electrical noise removed from the output signal to an external device or the like.

[0066] For example, in a case where the first determination section 120 has determined that "an abnormality occurred" in both adjacent light-receiving standby periods Ts(m) and Ts(m+1) in a light-receiving cycle Tc, the second determination section 130 determines that "electrical noise occurred." Further, the second determination section 130 notifies the filter section 160 of "outputs in the adjacent light-receiving standby periods Ts(m) and Ts(m+1)" in which "an abnormality in output occurred" according to the result of the determination by the first determination section 120. The filter section 160 identifies electrical noise currently occurring from those respective outputs in the anomaly detection periods Td(m) and Td(m+1) of the light-receiving standby periods Ts(m) and Ts(m+1). Then, the filter section 160 removes the thus identified electrical noise from the respective outputs of the light reception standby periods Ts(m) and Ts(m+1).Note that, since the filter section 160 can be realized by using a conventional software filter, details of how the filter section 160 removes electrical noise that caused the abnormality in the output of the light receiving element 11 and the like are omitted. (Details of the storage section)

[0067] The storage section 200 stores various types of data (e.g., programs and various parameters required for operation of the multi-optical-axis photoelectric sensor 1, which programs and various parameters have been configured and adjusted by an external configuration device (tool)) used by the light receiver 10. The storage section stores (1) a storage program, (2) an operating system program, (3) an application program for executing various functions, which programs are executed by the control section 100 of the light receiver 10, and (4) various data read out when the application program is executed. The output data table 210 is also stored in the storage section 200. This will be described in detail later.The above data (1) to (4) are stored in a non-volatile memory device such as a read-only memory (ROM), a flash memory, an erasable programmable ROM (EPROM), an electrically programmable EPROM (EEPROM) (registered trademark), a hard disk drive (HDD), or the like.

[0068] The light receiver 10 may include a temporary storage section (not shown). The temporary storage section is a so-called random access memory configured to temporarily store (i) data that the light receiver 10 uses for operation when performing various processes and (ii) the results of the operation. The temporary storage section includes a volatile storage device such as a random access memory (RAM). Which data is to be stored in which storage device is determined as needed, considering the purpose of using the light receiver 10, suitability, cost, physical conditions, and / or the like.

[0069] The storage section 140 stores, in the output data table 210, the outputs of the light-receiving elements 11 in the light-receiving standby periods Ts in which electrical noise occurred according to the result of the determination of the second determination section 130. It is also possible to store, in the output data table, an output of the light-receiving element 11 in a light-receiving standby period Ts in which noise occurred according to a result of the determination of the second determination section 130. (Examples of outputs from light receiving elements)

[0070] In the following, outputs of the light receiving elements 11 in both (i) a case where no noise (neither electrical noise nor noise light) occurs, (ii) a case where electrical noise occurs, and (iii) a case where noise light occurs will be described with reference to the Fig. 4, Fig. 5 and Fig. 6 described. (Case where no noise occurs)

[0071] Fig. Fig. 4 is a diagram showing outputs of the light receiving elements 11 in a case where no noise (neither electrical noise nor stray light) occurs. (A) of Fig. 4 shows light emission periods Te of respective light emission elements 21, wherein the light emission periods Te are arranged in a light emission cycle so that they do not overlap each other. (B) of Fig. 4 shows an image of received light signals received by respective light receiving elements 11 in one light emission cycle. In the case where no noise (neither electrical noise nor noise) occurs, the received light signals received by the respective light receiving elements 11 are identical to light (light signals) emitted by respective light emission elements 21(1) to 21(n) in light emission periods Te(1) to Te(n) shown as an example in (A) of Fig. 4 are shown.

[0072] (C) of Fig. Figure 4 shows several light signal reception times (i.e., light reception standby periods Ts) arranged in a light reception cycle so that they do not overlap each other. More specifically, (C) of Fig. 4 light reception standby periods Ts(1) to Ts(n). The light reception standby periods Ts(1) to Ts(n) correspond to respective light emission periods Te(1) to Te(n). In other words, the light reception standby periods Ts(1) to Ts(n) are synchronized with the respective light emission periods Te(1) to Te(n). The light reception elements 11(1) to 11(n) receive, in the light reception standby periods Ts(1) to Ts(n), light (light signals) emitted by the light emission elements 21(1) to 21(n) in the respective light emission periods Te(1) to Te(n). (D) of Fig. Fig. 4 shows signals (processed received light signals) output from the respective light receiving elements 11(1) to 11(n) in one light receiving cycle Tc. As shown in (D) of Fig. 4, the respective light receiving elements 11(1) to 11(n) output signals (processed received light signals) corresponding to the light (light signals) received in the light reception standby periods Ts(1) to Ts(n). In (D) of Fig. 4, a dashed line indicates an “ON threshold (predetermined value)” which serves as a criterion for determining by the multi-optical-axis photoelectric sensor 1 (more specifically, the first determination section 120) whether or not an abnormality in the output is occurring.

[0073] In the light reception standby periods Ts(1) to Ts(n), respective anomaly detection periods Td(1) to Td(n) are set. The anomaly detection periods Td(1) to Td(n) are each a "period that does not include a corresponding one of the light emission periods Te(1) to Te(n) from each of the light reception standby periods Ts(1) to Ts(n)." In a case where the light receiving element 11 detects and holds a peak of a received light signal, the anomaly detection period Td is a "period from the start of a light reception standby period Ts to the start of a corresponding light emission period Te."

[0074] Here, the first determination section 120, when determining that an "output of a light receiving element 11 in an abnormality detection period Td exceeds the ON threshold (predetermined value)", determines that an abnormality is currently occurring in the output in a light reception standby period Ts corresponding to the abnormality detection period Td. As shown in (D) of Fig. 4, in a case where no noise (neither electrical noise nor noise light) occurs, outputs (processed received light signal) of the respective light receiving elements 11(1) to 11(n) in the anomaly detection periods Td(1) to Td(n) are not larger than the ON threshold. (Case where electrical noise occurs)

[0075] Fig. Fig. 5 is a diagram showing outputs of the light-emitting elements 11 in a case where electrical noise is occurring. (A) of Fig. 5 shows how (A) of Fig. 4 light emission periods Te(1) to Te(n), arranged in a light emission cycle so that they do not overlap each other. (X) of Fig. Figure 5 shows an image of electrical noise. (B) of Fig. Fig. 5 shows an image of received light signals received by the respective light receiving elements 11 in one light emission cycle in a case where electrical noise is occurring. As shown in (B) of Fig. 5, the image of the received light signals over which the electrical noise (interference voltage) is superimposed is thicker (wider) than the “image of the light (light signals) emitted from the light-emitting elements 21” shown in (B) of Fig. 4, since signals of electrical noise are superimposed. The image of the received light signals, on which the electrical noise (interference voltage) is superimposed, has an enlarged width of a curve denoting signals, compared to the image (that is, the image shown in (B) of Fig. 4) of the received light signals received by the light receiving elements 11 under a condition in which no noise occurs.

[0076] (C) of Fig. 5 shows how (C) of Fig. 4 light reception standby periods Ts(1) to Ts(n) provided in one light reception cycle Tc. (D) of Fig. Fig. 5 shows signals (processed received light signals) output from the respective light receiving elements 11(1) to 11(n) in the one light receiving cycle Tc in a case where the electrical noise is occurring. Although both (D) of Fig. 4 as well as (D) of Fig. 5 show signals corresponding to light received by the respective light receiving elements 11(1) to 11(n) in the light reception standby periods Ts(1) to Ts(n), the signals shown in (D) differ from Fig. 5 shown signals from those in (D) of Fig. 4 signals shown in the following point.

[0077] This means, compared to the processed received light signals in the anomaly detection periods Td in (D) of Fig. 4, the processed received light signals due to the electrical noise in “a period from the start of a light reception standby period Ts to the start of a corresponding light emission period Te (that is, an anomaly detection period Td)” in (D) of Fig. 5 in the initial value. In (D) of Fig. 5, the outputs (processed received light signals) of the respective light receiving elements 11(1) to 11(n) are larger than the “ON threshold (predetermined value)” indicated by a dashed line in the abnormality detection periods Td(1) to Td(n).

[0078] The developer of the multi-optical-axis photoelectric sensor 1 found that, in a case where electrical noise is present, "an increase in the value of the processed received light signal in the anomaly detection period Td (that is, a phenomenon in which a signal output by the light-receiving element 11 becomes larger) occurs on many optical axes." In other words, the developer of the multi-optical-axis photoelectric sensor 1 found that, in a case where electrical noise is present, a phenomenon in which "the value of the processed received light signal in the anomaly detection period Td" increases on many optical axes, although not necessarily all optical axes.

[0079] In light of the above, the multi-optical-axis photoelectric sensor 1 is configured to detect that "electrical noise occurs" in a case where "processed received light signals increase in a plurality of consecutive abnormality detection periods Td provided in one light-receiving cycle Tc." In other words, the multi-optical-axis photoelectric sensor 1 is configured to detect that "electrical noise occurs" in a case where received light signals (outputs of the light-receiving elements 11) are greater than the ON threshold (predetermined value) in respective abnormality detection periods Td of light-receiving standby periods Ts adjacent to each other in one light-receiving cycle Tc. (Case where stray light occurs)

[0080] Fig. Fig. 6 is a diagram showing outputs of the light receiving elements 11 in a case where noise occurred. (A) of Fig. 6 shows how (A) of Fig. 4 and (A) of Fig. 5 light emission periods Te(1) to Te(n), arranged in a light emission cycle so that they do not overlap each other. (Y) of Fig. Figure 6 shows an image of stray light (optical noise). (B) of Fig. 6 shows an image of received light signals received by the respective light receiving elements 11 in one light emission cycle in a case where noise light occurred.

[0081] As in (B) of Fig. As shown in Figure 6, the image of the received light signals has a section over which the image shown in (Y) of Fig. 6 is superimposed, and compared to that in (B) of Fig. 4, the image in that section has a larger signal value. On the other hand, in (B) of Fig. 6 the image of received light signals at sections except the section over which the interference light is superimposed, similar to that in (B) of Fig. 4. This means that in a case where noise occurred, only a received light signal changes at a time when the noise occurred (the received light signal at the portion over which the noise is superimposed) (more precisely, the received light signal becomes larger). At this time, no influence of the noise appears on the received light signals at other times.

[0082] (C) of Fig. 6 shows how (C) of Fig. 4 and (C) of Fig. 5 the light reception standby periods Ts(1) to Ts(n) provided in the one light reception cycle Tc. (D) of Fig. Fig. 6 shows signals (processed received light signals) output from the respective light receiving elements 11(1) to 11(n) in the one light receiving cycle Tc in a case where the disturbance light occurred. Although both (D) of Fig. 4 as well as (D) of Fig. 6 show signals corresponding to light received by the respective light receiving elements 11(1) to 11(n) in the light reception standby periods Ts(1) to Ts(n), the signals shown in (D) differ from Fig. 6 shown signals from those in (D) of Fig. 4 signals shown in the following point.

[0083] This means, compared to the processed received light signal in the anomaly detection period Td(3) in (D) of Fig. 4, the output value of the processed received light signal by the disturbance light in the “anomaly detection period Td(3) (that is, a period from the start of the light reception standby period Ts(3) to the start of the light emission period Te(3))” in (D) of Fig. 6. This means that since the disturbance light that occurred in the anomaly detection period Td(3) is superimposed on the processed received light signal, the value of the processed received light signal increases by the amount of noise that occurred in the “anomaly detection period Td(3)” in (D) of Fig. 6 superimposed interference light compared to the processed received light signal in the anomaly detection period Td(3) in (D) of Fig. 4. In (D) of Fig. 6, the disturbance light occurred in the abnormality detection period Td(3), and only the output (processed received light signal) of the light receiving element 11(3) in this abnormality detection period Td(3) is larger than the “ON threshold (predetermined value)” indicated by a dashed line, while outputs in the other abnormality detection periods Td are not larger than the “ON threshold”.

[0084] In the multi-optical-axis photoelectric sensor 1, the light-receiving elements 11 perform light-receiving processes only in the respective light-receiving standby periods Ts, that is, the light-receiving elements 11(1) to 11(n) perform the light-receiving processes only in the respective light-receiving standby periods Ts(1) to Ts(n). In a case where noise occurs in a light-receiving standby period Ts (in an abnormality detection period Td), an increase occurs only in the output of the light-receiving element 11 in the light-receiving standby period Ts, while no change occurs in the outputs of the other light-receiving elements 11 in other light-receiving standby periods Ts.Accordingly, the developer of the multi-optical-axis photoelectric sensor 1 found that there is a tendency that “in a case where an output abnormality is caused by noise, the output abnormality (a phenomenon in which the value of the processed received light signal increases in the abnormality detection period Td) does not occur in consecutive optical axes.

[0085] In light of the above, the multi-optical-axis photoelectric sensor 1 determines that “noise occurred” in a case where there are no consecutive “anomaly detection periods Td in each of which the output (processed received light signal) is greater than the ON threshold (predetermined value) (that is, light reception standby periods Ts in which an abnormality in the output occurs)” in one light reception cycle Tc.

[0086] As mentioned above with reference to the Fig. 4, Fig. 5 and Fig. As described in Figure 6, the outputs of the light receiving elements 11 (more precisely, the outputs in the anomaly detection periods Td) differ depending on the case where (i) no noise (neither electrical noise nor noise) occurs, (ii) electrical noise occurs, or (iii) noise occurs. Accordingly, the multi-optical-axis photoelectric sensor 1 (more precisely, the light receiver 10) utilizes the above differences and performs the cause determination process for determining the cause of an abnormality in the output of the light receiving elements 11. The cause determination process performed by the light receiver 10 will be described below with reference to Fig. 7 discussed. §3. Operational example

[0087] Fig. 7 is a flowchart showing an overview of a noise cause determination process (cause determination process for determining the cause of an abnormality in the output of a light receiving element 11) performed by the light receiver 10. First, the first determination section 120 determines whether "an abnormality in output is occurring" (S100) with respect to all the light reception standby periods Ts in one light reception cycle Tc. Here, the first determination section 120 determines "whether an output of the light receiving element 11 in the abnormality detection period Td is greater than a predetermined value" with respect to all the abnormality detection periods Td in one light reception cycle Tc (i.e., one light emission cycle).In a case where an output of a light-receiving element 11(m) is greater than the predetermined value in an abnormality detection period Td(m), the first determination section 120 determines that an "output abnormality occurs" in a light-receiving standby period Ts(m) corresponding to the abnormality detection period Td(m). As described above, the abnormality detection period Td(m) is a "period from the light-receiving standby period Ts(m) that does not include a light-emitting period Te(m)." The abnormality detection period Td(m) refers, for example, to a "period from the start of the light-receiving standby period Ts(m) to the start of the light-emitting period Te(m)."

[0088] The second determination section 130 determines whether "an abnormality in the output of each of adjacent light-receiving standby periods Ts in the one light-receiving cycle Tc" (S110). More specifically, the second determination section 130 checks whether or not the first determination section 120 has determined that "an abnormality in the output is currently occurring" in both adjacent light-receiving standby periods Ts(m) and Ts(m+1) in the one light-receiving cycle Tc. In a case where the first determination section 120 has determined that "an abnormality in the output is currently occurring" in both adjacent light-receiving standby periods Ts(m) and Ts(m+1) in the one light-receiving cycle Tc (YES at S110), the second determination section 130 determines that electrical noise has occurred (S120).

[0089] In a case where "no output abnormality occurs in the two adjacent light-receiving standby periods Ts in one light-receiving cycle Tc" (NO at S110), the second determination section 130 further determines the following. In other words, the second determination section 130 determines "whether an output abnormality is currently occurring in one light-receiving standby period Ts or two or more non-adjacent light-receiving standby periods Ts in one light-emitting cycle Tc" (S130).

[0090] In a case where "an output abnormality occurs in one light-receiving standby period Ts or two or more non-adjacent light-receiving standby periods Ts in the one light-receiving cycle Tc" (YES at S130), the second determination section 130 determines that noise interference has occurred (S140). For example, in a case where the first determination section 120 determines that "an output abnormality is currently occurring in the light-receiving standby period Ts(m), but an output abnormality does not occur in either the light-receiving standby period Ts(m+1) or the light-receiving standby period Ts(m-1)," the second determination section 130 determines that noise interference has occurred.

[0091] In other words, in a case where there is only one light reception standby period Ts (that is, only one light reception standby period Ts(m)) in the one light reception cycle Tc in which “an abnormality occurred in output” according to the result of the determination by the first determination section 120, the second determination section 130 determines that noise interference occurred.

[0092] Furthermore, in a case where (i) in one light-receiving cycle Tc, there are multiple light-receiving standby periods Ts in each of which, according to a determination result by the first determination section 120, "an output abnormality occurred," but (ii) these light-receiving standby periods Ts are not adjacent to each other in the one light-receiving cycle Tc, the second determination section 130 determines that noise interference occurred. For example, in a case where the first determination section 120 determines that "an output abnormality is currently occurring in the light-receiving standby periods Ts(m) and Ts(m+p), but the output abnormality does not occur in either the light-receiving standby period Ts(m+1) or the light-receiving standby period Ts(m-1)," the second determination section 130 determines that noise interference occurred. Note that “p” is an “integer not less than 2”.

[0093] In a case where it is determined that "an output abnormality does not occur in any light-receiving standby period Ts in the one light-receiving cycle Tc" (NO at S130), the second determination section 130 determines that there is no output abnormality (S150). In other words, in a case where there is no light-receiving standby period Ts in the one light-receiving cycle Tc in which "an output abnormality occurred" according to a result of the determination by the first determination section 120, the second determination section 130 determines that there is no output abnormality.

[0094] As mentioned above with reference to Fig. As described in FIG. 7, the cause determination process performed by the light receiver 10 is a control method of the light receiver 10 (determining device) configured to determine a cause of an abnormality in the output of the light receiving element 11 in the multi-optical-axis photoelectric sensor 1. The cause determination process includes the steps of: A) determining whether or not an abnormality in the output occurred at each of respective light-receiving standby periods Ts of the light receiving element 11, the light-receiving standby periods Ts being arranged in a light-receiving cycle Tc (one cycle) so as not to overlap with each other (S 100);and B) (1) determining that electrical noise occurred (S120) in a case where it is determined that the abnormality in output occurred at each of adjacent light reception standby periods Ts among the light reception standby periods Ts in the one light reception cycle Tc in step A) (YES at S110), or (2) determining that noise interference occurred (S140) in a case where it is determined that the abnormality in output occurred at one light reception standby period Ts or two or more non-adjacent light reception standby periods Ts among the light reception standby periods Ts in the one light reception cycle Tc in step A) (YES at S130).

[0095] With the above configuration, in the cause determination process performed by the light receiver 10, it is determined that (1) electrical noise occurred in a case where an abnormality in output is found in each of adjacent light reception standby periods Ts in one light reception cycle Tc. On the other hand, in the cause determination process performed by the light receiver 10, it is determined that (2) disturbance light noise occurred in a case where an abnormality in output is found in one light reception standby period Ts or two or more non-adjacent light reception standby periods Ts in the one light reception cycle Tc.

[0096] Therefore, the cause determination process performed by the light receiver 10 advantageously makes it possible to determine whether an abnormality in the output of the light receiving element 11 is caused by the occurrence of electrical noise or by the occurrence of noise from the ambient light. §4. Variations (Methods for determining the cause of an output anomaly)

[0097] Above, an example was described in which the second determination section 130 determines that an output abnormality occurred in a case where "an output abnormality is currently occurring in each of adjacent light-receiving standby periods Ts in a light-receiving cycle Tc." In other words, above, an example was described in which the second determination section 130 determines that electrical noise occurred in a case where the first determination section 120 determines that "an output abnormality is currently occurring" in both adjacent light-receiving standby periods Ts(m) and Ts(m+1) in a light-receiving cycle Tc.Furthermore, in the example discussed above, in a case where "an abnormality in output just occurs in one light reception standby period Ts or two or more non-adjacent light reception standby periods Ts in one light reception cycle Tc", the second determination section 130 determines that noise has occurred.

[0098] In other words, in a case where an output abnormality occurred in any of the light-receiving standby periods Ts in a light-receiving cycle, the second determination section 130 described above determines a cause of the output abnormality based on the following criteria. That is, the second determination section 130 determines a cause of the output abnormality depending on "whether an output abnormality occurred in all of p consecutive light-receiving standby periods Ts in a light-receiving cycle Tc," where "p = 2."

[0099] However, "p" only needs to be "an integer of not less than 2," and "p = 2" is not essential for the multi-optical-axis photoelectric sensor 1, specifically, for the control section 100. Based on the assumption that "p" is "an integer of not less than 2," the second determination section 130 can determine that electrical noise occurred in a case where "an output abnormality occurred in all of p consecutive light-receiving standby periods Ts in one light-receiving cycle Tc." On the other hand, even in a case where an output abnormality occurred in some of the light-receiving standby periods Ts in one light-receiving cycle Tc, the second determination section 130 can determine that noise occurred unless "an output abnormality occurred in all of p consecutive light-receiving standby periods Ts in one light-receiving cycle Tc."

[0100] Further, a user may set “p”, and the second determination section 130 may determine a cause of the output abnormality by using the user-set “p” depending on whether or not “an output abnormality occurred in all of p consecutive light-receiving standby periods Ts in one light-receiving cycle Tc”.

[0101] For example, in a case where "p = 3," the second determination section 130 makes the following determination. In other words, the second determination section 130 determines that electrical noise occurred in a case where "in all of the adjacent light-receiving standby periods Ts(m), Ts(m+1), and Ts(m+2) in one light-receiving cycle Tc, the first determination section 120 determined that 'an output abnormality occurred.'" In a case where "the first determination section 120 has determined that 'an output abnormality is currently occurring' in the light reception standby period Ts(m), but 'an output abnormality is currently not occurring' in the light reception standby period Ts(m+1) and / or the light reception standby period Ts(m+2), the determination section 130 determines that noise from the external light occurred.

[0102] In other words, the second determination section 130 only needs to be able to determine a cause of the output abnormality that has occurred depending on “whether or not an output abnormality has just occurred in all p consecutive light-receiving standby periods Ts in one light-receiving cycle Tc” based on the assumption that “p” is an “integer of not less than 2”. (Cause determination device for determining the cause of an abnormality in the output of a light receiving element in a multi-optical-axis photoelectric sensor)

[0103] Above, a configuration example was described in which the light receiver 10 includes the control section 100. In other words, above, an example was described in which the light receiver 10 of the multi-optical-axis photoelectric sensor 1 performs the cause determination process for determining a cause of an abnormality in the output of a light receiving element 11. However, it is not essential to implement the determination device for determining an abnormality in the output of the light receiving element 11 in the light receiver 10. That is, the control section 100 does not necessarily have to be provided in the light receiver 10. The cause determination process can be performed by a device such as a computer arranged outside the multi-optical-axis photoelectric sensor 1.

[0104] The control section 100 may be provided, for example, in a computer connected to the multi-optical-axis photoelectric sensor 1 via a communication cable. In other words, it may be a computer including the control section 100 that determines (i) whether or not an output abnormality has occurred and (ii) a cause of the output abnormality. In this case, the computer receives, via a communication cable, respective outputs from a plurality of light-receiving elements 11 in one light-receiving cycle from the multi-optical-axis photoelectric sensor 1 (more specifically, the light receiver 10).

[0105] More specifically, a programmable logic controller (PLC) including the control section 100 can determine (i) whether or not an output abnormality has occurred and (ii) a cause of the output abnormality by receiving respective outputs from a plurality of light receiving elements 11 in one light receiving cycle. The determination device configured to determine a cause of an output abnormality of the light receiving element 11 can be implemented by a computer by loading onto the computer an information processing program that causes the above-described cause determination process to be carried out, and that causes the computer to process the individual outputs Fig.1. Alternatively, the detecting device configured to detect a cause of an output abnormality in the light-receiving element 11 may be implemented by a computer by loading such an information processing program onto the computer from a computer-readable storage medium on which the information processing program is stored. [Software implementation example]

[0106] Control blocks of the control section 100 (more specifically, the light receiving element output receiving section 110, the first detection section 120, the second detection section 130, the storage section 140, and the notification control section 150) may be realized by a logic circuit (hardware) provided in an integrated circuit (IC chip) or the like, or alternatively, they may be realized by software.

[0107] In the latter case, a computer having the control section 100 may be realized by a computer that executes instructions of a program that is software that realizes the above functions. The computer having the control section 100 includes, for example, at least a processor and a computer-readable storage medium storing the program. An object of the present invention can be achieved by having the processor of the computer read and execute the program stored in the storage medium. Examples of the processor include a central processing unit (CPU). Examples of the storage medium include a "non-volatile tangible medium" such as a read-only memory (ROM), a tape, a disk, a card, a semiconductor memory, and a programmable logic circuit. The computer may also include a random access memory (RAM) or the like in which the program is loaded.Furthermore, the program can be made available to the computer via any transmission medium (such as a communications network and a radio wave), allowing the program to be transmitted. It should be noted that one aspect of the present invention can also be achieved in the form of a computer data signal in which the program is implemented via electronic transmission and embedded in a carrier wave.

[0108] Aspects of the present invention can also be expressed as follows: A detection device according to one aspect of the present invention is a detection device for detecting a cause of an abnormality in the output of a light-receiving element of light-receiving elements in a multi-optical-axis photoelectric sensor, the detection device comprising: a first detection section for detecting whether or not an abnormality in the output has occurred in each of respective light-receiving standby periods of the light-receiving elements, the light-receiving standby periods being arranged in a cycle so as not to overlap with each other;and a second determination section for (1) determining that electrical noise has occurred in a case where, in each of adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle, the first determination section has determined that the abnormality in output has occurred, or (2) determining that disturbance light noise has occurred in a case where, in one light-receiving standby period or two or more non-adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle, the first determination section has determined that the abnormality in output has occurred.

[0109] In the above configuration, the determination device determines that (1) electrical noise has occurred in a case where an output abnormality is found in each of adjacent light-receiving standby periods in the one cycle. Furthermore, the determination device determines that (2) noise interference has occurred in a case where an output abnormality is found in the one light-receiving standby period or the two or more non-adjacent light-receiving standby periods in the one cycle.

[0110] This enables the detecting device to advantageously detect whether an abnormality in the output of the light receiving element is caused by the occurrence of electrical noise or by the occurrence of stray light noise.

[0111] The detection device according to one aspect of the present invention may be configured such that: the light-receiving standby periods are arranged to correspond to the respective ones of the light-emitting periods; and the first detection section is configured to determine that the abnormality in the output occurred in each of the light-receiving standby periods in the one cycle, in a case where an output exceeds a predetermined value in a period that does not include a corresponding one of the light-emitting periods of each of the light-receiving standby periods.

[0112] With the above configuration, the detection device detects that an output abnormality has occurred in each of the plurality of light-receiving standby periods when an output exceeds a predetermined value in a period that does not include a corresponding one of the light-emitting periods among each of the light-receiving standby periods. In the light-emitting period, the output suddenly increases because the light-receiving element receives light emitted by the light-emitting element.

[0113] Therefore, the determination device advantageously makes it possible to improve the accuracy of determination as to whether or not an abnormality in output has occurred by "determining that an abnormality in output has occurred in a case where an output exceeds the predetermined threshold value in a period that does not include a corresponding one of the light emission periods of each of the light reception standby periods."

[0114] The detection device according to one aspect of the present invention may be configured to further comprise: a storage section for storing, in a storage section, outputs in the adjacent light-receiving standby periods in which the electrical noise occurred according to a result of detection by the second detection section.

[0115] With the above configuration, the detection device stores, in the storage section, outputs during light-receiving standby periods in which electrical noise occurred according to a result of detection by the second detection section. Therefore, the detection device advantageously allows a user to check the outputs of the light-receiving elements at a time when the electrical noise occurred.

[0116] The detection device according to one aspect of the present invention may be further configured to include: a notification section for differentially notifying a user of (1) a case where it has been determined by the second detection section that the electrical noise has occurred, or (2) a case where it has been determined by the second detection section that the disturbance light noise has occurred.

[0117] In the above configuration, the detection device notifies a user differently of (1) a case where the electrical noise has occurred or (2) a case where the disturbance light noise has occurred.

[0118] This advantageously enables the detection device to notify a user whether an abnormality in the output of the light receiving element is caused by electrical noise or noise from the ambient light.

[0119] The detection device according to one aspect of the present invention may be configured to further include: a filter section for removing the electrical noise that caused the abnormality in the output in a case where it has been determined by the second detection section that the electrical noise has occurred.

[0120] In the above configuration, in a case where it is determined that the electrical noise has occurred, the detecting device removes the electrical noise that was a cause of the abnormality in the output of the light receiving element.

[0121] Therefore, the detecting device advantageously makes it possible to restore the output of the light receiving element to a normal state by removing the electrical noise in a case where the occurrence of the electrical noise resulted in an abnormality in the output of the light receiving element.

[0122] A multi-optical-axis photoelectric sensor according to one aspect of the present invention may be configured to include the detection device according to one aspect of the present invention. With the above configuration, the multi-optical-axis photoelectric sensor detects that (1) electrical noise has occurred in a case where an abnormality is found in the output in each of adjacent light-receiving standby periods in the one cycle. On the other hand, the multi-optical-axis photoelectric sensor detects that (2) noise has occurred in a case where an abnormality is found in the output in the one light-receiving standby period or the two or more non-adjacent light-receiving standby periods in the one cycle.

[0123] This advantageously enables the multi-optical axis photoelectric sensor to determine whether an abnormality in the output of the light receiving element is caused by the occurrence of electrical noise or by the occurrence of stray light noise.

[0124] A control method according to one aspect of the present invention is a method of controlling a detecting device for detecting a cause of an abnormality in the output of a light-receiving element of light-receiving elements in a multi-optical-axis photoelectric sensor, the method comprising the steps of: A) detecting whether or not an abnormality in the output has occurred in each of respective light-receiving standby periods of the light-receiving elements, the light-receiving standby periods being arranged in a cycle so as not to overlap with each other;and B) (1) determining that electrical noise has occurred in a case where it is determined that the abnormality in output has occurred in each of adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle in step A), or (2) determining that extraneous light noise has occurred in a case where it is determined that the abnormality in output has occurred in one light-receiving standby period or two or more non-adjacent light-receiving standby periods among the light-receiving standby periods in the one cycle in step A);

[0125] In the above configuration, the control method includes determining that (1) electrical noise has occurred in a case where the output abnormality is found in each of the adjacent light-receiving standby periods in the one cycle. Furthermore, the control method includes determining that (2) noise interference has occurred in a case where the output abnormality is found in the one light-receiving standby period or the two or more non-adjacent light-receiving standby periods in the one cycle.

[0126] Therefore, the control method advantageously makes it possible to determine whether an abnormality in the output of the light receiving element is caused by the occurrence of electrical noise or by the occurrence of stray light noise.

[0127] The present invention is not limited to the embodiments, but can be modified by those skilled in the art within the scope of the claims. The present invention also includes within its technical scope any embodiment derived by combining technical means disclosed in different embodiments. LIST OF REFERENCE SYMBOLS 1 Photoelectric sensor with multiple optical axes (detection device) 10 light receivers (detection device) 11 Light receiving element 20 light emitters 21 Light emitting element 120 First Investigation Section 130 Second Investigation Section 140 storage section 160 filter section 200 storage section 300 Notification section Tc light reception cycle (cycle) Te light emission period Ts light reception readiness period S100 First investigation step S 110 Second investigation step S130 Second investigation step

Claims

[1] A detecting device (10) for detecting a cause of an abnormality in the output of a light receiving element (11) of light receiving elements (11) in a photoelectric sensor (1) having multiple optical axes, the detecting device (10) comprising: a first detection section (120) for detecting whether or not an abnormality in the output has occurred in each of respective light reception standby periods (Ts) of the light reception elements (11), the light reception standby periods (Ts) being arranged in a cycle (Tc) so as not to overlap each other; and a second determination section (130) for (1) determining that electrical noise has occurred in a case where, at each of adjacent light-receiving standby periods (Ts) among the light-receiving standby periods (Ts) in the one cycle (Tc), the first determination section (120) has determined that the abnormality in output has occurred, or (2) determining that noise interference has occurred in a case where, at one light-receiving standby period (Ts) or two or more non-adjacent light-receiving standby periods (Ts) among the light-receiving standby periods (Ts) in the one cycle (Tc), the first determination section (120) has determined that the abnormality in output has occurred. [2] Detection device (10) according to claim 1, wherein: the light reception standby periods (Ts) are arranged so that they correspond to respective light emission periods (Te); and the first determination section (120) is configured to determine that the abnormality in the output occurred in each of the light-receiving standby periods (Ts) in the one cycle (Tc), in a case where an output exceeds a predetermined value in a period not including a corresponding one of the light-emitting periods (Te) of each of the light-receiving standby periods (Ts). [3] The detection device (10) according to claim 1 or 2, further comprising: a storage section (200) for storing outputs in the adjacent light-receiving standby periods (Ts) in which the electrical noise occurred according to a result of the detection by the second detection section (130). [4] Determination device (10) according to one of claims 1 to 3, further comprising: a notification section (300) for differentially notifying a user of (1) a case where it has been determined by the second determination section (130) that the electrical noise has occurred, or (2) a case where it has been determined by the second determination section (130) that the disturbance light noise has occurred. [5] Detecting device (10) according to one of claims 1 to 4, further comprising: a filter section (160) for removing the electrical noise that caused the abnormality in the output in a case where it has been determined by the second determination section (130) that the electrical noise has occurred. [6] Photoelectric sensor (1) with multiple optical axes, comprising: a detection device (10) according to one of claims 1 to 5. [7] A method for controlling a detecting device (10) for detecting a cause of an abnormality in the output of a light receiving element (11) of light receiving elements (11) in a photoelectric sensor (1) having a plurality of optical axes, the method comprising the steps of: A) determining whether or not an abnormality in the output has occurred in each of respective light-receiving standby periods (Ts) of the light-receiving elements (11), the light-receiving standby periods (Ts) being arranged in a cycle (Tc) so as not to overlap each other; and B) (1) determining that electrical noise has occurred in a case where it is determined that the abnormality in output has occurred in each of adjacent light-receiving standby periods (Ts) among the light-receiving standby periods (Ts) in the one cycle (Tc) in step A), or (2) determining that extraneous light noise has occurred in a case where it is determined that the abnormality in output has occurred in one light-receiving standby period (Ts) or two or more non-adjacent light-receiving standby periods (Ts) among the light-receiving standby periods (Ts) in the one cycle (Tc) in step A). [8] An information processing program for causing a computer to operate as a detecting device (10) according to any one of claims 1 to 5, the program causing the computer to operate as each of the above sections. [9] A computer-readable storage medium on which an information processing program according to claim 8 is stored.

Citation Information

Patent Citations

  • Sensor apparatus

    JP2007150986A

  • radar device

    DE102005013555A1

  • Photodetection device and electronic device

    WO2016157582A1