The present invention generally relates to smoke detection, and more particularly to a smoke detection method with temperature and dust compensation.
A smoke detector is a device that senses smoke, typically as an indicator of fire. The smoke detector can be integrated with a home automation system to become a smart smoke detector. However, the smoke detector may be accumulated with dust, which is actually a common cause of accidental smoke detector activations. The build-up of dust, dirt and other debris can lower the detection threshold for the smoke detector, causing the system to enter (false) alarm when no fire is present. Moreover, the smoke detector may also be affected by temperature change, resulting in incorrect detection results.
Although many methods of detecting dust have been proposed, few methods can correct or compensate the influence of dust or temperature on the smoke detector. A need has thus arisen to propose a novel scheme to ensure that the smoke detector with dust accumulation can operate correctly over a wide range of temperatures.
In view of the foregoing, it is an object of the embodiment of the present invention to provide a smoke detection method with temperature and dust compensation capable of operating a smoke detector with dust accumulation over a wide range of temperatures.
According to one embodiment, a smoke detection method with temperature and dust compensation is disclosed. A smoke detector is provided to generate reading values. A database is provided to store smoke-free reference values at every temperature or at every few temperatures in a working range of temperatures, differences between the reading values and corresponding smoke-free reference values being used to detect smoke. Smoke-free reference values at a current temperature are obtained from the database if temperature changes. Temperature learning is performed to obtain smoke-free reference values if the smoke-free reference values do not exist in the database or when dust is detected for at least one time.
In the embodiment, the smoke detector may include an infrared light source, a blue light source and two receiver sensors (e.g., a first receiver sensor and a second receiver sensor). The first receiver sensor adaptable to detect infrared light and blue light generates two reading values designated as R1 and B1, and the second receiver sensor adaptable to detect infrared light and blue light generates another two reading values designated as R2 and B2. There are four smoke-free reference (or baseline) values corresponding to the four reading values. Smoke may be detected according to differences between the reading values and the smoke-free reference values. Generally speaking, smoke may be detected according to the reading values and ratios thereof.
However, the smoke-free reference values of the receiver sensors will change with temperature change and dust accumulation. Therefore, the smoke detection method 100 of the embodiment is configured to perform temperature and dust compensation actions to adjust the smoke-free reference values to ensure that the smoke detector with dust accumulation can operate correctly over a wide range of temperatures.
Specifically, in step 10, smoke-free reference values are initially provided after the smoke detector is turned on and initialized by performing a self-test to ensure components, such as the battery, the light sources, the receiver sensors and the alarm, are working properly. In the meantime, a dust detect (countdown) timer detect_timer for measuring a specific time interval and a dust counter (or a count variable) dust_count used to count a number of times dust is detected (which will be explained later) are also initialized.
Next, it is determined in step 11 whether the smoke detector wakes up (i.e., coming out of a low-power state such as sleep mode). If the determination result in step 11 is negative, it is determined in step 12 whether the specific time interval of the dust detect timer detect_timer has elapsed. If no, the flow goes to step 13 to determine whether temperature changes, for example, by comparing a current temperature with a previous temperature. If temperature changes (yes branch of step 13), and a temporal number of dust compensation M_dust (which will be explained later) is equal to a predetermined required number of dust compensation T_dust (yes branch of step 14), smoke-free reference values at the current temperature are obtained from a database (step 16) stored in a memory device, which stores smoke-free reference values at every temperature or at every few temperatures (e.g., every 2 degrees) in a working range of temperatures (e.g., −20 to 50 degrees). However, if the required smoke-free reference values (at the current temperature) do not exist in the database (no branch of step 15), temperature learning will be performed in step 17 to obtain the required smoke-free reference values, details of which will be explained later. Alternatively, if the temporal number of dust compensation M_dust is not equal to the required number of dust compensation T_dust (no branch of step 14), temperature learning will also be performed in step 17 to obtain (or update) the required smoke-free reference values, when the dust becomes stable.
Referring back to step 11, if the determination result is affirmative, the smoke detector generates reading values in step 18, according to which smoke may be detected (step 19) according to differences between the reading values and the smoke-free reference values. It is appreciated that conventional techniques of detecting smoke may be adopted, details of which are thus omitted for brevity. If smoke is detected (yes branch of step 19), a smoke alarm is issued (step 20); otherwise, the flow goes to step 21 to detect dust in according to the reading values and ratios thereof.
In the embodiment, dust is positively detected only when dust is detected (step 21) for at least one time, for example, for predetermined (consecutive) times (e.g., 3 times), which may be executed by using a dust counter (or a count variable) dust_count used to count a number of times dust is detected (step 22). If the dust counter dust_count does not reach the predetermined (consecutive) times (no branch of step 22), the dust counter dust_count is incremented, and the dust detect timer detect_timer is set to a specific time interval (e.g., 5 seconds) (step 23). When the predetermined (consecutive) times have been reached (yes branch of step 22), the temporal number of dust compensation M_dust is incremented (step 24).
According to one aspect of the embodiment, a maintenance notification will be issued to raise attention to a user or monitoring center (or security company) when dust is accumulating. Issuing maintenance notification in the embodiment adopts a hierarchical architecture as described below. When dust as detected reaches a first threshold at which the smoke detector still functions normally, a maintenance alert notification will be issued to notify the user or monitoring center to clean the smoke detector as soon as possible to remove the dust. When dust as detected reaches a second (higher) threshold at which the smoke detector cannot function normally (for example, because no action is taken by the user or monitoring center after receiving the maintenance alert notification), a maintenance warning notification will be issued to notify the user or monitoring center to clean the smoke detector immediately to avoid subsequent false alarms. It is noted that temperature learning needs to be performed again whenever dust has been removed from the smoke detector, which affects the smoke-free reference values.
Next, in step 175, it is determined whether there is an outlier among the sampled reading values. In the embodiment, an outlier exists when difference between the maximum value and the minimum value of the sampled reading values is greater than a predetermined threshold (e.g., 10). The outlier will be discarded and the sampling be resumed until the predetermined number of consecutive sampled reading values without outlier has been reached. Subsequently, in step 176, the sampled reading values are averaged as smoke-free reference values at the current temperature, which are then stored in the database.
Although specific embodiments have been illustrated and described, it will be appreciated by those skilled in the art that various modifications may be made without departing from the scope of the present invention, which is intended to be limited solely by the appended claims.