Intelligent water meter control system and intelligent water meter
The intelligent water meter control system built by dual-core OpenCpu uses the dual-core design of AP core and CP core to solve the problem of low anti-interference ability and reliability of smart water meter, achieving the effect of reducing costs and power consumption.
Patent Information
- Application Number
- CN202411058584.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-02
AI Technical Summary
The existing smart water meter has low anti-interference ability and reliability, high core system cost and large size, and high development difficulty. The smart water meter program built by single-core OpenCpu is complex in structure, low operating stability, and high overall operating power consumption.
The intelligent water meter control system built with dual-core OpenCpu includes application processor AP core and control processor CP core. It communicates with the NB-IoT module through the AP core, simplifies the program structure, reduces development difficulty, and connects to peripherals through infrared communication modules. , improve system stability and anti-interference ability.
It has achieved the reduction of cost, size, simplified program structure, improved system operation stability and overall operating power consumption, and improved the anti-interference ability and reliability of the system.
Smart Images

Figure CN118936587A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart water meters, and in particular to a smart water meter control system and a smart water meter. Background Art
[0002] The current smart water meters are all based on the core architecture of MCU combined with NB-IoT module, metering module and external electrically erasable programmable read-only memory. The MCU is mainly responsible for the system control of the entire water meter, including metering sampling, communication, switch valve, data storage, etc., and plays a role in the control of the coordination and specific working status of the modules of the entire smart water meter. When metering sampling is required, the MCU is responsible for sampling and data processing; when data information needs to be reported, the MCU will first wake up the NB-IoT module, and then transmit the data to be reported to the NB-IoT module, and control the NB-IoT module to report in an orderly manner according to the relevant application protocol.
[0003] Furthermore, due to the structure of the above-mentioned smart water meter, the MCU and the NB-IoT module need to communicate through the UART serial port or SPI interface, which has the disadvantages of numerous hardware interfaces and low integration. On this basis, the existing smart water meter has another structure, that is, a single-core OpenCpu module with an operating system, which runs communication, metering, storage, etc. through task scheduling, with a complex program structure and high operating power consumption.
[0004] In general, the existing smart water meters have relatively low anti-interference ability and reliability, high core system cost, large size, and high development difficulty. Furthermore, the smart water meters built with a single-core OpenCpu have complex program structures, low system operation stability, and high overall operation power consumption. Summary of the invention
[0005] The purpose of the present invention is to provide a smart water meter control system and a smart water meter to alleviate the current situation of relatively low anti-interference ability and reliability of the existing smart water meters, high core system cost, large size, high development difficulty, etc. Further, it also alleviates the technical problems of complex program structure, low system operation stability, and high overall operation power consumption of smart water meters built with a single core OpenCpu, thereby achieving the technical effects of reducing costs, reducing size, reducing development difficulty, simplifying program structure, improving system operation stability, and reducing overall operation power consumption.
[0006] In the first aspect, an embodiment of the present invention provides a smart water meter control system, comprising: a metering module and a control module connected in sequence; the control module comprises: an application processor AP core and a control processor CP core that are communicatively connected; the metering module is connected to an external water metering device; the CP core is communicatively connected to an external NB-IoT module; the metering module is used to convert the metering data collected by the water metering device into a digital signal; the AP core is used to determine the current metered water volume of the water metering device according to the digital signal; the AP core is also used to control the CP core to send the current metered water volume to the NB-IoT module if a metering read instruction is received.
[0007] In a preferred embodiment of the present invention, the above-mentioned smart water meter control system further includes: an infrared communication module connected to the above-mentioned AP core; the above-mentioned AP core is also used to communicate with a designated terminal device of the peripheral device through the above-mentioned infrared communication module.
[0008] In a preferred embodiment of the present invention, the above-mentioned smart water meter control system also includes: a storage module connected to both the above-mentioned AP core and the above-mentioned CP core; the above-mentioned storage module is used to store the above-mentioned metered water volume; the above-mentioned AP core is also used to retrieve the above-mentioned metered water volume from the above-mentioned storage module if a metering reading instruction is received, and control the above-mentioned CP core to send the above-mentioned metered water volume to the above-mentioned NB-IoT module.
[0009] In a preferred embodiment of the present invention, the above-mentioned smart water meter control system also includes: a power supply module respectively connected to the above-mentioned metering module, the above-mentioned control module, the above-mentioned infrared communication module and the above-mentioned storage module; the above-mentioned power supply module is used to supply power to the above-mentioned metering module, the above-mentioned control module, the above-mentioned infrared communication module and the above-mentioned storage module.
[0010] In a preferred embodiment of the present invention, the above-mentioned smart water meter control system also includes: an electrical signal acquisition module connected to the above-mentioned power supply module and the above-mentioned control module; the above-mentioned electrical signal acquisition module is used to collect the power supply voltage of the above-mentioned power supply module; the above-mentioned AP core is also used to judge whether the working status of the above-mentioned power supply module is normal according to the above-mentioned power supply voltage; if not, generate power supply module fault information, and control the above-mentioned CP core to send the above-mentioned power supply module fault information to the above-mentioned NB-IoT module.
[0011] In a preferred embodiment of the present invention, the AP core is also used to determine whether there is interference in the working state of the metering module based on the current metered water volume; if not, generate metering module fault information and control the CP core to send the metering module fault information to the NB-IoT module.
[0012] In a preferred embodiment of the present invention, the storage module is also used to store the power supply module fault information and the metering module fault information.
[0013] In a preferred embodiment of the present invention, the AP core is also used to determine whether the water metering device has an overflow or backflow situation based on the relationship between the current metered water volume and the water volume threshold; when the overflow situation exists, an overflow alarm signal is generated, and the CP core is controlled to send the overflow alarm signal to the NB-IoT module; when the backflow situation exists, a backflow alarm signal is generated, and the CP core is controlled to send the backflow alarm signal to the NB-IoT module.
[0014] In a preferred embodiment of the present invention, the above-mentioned NB-IoT module is also connected to an external water volume monitoring platform; the above-mentioned water volume monitoring platform is used to manage the above-mentioned current measured water volume.
[0015] In a second aspect, an embodiment of the present invention further provides a smart water meter, including: the above-mentioned smart water meter control system.
[0016] The embodiments of the present invention have the following beneficial technical effects:
[0017] The embodiment of the present invention provides a smart water meter control system and a smart water meter, comprising: a metering module and a control module connected in sequence; the control module comprises: an application processor AP core and a control processor CP core connected in communication; the metering module is connected to an external water metering device; the CP core is connected to an external NB-IoT module in communication; the metering module is used to convert the metering data collected by the water metering device into a digital signal; the AP core is used to determine the current metering water volume of the water metering device according to the digital signal; the AP core is also used to control the CP core to send the current metering water volume to the NB-IoT module if a metering reading instruction is received. The smart water meter control system is built based on dual-core OpenCpu, which alleviates the current situation of relatively low anti-interference ability and reliability of the existing smart water meter, high core system cost, large size, high development difficulty, etc. Further, it also alleviates the technical problems of complex program structure, low system operation stability, and high overall operation power consumption of the smart water meter built with single-core OpenCpu, thereby achieving the technical effects of reducing cost, reducing volume, reducing development difficulty, simplifying program structure, improving system operation stability, and reducing overall operation power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A schematic diagram of the structure of an intelligent water meter control system provided by an embodiment of the present invention;
[0020] Figure 2 A schematic diagram of the structure of another intelligent water meter control system provided by an embodiment of the present invention;
[0021] Figure 3 A schematic diagram of the structure of a smart water meter provided by an embodiment of the present invention;
[0022] Figure 4 A schematic flow chart of a method for starting a smart water meter control system provided by an embodiment of the present invention.
[0023] Icons: 11-metering module; 121-AP core; 122-CP core; 13-water metering device; 14-NB-IoT module; 15-infrared communication module; 16-storage module; 17-power supply module; 31-smart water meter; 32-smart water meter control system. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0025] At present, the existing smart water meters have relatively low anti-interference ability and reliability, high core system cost, large size, and high development difficulty. Furthermore, the smart water meters built with a single-core OpenCpu have complex program structures, low system operation stability, and high overall operation power consumption.
[0026] Based on this, an embodiment of the present invention provides a smart water meter control system and a smart water meter. This technology can improve the system operation stability and reduce the overall operating power consumption. In order to facilitate the understanding of the present invention, the above-mentioned smart water meter control system is first introduced in detail.
[0027] Example 1
[0028] In this embodiment, Figure 1 A schematic diagram of the structure of an intelligent water meter control system provided in an embodiment of the present invention.
[0029] Depend on Figure 1 As can be seen, the smart water meter control system includes: a metering module 11 and a control module connected in sequence; the control module includes: an application processor AP core 121 and a control processor CP core 122 that are communicatively connected; the metering module 11 is connected to an external water metering device 13; the CP core 122 is communicatively connected to an external NB-IoT module 14.
[0030] Furthermore, the metering module 11 is used to convert the metering data collected by the water metering device 13 into a digital signal; the AP core 121 is used to determine the current metered water volume of the water metering device according to the digital signal; the AP core 121 is also used to control the CP core 122 to send the current metered water volume to the NB-IoT module 14 if a metering reading instruction is received.
[0031] In this embodiment, the water metering device 13 is a mechanical water meter.
[0032] Furthermore, Figure 2 A schematic diagram of the structure of another intelligent water meter control system provided by an embodiment of the present invention.
[0033] Depend on Figure 2 As can be seen, the above-mentioned smart water meter control system further includes: an infrared communication module 15 connected to the above-mentioned AP core 121; the above-mentioned AP core is also used to communicate with a designated terminal device of the peripheral device through the above-mentioned infrared communication module 15.
[0034] In actual operation, the above-mentioned smart water meter control system also includes: a storage module 16 connected to both the above-mentioned AP core 121 and the above-mentioned CP core 122; the above-mentioned storage module 16 is used to store the above-mentioned metered water volume; the above-mentioned AP core 121 is also used to retrieve the above-mentioned metered water volume from the above-mentioned storage module if a metering reading instruction is received, and control the above-mentioned CP core 122 to send the above-mentioned metered water volume to the above-mentioned NB-IoT module 14.
[0035] Furthermore, the above-mentioned smart water meter control system also includes: a power supply module 17 respectively connected to the above-mentioned metering module 11, the above-mentioned control module, the above-mentioned infrared communication module 15 and the above-mentioned storage module 16; the above-mentioned power supply module 17 is used to supply power to the above-mentioned metering module 11, the above-mentioned control module, the above-mentioned infrared communication module 15 and the above-mentioned storage module 16.
[0036] In one embodiment, the smart water meter control system further includes: an electrical signal acquisition module connected to the power supply module 17 and the control module; the electrical signal acquisition module is used to collect the power supply voltage of the power supply module; the AP core 121 is also used to determine whether the working state of the power supply module 17 is normal based on the power supply voltage; if not, generate power supply module fault information, and control the CP core to send the power supply module 17 fault information to the NB-IoT module 14.
[0037] Furthermore, the AP core 121 is also used to determine whether there is interference in the working state of the metering module 11 based on the current metered water volume; if not, generate metering module fault information and control the CP core to send the metering module fault information to the NB-IoT module 14.
[0038] Furthermore, the storage module 16 is also used to store the power supply module fault information and the metering module fault information.
[0039] Furthermore, the AP core 121 is also used to determine whether the water metering device has an overflow or backflow situation based on the relationship between the current metered water volume and the water volume threshold; when the overflow situation exists, an overflow alarm signal is generated, and the CP core is controlled to send the overflow alarm signal to the NB-IoT module 14; when the backflow situation exists, a backflow alarm signal is generated, and the CP core is controlled to send the backflow alarm signal to the NB-IoT module 14.
[0040] Furthermore, the NB-IoT module 14 is also connected to an external water volume monitoring platform; the water volume monitoring platform is used to manage the current metered water volume.
[0041] The embodiments of the present invention have the following beneficial technical effects:
[0042] First, when the AP core 121 and the CP core 122 are in non-communication mode, the power consumption of a single core is 320uA, thereby reducing the intermediate resource occupation of the traditional external MCU and the communication module and achieving high interaction efficiency.
[0043] Secondly, the AP core 121 and the above-mentioned CP core 122 have their own differential algorithms. Only the wireless communication module needs to be upgraded, and the NB-IoT module 14 and the application can be upgraded at the same time, solving the problem of remote upgrade of traditional external MCU programs.
[0044] Third, the MCU application is directly embedded into the AP core 121 of the Quectel module and can run without an external MCU.
[0045] Fourthly, the dual-core system can provide higher fault tolerance. When any one of the AP core 121 and the CP core 122 fails, the other core can continue to work.
[0046] Fifth, the module solution based on the independent dual-core OpenCPU concept does not rely on the traditional MCU supply chain, is fully domestically produced, has guaranteed production capacity, and brings new innovations and opportunities to public utilities in the context of increasingly fierce market competition.
[0047] The embodiment of the present invention provides a smart water meter control system, comprising: a metering module and a control module connected in sequence; the control module comprises: an application processor AP core and a control processor CP core connected in communication; the metering module is connected to an external water metering device; the CP core is connected to an external NB-IoT module in communication; the metering module is used to convert the metering data collected by the water metering device into a digital signal; the AP core is used to determine the current metering water volume of the water metering device according to the digital signal; the AP core is also used to control the CP core to send the current metering water volume to the NB-IoT module if a metering reading instruction is received. The smart water meter control system is built based on dual-core OpenCpu, which alleviates the current situation of relatively low anti-interference ability and reliability of the existing smart water meter, high core system cost, large size, high development difficulty, etc. Further, it also alleviates the technical problems of complex program structure, low system operation stability, and high overall operation power consumption of smart water meters built with single-core OpenCpu, thereby achieving the technical effects of reducing cost, reducing volume, reducing development difficulty, simplifying program structure, improving system operation stability, and reducing overall operation power consumption.
[0048] Example 2
[0049] Based on the above embodiments, Figure 3 A schematic diagram of the structure of a smart water meter provided by an embodiment of the present invention.
[0050] Depend on Figure 3 As can be seen, the smart water meter 31 includes: the smart water meter control system 32 in the above-mentioned embodiment 1.
[0051] The smart water meter provided in the embodiment of the present invention has the same technical features as the smart water meter control system provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the smart water meter described above can refer to the corresponding process in the above-mentioned smart water meter control system embodiment, and will not be repeated here.
[0052] Example 3
[0053] In this implementation, Figure 4 A schematic flow chart of a method for starting a smart water meter control system provided by an embodiment of the present invention.
[0054] Depend on Figure 4 As can be seen, the method includes:
[0055] Step S101: start the AP core and the CP core.
[0056] Step S102: initializing the storage module and waking up the storage module based on a preset period.
[0057] Step S103: Determine whether the AP core has a message time to be processed.
[0058] Step S104: If yes, determine whether the CP core needs to be started.
[0059] Step S105: If yes, wait for the CP core to perform the URC operation, and determine whether the above URC operation is completed.
[0060] Step S106: If yes, the arbitration process between the AP core and the CP core is performed.
[0061] In this embodiment, when the AP core has no message time to be processed or the CP core does not need to be started or the CP core times out during URC operation or the arbitration processing mechanism between the AP core and the CP core is completed, the CP core is stopped and enters a deep sleep state.
[0062] The startup method of the smart water meter control system provided in the embodiment of the present invention has the same technical features as the smart water meter control system provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the startup method of the smart water meter control system described above can refer to the corresponding process in the above-mentioned smart water meter control system embodiment, and will not be repeated here.
[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent water meter control system, characterized in that: include: A metering module and a control module connected in sequence; The control module includes: an application processor AP core and a control processor CP core that are communicatively connected; The metering module is connected to an external water metering device; the CP core is connected to an external NB-IoT module for communication; The metering module is used to convert the metering data collected by the water metering device into a digital signal; The AP core is used to determine the current measured water volume of the water metering device according to the digital signal; the AP core is also used to control the CP core to send the current measured water volume to the NB-IoT module if a metering read instruction is received.
2. The intelligent water meter control system according to claim 1, characterized in that: The smart water meter control system further comprises: an infrared communication module connected to the AP core; The AP core is also used to communicate with a designated terminal device of the peripheral device through the infrared communication module.
3. The intelligent water meter control system according to claim 2, characterized in that: The smart water meter control system further includes: a storage module connected to both the AP core and the CP core; The storage module is used to store the measured water volume; The AP core is also used to retrieve the metered water volume from the storage module if a metering read instruction is received, and control the CP core to send the metered water volume to the NB-IoT module.
4. The intelligent water meter control system according to claim 3, characterized in that: The smart water meter control system further includes: a power supply module connected to the metering module, the control module, the infrared communication module and the storage module respectively; The power supply module is used to supply power to the metering module, the control module, the infrared communication module and the storage module.
5. The intelligent water meter control system according to claim 4, characterized in that: The smart water meter control system further includes: an electrical signal acquisition module connected to the power supply module and the control module; The electrical signal acquisition module is used to collect the power supply voltage of the power supply module; The AP core is also used to determine whether the working status of the power supply module is normal based on the power supply voltage; if not, generate power supply module fault information and control the CP core to send the power supply module fault information to the NB-IoT module.
6. The intelligent water meter control system according to claim 5, characterized in that: The AP core is also used to determine whether there is interference in the working state of the metering module based on the current metered water volume; if not, generate metering module fault information and control the CP core to send the metering module fault information to the NB-IoT module.
7. The intelligent water meter control system according to claim 6, characterized in that: The storage module is also used to store the power supply module fault information and the metering module fault information.
8. The intelligent water meter control system according to claim 1, characterized in that: The AP core is also used to determine whether the water metering device has an overflow or backflow situation based on the size relationship between the current measured water volume and the water volume threshold; when the overflow situation exists, an overflow alarm signal is generated, and the CP core is controlled to send the overflow alarm signal to the NB-IoT module; when the backflow situation exists, a backflow alarm signal is generated, and the CP core is controlled to send the backflow alarm signal to the NB-IoT module.
9. The intelligent water meter control system according to claim 1, characterized in that: The NB-IoT module is also connected to an external water volume monitoring platform; The water volume monitoring platform is used to manage the current metered water volume.
10. A smart water meter, characterized in that: include: The smart water meter control system according to any one of claims 1 to 9.
Citation Information
Patent Citations
Smart water meter based on narrowband NB-IOT communication module with built-in smart water meter function
CN109724662A
Method for transmitting / receiving signal in wireless communication system, and device therefor
CN112055986A
NB-IoT intelligent gas meter based on OpenCPU technology
CN113063471A
Double-core intelligent water meter
CN114764959A
Intelligent gas meter with replaceable NB-IoT communication module
CN218895812U
