METHOD FOR CHECKING THE WORKING CONDITION OF AN OPTICALLY OPERATED PROXIMITY SWITCH

Abstract: The invention relates to a method in an optically operated proximity switch, particularly for checking up the working condition of the proximity switch. According to the method, the proximity switch (1) is fitted with a control circuit (45) which is switched on at certain intervals. The control circuit (45) comprises, in addition to a coupling (46), a controlling receiver means (40) and a controlling transmitter means (42), whereby the working condition of the transmitter means (8) and the receiver means (10) is checked up. The proximity switch (1) comprises further reflecting means (42, 43), whereby the control pulse is reflected to the parts (40) and (10).

Description: Method for checking the working condition of an optically operated proximity switch The invention relates to a method in an optically operated proximity switch. It utilizes at least one transmitter means which sends a beam in a first direction into the environment and at least one receiver means whose receiving direction is so directed that it intersects the beam of the transmitter means in the detection zone of the proximity switch. Further, the proximity switch comprises a processing circuit for processing the output signal of the said at least one receiver means for monitoring the situation in the detection zone. A method similar to that presented above is known e.g. from the US Patent No. 4,899,041. However, there is no indication how the working condition of the proxim¬ ity switch according to the publication is checked up during its operation. It is very important to check up the working condition particularly in applications where the proximity switch is placed in connection with a moving device, such as an automatically con¬ trolled car or robot, and the proximity switch is used particularly for securing occupational safety. Consequently, it is particularly important to secure that the proximity switch works flawlessly in all conditions. It is a problem with apparatuses related to work safety that workers who move in the operation zone of e.g. an automatically operated car or robot and know that the car or robot is equipped with a proximity switch monitoring the environment of the apparatus, presume that the proximity switch works flawlessly. Thus, according to the presumption men- tioned above, the workers move relatively freely in the zone of operation of the said apparatuses. Conse¬ quently, high requirements are set particularly for these applications of a proximity switch that the proximity" switch is in good working order, and if it is not, the apparatus having the said proximity switch must be stopped immediately after detection of a fault. The purpose of this invention is to present a method by which the working order of the proximity switch can be checked up during the actual operation of the proximity switch in a way that no risks are induced in monitoring the situation in the detection zone. For attaining this purpose, the method according to the invention is primarily characterized in that the following steps are taken for securing the working order of the proximity switch: - at least one reflecting means is placed in the range of the beam of at least one transmitter means, - at least one controlling receiver means is placed in the range of emission from the reflecting means, and - a control circuit comprising the said at least one controlling receiver means is switched on at certain intervals, whereby the processing circuit of the proximity switch is controlled on the basis of the output signal of the said at least one controlling receiver means. By h method presented above, the working condition of the transmitter means in the optically operated proximity switch can thus be monitored and a control instruction corresponding to the control result can be transmitted to the processing circuit of the proximity switch. In other words, if the controlling receiver means receives from the reflecting means emission reflected from the transmitter means, the transmitter means is functioning and the proximity switch is in working order for this part and the protective surfaces are sufficiently clean. If this does not happen, the control circuit comprising the controlling receiver means and being connected to the processing circuit discharges an instruction by which the operations of the apparatus, such as e.g. an automatically controlled car or robot, having the proximity switch are stopped at least within the scope of occupational safety or other criteria, and e.g. a visual signal is given of the malfunction of the proximity switch. The method according to the invention is further characterized in that the following steps are taken for checking up the working order of the proximity switch: - at least one controlling transmitter means is placed in contact with the proximity switch, at least one reflecting means is placed in the range of the beam of the said at least one control¬ ling transmitter means, - at least one controlling transmitter means and the said at least reflecting means are placed so that the said at least one receiver means is placed in the range of emission from the reflecting means, and a control circuit comprising the said at least one controlling receiver means is switched on at certain intervals, whereby the processing circuit of the proximity switch is controlled on the basis of the output signal of the said at least one controlling receiver means. Consequently, the method described above can be used to check up the working condition of the receiver means monitoring the detection zone of the proximity switch and the impurity of the protective surfaces. Further, some advantageous embodiments of the method _- according to the invention are presented in the appended dependent claims. In the following, the invention is described in more detail with reference to the appended drawings. In the drawings, Fig. 1 shows a schematic outline of an embodiment of the proximity switch, in which the method can be applied in a situation when the proximity switch is operatingnormally, Fig. 2 shows an embodiment according to Fig. 2 during application of the method, Fig. 3 shows a more detailed schematic diagram of the embodiment of the proximity switch applying the method according to Figs. 1 and 2, and Fig. 4 shows a schematic view of the structure of the relay equipment related to Fig. 3 in more detail. Figure l shows schematically an embodiment of the proximity switch in a situation of detection. Thus the proximity switch 1 detects an object KO in the detec¬ tion zone. Firstly, the proximity switch 1 comprises at least one transmitter means 8 which transmits a beam in a first direction into the environment. Further, the proximity switch 1 comprises at least one receiver means 10 whose direction of receiving is so directed that it intersects the beam of the trans¬ mitter means 8 in the detection zone of the proximity switch, whereby the receiver means receives emission reflected from the object KO. In the embodiment shown in Fig. 1, there is also another receiver means 12 whose direction of receiving is so directed that it monitors emission coming or reflected from the back¬ ground area outside the detection zone. In addition. the proximity switch is fitted with a processing circuit which is limited by broken lines and presented by the reference number 31 in Fig. 1. In Figs. 1 * and 2, the processing circuit 31 is presented in a 5 general form. Its more detailed structure in an r 9 embodiment is shown in Fig. 3. For applying the method according to the invention, the proximity switch is fitted with at least one 10 controlling receiver means 40 and at least one con¬ trolling transmitter means 41. The proximity switch is further connected with reflecting means 42 and 43, for checking the working condition of the transmitter means 8 on one hand, and for the receiver means 10 15 monitoring the detection zone and, when necessary, for the receiver means monitoring the background on the other hand. Furthermore, the method controls the purity of the protective surfaces of the transmitter and receiver means. The reflecting means can be fixedly 20 mounted in the frame of the proximity switch 1, e.g. supported by a suitable support frame 44 or the like. Naturally, the reflecting surfaces 42, 43 with their support frames can be made also movable in relation to the proximity switch, whereby they are, for the 25 time of the control operation, particularly placed in a way required for giving the signals shown as bold lines in Fig. 2. Particularly for reasons of durability and reliability, it is important to mount the reflect¬ ing surfaces 42, 43 to be fixed and immobile in 30 relation to the proximity switch 1. Both the controlling receiver means 40 and the con¬ trolling transmitter means 41 are coupled with a control circuit 45 with a coupling 46 or the like 35 which is switched off for the time of the control operation, whereby the control circuit receives the necessary control currency from the transmit control circuit 14, 19. The control circuit 45 and particularly the operation of its coupling 46 is controlled by a test control unit 47 which is equipped with a timer (not shown) for checking up the working condition at adjustable intervals. Further, it is possible to affect the test control circuit with an external control instruction (arrow 48) . The test control circuit is primarily affected by an external control instruction. If no test instruction can be given by the device that the proximity switch is connected with, the proximity switch gives a test instruction automatically at certain intervals. As seen in Fig. 2, the output of the controlling receiver means 40 is connected with an amplifier circuit 49 which amplifies and modifies the output signal into a form suitable for the controlling transmitter means 41. Consequently, in the embodiment shown in Fig. 2, the signal which comes from the transmit control circuit 14, 19 and is relative to the control current, passes through means 8 → 40 → 49 → 46 → 41 → 43 → 10 → 31, whereby transmis- sion of the signal is prevented by faults or impurities of the protective surfaces in the chain above, whereby the relay equipment 30 operates in a manner required by fault detection as will be described further on. For the technical structure of the processing cir¬ cuit 31, particularly the schematic diagram of Fig. 3 will be described in more detail in the following. 1. Transmitter means The transmitter means 8 consists of two GaAlAs LEDs (Honeywell SEP 8709-304) in series, the 1.5 A current flowing through the same being controlled with a Darlington power transistor 19 which, in turn receives a base current from an oscillator 14 (timer circuit TI 555) . Using two LEDs, the same current can be used for obtaining double luminosity. The diodes forming the transmitter means 8 transmit pulsed infrared light with a narrow cone, 20°, and a wavelength of 880 nm at a power of 55 mW/cm 2 indicated with the reference numeral 9. The length of the pulse is 10 μs , and the pulse ratio (operating cycle ratio) is 1:16. The pulse ratio and the pulse length can be adjusted, when needed, by means of diodes and an adjustable resistor connected to the timer circuit (not shown in Fig. 4) , particular- ly in the range between 1:1 and 1:20. With pulses in the order of a microsecond or less, the direct-current values of the infrared diode can be exceeded even 10 times, if the pulse ratio is less than 1:10, and the transmitting capacity of the diodes can thus be increased. In this short time, the thermal losses of the infrared diode do not even out to the environment by convection and thermal conduction through the conductors of the diode. With high currents, however, the aging of the diode is substantially accelerated. If the pulse ratio is high, the maximum average dissipation power is a limiting factor, irrespective of the pulse length. The longer the pulse, the less can the peak power be raised from the direct-current value by decreasing the pulse ratio. 2. Receiver means The reception 10 and 12 is synchronized with the transmitter means 8 by coupling circuits 15 and 16. Because the receiver means 10 and 12 only receive light during the transmitting pulse, the effect of background lights is minimized and the signal-noise ratio of the receiver means increases. Both receiver means 10 and 12 have detection of infrared light by two Si light diodes connected in parallel and preloaded in the reverse direction, with a cone width of 18°. Parallel connection is used for increasing the photosensitive surface area and thus photosensitivity. The maximum sensitivity of the Si light diode, 60 μA/mW/cm 2 at an intensity of radiation of 5 mW/cm 2 , is close to the transmitting wavelength 880 nm of the GaAlAs LED. In addition, the receiver means 10 and 12 have a small- size amplifier (Texas Instruments TI TLC272CP) , an analogous coupling (Harris HI-303-5) controlled by a time delay circuit (Toshiba 74HC132P) with a delayed transmitting pulse, two RC integrators before an instrumentation amplifier (TI TLC274CN) . The activation of the receiver means 10 and 12 by the object or by a disturbance light is displayed by a red LED light. From the a plifyers of the receiver means 10 and 12, the output or incoming signals 10a, 12a are transmitted by means of (two) coupling circuits 15 and 16, by which the signals 10a, 12a received during the trans- mitting pulse are directed to first condensator cir¬ cuits 21a, 22a (C = 330 nF), and by means of control signals 20b coming from the oscillator 14 through the time delay circuit 20 during a rest period to second condensator circuits 21b, 22b (C = 330 nF) through resistances (R = 100 kΩ) . The said output signal 10a, 12a is averaged with a time constant RC (RC = 3.3 ms) to the condensators of the circuits 21a, 22a, in which a voltage proportional to the average signal level (transmit signal) of pulses from the amplifier is induced. By means of averaging, even a very weak signal can be distinguished from noise. The signal- noise ratio of an assembled device is improved by averaging by a coefficient of V(2RC/t) = 28, in which t is the time of 8 μs of switching off during the pulse. In the first condensator circuit 21a, which is con¬ nected to the receiver means.10 directed at a detection distance, a voltage is induced in relation to the infrared light reflected from the object, the object being in the detection zone, and a voltage proportional to the intensity of the background light only is induced in the second condensator circuit 21b. If there is no object in the detection zone, both conden¬ sator circuits 22a, 22b have equally low voltages. In the condensators 22a, 22b connected to the receiver means 13 directed to the background, equally low voltages are induced by the background, irrespective of whether the object is in the detection zone or not. Two instrumentation amplifiers 17 and 18 are used for comparing the voltages of condensator pairs 21a, 21b on one hand and 22a, 22b on the other hand with each other. The transmitting voltage of the instrumen¬ tation amplifier 17 is 0 V, if its inlet voltages 23a, 23b are equal, i.e. the said receiver means 10 does not detect an object. If there is an obstacle in the detection zone of the receiver means 10, a voltage with a higher absolute value is induced at the inlet 23a than at the inlet 23b, whereby the output 25 of the instrumentation amplifier 17 is proportional to the inlet voltage difference. Correspondingly, the voltages are equal at the inlets 24a and 24b of the instrumentation amplifier 18 when there is no object in the vicinity of the detection zone. Thus a so- called floating reference level is obtained, on which the reflection coefficients do not affect the control operations of the proximity switch. 3. Comparator and relay circuit A comparator 27 including a control circuit 27a for fine adjustment of the zero point and the distance (TI TLC272CP) is used for comparing the signals proportional to the output signals (DC ouput voltage levels) of the receiver means 10 and 12 with each other. If the signals (outputs 25 and 26) are in- equal (in practice, the output 25 of the instrumenta¬ tion amplifier 17 exceeds the output 26 of the in¬ strumentation amplifier 18) , the object is within the detection distance, whereby the state of the comparator output 28 is changed. Thus, the output signal of the receiver means 12 directed to the background, modified by parts 16, 22a, 22b, 18, 27 of the processing means, forms a so-called floating reference level for the output signal of the receiver means 12 functioning as the actual coupling, which signal is modified by parts 15, 21a, 21b, 17, 27 of the processing means. There is a barrier voltage of ca. I V between the inlet poles of the comparator 27. This barrier voltage can be adjusted to change the detection distance. A pulse is given by the comparator to a one-shot cir¬ cuit 29 (Toshiba TC74HC132P) which affects the ac¬ tuators of the device or equipment connected with the proximity switch, e.g. switches on the relay device 30 (e.g. Siemens ZW) and keeps it on until the object has exited the detection zone. For the structure of the relay equipment 30, it can be stated with reference to Fig. 4 that the output relay (relay A) changes its state always upon detection by the receiver means 10. In practice, the receiver means 10 receives detection when the object KO is detected in the detection zone or during checking of the working condition or during testing. For the time of checking of the working condition, the output of the relay A is short circuited. Thus the output of the relay A does not affect the operation of the apparatus which the proximity switch is placed in. If there is a checking failure, the relay C is releasing and the output circuit is opened in the same way as during ordinary detection. At least four relays A-D are needed in order to carry out the said operation safely. The relays operate in the following manner: The relay A is normally energizing, but it will always release upon receiving detection, i.e. if the object KO is close or the working condition is being checked up. The relay B is normally releasing, but in a situation of checking up, the relay B is energizing. The relay C is normally energizing, but it is releasing upon receipt of detection by the relay A (however, not in a situa¬ tion of checking up) . The relay C remains energizing, even though its control contacts were opened for a short time (less than 500 ms) . The condensator con¬ nected to the winding of the relay C feeds current to the relay C as long as the control contacts are open. The relay C is permanently releasing, if there is a failure in the automatic checking up or either of the relays B or D is damaged and remains in the energizing state. The relay D is normally releasing, but it will always energize in a situation of detection of the object KO or in a situation of checking up. If there is a fault in any of the relays, the output circuit is opened in a situation of testing at the latest. This operation is based on the use of forced relays. In forced relays A-D, the contacts of the relay remain constantly in the same position in relation to each other. The contacts of the said relay are mechanically fixed to each other so that this situation is not changed even in normal cases of failure. For example, if one of the ccontacts of the relay is welded (e.g. as a result of an excessive current) , none of the contacts of the forced contacts can move any longer. In the case of the said failure, the undamaged contacts of an ordinary relay may still move. Forced relays are used by utilizing other contacts moving in a way similar to that of the actual control contacts (in a failure situation, these do not move any longer either) . 4. Checking of the working condition by the relay equipment In the beginning of the checking, the relay B is releasing. After this, the checking pulse is directed to the transmitter means 8. The relay D is energizing, and next the relay A is releasing. After the steps de¬ scribed above, the relay D will release, and finally, the relay B will release. After these steps, the proximity switch 1 can detect objects normally again. The checking must not last longer than about 300 ms. During this time, the relays A, B and D must be switched to and from the other position. The holding time of the relay C must be clearly longer than the time of testing. Using a condensator of 470 microfarads in connection with the winding of the relay C, the holding time of the relay C obtained is about 500 ms (depending on the impedance of the relay) . In general, it can be stated that optical sensors are designed for use as safety devices, and, consequently, the failure of components with a substantial effect in the proximity switch must be automatically con- trolled. In the method according to the invention, the control is based on automatic checking by which all the operations critical to the detection of an object in the detection zone are tested and checked up. The check-up can be made alternatively either at regular intervals, e.g. at every 10 min from the previous testing or detection (the time can be ad¬ justed) or under direction by external testing instruc¬ tions. The method can thus be applied firstly to check and test the working condition of the transmitt- ing control circuit 14, 19. Secondly, the method can be used to check the working condition of the transmit¬ ter means 8 and the impurity of the protective sur¬ faces. Further, the method can be applied to check the working condition of the receiver means 10 monitor¬ ing particularly the detection zone as well as the working condition of the whole processing circuit 31 insofar as it relates particularly to processing and transferring the output signal of the receiver means 10 to the relay equipment 30. Moreover, by short circuiting the relay of the normal detection situation, which is bypassed, for the time of checking by means of the coupling in the relay 30 (Fig. 4) according to the method, the checking can be done without affecting the operation of the apparatus whereto the proximity switch is connected to control its operations. The check-up situation is so secured that in case the short circuiting takes too long a time in the relay equipment, the securing relay C is opened. The proxim¬ ity switch is thus completely secured in a way that failure of a single component involved in the critical operations for detection is detected in a checking situation at the latest. On the basis of the foregoing description, it should be obvious to a specialist in the field that the working condition of the proximity switch can be checked also by separate check-up circuits e.g. in a way that the working condition of the transmitter means and the successive control operations of the processing circuit 31 can be tested separately from the control operations in the processing circuit, accounting for the operations of checking up the required working condition of the receiver means 10.

