The digital sampler circuit processes an output signal from a high gain analog amplifier having as input an infrared motion detector output signal and a negative low pass filtered feedback signal. The amplifier output signal is a substantially square pulse signal having an irregular frequency and duty cycle and has an average duty cycle indicative of a dc level and a slow change in the dc level of the detector output signal. The sampler circuit includes a detector circuit for detecting the amplifier output signal and discriminating at regular intervals a high/low state of the output signal, and generates a high/low feedback signal corresponding to the high/low state of the output signal detected. The high/low state of the output signal is analyzed over a predetermined number of the intervals to obtain a ratio value for producing an output digital signal sample value. The digital sample value is a measure of the dc level and the change in the dc level of the detector output signal. The digital sample is accurate and requires a single comparator and relatively simple circuitry.
|
0. 19. A method for infrared motion detection comprising:
providing a microprocessor;
providing a motion detector;
providing analog circuitry;
superposing an ac signal output from said motion detector onto a dc signal to create an input signal;
feeding said input signal into said analog circuitry such that a generated output varies between two logic levels;
sampling a voltage level of the output in order to obtain digital signal samples; and
counting said digital signal samples using said microprocessor.
0. 27. A method for infrared motion detection comprising:
providing a microprocessor;
providing a motion detector;
providing analog circuitry;
superposing an ac signal output from said motion detector onto a dc signal to create an input signal;
feeding said input signal into said analog circuitry such that a generated output varies between two logic levels;
sampling a voltage level of the output in order to obtain digital signal samples; and
analyzing said digital signal samples using said microprocessor.
10. An infrared motion detector signal processing circuit comprising:
a high gain analog amplifier having as input an infrared motion detector output signal and a negative low pass filtered feedback signal, and producing an output signal, said output signal being a substantially saturated, substantially square pulse signal having an irregular frequency and duty cycle, an average duty cycle which is indicative of a dc level and a slow change in said dc level of said motion detector signal in a desired frequency range of said motion detector signal;
means for detecting said output signal and discriminating at substantially regular intervals a high/low state of said output signal;
means for generating a high/low feedback signal corresponding to said high/low state of said output signal detected;
means for analyzing said high/low state of said output signal over a number of said intervals to obtain a high/low ratio value and for outputting as a digital signal sample value said ratio value, whereby said digital signal sample value is a measure of said dc level and said change in said dc level of said detector output signal.
1. An infrared motion detection digital sampler circuit for processing an output signal from a high gain analog amplifier having as input an infrared motion detector output signal and a negative, low pass filtered feedback signal, said output signal being a substantially saturated and substantially square pulse signal having an irregular frequency and duty cycle, an average duty cycle which is indicative of a dc level and a slow change in said dc level of said detector output signal in a desired frequency range of said motion detector output signal, said detection circuit comprising:
means for detecting said output signal and discriminating at substantially regular intervals a high/low state of said output signal;
means for generating a high/low feedback signal corresponding to said high/low state of said output signal detected;
means for analyzing said high/low state of said output signal over a number of said intervals to obtain a high/low ratio value and for outputting as a signal sample value said ratio value, whereby said signal sample value is a measure of said dc level and said change in said dc level of said detector output signal.
2. The circuit as claimed in
3. The circuit as claimed in
4. The circuit as claimed in
5. The circuit as claimed in
6. The circuit as claimed in
7. The circuit as claimed in
8. The circuit as claimed in
9. The circuit as claimed in
11. The circuit as claimed in
12. The circuit as claimed in
13. The circuit as claimed in
14. The circuit as claimed in
15. The circuit as claimed in
16. The circuit as claimed in
17. The circuit as claimed in
18. The circuit as claimed in
0. 20. A method as claimed in
0. 21. A method as claimed in
0. 22. A method as claimed in
0. 23. A method as claimed in
0. 24. A method as claimed in
0. 25. A method as claimed in
0. 26. A method as claimed in
|
The present invention relates to an infrared motion detection digital signal sampler circuit. More specifically, the invention relates to such a sampler circuit integrated in the feedback loop of a high gain analog amplifier for processing an output signal of the amplifier. The amplifier has as input an infrared motion detector output signal and a negative feedback signal. The amplifier output signal is a substantially saturated, substantially square pulse signal having an irregular frequency and duty cycle, and an average duty cycle of the amplifier output signal is indicative of a DC level and a change in the DC level of the motion detector output signal.
Passive infrared motion detector are well known in the art. Such detectors typically include a small housing, a lens for directing infrared light from a zone to be monitored onto an infrared sensor element. The most common type of sensor element is a pyroelectric sensor which generates a small but detectable electrical voltage in response to changes in infrared radiation impinging on it. Due to the lens of the known detectors, motion of a person into or from the monitored zone changes the intensity of infrared light striking the sensor and produces a voltage variation. A discriminator circuit monitors the sensor output signal and generates an alarm signal provided that certain characteristics are present in the sensor output signal. Such characteristics may be energy, amplitude peaks, number of oscillations, etc.
An example of the prior art detectors is found in U.S. Pat. No. 5,077,549, co-invented by the inventor of the present invention. It is known from this reference to provide an infrared motion detector circuit which uses a digital logic circuit to discriminate the sensor output signal. The sensor signal amplitude is converted by a voltage controlled oscillator (VCO) to a pulse frequency, and a counter circuit counts pulses to detect the sensor signal's energy and generate the alarm signal.
In the past, the use of a microprocessor along with an analog-to-digital converter (ADC) has been prohibitively expensive for use in a commercially competitive motion detector discriminator circuit. In today's market, various commercially available microcontrollers or microprocessors are inexpensive enough to competitive with standard “hard wired” integrated circuit technology. While the use of a microprocessor improves the flexibility and possible quality of the signal analysis and discrimination, it still requires circuitry for generating a digital signal from the sensor's analog output, such as a high gain bandpass amplifier and an ADC, which represents a significant part of the present cost of the detector circuitry.
It is an object of the present invention to provide an infrared motion detection digital sampler circuit for processing an infrared sensor output signal to generate digital samples without requiring an analog-to-digital converter. It is a further object of the invention to provide such a digital sampler circuit, integrated in the feedback loop of the bandpass amplifier, which can rely on a microprocessor's capabilities to obtain the desired digital samples by reading the output signal of a high gain analog amplifier having as input the infrared motion detector output signal and a low pass filtered negative feedback signal and providing a control negative feedback signal to the amplifier input. It is a further object of the invention to provide a digital signal processor for an infrared motion detector utilizing a microprocessor and a single operational amplifier.
According to the invention, there is provided an infrared motion detection digital sampler circuit for processing an output signal from a high gain analog amplifier having an input an infrared motion detector output signal and a negative low pass filtered feedback signal, the amplifier output signal being a substantially saturated, substantially square pulse signal having an irregular frequency and duty cycle, an average duty cycle of which is indicative of a DC level and a slow change in the DC level of the detector output signal. The detection circuit comprises means for detecting the output signal and discriminating at substantially regular intervals a high/low state of the output signal; means for generating a high/low feedback signal corresponding to the high/low state of the output signal detected; means for analyzing the high/low state of the output signal detected over a number of the regular intervals to obtain a high/low ratio value and for outputting as a digital signal sample value this ratio value. In this way, the digital signal sample value is a measure of the DC level and the slow change in the DC level of the detector output signal in the desired frequency range of the detector, approximately 0.1 Hz to 10 Hz. Preferably, the analyzing means comprise a digital counter. Alternatively, the output signal can be integrated to obtain an analog value representing the signal sample.
The invention further provides an infrared motion detector signal processing circuit comprising a high gain analog amplifier having an input an infrared motion detector signal and a negative low pass filtered feedback signal, and producing an output signal which is a substantially saturated, substantially square pulse signal having an irregular frequency and duty cycle. The average duty cycle of the square pulse signal is indicative of a DC level and a slow change in the DC level of the motion detector signal. The motion detection circuit further comprises means for detecting the output signal and discriminating at substantially regular intervals a high/low state of the output signal, means for generating a high/low feedback signal corresponding to the high/low state of the output signal detected, and means for analyzing the high/low state of the output signal over a number of the intervals to obtain a high/low ratio value and for outputting as a digital signal sample value the ratio value. In this way, the digital signal sample value is a measure of the DC level and the slow change in the DC level of the detector output signal in the desired frequency range of the detector, approximately 0.1 Hz to 10 Hz.
According to a second broad aspect of the present invention, there is provided a method for infrared motion detection comprising: providing a microprocessor; providing a motion detector; providing analog circuitry; superposing an ac signal output from said motion detector onto a DC signal to create an input signal; feeding said input signal into said analog circuitry such that a generated output varies between two logic levels; sampling a voltage level of the output in order to obtain digital signal samples; and counting said digital signal samples using said microprocessor.
According to a third broad aspect of the present invention, there is provided a method for infrared motion detection comprising: providing a microprocessor; providing a motion detector; providing analog circuitry; superposing an ac signal output from said motion detector onto a DC signal to create an input signal; feeding said input signal into said analog circuitry such that a generated output varies between two logic levels and sampling a voltage level of the output in order to obtain digital signal samples; and analyzing said digital signal samples using said microprocessor.
The invention will be better understood by way of the following detailed description of a preferred embodiment of the invention with reference to the appended drawing in which:
As shown in
The feedback circuit comprises a pulse detector 24 which detects the output of analog amplifier 14 and discriminates the voltage into a low or high signal. The HI/LO digital signal is repeated by a feedback pulse generator 27 and fed back to amplifier 14 via a temperature compensator 28 and an integrator 18. Integrator 18 in the preferred embodiment has a resistance of 1 MΩ and a capacitance of 100 μF. The integrator 18 may also comprise a low pass filter which filters out the high frequency of the amplifier output and passes through the low frequency voltage level present in the amplifier output. The digital signal level is thus reduced below the minimum detectable input signal, i.e. below 1 mV.
The temperature compensation circuit 28 includes a thermistor in a voltage divider arrangement to adjust the feedback voltage and gain in accordance with temperature in order to increase sensitivity as the ambient temperature increases. Increased sensitivity is required at higher temperatures, since the difference between infrared radiation levels emitted by the ambient environment and a person moving through a detection zone decreases with higher ambient temperatures. As a result of temperature compensation, the duty cycle in the pulse train output from the amplifier 14 increases with temperature. The DC level of the feedback voltage fed to amplifier 14 thus changes with temperature as a result of circuit 28. Changes in temperature thus cause a change in the base duty cycle in the amplifier output. By monitoring this base duty cycle, the temperature compensation circuit 28 can also be used to obtain a temperature reading which can be used to change how the digital signal samples are interpreted to generate an alarm signal.
The amplifier 14 is arranged as a non-inverting mode differential amplifier having an output which is a substantially saturated, substantially square pulse signal. Due to the high gain of the amplifier 14, a small difference between the filtered sensor signal and the integrated feedback signal produces a saturated maximum output voltage from the amplifier 14, or a saturated zero output voltage depending on the polarity of the difference. The maximum voltage of the amplifier 14 is set to 5V. The output of amplifier 14 has an average duty cycle proportional to a sum of a change in the DC level at the positive input and the DC level itself. The feedback circuit is designed so as to provide a reliable measurement of millivolt changes in the sensor output. The square pulse signal output of amplifier 14 has an irregular frequency and pulse width. The frequency of the square pulse output of amplifier 14 depends on the circuit loop response and also on the feedback pulse period, but the frequency is not important to obtaining samples. The maximum HI to LO to HI speed can be very high and depends on the loop speed of the circuit components, as well as the rate at which the amplifier output is detected and fed back by generator 27.
The amplifier 14 according to the preferred embodiment is a differentiator amplifier operating in a non-inverting mode, however, an inverting mode differentiator amplifier could also be used. In the case of an inverting mode amplifier, the sensor signal is connected to the negative input along with the feedback with a suitable resistance connected between the integrator and the negative input, and a DC reference voltage is connected to the positive input of the amplifier.
The pulse detector 16 samples at a substantially regular frequency of about 16 kHz. Detector 16 decides whether the analog output of the amplifier 14 is HI (i.e. 5V) or LO (i.e. 0V) and outputs a bit signal. In the preferred embodiment, the pulse detector is part of a microprocessor and detection of the amplifier 14 output is done by reading a digital input signal pin on a regular basis controlled by microprocessor interrupt. Due to the finite gain of amplifier 14, a non-saturated output (i.e. not 5V or 0V) will occur whenever the feedback voltage is very close to the positive input voltage. Such intermediate voltage levels will be randomly interpreted by the discriminator in pulse detector 24, and such random or erroneous interpretation will lead to variations in the feedback and contribute to the pulse train output of amplifier 14 having an irregular, random character.
The counter 25 counts the number of HI pulses (‘1’ bits) in 255 cycles. The result of the counter gives a single sample which can be stored in one byte of data. The counting and data storage is done in software by the microprocessor in the preferred embodiment. This yields about 62 samples each second, which is more than adequate for analyzing the motion sensor output signal of less than 15 Hz. The digital signal analysis is done in a digital signal processor 26, which in the preferred embodiment is provided by software in the microprocessor.
Since the feedback speed is controlled by the digital sampling and feedback signal generation speed, the output signal from the amplifier will have a maximum switching frequency lower than the feedback signal generation speed, and thus analysis of the high/low state of the amplifier output to obtain the digital signal sample value can be done efficiently at the rate of the feedback signal generation.
The digital samples obtained using the present invention represent a sum of the DC signal and a change in the DC signal input to the amplifier 14. This represents the ratio of the HI to LO state of the amplifier output. As an example, a constant duty cycle of 25% may be present when the amplifier input is constant, i.e. the sensor output is stable at 0V and the DC bias is at its predetermined level. The single byte sample value may be around 64 for a 25% duty cycle. A small change in sensor voltage, namely +2 mV, would only result in a small change in the constant duty cycle, namely it may rise to 25.05%. Thus, the digital sample value having a magnitude of 255 may only change by one digit. However, during the change in input voltage, the duty cycle represents the base DC level plus the rate of change (slope) of the sensor output. A 2 mV change over 0.2 s is a 10 mV/s rate of change which may cause the duty cycle to increase by 5 percentiles to 30% over the 0.2 s period. Likewise a drop in sensor output by 2 mV in 0.2 s would cause the duty cycle to drop by 5 percentiles to 20% during the voltage decline. This results in transition duty cycles that produce easily detectable changes in the digital sample values, e.g. about 15 units.
It will be appreciated that each digital sample results from a simple count or sum of the detected amplifier output voltage level over a sufficiently long period of time to compensate for the random variations in the pulse train and obtain a stable accurate measurement of the change in the output signal from sensor 12.
The analog amplifier may be a differential amplifier, a comparator or a single input amplifier. The analog amplifier can be an external component or an internal integral part of a microcontroller.
Although the invention has been described above with reference to a preferred embodiment, it is to be understood that the above description is intended merely to illustrate the invention and not to limit the scope of the invention as defined in the appended claims.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
3319243, | |||
3612901, | |||
3714470, | |||
3781870, | |||
4005284, | Sep 22 1975 | Rockwell International Corporation | Analog signal to duty cycle conversion apparatus |
4390796, | Apr 15 1981 | Leeds & Northrup Co. | Voltage to duty cycle converter |
4468664, | May 21 1980 | ADT DIVERSIFIED SERVICES, INC , | Non-home run zoning system |
4564821, | Oct 01 1984 | Motorola, Inc. | Offset cancelling AC level detector using an oscillator |
4616332, | Sep 24 1982 | The Foxboro Company | Apparatus for converting analog-format signals to pulse-format signals |
4638255, | Sep 30 1983 | Tektronix, Inc. | Rectangular wave pulse generators |
4736391, | Jul 22 1986 | General Electric Company | Threshold control with data receiver |
4775841, | Jun 03 1986 | Voltage to frequency conversion circuit with a pulse width to period ratio proportional to input voltage | |
4980687, | Oct 13 1988 | BEI SENSORS & SYSTEMS COMPANY, INC | Digital demodulator |
5077549, | Aug 07 1989 | SHUMEL HERSHKOVITZ | Integrating passive infrared intrusion detector |
5189421, | Dec 23 1991 | National Semiconductor Corporation | Microcontroller based analog-to-digital converter using variable pulse width modulation |
5659316, | Mar 24 1994 | Cerberus AG | Signal evaluation circuit for a motion detector |
DE19653566, | |||
WO9825349, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Aug 21 2002 | Shmuel Hershkovitz | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Dec 22 2011 | M2553: Payment of Maintenance Fee, 12th Yr, Small Entity. |
Date | Maintenance Schedule |
Mar 10 2012 | 4 years fee payment window open |
Sep 10 2012 | 6 months grace period start (w surcharge) |
Mar 10 2013 | patent expiry (for year 4) |
Mar 10 2015 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 10 2016 | 8 years fee payment window open |
Sep 10 2016 | 6 months grace period start (w surcharge) |
Mar 10 2017 | patent expiry (for year 8) |
Mar 10 2019 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 10 2020 | 12 years fee payment window open |
Sep 10 2020 | 6 months grace period start (w surcharge) |
Mar 10 2021 | patent expiry (for year 12) |
Mar 10 2023 | 2 years to revive unintentionally abandoned end. (for year 12) |