The present invention relates to an optical safety beam system with improved compensation for secondary reflections.
Optical safety beam systems conventionally comprise a paired light emitter and light detector and are commonly used to detect when an object has passed between the two by registering at the light detector when the light beam has been blocked. In general, infrared light is used. A typical application is to prevent a garage door or other mechanism from closing when an object is in the door's path.
With reference to
The TX 12 and RX 14 are typically placed some distance from each other. To allow for ease of installation and alignment of the RX 12 light detector with the main IR beam 18A from the TX, the emitted light is not fully collimated but instead is allowed to spread so that the detector can be placed anywhere within the light cone. Some of the light 18B from the TX 12 will strike surfaces, such as walls and floors, that fall within the light cone and produce reflected light 18C that reaches the RX 14. If an object moves into the direct light path between the TX 12 and RX 14 but only partially blocks the light cone, the RX 14 may receive this reflected light from the nearby surfaces. Common objects that can partially obstruct a security beam include shopping carts and vehicles with high clearances.
As shown in
A problem arises when there are reflective surfaces between the TX 12 and RX 14 that fall within the light cone. This scenario is shown in
Some conventional safety beam systems allow an operator to manually adjust the sensitivity of the detector. A crude compensation for partial obstruction conditions can be achieved in such a system by partially blocking the light beam and adjusting the receiver sensitivity until reflected light is no longer detected. However, this requires manual intervention, making each installation custom. In addition, this technique is not suitable for installations in which the distance the light beam travels between the TX and RX can vary, such as when one of the TX or RX units is mounted on a movable object such as a sliding door or where the TX and RX units are fixed but where the light beam is directed at a reflector mounted on the movable object. As the distance the light beam travels from the TX to the RX decreases, the absolute signal strength received for both the main light beam and the reflected beam increases and vice versa. Similar problems can occur even where the TX/RX distance is fixed if the surface reflectivity along the optical path can vary, such as when it is dry versus being wet or icy.
Another conventional way to avoid this issue is to limit the surface materials present between the TX and RX to things that are dull and do not become reflective. However, many such materials are not aesthetically pleasing. In some cases it may not be practical to use materials with surfaces that remain dull under all expected environmental conditions. A conventional solution is to add a non-reflecting covering. For example, a store may put a black rubber mat in front of an automatic door. In addition to the atheistic impact, this also introduces a potential obstacle in the travel path that may cause tripping.
A need therefore exists for an optical safety beam system that can reliably detect a partial obstruction and that compensate for reflective surfaces that can direct stray light towards the receiver. There is a further need for an automatically adaptive system that can distinguish the main light beam from the reflected beam across a range of potentially varying distances and in response to changes in environmental and other conditions and do so without requiring any manual intervention.
Optical safety beam emitters and receivers are conventionally housed in mechanical assemblies that can be mounted on or within a wall, door jam, or other surface. The assemblies also conventionally include visible LEDs that indicate when the device is operating. Conventional arrangements place the LED relatively far from the photodetector. Some popular configurations use a wide receiver housing where the photodetector and LED are spaced apart on the front face of the receiver. It can be undesirable to have an installation where this large surface is exposed when the unit is installed. Other popular configurations place the LED on a different side from the photodetector. Unfortunately, this side can be blocked when the receiver is installed making it more difficult to quickly determine if the unit is operating. There is a need to provide an improved housing for a receiver that provides a very small visible footprint when installed while also allowing an operating status indicator to be easily seen.
These and other objectives are achieved by a safety beam system that combines an optical transmitter that sends predetermined bursts of light pulses with stepped power levels at periodic intervals and an optical receiver that analyzes the received light pulses to automatically adjusts its sensitivity to reflect ambient conditions and to provide for accurate detection of a partial obstruction of the light beam.
The transmitter is configured to send pulse bursts that include at least one pulse at a full power level, a first control pulse at a first power level less than full power and a second control pulse at a second power level less than the first power. The first and second power levels can be greater then and less than, respectively, a reference power level that represents the average power of a reflection of a full power pulse from a reflective surface in a typical safety beam installation. For example, a typical reflection power loss from a shiny, reflective surface is about −8 dB. The first power level can be −6 dB less than full power and the second power level can be −10 dB less than full power.
The receiver analyzes received light to detect pulses in the bursts sent from the transmitter. A average number of detected pulses per burst is determined for a plurality of bursts. If the determined average indicates that second control pulses are being detected, the detection sensitivity is decreased. If the determined average indicates that at least some of the first control pulses are not being detected, the detection sensitivity is increased. The number of bursts to include in the average can vary. In one configuration, the number is selected based on the difference between the desired number of detected pulses and the previously determined average. The receiver also counts the number of pulses that is detected over a period when a single burst is expected to be received. If less than the number of expected full power bursts are received (or none are received at all), the receiver signals that there is an obstruction.
Advantageously, in this manner the sensitivity of the receiver is automatically adjusted to account for changes in ambient conditions and also set to a level that will detect full power pulses but not pulses of light that are less powerful than first control pulses. By selecting the power of the first control pulses to be slightly greater than the power expected for reflected light pulse, the sensitivity is also set to a level that will not detect reflections of full power pulses. As a result, the system can detect partial obstruction conditions even if a nearby reflective surface directs some of the light pulses to the receiver.
According to a further aspect of the invention, the circuitry for the receiver, including the signal analysis and obstruction detection, can be fully enclosed in a compact housing. Likewise, the transmitter circuitry, with the burst control system, can be fully contained within a compact housing. This allows the present improved safety beam system to be easily swapped in for conventional systems that lack the automatic sensitivity adjustment and partial obstruction features. In a particular configuration, the receiver housing includes a transparent cover assembly on its forward end. The cover has a lens that focuses light on an internal photodetector. The cover also extends inward over the circuit board and functions as a light pipe to carry light from a visible LED (used to signal status such as power or that IR signals are being received), to the front of the receiver. This allows the receiver to be mounted within a wall or other surface leaving only exposed forward surface while also permitted the light from the status LED to be easily viewed.
These and other features and advantages of the invention, as well as structure and operation of various implementations of the invention, are disclosed in detail below with references to the accompanying drawings:
RX 24 is comprised of a detector circuit 32 that processes signals received from IR detector 34 and indicates whether or not a pulse is detected. The pulse detection threshold of detector 32 can be adjusted. Pulse analysis and detector control circuit 36 receives pulse detection signals from the detector circuit 32. It analyzes this signal to control the pulse detection threshold of detector circuit 32 and to determine when an obstruction is present in the light beam and outputs an obstruction indicator signal 40 accordingly. Obstruction indicator 40 provides an output signal that is compatible with the safety input for conventional equipment control systems, such as for gates and garage and other automatic doors. It can also be used as an input for security systems.
TX 22 is configured to periodically emit bursts of light pulses at a predefined interval. Each burst is comprised of a fixed signal pattern with stepped energy levels such as a sequence of pulses. A burst includes at least one main pulse at a full power level. It also includes at least a first control pulse with first power reduced from full power but greater than a reference power level and a second control pulse with power reduced by more than the reference power level. The reference power level is the full power level reduced by a magnitude of power loss expected by the reflecting the full power pulse from a typical reflective surface in the context of an optical safety beam system. Thus, with reference to
The detection threshold of detector circuit 32 in RX 24 is adjusted by detector control circuit 36 so that the detector circuit 32 detects the first control pulse at least some of the time (and so also the main pulse(s)) but does not detect the second control pulse. This can be accomplished by the detector control circuit 36 counting the number of pulses detected in each burst because each burst has a predefined number of full power pulses and first and second control pulses. If the count shows that the first and second control pulses are not being detected then the sensitivity of the detector circuit 32 is too low. If the count shows that both control pulses are detected than the sensitivity of the detector circuit is too high. As discussed in more detail below, the burst pulse count is preferably calculated by averaging the number of detected pulses over a number M of bursts, such as 4, 8, or more. The sensitivity is adjusted, if necessary. The next group of bursts is then received and averaged and the adjustment process repeated. This process will allow the system to automatically compensate for slowly changing conditions but still detect a rapid partial obstruction caused by an object moving into and blocking the main light beam in a short period of time during which only one or a few bursts would be sent.
Preferably the detection threshold is adjusted so that it is as close as possible to the intensity of the first control signal as received at the TX 24. The sensitivity of the system is thus adjusted to only be as sensitive as necessary for regulation. This helps limit other light sources from interfering with the system. At this detection threshold, the first control signal may only detected some of the time because of variations in the TX and RX circuitry and the intermediate environment. In a preferred embodiment, where a burst has N main pulses and a first and second control pulse, the detection threshold is adjusted to maintain a determined average pulse count of between N and N+1 and preferably about N+0.5.
As will be appreciated, through this adjustment process the sensitivity of the RX 24 is automatically and continuously set to a level that will detect full power pulses received at RX 24 directly from the TX 22 but will not detect reflected pulses in a partial obstruction scenario (because the reflected full power pulses received at TX 22 are reduced by at least the reflection loss and so are below the detection threshold). As will be further appreciated, this process also continuously adjusts the sensitivity of the RX 24 to compensate for variations in the absolute signal strength received at RX 24 resulting from changes in the length of the light path from the TX 22 to the RX 24, such as when the system is installed in a sliding door. The system thus regulates the RX 24 sensitivity such that that the main IR beam can be discerned from the reflected IR beam automatically, for any practical distance, without requiring that the IR beam be interrupted.
In addition to adjusting the sensitivity of the detector circuit 32, the detector control circuit 36 also monitors the number of pulses received during a burst interval (a time span that encompasses the period when a burst should be present). An obstruction in the light path is indicated when none or fewer than the number of main pulses expected during the burst interval are received. The detector control circuit 36 outputs this condition on the obstruction indicator signal. This signal can then be used by other circuitry to, e.g., prevent a door from closing.
Depending on the precision to which the pulse emission intensity can be adjusted at the TX 22 and detection threshold adjusted at the RX 24, the differential between the reflection loss value and the power levels of the first and second control pulses may also differ from the +/−2 dB here. For example values of +/− less than 1 dB to greater than +/−2 dB may be suitable. The predefined number of pulses in a burst can vary so long as there are a sufficient number of pulses for the system to identify a burst and determine whether the first and/or second control pulse has been detected in the burst. In some configurations, these power of the first and second control signals can be adjusted by the manufacturer or by the user in the field, such as by means of a potentiometer, control switches, or by changing information stored in device firmware.
The system may also be configured to permit the value of the reflection loss to be adjusted to match expected operating conditions. In one embodiment, the RX 24 can include a training function to set an appropriate value of the reflection loss. For example, the most reflective expected surface for a given installation is placed between the RX and TX, a partial obstruction introduced, and the RX detection threshold adjusted to measure the actual intensity of the received full power pulses. This measured value is then used as the detection threshold
Returning to
In one embodiment, the number of bursts M included in the average is fixed. According to a further embodiment, this number can be varied over time. Preferably, the number of bursts used in a current average is selected based on the difference between the previous average number of detected pulses and the target number of average detected pulses so that the further the difference from the target value, the fewer the number of bursts used in the average. As a result, when the system is far from the desired sensitivity setting, fewer bursts need to be averaged between sensitivity adjustments, increasing the rate at which the system is adjusted. As the system gets closer to the desired target value, the number of bursts averaged is increased. The system reaction to overall environmental changes will thus be slowed while preserving the ability of the system to quickly detect and react to obstructions in the beam path.
For example, M can be set to a large number when the last calculated difference between the average and target value is within a small predefined range (indicating that the sensitivity is near its correct setting) and set to a smaller number when the last calculated difference is larger than the minimum range and so sensitivity is further from the correct setting. For example, the system can switch between setting M to a maximum number of bursts (NEAR_AVG) and a minimum number of bursts (FAR_AVG) depending on whether or not difference is within the predefined range.
This method of sensitivity adjustment is summarized in the flowchart of
The pulse detection data from the bursts burst used for averaging can be stored in various ways. In one configuration, the system can simply sum the number of pulses detected over the time that the appropriate number of M bursts has been received. After the average is calculated, the value is reset for the next average. Alternatively, the RX can store data from the last FAR_AVG number of bursts since this value represents the maximum number of bursts that could be used in an averaging operation. When a new burst is detected, it is added to storage and data from the oldest burst discarded or overwritten. Each time an average is needed, the stored data for the appropriate number M of most recent bursts can be accessed.
A specific implementation example is now discussed. TX repeatedly produces bursts of 6 pulses in a group about 3 ms in duration with a quiet period of about 14.5 until the next burst starts (for a total time between bursts of about 17.5 ms). NEAR_AVG is 8 bursts and FAR_AVG is 4 bursts. When computing an average using the NEAR_AVG, the RX system sums the total number of pulses over 8 bursts and then computes the average by dividing by 8. When computing an average using the FAR_AVG, the system will sum the total number of pulses over a 4 burst period and compute the average by dividing by 4. By taking less time to arrive at an average (4×17.5 ms vs 8×17.5 ms) the RX will adjust its automatic sensitivity control more quickly when the RX IR sensitivity attenuation is far from the desired value.
Preferably, after receiving the appropriate M number of bursts, the RX also waits a small period of time after the group of bursts, such as 3 ms after the last pulse emitted by the TX is received, to compute the average to accommodate small timing variations and ensure that all pulses from the last burst have been received. The RX can further ignore any new pulses received for at least part of the remaining quiet period, such as 9 ms, since any new pulses received at this time would be noise. This 9 ms dead time effectively allows the RX to sync to the TX IR pulses for the purpose of computing the average.
If the determined average number of pulses is within a predefined range including the desired target determined average value, such as a range of less than 4.5 and greater than 3.5 pulses, the RX will use the NEAR_AVG=8 for the next average measurement. If the average number of pulses per IR burst period is outside the range, i.e., less than 3.5 pulses or greater than 4.5 pulses, the RX will use the FAR AVG=4 for the next average measurement.
Once the system 20 has dynamically adjusted itself to have a detection sensitivity at the level of the first control pulse, the system will respond to and detect a partial obstruction (as long as it is rapid relative to the length of time of averaging window). With reference to
When the detector control circuit 36 expects to receive a burst but no pulses are detected, it signals that an obstruction is present. One way to detect this condition is to keep a running count of the number of pulses over a time window that equals the period between each burst. One burst should always be within this window. If the count is zero, the burst is not detected. As will be appreciated, when there is a partial obstruction, the system will react within a period of time equal to the interval between pulses.
The adjustable current drive 54 can be implemented using a variety of conventional designs. In one embodiment the drive signal for a current supply circuit is coupled to a series of parallel resistors each of which is enabled by a respective microcontroller output. By selectively turning on and off one or more of the microcontroller outputs, the effective resistance can be varied and thereby control how hard the current supply circuit is driven. The microcontroller 52 can then adjust the current drive 54 so that pulses are output at full power, at the level for the first control pulse, such as −6 dB lower, and at the level for the second control pulse, such as −10 dB lower. The overall power of a modulated pulse may also be adjusted using PWM techniques under control of the microcontroller as an alternative to using a current drive circuit that is adjustable or in combination with an adjustable current driver to provide further flexibility.
Various conventional microcontrollers can be used to generate the desired pulse sequence, such as an STM8 series microcontroller from STMicroelectronics. Alternatively, because the pulse sequence pattern can be predefined, the system that controls current drive 54 can be implemented using dedicated analog and/or digital circuity. For example, the control logic could be implemented in an ASIC or FPGA.
The circuit may also include a visible power indicator, such as visible LED 60, which will indicate when the circuit is operating. A power input and power regulator circuit 62 are provided to supply power to the circuit. An on/off input 64 can be provided to turn the circuit on and off.
A microcontroller 82 receives the pulse detection signal 77 and controls signals 79 input to the pulse detection 76 to adjust the detection threshold. The microcontroller 82 executes a control program stored in memory, such as on-board memory 84, to count the detected pulses, adjust the detection threshold, and detect when an obstruction is present as explained above. When an obstruction is detected, this condition is output on the obstruction indicator output signal.
The RX 70 also includes an appropriate and power input and power regulator (not shown). Further included is a visible IR received indicator or power indicator, such as an LED 86.
In a specific implementation the pulse detection circuit 76 can be built around a conventionally available IR demodulating circuit 80, such as those used for IR remote control input circuits. These circuits 80 are typically designed to amplify and demodulate IR signals at a specific modulation rate, such as 36 or 38 kHz. (Of course, the modulation rate of the TX circuit must match that expected by the receiver.)
Conventional demodulating and pulse detection circuits 80 of this type may not have a user-adjustable detection threshold or it may not be adjustable to the appropriate degree. In such case an additional variable pre-amplifier 78 can be used. If the demodulator and pulse detector 80 is sufficiently sensitive, instead of an amplifier, a variable attenuator 78 can be used. Attenuation has the advantage of limiting the introduction of additional noise to the received signal as compared to an amplifier. Conventional designs for a variable amp or attenuator 78 can be used, modified or supplemented as appropriate to permit control by one or more outputs of the microcontroller 82.
Conventional demodulating and pulse detection circuits 80 may also include their own AGC circuitry. Care should be taken to ensure that this internal AGC circuity does not interfere with the circuit operation. If it cannot be disabled, one way of minimizing its impact is to increase the spacing between pulse bursts to several times the duration of a single pulse burst, such between 2 and 5 times that duration to allow the internal AGC circuit to settle between bursts.
One particular pulse detection circuit 80 that can be used in a specific embodiment is the VSOP38338 from Vishay Semiconductors. This chip is coupled to a variable attenuator circuit 80 as discussed above. In the particular embodiment using this specific detection circuit 80, pulse bursts are about 5 ms long with a spacing of 15 ms (3× the pulse burst width) between bursts. In this configuration, an obstruction of the light path, such as by a person's arm swinging across the beam, can be detected within 20 ms.
In the embodiment above, RX 24 can operate independently of the TX 22. In an alternative embodiment, instead of adjusting the sensitivity of the detector circuit 32, the system can instead use a fixed sensitivity detector and adjust the power of the emitted light pulses until the desired pulse detection count is achieved at the receiver. In this alternative embodiment, the RX would produce a signal indicating the average pulse count or if the light pulse power should be increased or decreased. The TX would then adjust the signal strength accordingly. Because this alternative requires feedback from the RX to the TX, it is suitable for cases where emitter and receiver can be in close physical proximity, such as where the TX and RX are combined into a single unit and the emitted light is directed to a reflecting target.
In a further alternative, the RX unit can include a wireless transmitter, such as WiFi or Blutetooth, that is used to transmit a signal that indicates the average pulse count and is detected by a receiver in the TX unit and processed accordingly. If the system is configured so that the obstruction indicator provides a wireless output signal to the controlled equipment, the same transmitter may also be used to send the feedback signal to the TX unit.
Providing a wired or wireless feedback signal between the TX and RX will allow the light transmission power to be reduced to as low as possible. This is particularly advantageous when the TX unit is battery powered since the light transmission is a major power drain and reducing this drain can substantially increase battery life.
In a further embodiment, the TX and RX units are configured to operate only when an enable signal is present. The enable signal can indicate that the door being monitored is open or the area being monitored for obstructions is otherwise accessible. In this manner, the TX and RX units only operate when needed. This can substantially decrease overall power consumption when the monitored area is accessed only infrequently and thus allow battery powered units to operate for a much longer period of time before the battery is exhausted.
In yet a further embodiment, a battery powered TX or RX unit can include an inductive power receiver. The inductive energy transmitter can be mounted next to a point where the TX/RX unit frequently passes or remains adjacent to for an extended period of time. When the unit is next to the charger, the battery will be charged. This configuration allows for increased battery operation time and avoids the need to provide a wired power line to the TX or RX unit itself, eliminating a point of failure, particularly in environments where the unit is mounted to a moving object, such as a sliding door or gate.
According to a further aspect of the invention, the complete active circuitry for the RX unit (
The internal structure of housing 90 is addressed below and with reference to
With reference to
When the cover assembly 110 is fitted in place, the lens 114 focuses received IR light onto the photodetector 102. In the illustrated configuration, tube 112 is cylindrical. However, other cross-sections, such as square, are also possible. The interior of tube 112 can include at least one axial shelf or groove 118 to receive a side edge 100c of the circuit board 110 and help hold the circuit board 100 in place. An extending flange or boss 119 can be provided at the end 116 of the assembly 110.
In addition to supporting a lens 104 for the photodetector 102, the transparent cover assembly 110 also functions as a light pipe that conveys light from the LED 104 to the front of the cover 110. LED and cover assembly 110 are positioned relative to each other to allow the light from the LED to enter In one configuration, the rear portion 120 of tube 112 is positioned forward of LED 104 and preferably has a flat surface. Light from the LED 114 enters at this surface and is transmitted through the tube 112 where it is emitted at its front.
The optical connection between the LED 104 and the cover assembly 110 can be improved by filling the gap between the LED 104 and the assembly 110 with a clear epoxy resin (potting compound). The resin can also serve more generally to protect the circuit board 100 and components on it against corrosion and moisture. It also can provide strain relief to the wire extending from the circuit board used to carry power and the obstruction detection signal.
In a particular configuration, the cover assembly 110 is not fitted directly to the photodetector 102. Instead, intermediate cover 124 is placed over the photodiode 102 and the cover assembly 110 then fits over this intermediate cover 124. Preferably, intermediate cover 124 is made of an opaque material, such as plastic. The intermediate cover 124 can extend forward from the end of the photodiode 102 and have a leading surface 126 that engages a shelf 128 inside the cover assembly 110 to thereby position the position the cover assembly 110 in a predefined position relative to the photodiode. The intermediate cover 124 can also include one more shoulders 130, 132 that rest against respective parts of the photodetector 102 when the cover 124 is mounted. The shoulders 130 can extend inwards most of the way to the center and define a stop within the intermediate cover 124 with aperture 134 to help reduce the impact of internal light reflections.
An outer cover 140 can be placed over the cover assembly 110 and circuit board 100. The cover 140 can include a plurality of elastic fingers 142 with detents 144 that will retain the complete device in place when inserted into a mounting hole in a surface. The rear surface 146 of the flange 119 prevents the device from being inserted too far. The cover can also include an internal axial edge or groove to receive the edges of the circuit board 100. The TX unit can be placed in a somewhat similar housing. One configuration for a housing 150 is shown in cross section in
Aspects of the invention have been disclosed and described herein. However, various modifications, additions and alterations may be made by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
This application is a Divisional patent application of U.S. Non-Provisional patent application Ser. No. 15/983,973, filed May 18, 2018, now allowed, and incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 15983973 | May 2018 | US |
Child | 16455352 | US |