Fluid meters arranged to detect leaks and ensure facility safety
By integrating processor modules and communication interfaces on the gas meter, detecting the fluid flow rate and controlling the electromechanical valve, the problem of difficulty in quickly detecting and recovering leakage in existing gas meters is solved, and rapid and safe interruption of the facilities and gas supply recovery are achieved.
Patent Information
- Application Number
- CN202110411219.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-04-16
- Filing Date
- 2021-04-16
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2041-04-16
AI Technical Summary
It is difficult for existing gas meters to detect fluid leakage in facilities quickly and reliably and restore gas supply in a timely manner, which poses safety risks.
A fluid meter is designed, equipped with a processor module and a communication interface, which detects leakage by estimating the flow rate of the fluid. If the flow rate exceeds a predetermined threshold, the electromechanical valve will be closed and the supply will be interrupted, and reopened through external commands to ensure the safety of the facility and the rapid recovery of air supply. .
It realizes rapid detection and safe interruption of fluid leakage in the facility, timely restores gas supply, and improves the safety and reliability of the facility.
Smart Images

Figure CN113554860B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent fluid meters and detection of leaks in installations connected to such meters. Background Art
[0002] The gas distribution network includes pipelines connected to gas-consuming facilities connected to gas meters.
[0003] A modern gas meter, also called a "smart" gas meter, typically comprises a measuring device for measuring the gas consumption of a facility, and it also comprises a processor module and a communication module.
[0004] The processor module enables the gas meter to perform a number of functions, and in particular to analyse various data, for example relating to the gas consumption of the facility, the billing of subscribers, the status of the gas distribution network, or indeed the operation of the gas meter itself.
[0005] The communication module enables the gas meter to communicate with the information system (IS) of the network operator, possibly via a data concentrator or via a gateway. The communication module can perform any type of communication and for example communication via a cellular network of the 2G, 3G, 4G, Cat-M or NB-IoT type, communication using the Long Range (LoRa) protocol, radio communication using the Wize standard operating at a frequency of 169 megahertz (MHz), etc.
[0006] It is essential to be able to quickly and reliably detect gas leaks occurring in a subscriber's facility and to act quickly to ensure the safety of said facility. In particular, gas leaks have catastrophic consequences: fire, explosion, poisoning, and the like.
[0007] When a leak is detected, and once the problem causing the leak has been corrected, it is important to be able to quickly restart the gas supply to the facility so that the facility is operational again and subscribers can quickly return to their normal lives.
[0008] Purpose of the Invention
[0009] The object of the present invention is to be able to detect fluid leaks occurring in a subscriber's facility quickly and in a reliable manner, to ensure that the facility is safe, and to act quickly to restore the fluid supply once the problem has been corrected. Summary of the invention
[0010] To achieve this purpose, a fluid meter is provided, comprising:
[0011] a first communication interface arranged to communicate via a radio link with a communication interface of a shut-off unit comprising an electromechanical valve and also to transmit electrical energy via the radio link, the electrical energy being adapted to power the communication interface of the shut-off unit;
[0012] A first processor module is arranged to:
[0013] estimating a flow rate of a fluid supplied to a facility connected to the fluid meter and, if the fluid flow rate remains greater than a first predetermined flow rate threshold for at least a first predetermined duration, detecting the presence of a fluid leak in the facility and transmitting an internal command frame to a communication interface of a shut-off unit via a first communication interface, the internal command frame comprising a closing command for closing the electromechanical valve;
[0014] After the electromechanical valve is closed, a first external command frame is collected via the first communication interface, the first external command frame including an opening command generated by the cut-off unit after a manual action on an actuator component of the cut-off unit, an internal command frame including the opening command is generated, and the internal command frame is transmitted to the communication interface of the cut-off unit via the first communication interface to reopen the electromechanical valve.
[0015] By estimating the fluid flow rate, the fluid meter of the present invention is thus able to detect in real time the occurrence of a fluid leak in an installation. A fluid leak in an installation has an effect on the fluid flow rate that is visible in the fluid meter connected to the installation, which effect is very fast and very clear, allowing the fluid meter to detect the occurrence of a fluid leak quickly and in a reliable manner.
[0016] When the fluid meter detects a fluid leak, the first communication interface of the fluid meter supplies power to the communication interface of the cut-off unit and commands the cut-off unit to close the electromechanical valve and thus interrupt the fluid supply to the facility, thereby ensuring the safety of the facility very quickly.
[0017] Once the problem has been corrected, a manual action on the actuator member of the shut-off unit, for example by an operator of the subscriber or the network operator, is used to issue a command to the fluid meter, which in turn commands the electromechanical valve to reopen. The fluid supply to the facility is thus restarted and the facility is operational again very quickly.
[0018] A fluid meter as described above is also provided, wherein after transmission of the internal command frame and after the electromechanical valve is reopened, the first processor module is arranged to keep the electromechanical valve open only if the fluid flow rate remains less than a second predetermined flow rate threshold for at least a second predetermined duration after the electromechanical valve is reopened.
[0019] There is also provided a fluid meter as described above, wherein the first processor module is arranged to reclose or maintain the electromechanical valve closed if the fluid flow rate is greater than a third predetermined flow rate threshold for at least a third predetermined duration.
[0020] A fluid meter as described above is also provided, which also includes a second communication interface arranged to communicate with an external device outside the cut-off unit, the first processor module being arranged to collect a second external command frame via the second communication interface after the electromechanical valve is closed, the second external command frame including an opening command generated by the external device, generate an internal command frame including the opening command, and transmit the internal command frame to the communication interface of the cut-off unit via the first communication interface to reopen the electromechanical valve.
[0021] There is also provided a flow meter as described above, wherein the first communication interface is arranged to write the internal command frame to a memory of the shut-off unit and subsequently read the confirmation frame in the memory of the shut-off unit.
[0022] There is also provided a fluid meter as described above, wherein the internal command frame comprises a current value of an internal command frame counter, the current value being incremented each time the internal command frame is transmitted from the fluid meter to the shut-off unit.
[0023] There is also provided a fluid meter as described above, further comprising an authentication device arranged to authenticate the internal command frame.
[0024] There is also provided a fluid meter as described above, wherein the authentication device is arranged to encrypt at least a part of the internal command frame by using an encryption algorithm with a symmetric encryption key, the symmetric encryption key being stored in a memory of the fluid meter and in a memory of the shut-off unit.
[0025] A facility safety assurance method is also provided, which is performed in the fluid meter as described above and includes the following steps:
[0026] estimating a flow rate of a fluid supplied to a facility connected to the fluid meter and transmitting an internal command frame to a communication interface of a shutoff unit via a first communication interface, the internal command frame comprising a closing command for closing the electromechanical valve if the fluid flow rate remains greater than a first predetermined flow rate threshold for at least a first predetermined duration;
[0027] After the electromechanical valve is closed, a first external command frame is collected via the first communication interface, the first external command frame including an opening command generated by the cut-off unit after a manual action on an actuator component of the cut-off unit, an internal command frame including the opening command is generated, and the internal command frame is transmitted to the communication interface of the cut-off unit via the first communication interface to reopen the electromechanical valve.
[0028] A computer program including instructions for causing the fluid meter to execute the steps of the safety ensuring method is also provided.
[0029] A computer-readable storage medium is also provided, on which the computer program described above is stored.
[0030] A cut-off unit is also provided which is suitable for being installed near a fluid meter and comprises:
[0031] Electromechanical valves;
[0032] Memory;
[0033] a communication interface arranged to receive an internal control frame via a radio link and store it in a memory, the internal control frame comprising an opening or closing command for opening or closing the electromechanical valve, the second communication interface also being arranged to receive electrical energy transmitted via the radio link and to be powered thereby;
[0034] an actuator member adapted to be manually actuated by a person located in the vicinity of the cutting unit;
[0035] A second processor module is arranged to collect the internal command frame in the memory, decrypt the internal command frame and extract the opening or closing command for commanding the opening or closing of the electromechanical valve, and write the confirmation frame into the memory. The second processor module is also arranged to detect that the actuator part has been actuated, and after this actuation, write the first external command frame representing the manual actuation of the actuator part and requesting the fluid meter to send a command for opening the electromechanical valve to the cut-off unit into the memory.
[0036] There is also provided a shut-off unit as described above, the actuator member being a push button.
[0037] There is also provided a cut-off unit as described above, wherein the second processor module will be in standby mode by default, and the communication interface is arranged to generate an activation signal for activating the second processor module when the second communication interface receives power.
[0038] There is also provided a cut-off unit as described above, wherein a symmetric encryption key of the encryption algorithm is stored in a memory of the cut-off unit, the second processor being arranged to decrypt the internal control frame by using the symmetric encryption key.
[0039] A measuring system is also provided, which comprises the fluid meter as described above and the cut-off unit as described above.
[0040] The present invention may be better understood in light of the following description of certain non-limiting embodiments of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] With reference to the accompanying drawings, in which:
[0042] Figure 1 The information system, data concentrator, gas meter and shut-off unit are shown;
[0043] Figure 2A cut-off unit is shown;
[0044] Figure 3 The command, frame and message are shown in the case where the gas meter detects a gas leak. Figure 1 Exchanges between entities;
[0045] Figure 4 The commands, frames and messages are shown in the case of reopening the electromechanical valve by manually operating the actuator component of the shut-off unit. Figure 1 Exchanges between entities;
[0046] Figure 5 shows the commands, frames and messages in the case where the electromechanical valve is reopened by the IS Figure 1 Exchanges between entities;
[0047] Figure 6 An internal command frame is shown;
[0048] Figure 7 An acknowledgement frame is shown. DETAILED DESCRIPTION
[0049] refer to Figure 1 and Figure 2 In this example, the fluid meter of the present invention comprises a gas meter 1 installed on a pipeline 2 of a natural gas distribution network and used to measure the natural gas consumption of a facility.
[0050] The shutoff unit 3 is installed on the pipeline 2 near the gas meter 1. The shutoff unit 3 may be located upstream or downstream of the gas meter 1. The distance L between the gas meter 1 and the shutoff unit 3 may be, for example, in the range of 1 centimeter (cm) to 10 cm. The shutoff unit 3 includes an electromechanical valve 4, which is used to selectively shut off or reestablish the gas supply of the facility.
[0051] In nominal operating mode, the commands to open and close the electromechanical valve 4 are issued by an information system (IS) 5 which transmits the opening or closing commands to the gas meter 1 via a data concentrator 6. The gas meter 1 relays these opening or closing commands to the shutoff unit 3.
[0052] Each of these entities is briefly described below.
[0053] The IS 5 comprises one or more servers and a communication module enabling it to communicate with a data concentrator such as the data concentrator 6 via a cellular network of the 2G, 3G or 4G type.
[0054] The data concentrator 6 comprises first communication means 10 for communicating with the IS 5 via a 2G, 3G, or 4G cellular network and second communication means 11 for communicating with the gas meter 1. The second communication means 11 enables the data concentrator 6 to communicate by radio communication, utilizing in this example the Wize standard operating at a frequency of 169 MHz.
[0055] The gas meter 1 is an ultrasonic meter. The gas meter 1 is a smart meter.
[0056] The gas meter 1 has a first communication interface 12 and a second communication interface 14 .
[0057] In this example, the first communication interface 12 is a primary near field communication (NFC) interface.
[0058] The first communication interface 12 first includes a first processor module including a first processor component. As an example, the first processor component 16 can be a processor, a microcontroller, or in fact a programmable logic circuit (such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC)). In this example, the first processor component is a first microcontroller 16.
[0059] The first communication interface 12 further comprises a first memory 17, an NFC transceiver 18 and a first antenna 19. In this example, the NFC transceiver 18 comprises an amplifier, a modulator and a demodulator.
[0060] The second communication interface 14 is adapted to communicate via radio communication using the Wize standard operating at a frequency of 169 MHz. The second communication interface 14 enables the gas meter 1 to receive commands for opening or closing the electromechanical valve 4 from the IS 5 via the data concentrator 6.
[0061] The gas meter 1 further comprises authentication means, which in this example comprise a programmed software module in the first microcontroller 16 and in an area of the first memory 17 .
[0062] In addition to the electromechanical valve 4, the cut-off unit 3 comprises a communication interface 20 (in this example a slave NFC interface), a second processor module and a battery 22. The second processor module comprises a second processor component, which can be a processor, a microprocessor, or indeed a programmable logic circuit such as an FPGA or an ASIC, as an example. In particular, the second processor component is a second microcontroller 21.
[0063] The communication interface 20 comprises a second memory 23, an NFC receiver 24 and a second antenna 25. As an example, the NFC receiver 24 comprises a demodulator.
[0064] The second microcontroller 21 is arranged to operate via a driver (not shown in the figure) to command the electromechanical valve 4 to open or close. In this example, the second microcontroller 21 comprises an integrated circuit (I2C) interface for read and write access to the second memory 23.
[0065] The battery 22 of the shut-off unit 3 is used to supply power to the second microcontroller 21 and the electromechanical valve 4 (together with the driver).
[0066] The cutting unit 3 further comprises an actuator component adapted to be actuated by manual operation of a person.
[0067] In this example, the actuator member is a button 28 which is located on the shut-off unit 3 and is thus accessible from the outside of the shut-off unit 3 .
[0068] This is followed by a description of how the gas meter 1 detects gas leaks and ensures the safety of the facility.
[0069] The first microcontroller 16 of the gas meter 1 operates in real time to estimate the rate at which gas is supplied to the appliance connected to the gas meter 1 .
[0070] The first microcontroller 16 compares the gas flow rate to a first predetermined flow rate threshold. The gas flow rate is the slope expressed as the amount of gas as a function of time. In this example, the gas flow rate is expressed in cubic meters per second (m 3 / s) as the unit.
[0071] If the gas flow rate remains greater than the first predetermined flow rate threshold for at least the first predetermined duration, i.e., if
[0072] D>D0 lasts for a period of time T>T0;
[0073] Where D is the gas flow rate, D0 is the first predetermined flow rate threshold, and T0 is the first predetermined duration;
[0074] The first microcontroller 16 of the gas meter 1 then detects that there is a gas leak in the facility.
[0075] In this example, D0 = 0.000080 m 3 / s and T0 = 900 seconds (s).
[0076] Specifically, this gas flow rate over this long duration does not correspond to normal consumption by equipment in the facility, but rather reveals the presence of a gas leak in the facility.
[0077] refer to Figure 3When the first microcontroller 16 of the gas meter 1 detects a gas leak, the first microcontroller 16 generates a gas leak alarm intended for the IS 5. The gas leak alarm is initially transmitted by the gas meter 1 to the data concentrator 6 by radio communication at 169 MHz (step E1), and then transmitted by the data concentrator 6 to the SI 5 via a 2G, 3G or 4G network using an http POST request and the TR 69 protocol (step E2).
[0078] At the same time, the first microcontroller 16 of the gas meter 1 generates an internal command frame containing a command for closing the electromechanical valve 4 of the shut-off unit 3 .
[0079] The internal command frame is authenticated by means of an authentication device of the gas meter 1. The authentication comprises encrypting the command frame, at least partially.
[0080] The authentication device uses an encryption algorithm with a “secret” symmetric encryption key which is stored in an area of the first memory 17 of the first communication interface 12 .
[0081] The encryption algorithm is the Advanced Encryption Standard (AES) algorithm using the Galois Counter Mode (GCM). This encryption algorithm enables data to be encrypted and decrypted in 128-bit blocks. The symmetric encryption key is a 128-bit key.
[0082] The symmetric encryption key is also stored in the first area of the second memory 23 of the communication interface 20 of the shut-off unit 3 and is therefore known to both the first communication interface 12 and the communication interface 20. The gas meter 1 and the shut-off unit 3 are associated via this same symmetric encryption key. As an example, this association can be performed in the factory once the gas meter 1 and the shut-off unit 3 have been manufactured by loading the symmetric encryption key into the first memory 17 of the gas meter 1 and also into the second memory 23 of the shut-off unit 3. This association can also be performed on site during installation.
[0083] The first microcontroller 16 transmits an internal command frame to the communication interface 20 of the shut-off unit 3 via the first communication interface 12 and thus by using NFC technology, in order to close the electromechanical valve 4 (step E3 ).
[0084] By means of the NFC transceiver 18 and the first antenna 19, the first communication interface 12 generates for this purpose an electromagnetic field which induces a current in the second antenna 25 of the communication interface 20. The electromagnetic field is used to form a radio link, so that the first communication interface 12 can transmit internal command frames to the communication interface 20 and can also transmit electrical energy for powering the communication interface 20. The communication interface 20 is therefore not powered by the battery 22 of the disconnection unit 3, but only by the electrical energy transmitted via the radio link.
[0085] In order to optimize the transmission of electrical energy, it should be observed at this point that the first antenna 19 and the second antenna 25 are positioned facing each other, with each antenna extending in a plane perpendicular to an axis passing through its respective center.
[0086] Then, the first communication interface 12 writes the internal command frame into the second area of the second memory 23 of the communication interface 20 .
[0087] By default, the second microcontroller 21 of the cut-off unit 3 is generally in standby mode. When the communication interface 20 receives the power transmitted by the first communication interface 12, it generates an activation signal for waking up the second microcontroller 21.
[0088] This activation signal is an interrupt signal applied to a pin of the second microcontroller 21. In a variant, it is also possible to use, for the purpose of waking up the second microcontroller 21, a “memory busy” type signal generated by the communication interface 20.
[0089] The second microcontroller 21 then accesses the internal command frame by reading the second area of the second memory 23. Knowing the symmetric encryption key, the second microcontroller 21 decrypts the internal command frame, extracts the closing command from the internal command frame, and commands the electromechanical valve 4 to close.
[0090] Thereafter, after closing the electromechanical valve 4 , the second microcontroller 21 writes an acknowledgement frame in the third area of the second memory 23 of the communication interface 20 , which acknowledgement frame includes an acknowledgement to the first communication interface 12 of the gas meter 1 (step E4 ).
[0091] The second microcontroller 21 authenticates the confirmation frame by using the above-mentioned encryption algorithm.
[0092] The first communication interface 12 of the gas meter 1 accesses the third area of the second memory 23 of the communication interface 20 in order to try to read the confirmation frame in the third area of the second memory 23 (step E5). The reading is performed by a polling method: the first communication interface 12 accesses the content of the third area of the second memory 23 at regular intervals in order to determine whether the confirmation frame can indeed be found in the third area of the second memory 23.
[0093] If a confirmation frame is indeed present in the first reading attempt, the gas meter 1 itself returns a confirmation message to the data concentrator 6 (step E6). The data concentrator 6 relays the confirmation message to the IS 5 (step E7).
[0094] After the internal command frame has been transmitted to the cut-off unit 3, if no confirmation frame is stored in the third area of the second memory 23 (step E8), the first reading attempt fails (step E9). The first communication interface 12 then makes a second reading attempt (step E10). If this attempt fails, the first communication interface 12 makes a third reading attempt (step E11). Each reading attempt is separated from the previous reading attempt by a predetermined duration, which in this example is equal to 1 minute (min). After a predetermined number of unsuccessful reading attempts, which in this example is equal to 3, the gas meter 1 returns an error message to the data concentrator 6 (step E12). The data concentrator 6 relays the error message to the IS 5 and transmits an alarm to inform the SI 5 that the electromechanical valve 4 of the cut-off unit 3 has not been closed (step E13).
[0095] The first microcontroller 16 of the first communication interface 12 operates an internal command frame counter and its current value is included in each internal command frame. The internal command frame counter is incremented by the first microcontroller 16 each time an internal command frame is transmitted from the gas meter 1 to the shutoff unit 3.
[0096] The internal command frame counter is used to prevent the internal command frames from being "played back", i.e. to prevent the possibility that old internal command frames that have been received and captured by a malicious person are used to generate an opening or closing command for fraudulently controlling the disconnection unit 3. Thus, when the second microcontroller 21 of the disconnection unit 3 captures an internal command frame, it verifies that the current value of the internal command frame counter included in the internal command frame is strictly greater than the value included in the previous internal command frame.
[0097] Likewise, the second microcontroller 21 of the cut-off unit 3 operates an acknowledgement frame counter which is incremented each time the second microcontroller 21 generates an acknowledgement frame, the current value of the counter being included in the acknowledgement frame.
[0098] Once the IS 5 has received the gas leak alarm, an operator comes to observe and correct the problem causing the gas leak. The subscriber can also correct the problem causing the leak without outside help.
[0099] When any of these people thinks that the problem has been corrected and there is no longer any risk, the person operates locally to open the electromechanical valve 4 by manually operating the button 28 of the cut-off unit 3. This manual action is a long press. A long press is a press that lasts longer than a predetermined threshold (e.g., equal to 2s). Long pressing the button 28 wakes up the second microcontroller 21 of the cut-off unit 3.
[0100] refer to Figure 4When the second microcontroller 21 of the cut-off unit 3 has been awakened and detects the long press on the button 28, the second microcontroller 21 writes a first external command frame intended for the first communication interface 12 of the gas meter 1 into the third area of the second memory 23 of the communication interface 20, and the first external command frame indicates that a manual action has been taken on the actuator component of the cut-off unit 3 to request the gas meter 1 to send a command to the cut-off unit 3 to open the electromechanical valve 4 (step E20).
[0101] The first communication interface 12 of the gas meter 1 accesses the third area of the second memory 23 of the communication interface 20 to attempt to read the first external command frame in the third area of the second memory 23 (step E21 ).
[0102] The reading is again performed by the polling method. After the gas meter 1 has detected a leak and has commanded the electromechanical valve 4 to close, the gas meter 1 performs a slow but regular polling. The first communication interface 12 accesses the content of the third area of the second memory 23 at regular intervals in order to determine whether the first external command frame can indeed be found in the third area of the second memory 23 (step E22).
[0103] Each regular interval may be of a fixed duration, for example equal to 5 minutes.
[0104] Regular intervals may also be variable durations, such as increasing over time. Thus, as an example, the duration of a regular interval may be multiplied by 2 every 6 hours (h) until a maximum duration equal to 24h is reached (i.e., multiplication by 2 stops when 24h is reached or exceeded).
[0105] The first communication interface 12 of the gas meter 1 collects the first external command frame when the frame exists.
[0106] The first microcontroller 16 of the gas meter 1 then decides to reopen the electromechanical valve 4 .
[0107] The first microcontroller 16 generates an internal command frame comprising a command for opening the electromechanical valve 4 of the shut-off unit 3 .
[0108] The first microcontroller 16 transmits the internal command frame to the communication interface 20 of the shut-off unit 3 via the first communication interface 12 to reopen the electromechanical valve 4 (step E23). More precisely, the first communication interface 12 writes the internal command frame into the second area of the second memory 23 of the communication interface 20. The second microcontroller 21 accesses the internal command frame and decrypts it, and then commands the electromechanical valve 4 to reopen.
[0109] Thereafter, after the electromechanical valve 4 is reopened, the second microcontroller 21 writes an acknowledgment frame in the third area of the second memory 23 of the communication interface 20, and the acknowledgment frame includes an acknowledgment for the first communication interface 12 of the gas meter 1 (step E24). Again, the first communication interface 12 of the gas meter 1 uses a polling method to access the third area of the second memory 23 of the communication interface 20 to attempt to read the acknowledgment frame in the third area of the second memory 23 (step E25). If there is indeed an acknowledgment frame, the gas meter 1 itself returns an acknowledgment message to the data concentrator 6 (step E26). The data concentrator 6 relays the acknowledgment message to the IS5 (step E27).
[0110] It should be observed that after the internal command frame including the open command has been transmitted and after the electromechanical valve 4 has been reopened, the first microcontroller 16 keeps the electromechanical valve 4 open only if it observes that no gas is consumed for at least a second predetermined duration after the electromechanical valve 4 is reopened, that is, if the gas flow rate remains less than a second predetermined flow rate threshold for at least a second predetermined duration (step E28).
[0111] Thus, the gas meter 1 causes the electromechanical valve 4 to open only if:
[0112] D < D1 for a continuous duration T > T1;
[0113] where D is the gas flow rate, D1 is the second predetermined flow rate threshold, and T1 is the second predetermined duration.
[0114] In this example, D1 = 0.000040 m 3 / s and T1 = 10 s.
[0115] Specifically, since the electromechanical valve 4 was previously closed, the facility does not consume gas when the electromechanical valve 4 is reopened, so the gas meter 1 will not observe any gas flow when the electromechanical valve 4 is reopened, unless there is still a gas leak in the facility.
[0116] Finally, regardless of what happens and regardless of the situation, when the gas flow rate is greater than a third predetermined flow rate threshold for at least a third predetermined duration, the first microcontroller 16 of the gas meter 1 recloses the electromechanical valve 4 (if it was open) or keeps it closed (if it was closed).
[0117] Thus, in all cases, if the first microcontroller 16 observes that D > D2 for a continuous duration T > T2;
[0118] where D is the gas flow rate, D2 is the third predetermined flow rate threshold, and T2 is the third predetermined duration;
[0119] Then, no matter what happens, the gas meter 1 closes the electromechanical valve 4 or keeps it closed.
[0120] In this example, D2 = 0.01 m 3 / s and T2=20s.
[0121] Specifically, the gas flow rate is so great that it is not drawn by one or more of the equipment at the facility in normal operation, such that the flow rate must be the result of a leak and must be quickly interrupted.
[0122] It should be observed that the second microcontroller 21 of the cut-off unit 3 implements a counter of first external command frames which is incremented each time the second microcontroller 21 generates a first external command frame, wherein the current value of the counter is included in the first external command frame.
[0123] Or, and refer to Figure 5 , IS 5 can completely command the reopening of the electromechanical valve 4 via the data concentrator 6 and the gas meter 1 .
[0124] The IS 5 generates a command for opening the electromechanical valve 4 of the shut-off unit 3 and transmits the opening command to the data concentrator 6 by means of an httpPOST request using the TR 69 protocol (step E30 ).
[0125] At regular intervals, the gas meter 1 sends collection frames to the data concentrator 6 (step E31 ).
[0126] The data concentrator 6 waits to receive a collection frame and when it does receive a collection frame, it sends a second external frame including an open command in the listening window of the gas meter 1 (step E32). To this end, the data concentrator 6 uses radio communication using the Wize standard operating at a frequency of 169 MHz.
[0127] The first microcontroller 16 of the gas meter 1 acquires the second external command frame via the second communication interface 14 and it generates an internal command frame comprising a command for opening the electromechanical valve 4 of the shut-off unit 3 .
[0128] The internal command frame is authenticated by means of the authentication device of the gas meter 1 .
[0129] Then, the gas meter 1 transmits the internal command frame to the cutoff unit 3 in the same manner as described above by using the NFC technology (step E33).
[0130] The second microcontroller 21 of the shut-off unit 3 commands the electromechanical valve 4 to open.
[0131] Thereafter, once the electromechanical valve 4 is open, the second microcontroller 21 generates and authenticates a confirmation frame and then writes it into the second memory 23 (step E34 ).
[0132] The first communication interface 12 attempts to read the confirmation frame in the second memory 23 (step E35). This reading is performed using the above-mentioned polling method.
[0133] If a confirmation frame is indeed present in the first reading attempt, the gas meter 1 returns a confirmation message to the data concentrator 6 (step E36 ), which returns it to the IS 5 (step E37 ).
[0134] After the internal command frame has been transmitted to the cut-off unit 3, if no confirmation frame is stored in the third area of the second memory 23 (step E38), the first reading attempt fails (step E39). The first communication interface 12 then makes a second reading attempt (step E40). If this attempt fails, the first communication interface 12 makes a third reading attempt (step E41). Each reading attempt is separated from the previous one by a predetermined duration, which in this example is equal to 1 minute. After a predetermined number of unsuccessful reading attempts (equal to 3 in this example), the gas meter 1 returns an error message to the data concentrator 6 (step E42), which returns it to the IS 5 (E43).
[0135] It should be observed that Figure 5 It also corresponds to the “nominal” operation of the system: when no gas leakage anomaly is detected, the IS 5 generates an opening or closing command for actuating the electromechanical valve 4 of the shut-off unit 3 .
[0136] refer to Figure 6 , which is followed by a more detailed description of the structure of the internal command frame generated by the gas meter 1 for sending to the shut-off unit 3.
[0137] The inner command frame 50 first includes an initial value IV 51 that is not encrypted and complies with the recommendations of Section 8.2.1 of NIST Special Publication 800 38.
[0138] The initial value IV 51 is subdivided into a first field 52 and a second field 53 .
[0139] The first field 52 is a 4-byte field, which contains the identifier of the message publisher, specifically, the identifier of the gas meter 1 .
[0140] The second field 53 is an 8-byte field containing the current value of the internal command frame counter. The second field 53 allows for more than 18x10 18 commands, and each time the symmetric encryption key is changed, it is reinitialized to 0.
[0141] Thereafter, the internal command frame 50 includes a payload 54, which is a function field for identifying the function of the frame: an open command, a close command, or an acknowledgement. The payload 54 is encrypted by the AES encryption algorithm using the GCM operation mode, and it includes 4 bytes.
[0142] Payload 54 has a control byte which takes one of the following values:
[0143] '0': command for opening the electromechanical valve 4. This is an internal command frame from the gas meter 1;
[0144] '1': command to close the electromechanical valve 4. This is an internal command frame from the gas meter 1; or
[0145] '2': For confirmation. This is a confirmation frame from the disconnection unit 3.
[0146] '3': for a long press on the button 28. This is the first external command frame from the cut-off unit 3 and includes an open command.
[0147] Therefore, the control byte in the payload 54 of the internal command frame 50 has a value of '0' for an open command and a value of '1' for a close command.
[0148] Payload 54 also has 3 unused bytes.
[0149] It should be observed that the encryption algorithm used generates a 16-byte random number based on the control byte.
[0150] The internal command frame 50 then has a 16-byte message authentication code 55 (also referred to as a "tag") generated by the AES encryption algorithm using the GCM mode of operation. The message authentication code 55 is used to authenticate the internal command frame 50 to ensure the integrity of the data it contains and to confirm that the internal command frame 50 is indeed from the expected issuer (specifically, the gas meter 1).
[0151] refer to Figure 7 , refinement is a description of a confirmation frame which is sent by the shut-off unit 3 and is intended to be sent to the gas meter 1 .
[0152] The confirmation frame 60 firstly comprises an initial value IV 61 which is subdivided into a first field 62 and a second field 63 .
[0153] The first field 62 is a 4-byte field which contains the identifier of the message issuer, specifically the identifier of the cut-off unit 3 .
[0154] The second field 63 is an 8-byte field containing the current value of the acknowledge frame counter. The second field 63 allows for more than 18x10 18confirmation, and it is reinitialized to 0 each time the symmetric encryption key is changed.
[0155] Thereafter, the confirmation frame 60 includes a payload 64 encrypted by the AES encryption algorithm using the GCM mode of operation and occupying 4 bytes.
[0156] The command byte of the payload 64 of the confirmation frame 60 has a value of '2'.
[0157] Payload 64 also has 3 unused bytes.
[0158] It should be observed that the encryption algorithm used generates a 16-byte random number based on the control byte.
[0159] The confirmation frame 60 then has a 16-byte message authentication code 65 (also referred to as a "tag") generated by the AES encryption algorithm using the GCM mode of operation. The message authentication code 65 is used to authenticate the confirmation frame 60 to ensure the integrity of the data it contains and to confirm that the confirmation frame 60 is indeed from the expected publisher (specifically, the disconnection unit 3).
[0160] It should be observed that the structure of the first external command frame generated by a long press of the switch-off unit 3 on the button 28 is very similar to the structure described above. The payload command byte of the first external command frame has the value '3'.
[0161] Finally, it should be observed that the gas meter 1 has the advantage of being able to detect leaks by itself and cut off the supply. There is no need to add additional equipment to the system, such as buffer chambers in the network that are filled and emptied like dynamic storage batteries.
[0162] Naturally, the invention is not limited to the embodiments described but covers any variant coming within the ambit of the invention as defined by the claims.
[0163] The control and hardware architecture of the IS, data concentrator, gas meter and disconnect unit may be different from those described above. For example, as described above, a certain number of tasks performed by the first microcontroller of the gas meter may be performed by some other processor component of the gas meter, which does not necessarily need to form part of the first communication interface.
[0164] The communication technologies and protocols used to interconnect the IS, data concentrator, gas meter and shut-off unit may be different from those described above.
[0165] The first communication interface of the meter and the communication interface of the disconnection unit do not necessarily need to be NFC interfaces. Some technology or other type of protocol may be used, and for example so-called "proprietary" technologies and protocols. Any radio link that makes it possible to transfer data (commands, confirmations, etc.) and sufficient electrical energy to power the communication interface falls within the scope of the invention.
[0166] The second communication interface of the meter enables communication with an external device outside the disconnecting unit, which does not necessarily need to be a data concentrator but can be a gateway, or indeed directly the IS.
[0167] The invention can naturally be implemented in a meter for measuring the consumption of any type of fluid: gas, liquid, oil, etc.
[0168] Other encryption algorithms may be used, and for example the Twofish, Serpent and / or Blowfish algorithms. More generally, the authentication means may be different from the ones described above. It is possible to use any authentication means capable of proving the authenticity of a frame.
Claims
1. A fluid meter (1), comprising: a first communication interface (12) arranged to communicate via a radio link with a communication interface (20) of a shut-off unit (3) comprising an electromechanical valve (4) and also to transmit electrical energy via the radio link, the electrical energy being adapted to power the communication interface of the shut-off unit; A first processor module (16) arranged to: estimating a flow rate of a fluid supplied to a facility connected to the fluid meter and, if the fluid flow rate remains greater than a first predetermined flow rate threshold for at least a first predetermined duration, detecting the presence of a fluid leak in the facility and transmitting an internal command frame (50) to a communication interface of the shut-off unit via the first communication interface, the internal command frame comprising a closing command for closing the electromechanical valve; After the electromechanical valve is closed, a first external command frame is collected via the first communication interface, the first external command frame including an opening command generated by the cut-off unit (3) after a manual action on an actuator component (28) of the cut-off unit, an internal command frame including the opening command is generated, and the internal command frame is transmitted to the communication interface of the cut-off unit via the first communication interface to reopen the electromechanical valve.
2. The fluid meter according to claim 1, characterized in that: After transmitting the internal command frame and after the electromechanical valve (4) is reopened, the first processor module (16) is arranged to keep the electromechanical valve open only if the fluid flow rate remains less than a second predetermined flow rate threshold for at least a second predetermined duration after the electromechanical valve is reopened.
3. A fluid meter as claimed in any preceding claim, characterised in that The first processor module (16) is arranged to reclose the electromechanical valve (4) or maintain it closed if the fluid flow rate is greater than a third predetermined flow rate threshold value during at least a third predetermined duration.
4. The fluid meter according to claim 1, characterized in that: It also includes a second communication interface (14) arranged to communicate with an external device outside the cut-off unit (3), and the first processor module is arranged to collect a second external command frame via the second communication interface after the electromechanical valve is closed, the second external command frame including an opening command generated by the external device, generate an internal command frame including the opening command, and transmit the internal command frame to the communication interface of the cut-off unit via the first communication interface to reopen the electromechanical valve.
5. The fluid meter according to claim 1, characterized in that: The first communication interface (12) is arranged to write the internal command frame (50) into the memory (23) of the disconnection unit and subsequently read the confirmation frame (60) in the memory of the disconnection unit.
6. The fluid meter according to claim 5, characterized in that: The internal command frame (50) includes a current value of an internal command frame counter (53), which is incremented each time the internal command frame is transmitted by the fluid meter to the shut-off unit.
7. The fluid meter according to claim 1, characterized in that: Also included is authentication means arranged to authenticate said internal command frame.
8. The fluid meter according to claim 7, characterized in that: The authentication device is arranged to encrypt at least a part of the internal command frame (50) by using an encryption algorithm with a symmetric encryption key, the symmetric encryption key being stored in a memory (17) of the fluid meter and in a memory (23) of the shut-off unit (3).
9. A facility safety assurance method, the method being implemented in a fluid meter (1) as claimed in any preceding claim and comprising the following steps: estimating a flow rate of a fluid supplied to an installation connected to the fluid meter (1), and transmitting an internal command frame to a communication interface (20) of the shut-off unit (3) via the first communication interface (12), the internal command frame comprising a closing command for closing the electromechanical valve (4), if the fluid flow rate remains greater than a first predetermined flow rate threshold for at least a first predetermined duration; After the electromechanical valve is closed, a first external command frame is acquired via the first communication interface, the first external command frame including an opening command generated by the cut-off unit after a manual action on an actuator component of the cut-off unit, an internal command frame including the opening command is generated, and the internal command frame is transmitted to the communication interface of the cut-off unit via the first communication interface to reopen the electromechanical valve.
10. A computer-readable storage medium having stored thereon a computer program including instructions for causing the fluid meter according to any one of claims 1 to 8 to execute the steps of the safety ensuring method according to claim 9.
11. A shut-off unit (3) adapted to be installed near a fluid meter (1), and comprising: Electromechanical valve (4); Memory (23); a communication interface (20) arranged to receive an internal command frame (50) via a radio link and store it in the memory (23), the internal command frame comprising an opening or closing command for opening or closing the electromechanical valve (4), the communication interface also being arranged to receive electrical energy transmitted via the radio link and being powered thereby; an actuator member adapted to be manually actuated by a person located in the vicinity of the cutting unit; A second processor module (21) is arranged to collect internal command frames in the memory (23), decrypt the internal command frames and extract therefrom an opening or closing command for opening or closing the electromechanical valve, and write a confirmation frame (60) into the memory, the second processor module (21) being further arranged to detect that the actuator component has been actuated and, after this actuation, write a first external command frame indicating manual actuation of the actuator component and requesting the fluid meter (1) to send a command for opening the electromechanical valve (4) to the cut-off unit (3) into the memory (23).
12. The cutting unit according to claim 11, characterized in that The actuator member is a button (28).
13. The cutting unit according to claim 11 or claim 12, characterized in that: The second processor module (21) will be in a standby mode by default, and the communication interface (20) is arranged to generate an activation signal for activating the second processor module when the communication interface receives power.
14. The cutting unit according to any one of claims 11 to 12, characterized in that A symmetric encryption key of an encryption algorithm is stored in a memory of the cut-off unit, the second processor being arranged to decrypt the internal command frame by using the symmetric encryption key.
15. A measuring system comprising a fluid meter (1) according to any one of claims 1 to 8 and a shut-off unit (3) according to any one of claims 11 to 14.
16. A computer program product comprising instructions for causing the fluid meter according to any one of claims 1 to 8 to execute the steps of the safety assurance method according to claim 9.
Citation Information
Patent Citations
Electromechanical lock
CN104011776A
Gas gateway, gas safety detection system and gas stove
CN109191795A
Safety-cutout-type Internet of Things intelligent gas meter
CN203848892U
