Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SWITCH STATUS SENSOR
Document Type and Number:
WIPO Patent Application WO/1997/025729
Kind Code:
A1
Abstract:
A switch status sensor (1) is provided for counting on/off events of a switch (3) of a water meter (5). When an on/off event is detected by microcontroller (11), the microcontroller (11) supplies a "signature" signal, which is distinguishable from electromagnetic noise to the switch (3). If this "signature" signal is detected as having passed through the switch (3) by the microcontroller (11), then it can be confirmed that the switch (3) is closed. Alternatively, if the "signature" signal is not detected as having passed through the switch (3) by the microcontroller (11), then it is verified that the switch (3) is open. Thus, the switch status sensor (1) can distinguish between false switch events caused by electromagnetic noise and true on/off events of the switch.

More Like This:
Inventors:
ALLCORN ROGER (GB)
Application Number:
PCT/GB1997/000056
Publication Date:
July 17, 1997
Filing Date:
January 09, 1997
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
T M PRODUCTS LTD (GB)
ALLCORN ROGER (GB)
International Classes:
H01H9/16; H01H35/40; (IPC1-7): H01H9/16
Foreign References:
DE3941319A11991-06-27
US4134026A1979-01-09
DE9206932U11992-07-16
GB2171544A1986-08-28
EP0573771A11993-12-15
US4031362A1977-06-21
EP0327403A21989-08-09
Other References:
PATENT ABSTRACTS OF JAPAN vol. 013, no. 539 (E - 853) 30 November 1989 (1989-11-30)
Download PDF:
Claims:
CLAIMS
1. A switch status sensor for connection to a switch, the switch status sensor comprising means for applying a signal distinguishable from the electromagnetic noise to said switch, and means for detecting the passage of said signal through said switch to determine the status of said switch.
2. A switch status sensor according to claim 1, comprising current responsive means responsive to a current which apparently indicates a given switch status, and wherein the means for applying said signal applies said signal to said switch in response to an indication from said current responsive means .
3. A switch status sensor circuit adapted for connection to an electrical switch, means responsive to an electrical current flowing through said connection from the switch to determine changes in the status of the switch and means responsive to a current which apparently indicates a given switch status for supplying a special signal to the switch and sensing a passage of that signal through the switch to test whether the indicated status is correct.
4. A switch status sensor according to claim 2 or 3 , wherein said given switch status is the switch being opened.
5. A switch status sensor according to claim 2, 3 or 4 wherein said given switch status is the switch being closed.
6. A switch status sensor according to any one of the preceding claims, wherein a filter is provided for filtering the signal received from said switch.
7. A switch status sensor according to claim 6, wherein means is provided for disabling said filter during detection of said signal.
8. A switch status sensor according to any one of the preceding claims comprising means for counting the number of changes in the status of said switch, and interface means for making the count available to external apparatus .
9. A switch status sensor according to any one of the preceding claims, comprising means for controlling current applied to the switch to reduce power consumption by the switch status sensor.
10. A switch status sensor substantially as hereinbefore described with reference to and/or as illustrated in the accompanying drawing.
11. A water meter comprising a switch status sensor according to any one of the preceding claims .
Description:
SWITCH STATUS SENSOR

The present invention relates to a switch status sensor, and more particularly, but not exclusively, to a switch status sensor for use in a water meter to reliably measure the consumption of water, or in any other type of meter which is responsive to the status changes of a switch.

When a switch changes its state, the voltages and currents in connections made to the switch are changed and these changes can be sensed by suitable apparatus to determine the status of the switch. Errors can occur in areas of high electromagnetic noise when current or voltage changes may be induced in the connections which are sensed by the apparatus and give a false indication of the status of the switch. Such errors are particularly undesirable in water meters , as they would result in a customer being over- or undercharged.

Conventionally, because switch status sensors which count the number of pulses received from a switch-type water meter are subject to electromagnetic radiation, which can cause miscounting of switching events, the signals received from the switch are heavily filtered. However, this has the negative effect of slowing down the responsiveness, with the ultimate effect of missing real switch closures.

The requirements for achieving fast response and electromagnetic noise immunity are irreconcilable using filtering alone.

The present invention aims to provide a sensor which can discriminate between signals received following a change of status of a switch and noise signals and/or which has a fast response time.

According to a first aspect of the present invention there is provided a switch status sensor for connection to a

switch, the switch status sensor comprising means for applying a signal distinguishable from electromagnetic noise to said switch, and means for detecting the passage of said signal through said switch to determine the status of said switch.

According to a second aspect of the invention there is provided a switch status sensor circuit adapted for connection to an electrical switch, means responsive to an electrical current flowing through said connection from the switch to determine changes in the status of the switch and means responsive to a current which apparently indicates a given switch status for supplying a special signal to the switch and sensing the passage of that signal through the switch to test whether the indicated status is correct.

The signal supply and current testing is preferably performed by a microcontroller. A filter may be provided for filtering the current received through said connection, and means may be provided for disabling said filter during the testing of said given signal.

In one embodiment the switch to be monitored changes its state in response to various events, for example the passage of a given volume of water through a water meter. By counting the number of times the switch opens and closes, a count of the water flow is obtained. If the circuit which monitors the state of the switch is subject to electromagnetic noise, then the count obtained from the switch may be inaccurate. The switch status sensor applies a signal distinguishable from electromagnetic noise to the switch, and means is provided for detecting the passage of the signal through the switch in order that the true status of the switch can be determined even if electromagnetic noise is present.

