The present invention relates to the field of motion detection, and particularly, motion detection using passive infrared sensors.
Objects that generate heat, such as the human body, also generate infrared radiation. Although infrared radiation exists at a wavelength that is longer than visible light, devices exist for detecting infrared radiation. One such device is the pyroelectric sensor. The pyroelectric sensor is also referred to herein as the passive infrared (PIR) sensor. The pyroelectric sensor includes a pyroelectric element made of a crystalline material that generates a surface electric charge when exposed to heat in the form of electromagnetic radiation. When the amount of radiation striking the crystal changes, the amount of charge also changes. This change in the amount of charge is then measured. When a significant change in charge occurs, the sensor generates a signal representative of the change. Because the sensor is generally capable of detecting radiation over a wide frequency range, a filter window is added to the sensor to limit the incoming radiation to a certain desired frequency range. For example, the filter window may limit incoming radiation to a range that is most sensitive to the human body (e.g., 8 to 14 μm).
One type of PIR sensor is a sensor having two pyroelectric elements configured to produce voltages of opposite polarity when infrared radiation is detected. This arrangement with two detectors having opposing signals causes signals resulting from vibration, temperature changes and sunlight to be cancelled by the sensor, since in those situations, both pyroelectric elements fire at the same time. If the pyroelectric elements in such a PIR sensor are arranged in a horizontal plane, a warm body must pass horizontally in front of the sensor for an output to result. When a warm body does pass horizontally in front of the sensor, the first pyroelectric element will trigger and then the second, resulting in an output having a positive (or negative) voltage pulse immediately followed by a voltage pulse in the opposite direction.
PIR sensors have been used for years in various applications. Perhaps the most common application is the use of the PIR sensor in security systems. For example, PIR sensors have been used to detect movement through a detection zone and the direction of movement through the detection zone. An exemplary arrangement for such a motion detection system using a PIR sensor is shown in FIG. 1. As shown in
Another arrangement for PIR sensors in home security applications includes the use of a PIR sensor as a general motion detector for a room. In these applications, a PIR sensor is often mounted in the corner of a room and operable to detect motion of a warm object within the room. These detectors typically include a single PIR sensor with a wide field of view and a lens having numerous facets that split the field of view into numerous corresponding detection sections with small “blind spots” between the sections. When the PIR sensor detects a change in infrared light between facets, the motion detector provides a signal to indicate movement in the room. As with other PIR sensor arrangements, these PIR sensors have proved adequate for motion detection over a wide area, but have not been useful for detection of motion through a well defined line or boundary.
Motion through a well defined line has typically been detected using a beam of light such as a laser. These “through beam” lasers transmit a stream of light across a distance, with the laser defining the boundary to be monitored. When the through beam laser is broken, a receiver opposite the light transmitter detects that the light beam has been broken. Alternatively, when the light beam is broken, a receiver next to the transmitter will pick up reflected light and detect that the light beam has been broken. Unfortunately, these “through beam” detectors have several disadvantages. First, they tend to consume a large amount of energy. In order to reduce energy consumption, the through beam may be periodically pulsed, but such a pulse could possibly result in a breach of the line without detection if the period of the pulse is significant. Second, through beam detectors are costly because both a light transmitter and a receiver are required. Third, if the receiver is to be mounted opposite the transmitter, housings for the detection system must be located in different areas of a space, making the existence of the detector more noticeable.
PIR sensors are typically inexpensive and operate on very low energy requirements. Accordingly, a PIR sensor that could be used to detect motion through a well defined line or boundary would be useful in a number of human monitoring applications. Such a detector would be useful for generally detecting movement of a human across a defined boundary. Furthermore, such detectors could be useful in noting the precise moment when an individual crossed a boundary, and if used in combination, the average rate of speed of an individual over a defined distance.
The present invention is directed to an apparatus for detecting boundary crossings. The apparatus comprises a PIR sensor having a first pyroelectric element and a second pyroelectric element. The first pyroelectric element is operable to monitor a first detection zone and produce a positive signal when the first pyroelectric element detects a change of infrared radiation in the first detection zone. The second pyroelectric element is operable to monitor a second detection zone and produce a negative signal when the second pyroelectric element detects a change of infrared radiation in the second detection zone. The positive signal and the negative signal are combined to provide an output waveform from the PIR sensor.
The output waveform of the PIR sensor is filtered and amplified and delivered to a comparator. The comparator is operable to provide a first response signal when the output waveform rises above a first threshold and a second response signal when the output waveform falls below a second threshold. The first and second response signals of the comparator are provided to a processor. The processor is operable to estimate the zero crossing of the output waveform based on the first and second response signals of the comparator. The zero crossing estimate is representative of a boundary line crossing.
In one embodiment, two PIR detectors are positioned in a pathway, such as the hallway of a home, and used to determine the rate of speed of an individual traveling down the hallway. Accordingly, a first PIR sensor defines a first detection zone and produces a first output waveform when the first detection zone is crossed. A first processor is connected to the first PIR sensor and is operable to estimate a first boundary line crossing based on the first output waveform. Likewise, a second PIR sensor defines a second detection zone and is operable to produce a second output waveform when the second detection zone is crossed. A second processor is connected to the second PIR sensor, and the second processor is operable to estimate a second boundary line crossing based on the second waveform. A central controller is in communication with the first processor and second processor and is operable to calculate an average speed of an individual through the pathway based on the time of the first boundary line crossing and the time of the second boundary line crossing.
With reference to
The two pyroelectric elements 16 and 18 monitor small relative temperature changes in the left and the right portions of the boundary line. The first pyroelectric element is positioned on the left side of the boundary line 38 and generates a positive signal that is output from PIR sensor 12 when it detects a change in infrared radiation in the first detection zone 20. The second pyroelectric element is positioned on the right side of the boundary line 38 and generates a negative signal that is output from PIR sensor 12 when it detects a change in infrared radiation in the second detection zone. The signals generated by the first and second pyroelectric elements are combined to provide a single output from the PIR sensor 12.
If a person or other warm object passes through the detection zones 20 and 22 from left to right, the PIR sensor will output a signal that rises and falls, as shown in FIG. 3. The positive portion of the signal represents a change in the infrared radiation present in the first detection zone. As the warm body enters the second detection zone 22, the warm body will also be in the third detection zone 24 that overlaps the first and second detection zones, and both pyroelectric elements will have an output. Because the outputs of the two pyroelectric elements are opposite, and a zero crossing will occur somewhere in this third detection zone, and most likely about the time the warm body passes the boundary line 38. The outputs of the first and second pyroelectric elements are triggered upon detection of a warm body, and are not necessarily continuous as the warm body passes through the detection zones. Therefore, the exact location of the boundary crossing is dependent upon the speed of the warm body through the first and second detection zones. Accordingly, determination of the zero crossing of the output of the PIR sensor is an estimation of the point where the warm body crossed the boundary line 38, and not necessarily the precise boundary crossing. As the warm body proceeds out of the first detection zone 20 and through the second detection zone, the negative output 42 of the PIR sensor, representing a change in infrared radiation in the second detection zone, will return to zero.
In addition to determining a boundary crossing, the direction that the object was traveling can also be detected by noting whether the PIR sensor first output positive or negative signal. For left to right travel, a positive output is followed by a negative output. For right to left travel, a negative followed by a positive pulse will be sent.
With reference to
PIR Sensor
A dual element pyro-electric infrared (PIR) sensor 12, as shown in box 49, is used to generate the initial signal from the PIR detector. An acceptable PIR sensor is the Hamamatsu PIR P7178. Of course, other commercially available sensors could also be used to provide the signal. When a warm body walks through the field of view of the PIR sensor 12, its output is a small, low frequency signal riding on a DC offset. The resistor values provided in box 49 help to minimize bias current around the device while maintaining enough of a voltage swing to be detectable.
With reference again to
As discussed previously, the two pyro-electric elements in the PIR sensor 12 are oriented in opposite directions, so that their signals essentially cancel for variations in the background temperature. Output from the PIR sensor 12 comes from a moving object (with a different temperature than the background) passing horizontally through the field of view. Motion of a warm object (like a person) in one direction will cause a positive then negative swing on the output of the sensor. Motion in the opposite direction will cause a negative then positive swing on the output. The zero crossing point between these swings corresponds to the time when the person passes the centerline (i.e., the boundary line 38 of
Band-Pass Filter and Amplifier
With reference again to
The overall gain of this particular embodiment peaks at −118 at a frequency of 0.555 Hz (1.80 second period). A gain of −100 or more occurs over a window from 1.054 Hz (0.95 second period) to 0.293 Hz (3.41 second period). The half maximum gain (−59) or more occurs over a window from 1.945 Hz (0.51 second period) to 0.159 Hz (6.29 second period).
For the amplifier 64 in the first amplifier stage, the primary purpose for grounding the RC pair (R1, C1) going into the inverting input and running the PIR sensor output into the non-inverting input is to better isolate the PIR sensor (to not disturb its operating point). The output of this stage is a filtered, amplified, non-inverted version of the low frequency signal, riding on the un-amplified DC offset of the PIR sensor. The exact level of this offset should stay far enough from either voltage rail so that the amplified signal does not saturate. Furthermore, the level of the offset must be different from 1.77 V (in this case lower) so that a DC potential is properly placed across the polarized capacitor (C3).
The second amplification stage uses an inverting amplifier 66 to again filter and amplify the desired low frequency signal. The DC offset of the output for this stage is critical, however, because the output next goes to the comparators (which trigger on a relatively small threshold above and below the average level). The 1.77 volt reference circuit provides a stable voltage to the non-inverting input, which determines the DC offset (average level) of the output.
The commercially available MAX407 dual op-amp may be used for both the first and second amplifiers 64 and 66. The MAX407 is characterized by low current consumption (1.2 μA max per amplifier), single supply operation down to 2.5 V, and “rail-to-rail” output voltage swing. Of course, any number of alternative amplifiers could be used, including the MAX4471 (dual) and MAX4472 (quad) op-amps.
Window Comparator
The output of the two stage band-pass filter and amplifier 51 is sent to the window comparator 53. The window comparator circuit 53 has two active low digital outputs corresponding to either the positive swing or negative swing of the filtered and amplified signal from the two stage band-pass filter and amplifier 51. Both outputs will be high when the signal is within the window (i.e., when there is no motion in front of the detector). The outputs will drop low one at a time when the signal passes beyond a threshold from the average level. The average (“zero”) level is given by the 1.77 volt reference applied to the final stage of the band-pass filter and amplifier. A value of +/−0.15 V is used for the threshold. This threshold provides good sensitivity for many walking speeds while not being easily triggered by insignificant signals on the 1.77 volt reference.
The MAX923 dual comparator 52 is used to implement the comparator circuit 53. The MAX923 can operate off a single supply voltage down to 2.5 V and only consumes about 4.5 μA of supply current. The MAX923 has a built-in voltage reference of 1.182 V, which sets the internal threshold for each comparator. The 1.182 V reference is also used externally by the 1.77 V reference circuit 57 and the low battery detection circuit 59. The 1.182 V reference is also used to set each comparator's hysteresis with resistors R8 and R9. The hysteresis added to the circuit causes the comparator outputs to delay returning to steady state until the input voltage approaches the “zero” value of 1.77 V. This makes the rising edge of the first output pulse occur very close to the zero crossing of the input signal (the approximate time when the person crosses the centerline of the detector), but it also leads to long final pulses as the signal asymptotically decays toward the average level.
Processor
The output of the comparator circuit 53 is delivered to a processor 54 for analysis. Any number of different processors are suitable for the processor, including the Microchip PIC16LC711, which will operate down to a 2.5 V supply. A 3.58 MHz ceramic oscillator, identified by reference Y1 is provided in association with the processor. The output of the processor RB0 is delivered to a connector identified as CON3 in FIG. 5. This connector relays the output of the processor to an RF transmitter board (not shown), which uses on/off keying based on the processor output RB0. The processor monitors the comparator and low battery signals to determine when to send an RF message, and the contents of the message.
1.77 Volt Reference
A 1.77 V reference circuit 57 provides a voltage reference to the final stage of the amplifier circuit 51, which uses the 1.77 V reference as the DC offset of the final amplified signal before it is passed on to the comparator 52. This average or “zero” signal level should be stable and near the center of the comparator window limits. The lower window threshold level can not be set below the 1.182 V internal threshold of the comparator, and the upper window threshold level should not be set above the minimum operating supply voltage (about 2.5 V).
Low Battery Detection
The low battery detector circuit 59 is provided as a warning when the PIR device 10 may need a new battery. A high output to the processor 54 from the low battery detection circuit 59 indicates the battery is providing acceptable power. On the contrary, a low output to the processor indicates that the battery is low.
Operation
In operation, a PIR device 10 for detecting boundary crossings is used to provide an in-home passive low-power boundary crossing detector. With reference to
As mentioned previously, the comparator 52 includes two digital outputs that are normally high when no changes in infrared radiation have been detected. The outputs change when the signal received from the bandpass filter and amplifier circuit 51 are above or below 0.15 volts of the DC offset (i.e., greater than 1.92 V or less than 1.62 V). In the present example, the comparator 52 first receives the positive pulse greater than 1.92 V delivered from the bandpass filter and amplifier circuit 51. Upon receiving this positive pulse, the first output of the comparator 52 goes low. Thereafter, when the waveform falls back below about 1.77 volts, the first output returns high. As the waveform continues to fall and dips below 1.62 V as a result of the negative portion of the waveform, the second output of the comparator goes low. These responses from the first and second comparator outputs are delivered to the processor 54 for analysis as they occur.
The processor 54 interprets the signals from the comparator 52 and decides the appropriate response to the signals. In particular, when the processor notes that the first output has gone low, it wakes up from a sleep mode and begins looking for a return of the first output to high. When the first output returns to high, the processor estimates this to be the zero crossing of the waveform. This is also the estimate of the crossing of the warm object across the boundary line 38. Furthermore, depending upon whether the first output of the comparator or second output of the comparator triggered first, the processor can determine the direction of travel across the boundary line. In this example, the direction of travel is from left to right since the waveform delivered to the comparator had a positive pulse followed by a negative pulse. The determinations made by the processor 54, including estimated time of boundary crossing and direction of crossing are delivered to an RF transmitter (not shown) for delivery to a central controller (not shown) and further processing. The PIR detector provides a low power device that is operable to precisely approximate boundary crossings within inches or fractions of inches.
In addition to simple determination of boundary crossings, the PIR detector 10 may be used as an in-home speed detection system. With reference to
A human 70 is shown traveling down the hallway 76 in the direction of arrow 72. When the human crosses one of the detection zones 78 or 80, the PIR detector 10 associated with that detection zone determines that a boundary crossing has occurred and sends an rf signal to a central controller 74 positioned within the home. The central controller 74 includes a microprocessor and has been programmed with data unique to the home, such as the distance between the two PIR detectors 10. Upon receipt of a boundary crossing from one of the two PIR detectors 10, the central controller logs the time and awaits receipt of a boundary crossing from the second PIR detector 10. After receiving the second boundary crossing, the central controller can calculate the average speed that the individual traveled down the hallway based on the time between boundary crossings and the distance between boundary lines.
The average speed of the individual traveling down the hallway may be particularly useful information for applications where an elderly individual is being monitored. In particular, historical data may be compiled about the average speed of the individual as he or she walks down the hallway. Should the speed of the individual significantly fall off, this may serve as a warning sign that the individual is experiencing some difficulties. These early warning signs can be particularly useful in early diagnosis of health issues and related problems for the individual.
Although the present invention has been described in considerable detail with reference to certain preferred versions applications thereof, other versions and applications are possible. For example, although the above description makes reference to a lens that focuses the field of view of the PIR sensor to less than six inches, other lenses that provide wider fields of view could be used. Therefore, the spirit and scope of the appended claims should not be limited to the description of the preferred versions contained herein.
Number | Name | Date | Kind |
---|---|---|---|
3703718 | Berman | Nov 1972 | A |
3751664 | Faibel | Aug 1973 | A |
3867038 | Westell | Feb 1975 | A |
4263585 | Schaefer | Apr 1981 | A |
4346427 | Blissett et al. | Aug 1982 | A |
4800368 | Wisner | Jan 1989 | A |
4864136 | Behlke | Sep 1989 | A |
5045702 | Mulleer | Sep 1991 | A |
5083025 | Blomberg | Jan 1992 | A |
5107120 | Tom | Apr 1992 | A |
5291020 | Lee | Mar 1994 | A |
5567941 | Fujikawa et al. | Oct 1996 | A |
5598066 | Wiesemann et al. | Jan 1997 | A |
5712622 | Grossinger et al. | Jan 1998 | A |
5764146 | Baldwin et al. | Jun 1998 | A |
6037594 | Claytor et al. | Mar 2000 | A |
6078253 | Fowler | Jun 2000 | A |
6166625 | Teowee et al. | Dec 2000 | A |
6214626 | Meller et al. | Apr 2001 | B1 |
6324008 | Baldwin et al. | Nov 2001 | B1 |
6326621 | Kamada et al. | Dec 2001 | B1 |
6348863 | Krubiner et al. | Feb 2002 | B1 |
6774791 | Krubiner et al. | Aug 2004 | B1 |
Number | Date | Country | |
---|---|---|---|
20040129883 A1 | Jul 2004 | US |