This invention relates generally to movable barrier operators and more particularly to an obstacle sensing system adapted to project a light beam across part of the surface of the barrier opening to detect the presence of obstacles.
Movable barrier operators that serve to control movement of movable barriers (including but not limited to garage doors of all types, gates, shutters, and so forth) are well known and understood in the art. It is known to use infrared detectors installed at the sides of the barrier opening and aligned across a barrier opening area to shine a narrow beam across an opening and detect obstruction. One of the detectors, an IR source sends an IR beam through open space to a receiver, or IR sensor aligned with the IR source located across the barrier opening. Upon sensing the absence of the IR beam at the sensor, indicating an obstacle, movement of the movable barrier can be altered. However, the function of the IR detectors is limited to detecting an interruption of the IR beam, and the detectors need precise alignment, which provide certain difficulties during their installation.
There is a need for a simple, inexpensive detection device which is easy to install and which is able to detect intrusions and obstacles in a defined area as well as to provide other functions such as determining the position of the barrier and the velocity of the barrier movement when used with a barrier movement operator.
A system for detecting an object may comprise an optical source projecting a pattern across a defined area and producing a light pattern; a digital imaging device, which may be a CCD camera, for detecting the light pattern produced by the optical source projection, and a controller responsive to detected patterns over time to identify obstructions to barrier movement. The controller may comprise a memory with a stored image of a non-obstruction pattern which may be compared to periodicly scanned patterns. The CCD camera is installed at an off-set angle from projecting device. The pattern may be straight line in absence of an object in the defined area and when the object enters the defined area and the straight line pattern of the light beam is changed when an object enters the defined area and changes the pattern of the light beam produced by the laser device, the controller senses the difference between the image of the pattern stored in the memory and the digital representation of the pattern detected by the imaging device, and a signal is sent to an alarm unit.
A method of detecting an object in a defined area using a pattern source and a digital imaging device may comprise steps of: shining the pattern source across the defined area and producing a light pattern; detecting an image of light pattern by a digital imaging device at an off-set angle to the pattern source generator; and periodically comparing the newly detected patterns with previously detected patterns. The system of the present invention may be also employed by a barrier operator for moving a barrier along a barrier path between open and closed positions to detect obstacles to the barrier movement. The barrier operator comprises a pattern source generator shining a pattern across the barrier path; a digital imaging device for recording a pattern produced by shining the pattern across the barrier path; and a controller for sensing when the pattern produced by the source is changed by presence of an obstacle, and generating an obstacle detection signal in response thereto. An alarm may also be connected to the controller for actuation by the controller when the pattern produced by the source shining across the path varies from the original pattern.
The system for detecting obstacles includes a pattern source device such as a scanning laser and a digital imaging device such as CCD camera.
In general, the CCD camera may be located outside or inside the garage at an angle to the garage opening. In the embodiment shown in
The CCD camera of the present embodiment has a rectangular frame which includes a lens and charge-coupled device (CCD) to receive incoming light. The CCD camera includes a digital processor for processing images from the CCD, and a memory. Further, the camera is coupled to a controller as may be present in a barrier movement operator housing 32. The coupling may be by attached wires 90 as shown or by a wireless link. The CCD is a solid-state electronic component which is micro-manufactured and segmented into an array of individual photosensitive elements, or “pixels.” The more common CCDs found in camcorders and other retail devices have a pixel array that is a few hundred pixels high by a few hundred pixels wide (e.g., 500×300, or 320×200), yielding tens of thousands of pixels. Since most CCDs are only about ¼″ or ⅓″ square, each of the many thousands of pixels are only about 10 millionths of a meter (about 4 ten-thousandths of an inch) wide. The CCD photosensitive elements accomplish their task of sensing incoming light through the photoelectric effect releasing electrons when hit with photons of light. The electrons emitted within the CCD are fenced within nonconductive boundaries, so that they remain as electric charge within the area of the photon strike. As long as light is allowed to impinge on a photosensitive element, charge will accumulate in that pixel. When the source of light is extinguished, e.g., a shutter is closed, or an obstacle interrupts the light beam, a simple electronic circuit and a microprocessor or computer are used to unload the CCD array, record the amount of charge in each pixel, and process the resulting data into an image, or a digital representation, digital “map” of an image.
Another type of a CCD camera, which may be used in the present application is a line scan camera. A line scan camera is an image capturing device having a CCD sensor which is formed by a single line of photosensitive elements, pixels. Therefore, unlike area sensors which generate frames, in this case the image acquisition is made line by line. One single scanning line of a line scan device can be considered as a one-dimensional mapping of the brightness related to every single point of an observed line. A linear scanning generates a line, showing on the Y axis the brightness of each point given in grey levels (from 0 to 255 levels). A sudden change of the grey level in a single point corresponds either to a point on the edge of an object or to any color or aspect variation of the acquired image. Detection of this change allows a precision measurement, due to the high resolution on the linear sensor, which is considerably better than the resolution of an area sensors. For instance, by using a backlight, the position of a strip can be easily detected.
The CCD functions as follows. First, the CCD camera 30 is generally aimed onto the low level of the door opening 12′ illuminated by the pattern source 10. Camera (detector) 30 is located at an angle to the source 10 and scans the pattern 15, which is a substantially straight light line on the bottom of the garage opening 12′ (
In another embodiment, the camera is mounted at the door, and the pattern generator is installed at the head unit at an angle to the camera. In this case the distance to the bottom of the door opening may also be computed from the light patten image pixel data.
In yet another embodiment the pattern generator is mounted on the garage door, and the camera is mounted at the head unit.
The preceding examples have discussed the projection of a pattern across a barrier opening onto a surface and the detection of obstructions by detecting changes in the observed pattern. The presently disclosed system functions also if the pattern is projected onto a surface which is not observed by the detector 30 or projected across the barrier opening “into space” with no surface showing the pattern.
Those skilled in the art will recognize that a wide variety of modifications, alterations, and combinations can be made with respect to the above described embodiments without departing from the spirit and scope of the invention, and that such modifications, alterations, and combinations are to be viewed as being within the ambit of the inventive concept.