For a better understanding of the invention an embodiment will be described, by way of example, with reference to the accompanying drawing, the single figure of which shows a microcontroller connected through various components to a switch whose status is to be monitored.

The switch status sensor indicated generally at 1 in Figure 1 is connected to a micro/reed type switch 3 of a water meter, indicated generally at 5. The water meter 5 may be a switch- or pulse-type water meter. The switch 3 opens and closes once to indicate that a unit measure of water has been consumed.

The switch status sensor 1 is a self-contained unit being powered from its own internal batteries and is fully environmentally sealed. The switch status sensor 1 has two interfaces: an interface 7 for connection to the water meter 5 and an interface 9 for connection to a meter reading device so that the quantity of water consumed may be read and the consumer may be charged appropriately. The interface 9 may be configured to provide the data for reading by an inductive pad, for example.

In addition to the detection of water consumption by a switch 3, the water meter 5 may also comprise a generator- type meter. The signal path from the generator-type meter (not shown) is conditioned for low impedance and power extraction, and signals are passed via a buffer (not shown) to a microcontroller 11. The signal received from the generator-type meter may be used in conjunction with the signal from the switch-type meter, to which the present invention primarily relates, by the microcontroller 11 to improve the accuracy of the determination of water consumption.

In this embodiment, to determine the correct status of the switch 3 of a water meter, a "signature" (i.e., a signal

distinguishable from electromagnetic noise) is applied to the switch in order to verify its status whenever a switching event is detected. Thus, operation of the switch is determined by (i) event detection, and (ii) event verification. Only when detection and verification both occur is a true switch event deemed to have occurred, and is passed to appropriate further event processing.

The switch status sensor 1 comprises, in addition to microcontroller 11, an optional filter 13, connected to the microcontroller via FET switch 15, and a buffer 17. Port A of the microcontroller 11 is connected to first terminal of the switch 3 of the water meter 5. The second terminal of the switch 3 of the water meter 5 is connected to the input of the filter 13. The output of the filter 13 is applied to the buffer 17 and port C of the microcontroller 11. The output of the buffer 17 is input to port D of the microcontroller 11. Port B of the microcontroller 11 controls by the FET switch 15 the operation of the filter 13, so that it may be operational or non-operational, as appropriate. Port A of the microcontroller 11 controls the signal applied to the switch 3 of the water meter 5, and port D of the microcontroller 11 monitors the signal received from the switch 3 of the water meter 5, applied via filter 13 (if provided) and buffer 17.

Port C controls the current flowing through the switch 3. Port C can enable either a high or low current to be applied to the switch. The purpose of the control provided by port C is to minimise the current drain should the switch 3 remain closed for a fairly long period of time, which is a real likelihood in water meter reading. Some water meters cause the switches to be closed for extensive rotational periods of up to 70 per cent.

The ports A, B, C and D of the microcontroller 11 are operated to provide the following states to efficiently and

accurately measure a switch event by switch 3 of the water meter 5.

State 1

Port A is set to provide a constant signal to switch 3 (Logic 1) ;

Port B turns the filter 13 on;

Port C enables a high current to be drawn; and Port D is set to detect a switch event, i.e., a change in the signal received from switch 3 via the filter 13 (if provided) and the buffer 17.

When an input signal is detected at port D the microcontroller 11 enters state 2.

State 2

Port B turns the filter 13 off; Port A applies the "signature" to the switch 3; and Port D is monitored to detect the presence of the "signature" .

If the "signature" is received at port D of the microcontroller 11 it is determined that the switch 3 is closed. The microcontroller will then enter state 3.

State 3

Port A is set to provide a constant signal (Logic 1); Port B turns the filter 13 on; Port C is set to enable a low current; and Port D is set to detect a switch event, i.e., a change in the signal received from switch 3 via the filter 13 (if provided) and the buffer 17.

When an event is detected at port D the microcontroller then enters state .

State 4

Port B turns the filter 13 off; Port C enables a high current;

Port A applies the "signature" to the switch 3; and Port D is monitored by microcontroller 11 for receipt of the "signature".

If the "signature" is not detected at port D, this indicates that the switch 3 is now open, and the microcontroller 11 will record a valid pulse of the switch 3, and will return to state 1. The number of pulses are counted by the microcontroller 11, and the count may be made available to meter reading apparatus (not shown) via the interface 9.

The above states are activated in succession when the events observed at port D are valid switch openings and closures. If the "signature" is not detected at step 2, or the "signature" is detected at state 4, then the microcontroller 11 will register that the event provisionally detected in state 1 or 3 was not a true switch event, but was caused by noise. If the "signature" is not detected at state 2 or is detected at state 4, then the microcontroller returns to the preceding state, as appropriate.

In the above embodiment a filter 13 is provided to minimise the number of times a provisional switch event is recorded at port D of the microcontroller 11, in order to reduce the number of times that the microcontroller 11 attempts to transmit the "signature" through the switch 3, to reduce power consumption. However, the switch only has to reduce the number of false event detections at port D of the microcontroller 11 and does not have to be designed to eliminate all the false switching events, as is done in the prior art. Thus, the switch does not have to unduly affect the responsiveness of the microcontroller to rapid switch

pulses, in contrast to the prior art. In an alternative embodiment, the filter 13, and consequently the switch 15 and port B of the microcontroller 11, may be dispensed with completely.

The switch status sensor 1 is preferably powered by lithium cells, which can comfortably withstand a reverse current flow of many milliamps, especially if of a transitory nature. This allows the battery to be charged when connected to interface 5 and/or interface .