[0001] The invention relates to an alarm device for generating alerts in response to presence
of a toxic gas such as carbon monoxide (CO).
[0002] Much work had been carried out in development of gas sensors for use in such alarm
devices. Such work is described in documents such as US5589046 and JP11083778. Many
sensors are based on the principle of ramp heating a pair of metal oxide (such as
SnO
2) elements and monitoring voltage response.
[0003] United States Patent Specification No. 5694118 describes an alarm device for generating
alerts in response to CO presence. The device has a microprocessor, a sound buzzer,
and different coloured LEDs to indicate sensing of toxic gas such as CO. This is apparently
quite effective for providing alerts to users upon detection of CO, and a strobe light
output is also provided. However, because and output is latched until reset, the alarm
can be annoying to people who can hear it but not reset it, and the battery is likely
to be rapidly depleted.
[0004] Also, the prior art alarm devices take little account of the nature of toxic gas
concentration variations in domestic and light industrial environments and so it is
difficult to identify the source of toxic gas and rectify it.
[0005] US 5526280 discloses a gas alarm which gives an indication of gas concentration in
a moving window.
[0006] It is therefore an object of the invention to provide an alarm device which allows
more effective control of toxic gas presence.
[0007] Another object is to provide for more versatile calibration of such alarm devices.
[0008] A still further object is to allow more effective testing of such alarm devices.
[0009] According to the invention, there is provided a gas sensing alarm device comprising
a ventilated housing containing a circuit comprising a toxic gas sensor, a processor
connected to the sensor, and an output device to provide an alert for a user,
the processor comprising a memory, means for storing historical gas concentration
data in the memory, and means for subsequently generating an alert according to the
stored historical data, and
the device further comprising a user input interface connected to the processor, and
the processor comprising means for generating an alert based on historical data in
response to a user input.
[0010] In one embodiment, the processor comprises means for intermittently activating a
light emitter at one of a plurality of discrete frequency levels, each associated
with a gas concentration threshold.
[0011] In one embodiment, the processor memory is a register, and the processor comprises
means for writing a flag to the register to indicate gas concentration.
[0012] Preferably, a flag for a previous peak concentration value since reset is over-written
by a flag indicating a new peak since reset.
[0013] In one embodiment, the input interface comprises a button, and the processor comprises
means for recognising depression of the button initially as an input to generate an
alert based on historical data, and after a pre-set time duration of pressing the
button as an input to reset the memory.
[0014] In another embodiment, the processor comprises means for also performing an automatic
test in response to user depression of the button.
[0015] In a further embodiment, the processor comprises means for sampling sensor output
at a higher frequency than for a normal mode when a user test instruction is detected.
[0016] In one embodiment, the test sampling rate is at least once every four seconds.
[0017] In a further embodiment, the processor comprises means for returning to the normal
mode automatically after a pre-set time period had elapsed.
[0018] In one embodiment, the processor comprises a microcontroller having non-volatile
memory storing calibration values in sequential location which are addressable after
manufacture, and the memory includes addressable spare locations for storage of calibration
values arising from re-calibration.
[0019] Herein there is also disclosed a method of programming an alarm device as defined
above comprising the steps of writing a set of calibration values to a microcontroller
memory sequence of locations, and if mis-calibrated, over-writing the used locations
with a flag to cause the program to move to the next location.
[0020] In one embodiment, the used locations are over-written with a NOP flag.
[0021] There is further disclosed herein a method of calibrating a CO sensing alarm device
comprising the steps of:-
mounting the device in a test container whereby a calibration circuit is connected
to a device circuit,
pumping a metered quantity of test gas into the container, and
monitoring response of the device and writing calibration data to the device accordingly.
[0022] In one embodiment, the test gas comprises a mixture of CO and N
2.
[0023] Preferably, the mixture is approximately 10%CO: 90%N
2.
[0024] In another embodiment, the environment within the enclosure is controlled to 20°C
+/- 2°C temperature and 50% +/- 5% relative humidity.
[0025] The invention will be more clearly understood from the following description of some
embodiments thereof, given by way of example only with reference to the accompanying
drawings in which:-
Fig. 1 is a perspective view of an alarm device of the invention; and
Fig. 2 is a circuit diagram of a control circuit of the device.
[0026] Referring to Fig. 1, there is shown an alarm device 1 of the invention. The alarm
device 1 comprises a housing 2 having an upper sliding part 3 which may be slid upwardly
to reveal a compartment for batteries. In an alternative embodiment, the sliding part
3 may be removed to reveal mains terminals in a mains-powered version of the alarm
device.
[0027] The alarm device 1 also comprises a test/hush button 3 to allow a user to input instructions
to the device 1. For output of user alerts, there is a horn (not shown in Fig. 1)
behind a ventilated part of the casing, and LEDs as follows:
a green LED 4 to indicate that the device 1 is operational,
a red LED 5 to indicate a user alert, and
a yellow LED 6 to indicate a device fault.
[0028] In more detail, and referring to Fig. 2 a control circuit 10 is housed within the
housing 2 and it comprises a PIC microcontroller I connected to the LEDs 4, 5, and
6, and to the test/hush button 3. The controller 11 is also connected to a sound emitter
12 which provides user alerts when carbon monoxide is detected. Primary batteries
13 provide rail voltage for the circuit 10. A carbon monoxide sensor 14 is used for
sensing carbon monoxide. The circuit 10 also comprises a detector circuit 15 having
two op-amps and eight pins 1-18.
[0029] The sensor 14 is of the type which operates on the fuel cell principle in which there
is oxidation of the CO to form carbon dioxide. As the CO is oxidised, hydrogen ions
and electrons are generated at the working electrode of the cell. The ions travel
through the electrolyte to the counter electrode where they are consumed by reacting
with oxygen from the surrounding air. The electrons are taken via the contact pins
into the external circuit where they are amplified, measured and returned to the counter
electrode to complete the circuit and fuel the reaction. The current generated is
directly proportional to the concentration of CO at the working electrode. This current
is converted by the circuit 10 to a voltage.
[0030] The current is typically 40nA per CO ppm. The electrode connected to Pin 2 of the
circuit 15 goes negative. The output of the left-hand op-amp, at Pin 1, provides a
positive voltage which causes a current to flow in a resistor R5. This maintains Pin
2 at a virtual 0V i.e. the same voltage as on Pin 3, the other input of the op-amp.
[0031] Two transistors Q4 and Q5 act s a current source for the rail and charge a capacitor
C3. The potential of C3 appears at pin 5 of the circuit 15 and the potential of Pin
6 of the circuit 15 is set by the microcontroller 11.
[0032] To measure the gas concentration, the microcontroller sets a timing register and
starts charging C3 with the current source (based on Q4 and 5). The voltage on Pin
1 of the circuit 15, which represents the gas concentration, is applied to pin 6 of
the right hand side op amp through R3 and R7. When the op amp switches (it is just
acting as a comparator) the microcontroller 11 senses it through its Pin 4. The time
taken to charge C3 to this voltage represents the gas concentration.
[0033] The battery voltage is measured in a similar fashion (this is needed so that a low-battery
beep signal can be given at the appropriate time). Pins 6 and 7 of the microcontroller
11 apply essentially the battery voltage across R6 and R7. A portion of this voltage
(from potential divider R6 and R7) is applied to pin 6 of the right hand side op-amp
of the detector circuit 15.
[0034] The temperature is measured by letting a thermistor TH1 charge C3 and measuring the
time to charge to a known voltage. This voltage is derived from the battery voltage
and so will change as the battery depletes from 4.5V to 3.0 Volts. This is allowed
for by charging C3 through R17. The time taken to charge when the supply is 4.50 volts
is stored in memory at the calibration stage in the factory. The microcontroller can
therefore allow for changes in the battery voltage.
[0035] The transistors Q1 and Q2 are provided for modulating the sound emitter 12 under
control of the microcontroller 11.
[0036] The gas concentration is measured every 40 seconds and is indicated on Pin 1 (of
the left hand op-amp).
[0037] If the concentration exceeds a lower threshold of 100ppm the microcontroller increments
a register. If gas is detected over 20 minutes the unit sounds the horn 12 and flashes
the red LED 5 with on flash every 2 seconds. A flag is set in a register so the unit
"remembers" that it has seen over 100ppm CO for 20 minutes.
[0038] If the concentration exceeds 300ppm the microcontroller 11 increments a register,
and if the gas is present for three minutes the microcontroller 11 sounds the horn
12 and the red LED 5 flashes twice per second. A flag is set in a register so the
microcontroller remembers that it has seen over 300ppm CO for three minutes. This
over-rides the 100ppm CO flag.
[0039] Thereafter, if the user presses the test/hush button 3 the microcontroller 11 automatically
performs a test of the sound emitter 12 and also checks if either the 100ppm CO flag
or the 300ppm CO flag is set. If no flag is set the horn sounds and the green LED
flashes. If the 100ppm CO flag is set the red LED 5 flashes (instead of the green)
at every 2 seconds. If the 300ppm CO is set the red LED flashes twice per second.
This indicates if the unit has sensed CO and, if so, approximately at what level.
[0040] Thus, if a user has been out of the building for a period of time, he or she can
simply check if carbon monoxide concentrations rose to the threshold above levels
by simply pressed the button 3 and watching the LED 5. If the user continues to hold
the test button 3 for a period of 30 seconds, the memory is then reset. If the device
1 is currently sensing a carbon monoxide concentration above a threshold it will continue
to activate the LED 5 as if the button 3 were not being pressing.
[0041] The memory feature of the alarm device is very important as it gives peace of mind
to the user, and it will be appreciated that this is achieved without the need for
complex circuitry with digital data displays etc. It also improves user-friendliness
as the user is much more likely to get into the habit of regularly checking the historical
sensing while he or she was absent. This aspect also helps in identification of the
source of CO because it is not essential that the user be present when the gas is
detected.
[0042] The unit may be periodically tested in the field. Such testing is difficult with
prior art units because previously a test sample of CO needs to be kept in the unit
for up to 30 minutes for testing with 150 ppm CO or up to 6 minutes with 350ppm CO.
To do this, it is typically necessary to remove the unit from where it is mounted
and keep it in a sealed container with the CO test sample for the required time.
[0043] In the present invention, this problem is overcome by the microcontroller 11 speeding
up the gas sensing routine to once every 4 seconds and continuing for about 2 minutes.
If it senses CO during this period it will immediately (within 4 seconds) flash the
red light at the appropriate rate corresponding to the level sensed and sound the
horn just three times. After sensing the gas (or after 2 minutes whichever is shorter)
it returns to normal standby. This allows the device to be rapidly tested (for example
in less than 30 seconds, after allowing the gas to enter the unit). For example, a
cigarette or incense stick could be held below it or a simple plastic cover could
be held over it and CO injected into the cover.
[0044] Another aspect of the device 1 is that the microcontroller 11 is used for storing
calibration parameter values such as the CO sensitivity level and the low battery
level. Thus, there is no need for a separate electrically erasable programmable read
only memory (EEPROM). However, in high volume production a small number of units may
be mis-calibrated due to, for example, poor test pin contacts. In these circumstances,
scrappage of the unit is avoided by storing the initial values in a RETLW XX instruction
at a specified location, where XX is the calibration value (8 bits). When the program
needs this value it jumps to this location, executes the RETLW XX instruction, and
returns with the XX value in the W (working) register.
[0045] A number of sequential memory locations are left vacant and the first is used for
the first calibration. If it needs to be re-programmed, the first location is over-written
(to all 0's). This changes the RETLW instruction to a NOP instruction. A NOP instruction
is one which does nothing, it just causes the program to move to the next instruction.
The next location is then programmed with a RETLWXY instruction, where XY is the new
calibration value. When the basic program needs this value it jumps to the first location.
This now contains a NOP instruction, so the program just goes to the next location
containing the RETLWXY instruction. It executes the RETLW XY instruction returning
to the main program with XY in the W register. The device 1 can thus be re-calibrated
as many times as there are spare memory locations.
[0046] The calibration values which are stored in these memory locations are developed using
calibration equipment which consists of an airtight box with two doors on the front
of it. There are eight test heads inside the box, each of which calibrates one device.
Each test head contains a PCB with calibration circuitry. The test head PCB is connected
to the device through pneumatic test pins which engage when the unit is placed in
the fixture. There is also a mass flow controller attached to the box. This is a device
which meters a know mass of 10%CO/90%N
2 mixture into the box for calibrating the units. This is below the explosive limit
for CO and therefore the enclosure does not need switches and other fittings rated
for explosive environments. Also, the environment is controlled to 20°C +/- 2°C and
50% +/- 5% RH.
[0047] The calibration circuitry consists of a PIC microcontroller connected to the device
through buffer circuitry. The microcontroller writes a calibration mode code to the
device. This causes the device to write the CO level it measured to its memory. When
this has been done, the microcontroller then calculates the average of several CO
readings and writes the average reading to the calibration value location of the devices
memory.
[0048] The invention is not limited to the embodiments described but may be varied in construction
and detail within the scope of the claims.
1. A gas sensing alarm device comprising a ventilated housing (2) containing a circuit
(10) comprising a toxic gas sensor (14), a processor (11) connected to the sensor
(14), and an output device (12, 4, 5, 6) to provide an alert for a user,
the processor comprising a memory, means for storing historical gas concentration
data in the memory, and means for subsequently generating an alert according to the
stored historical data, and characterised in that,
the device further comprises a user input interface (3) connected to the processor,
and the processor (11) comprises means for generating an alert history based on historical
data in response to a user input.
2. A gas sensing alarm device as claimed in claim 1, wherein the processor (11) comprises
means for intermittently activating a light emitter (5) at one of a plurality of discrete
frequency levels, each associated with a gas concentration threshold.
3. A gas sensing alarm device as claimed in claim 1 or 2, wherein the processor memory
is a register, and the processor comprises means for writing a flag to the register
to indicate gas concentration.
4. A gas sensing alarm device as claimed in claim 3, wherein a flag for a previous peak
concentration value since reset is over-written by a flag indicating a new peak since
reset.
5. A gas sensing alarm device as claimed in claim 1, wherein the user input interface
comprises a button (3), and the processor (11) comprises means for recognising depression
of the button initially as an input to generate an alert history based on historical
data, and after a pre-set time duration of pressing the button as an input to reset
the memory.
6. A gas sensing alarm device as claimed in claim 5, wherein the processor comprises
means for also performing an automatic test in response to user depression of the
button.
7. A gas sensing alarm device as claimed in any preceding claim, wherein the processor
(11) comprises means for sampling sensor output at a higher frequency than for a normal
mode when a user test instruction is detected.
8. A gas sensing alarm device as claimed in claim 7, wherein the test sampling rate is
at least once every four seconds.
9. A gas sensing alarm device as claimed in claims 7 or 8, wherein the processor (11)
comprises means for returning to the normal mode automatically after a pre-set time
period had elapsed.
10. A gas sensing alarm device as claimed in any preceding claim, wherein the processor
comprises a microcontroller (11) having non-volatile memory storing calibration values
in sequential location which are addressable after manufacture, and the memory includes
addressable spare locations for storage of calibration values arising from re-calibration.
1. Gaserfassungsalarmvorrichtung, die ein belüftetes Gehäuse (2) umfasst, das einen Schaltkreis
(10) enthält, der Folgendes umfasst: einen Sensor für toxisches Gas (14), einen Prozessor
(11), der mit dem Sensor (14) verbunden ist, und eine Ausgabevorrichtung (12, 4, 5,
6), um ein Warnsignal für einen Benutzer bereitzustellen,
wobei der Prozessor Folgendes umfasst: einen Speicher, ein Mittel zum Speichern von
Gaskonzentrationsstammdaten in dem Speicher und ein Mittel, um gemäß den gespeicherten
Stammdaten nachfolgend ein Warnsignal zu erzeugen, dadurch gekennzeichnet, dass
die Vorrichtung des Weiteren eine Benützereingabeschnittstelle (3) umfasst, die mit
dem Prozessor verbunden ist, und der Prozessor (11) ein Mittel zum Erzeugen eines
Alarmprotokolls auf der Grundlage von Stammdaten als Reaktion auf eine Benutzereingabe
umfasst.
2. Gaserfassungsalarmvorrichtung nach Anspruch 1, wobei der Prozessor (11) ein Mittel
umfasst, um periodisch einen Lichtsender (5) mit einem von einer Vielzahl von diskreten
Frequenzpegeln zu aktivieren, die jeweils einem Gaskonzentrationsschwellenwert zugeordnet
sind.
3. Gaserfassungsalarmvorrichtung nach Anspruch 1 oder 2, wobei der Prozessorspeicher
ein Register ist und der Prozessor ein Mittel zum Schreiben eines Kennzeichens in
das Register umfasst, um die Gaskonzentration anzuzeigen.
4. Gaserfassungsalarmvorrichtung nach Anspruch 3, wobei ein Kennzeichen für einen vorangehenden
Spitzenkonzentrationswert seit der Rücksetzung durch ein Kennzeichen überschrieben
wird, das einen neuen Spitzenwert seit der Rücksetzung anzeigt.
5. Gaserfassungsalarmvorrichtung nach Anspruch 1, wobei die Benutzereingabeschnittstelle
einen Knopf (3) umfasst und der Prozessor (11) ein Mittel umfasst, um das Drücken
des Knopfes anfänglich als Eingabe zur Erzeugung eines Alarmprotokolls auf der Grundlage
von Stammdaten und nach einer voreingestellten Zeitspanne des Drückens des Knopfes
als Eingabe zum Rücksetzen des Speichers zu erkennen.
6. Gaserfassungsalarmvorrichtung nach Anspruch 5, wobei der Prozessor ein Mittel umfasst,
um ebenfalls einen automatischen Test als Reaktion auf ein Drücken des Knopfes durch
einen Benutzer durchzuführen.
7. Gaserfassungsalarmvorrichtung nach einem der vorhergehenden Ansprüche, wobei der Prozessor
(11) ein Mittel umfasst, um eine Sensorausgabe bei einer höheren Frequenz als für
einen Normalmodus abzutasten, wenn eine Benutzertestanweisung erfasst wird.
8. Gaserfassungsalarmvorrichtung nach Anspruch 7, wobei die Testabtastrate mindestens
einmal pro vier Sekunden beträgt.
9. Gaserfassungsalarmvorrichtung nach Anspruch 7 oder 8, wobei der Prozessor (11) ein
Mittel umfasst, um automatisch in den Normalmodus zurückzukehren, nachdem eine voreingestellte
Zeitspanne verstrichen ist.
10. Gaserfassungsalarmvorrichtung nach einem der vorhergehenden Ansprüche, wobei der Prozessor
einen Mikrokontroller (11) mit nicht flüchtigen Speicherungskalibrierungswerten an
sequentiellen Speicherstellen aufweist, die nach der Herstellung addressiert werden
können, und der Speicher adressierbare Reservespeicherstellen zur Speicherung von
Kalibrierungswerten umfasst, die von einer erneuten Kalibrierung stammen.
1. Dispositif d'alarme détecteur de gaz comprenant un logement ventilé (2) contenant
un circuit (10) comprenant un détecteur de gaz toxique (14), un processeur (11) connecté
au détecteur (14), et un dispositif de sortie (12, 4, 5, 6) pour fournir une alerte
pour un utilisateur,
ce processeur comprenant une mémoire, un moyen pour stocker des données de concentration
de gaz historiques dans la mémoire, et un moyen pour produire ensuite une alerte selon
les données historiques stockées, et caractérisé en ce que
ce dispositif comprend également une interface d'entrée utilisateur (3) connectée
au processeur, et le processeur (11) comprend un moyen pour produire un historique
d'alertes basé sur les données historiques en réponse à une entrée utilisateur.
2. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 1, dans
lequel le processeur (11) comprend un moyen pour activer de façon intermittente une
source de lumière (5) à un d'une pluralité de niveaux de fréquence distincts, chacun
étant associé à un seuil de concentration de gaz.
3. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 1 ou
2, dans lequel la mémoire du processeur est un registre, et le processeur comprend
un moyen pour enregistrer un drapeau sur le registre pour indiquer la concentration
de gaz.
4. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 3, dans
lequel un drapeau pour une valeur de concentration de crête antérieure depuis la remise
à zéro est écrasé par un drapeau indiquant une nouvelle crête depuis la remise à zéro.
5. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 1, dans
lequel l'interface d'entrée utilisateur comprend un bouton (3), et le processeur (11)
comprend un moyen pour reconnaître l'enfoncement du bouton initialement comme une
entrée afin de produire un historique d'alertes basé sur les données historiques,
et après une durée de temps prédéfinie d'enfoncement du bouton, comme une entrée pour
remettre la mémoire à zéro.
6. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 5, dans
lequel le processeur comprend un moyen pour effectuer également un essai automatique
en réponse à l'enfoncement du bouton par l'utilisateur.
7. Dispositif d'alarme détecteur de gaz tel que revendiqué dans l'une quelconque des
revendications précédentes, dans lequel le processeur (11) comprend un moyen pour
échantillonner la sortie du détecteur à une fréquence plus haute que pour un mode
normal quand une instruction d'essai d'utilisateur est détectée.
8. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 7, dans
lequel la cadence d'échantillonnage d'essai est au moins une fois toutes les quatre
secondes.
9. Dispositif d'alarme détecteur de gaz tel que revendiqué dans la revendication 7 ou
8, dans lequel le processeur (11) comprend un moyen pour retourner automatiquement
dans le mode normal après qu'une période de temps prédéfinie s'est écoulée.
10. Dispositif d'alarme détecteur de gaz tel que revendiqué dans l'une quelconque des
revendications précédentes, dans lequel le processeur comprend un microcontrôleur
(11) ayant une mémoire non volatile stockant des valeurs d'étalonnage dans un emplacement
séquentiel qui sont adressables après la fabrication, et cette mémoire comprend des
emplacements adressables de réserve pour le stockage de valeurs d'étalonnage résultant
du réétalonnage.