Claims: Claims : 1. Method in an optically operated proximity switch, using: - at least one transmitter means (8) which sends a beam in a first direction into the environment, - at least one receiver means (10) whose receiving direction is so directed that it intersects the beam of the transmitter means (8) in the detection zone of the proximity switch (1) , and - a processing circuit (31) for processing the output signal of the said at least one receiver means (10) for monitoring the situation in the detection zone, characterized in that for checking the working condition of the proximity switch, the following steps are taken: - at least one reflecting means (42) is placed in the range of the beam of at least one transmitter means (8) , - at least one controlling receiver means (40) is placed in the range of emission from the reflecting means (42) , and - a control circuit (45) comprising the said at least one controlling receiver means (40) is switched on at certain intervals, whereby the processing circuit (31) of the proximity switch (1) is controlled on the basis of the output signal of the said at least one controlling receiver means (40) . 2. Method in an optically operated proximity switch, using: - at least one transmitter means (8) which sends a beam in a first direction into the environment. at least one receiver means (10) whose receiving direction is so directed that it intersects the beam of the transmitter means (8) in the detection zone of the proximity switch (1) , and a processing circuit (31) for processing the output signal of the said at least one receiver means (10) for monitoring the situation in the detection zone, characterized in that for checking the working condition of the proximity switch (1) , the following steps are taken: the proximity switch (1) is fitted with at least one controlling transmitter means (41) , - at least one reflecting means (43) is placed in the range of the beam of said at least one controll¬ ing transmitter means, said at least one controlling transmitter means (41) and said at least one reflecting means (43) are placed in a way that said at least one receiver means (10) is placed in the range of the beam reflected from the reflecting means (43) , and a control circuit (45) comprising the said at least one controlling transmitter means (41) is switched on at certain intervals, whereby the processing circuit (31) of the proximity switch (1) is controlled on the basis of the output signal of the said at least one receiver means (10) . 3. Method in an optically operated proximity switch, using: - at least one transmitter means (8) transmitting a beam to the environment in a first direction, - at least one receiver means (10) whose receiving direction is so directed that it encounters the beam of the transmitter means (8) in the detection zone of the proximity switch (1) , and - a processing circuit (31) for processing the output signal of the said at least one receiver means (10) for monitoring the situation in the detection zone, characterized in that the following steps are taken for checking the working order of the proximity switch: - at least one reflecting means (42) is placed in the range of the beam of the said at least one transmitter means (8) , at least one controlling receiver means (40) is placed in the range of the beam reflected from the said reflecting means (42) , - the proximity switch (1) is fitted with at least one controlling transmitter means (41) , - at least one reflecting means (43) is placed in the range of the beam of the said at leas one controlling transmitter means (41) , - the said at least one controlling transmitter means (41) and the said at least one reflecting means (43) are placed in a way that the said at least one receiver means (10) is placed in the range of the emission reflected from the reflecting means (43) , and - at least one control circuit (45) comprising the said at least one controlling receiver means (40) and/or the said at least one controlling transmitter means (41) is switched on at certain intervals for checking up the working condition of the said at least one transmitter means (8) and at least one receiver means (10) simultaneously, whereby the processing circuit (31) of the proximity switch (1) is controlled on basis of the output signal of the said at least one controlling receiver means (40) and/or the output signal of the said at least one receiver means (10) . 4. Method according to claim 3, characterized in that the said at least one controlling receiver means (40) and the said at least one transmitter means (41) are placed in a joint control circuit (45) in a way that the output of the said at least one controlling receiver means (40) is coupled with the input of the said at least one transmitter means (41) and that the coupling (46) or the like is placed between the said parts (40, 41) in the control cir- cuit (45) . 5. Method according to claim 3 or 4, characterized. in that an amplifier circuit (49) is placed in the control circuit (45) for amplifying and modifying the output signal of the controlling receiver means (40) into a control pulse suitable for the controlling transmitter means (41) for purposes of transmitting. 6. Method according to one of claims 1-3, charac- terized in that at least one of the two reflecting means (42, 43) is fixed to the proximity switch (1), preferably supported by a support frame (44) . 7. Method according to one of claims 1-3, charac- terized in that a coupling arrangement connected in parallel, preferably an arrangement comprising of relays (A, B) or contacts in serie with these, this arrangement being in connection with the circuit controlling the operations of the apparatus connected with the proximity switch (1) , is placed in connection with the processing means (31) in a way that I the first coupling means (A) is switched on during the normal operation of the proximity switch (1) for maintaining the operations of the device connected with the proximity switch (1) , and the second coupling means (B) is open, II the second coupling means (B) is closed in the beginning of the checking operation for maintaining the operations of the device connected with the proximity switch (1) during the checking operation, m the checking operation is made, whereby the coupling means (A) receives the control related to the checking, changing its state into open state when the check-up pulse passes through the control circuit (45) and the processing circuit (31) , IV the coupling means (A, B) are returned after the checking operation to the positions of normal operation, whereby the first coupling means (A) is opened upon detection of an object (KO) in the detection zone, thus disconnecting the circuit controlling the operations of the device. 8. Method according to claim 7, characterized in that a third coupling means (C) , preferably a relay, operating with a time delay during a checking operation, is placed in series with the coupling arrangement (A, B) , whereby - the third coupling means (C) is kept in the on- position during the normal operation of the proxim- ity switch (1) for maintaining the operations of the device connected with the proximity switch (1) , - the third coupling means (C) is arranged to open during the checking operation after the allowed time for the checking operation if the phase III (claim 7) is not carried out. 9. Method according to claim 7 or 8, characterized in that - the time of duration allowed for the checking operation is defined to be max. 300 ms and the time delay of the third coupling means (C) is defined to be longer than 300 ms, preferably ca. 500 ms. 10. Method according to claim 7 or 8, characterized in that the coupling means (A, B, C) are formed of forced relays.

Inventors: HEINONEN ILKKA, HELLSTEN MARKKU, MALM TIMO, HEINONEN, ILKKA, HELLSTEN, MARKKU, MALM, TIMO
Applicants: MITRON OY
Application year: 1992
Main classification: G01S7
IPC codes: G01S7, G01S17