TWI815473B - System for self-adaptive reading of smart water meter, method and computer readable medium thererof - Google Patents

System for self-adaptive reading of smart water meter, method and computer readable medium thererof Download PDF

Info

Publication number
TWI815473B
TWI815473B TW111119307A TW111119307A TWI815473B TW I815473 B TWI815473 B TW I815473B TW 111119307 A TW111119307 A TW 111119307A TW 111119307 A TW111119307 A TW 111119307A TW I815473 B TWI815473 B TW I815473B
Authority
TW
Taiwan
Prior art keywords
water meter
water
machine
communication sub
meters
Prior art date
Application number
TW111119307A
Other languages
Chinese (zh)
Other versions
TW202346804A (en
Inventor
黃展胤
李俊逸
陳宣宏
王凱民
Original Assignee
中華電信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW111119307A priority Critical patent/TWI815473B/en
Application granted granted Critical
Publication of TWI815473B publication Critical patent/TWI815473B/en
Publication of TW202346804A publication Critical patent/TW202346804A/en

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The present invention is a system for self-adaptive reading of smart water meter and a method thereof. A single water meter communication sub-machine can interface with different numbers of water meters and can automatically adapt to different numbers of water meters and automatically switch meter reading intervals. When an abnormal event occurs in the connected water meter, the water meter communication sub-machine can actively notify a water meter management platform, and receive a downlink commands from the water meter management platform to adjust and update the system parameters of the water meter communication sub-machine itself and operating status of the water meters. Therefore, through the remote update operation method of the present invention, the water meter communication sub-machine can be used repeatedly and has an active alarm function, so that the purpose of reducing the waste of water resources and saving labor costs can be achieved. The present invention also provides a computer-readable medium for executing the method of the present invention.

Description

自適應案場之水表管理系統、方法及其電腦可讀媒介 Adaptive case water meter management system, method and computer-readable medium

本發明係有關於水表通訊子機之管控技術,尤指一種自適應案場之水表管理系統、方法及其電腦可讀媒介。 The present invention relates to the management and control technology of water meter communication sub-machine, and in particular, to an adaptive case-site water meter management system, method and computer-readable medium.

各國目前對於水資源管理日益重視,水資源如何有效應用與計量控制為重要課題,相較於智慧電表通訊子機發展而言,智慧水表通訊子機在考量電量消耗的基礎上,大部分僅有轉拋水表數值的基本功能,且針對獨棟住戶之獨立式總表及大樓集中式水表不同場域,往往需要各自開發不同的通訊子機與傳輸架構,因此提高了整體佈建成本及生產的困難度。況且,當水表通訊子機需要進行移轉或是更新系統參數時,皆需要派遣人員現場手動查詢與拆卸子機進行更新,此一動作容易造成水表通訊子機防水問題及提高人力成本。 Countries are currently paying more and more attention to water resources management. How to effectively use and measure water resources is an important issue. Compared with the development of smart meter communication sub-machine, most of the smart water meter communication sub-machine only has power consumption based on consideration. The basic function of transmitting water meter values, and for different areas of independent master meters for single-family households and centralized water meters in buildings, it is often necessary to develop different communication sub-machine and transmission architecture, thus increasing the overall construction cost and production efficiency. Difficulty. Moreover, when the water meter communication sub-machine needs to be transferred or the system parameters need to be updated, personnel need to be dispatched to manually check and disassemble the sub-machine on site for updates. This action can easily cause waterproof problems of the water meter communication sub-machine and increase labor costs.

由此可見,上述習用技術仍有缺失,實非一良善之設計者,而亟待加以改良,如何提供一種水表通訊子機之管控機制,特別是,除了 傳送水表數值外,還能自動化管理、監控設備和水表之狀態,同時降低派遣人力的需求,此將成為目前本技術領域人員急欲追求之目標。 It can be seen that the above-mentioned conventional technology still has shortcomings. It is not a good designer and needs to be improved urgently. How to provide a control mechanism for water meter communication sub-machine, especially, in addition to In addition to transmitting water meter values, it can also automatically manage and monitor the status of equipment and water meters, while reducing the need for dispatching manpower. This will become a goal that people in this technical field are currently eager to pursue.

為解決上述現有技術之問題,本發明係揭露一種自適應案場之水表管理系統,係包括:水表通訊子機,係與至少一水表連結,用以透過RS485通訊協定及循環問答方式判斷介接水表之數量及決定讀表模式,以於取得該至少一水表之水表資料後進行分析,俾於該水表通訊子機或該至少一水表發生異常事件時,產生告警訊息;以及水表管理平台,係與該水表通訊子機連接,用於紀錄該水表通訊子機所取得之水表資料,其中,於收到來自該水表通訊子機之告警訊息時,產生告警通知以通知使用者,以及於需執行更新運作時,產生下行控制指令以控制或更新該水表通訊子機或該至少一水表。 In order to solve the above-mentioned problems of the prior art, the present invention discloses an adaptive case water meter management system, which includes: a water meter communication sub-machine, which is connected to at least one water meter and is used to determine the connection through the RS485 communication protocol and the loop question and answer method. The number of water meters and the determination of the meter reading mode are used to analyze the water meter data of the at least one water meter so as to generate an alarm message when an abnormal event occurs in the water meter communication slave or the at least one water meter; and the water meter management platform is Connected to the water meter communication sub-machine to record the water meter data obtained by the water meter communication sub-machine. When receiving an alarm message from the water meter communication sub-machine, an alarm notification is generated to notify the user, and when execution is required During the update operation, a downstream control command is generated to control or update the water meter communication slave or the at least one water meter.

於一實施例中,該水表通訊子機係包括:自動化讀表模組,係用於依據RS485識別碼進行循環問答,藉以判定該介接水表之數量,以及依據該介接水表之數量決定該讀表模式;水表管理模組,係用於紀錄各該RS485識別碼與其對應水表之水表表號的關聯性;無線通訊模組,係用於傳送該水表資料;通訊設備管理模組,係用於儲存註冊於該水表管理平台中之用於表示該水表通訊子機之設備編號、設備金鑰及該下行控制指令;以及告警模組,係用於產生該告警訊息。 In one embodiment, the water meter communication sub-machine includes: an automatic meter reading module, which is used to perform a cyclic question and answer based on the RS485 identification code to determine the number of connected water meters, and determine the number of connected water meters based on the number of connected water meters. Meter reading mode; the water meter management module is used to record the correlation between each RS485 identification code and the water meter number of the corresponding water meter; the wireless communication module is used to transmit the water meter data; the communication equipment management module is used Store the device number, device key and the downstream control command registered in the water meter management platform to represent the water meter communication slave; and the alarm module is used to generate the alarm message.

於另一實施例中,該自動化讀表模組於初始化階段時,係以一預設個數進行讀表,且透過持續收集該RS485識別碼之回應,以據之判斷該介接水表之數量。 In another embodiment, during the initialization phase, the automatic meter reading module reads meters with a preset number, and continuously collects responses from the RS485 identification code to determine the number of connected water meters. .

於另一實施例中,該自動化讀表模組係於判斷該介接水表之數量為一時,將該水表通訊子機設為獨立式讀表模式,以及於判斷該介接水表之數量為複數時,將該水表通訊子機設為集中式讀表模式。 In another embodiment, when the automatic meter reading module determines that the number of connected water meters is one, it sets the water meter communication slave machine to an independent meter reading mode, and when it determines that the number of connected water meters is plural. , set the water meter communication sub-machine to centralized meter reading mode.

於另一實施例中,該告警模組係於該水表通訊子機之異常事件連續發生頻率大於第一臨界值或是該水表通訊子機所介接之水表之異常事件連續發生頻率大於第二臨界值時,產生該告警訊息。 In another embodiment, the alarm module is configured when the continuous occurrence frequency of abnormal events of the water meter communication sub-machine is greater than the first threshold or when the continuous occurrence frequency of abnormal events of the water meter connected to the water meter communication sub-machine is greater than the second threshold. When the critical value is exceeded, this alarm message is generated.

於一實施例中,該水表管理平台係包括:平台水表管理模組,係用於提供該水表通訊子機之註冊,以建立與處理該水表通訊子機及介接於該水表通訊子機之所有水表的該水表資料;水表資料收集模組,係用於接收來自該水表通訊子機之所有水表之水表數值資料,以依據所有水表之水表表號進行分類;警示模組,係用於收到該告警訊息時產生對應之告警通知;以及命令(CMD)控制模組,係用於產生該下行控制指令,以控制或更新該水表通訊子機或該至少一水表內部各項參數。 In one embodiment, the water meter management platform includes: a platform water meter management module, which is used to provide registration of the water meter communication slave, to create and process the water meter communication slave and to interface with the water meter communication slave. The water meter data of all water meters; the water meter data collection module is used to receive the water meter numerical data of all water meters from the water meter communication sub-machine to classify according to the water meter numbers of all water meters; the warning module is used to collect When the alarm message is received, a corresponding alarm notification is generated; and the command (CMD) control module is used to generate the downstream control command to control or update various internal parameters of the water meter communication slave or the at least one water meter.

於又一實施例中,該水表通訊子機取得該至少一水表之水表資料後進行分析,以於任一水表連續失敗次數大於第三臨界值或是成功紀錄後連續失敗次數小於第四臨界值時,將該水表通訊子機之設備編號、RS485識別碼及該RS485識別碼所對應之水表表號傳送至該水表管理平台。 In another embodiment, the water meter communication sub-machine obtains the water meter data of the at least one water meter and performs analysis to determine whether the number of consecutive failures of any water meter is greater than the third critical value or the number of consecutive failures after successful recording is less than the fourth critical value. At this time, the device number, RS485 identification code and water meter number corresponding to the RS485 identification code of the water meter communication slave are sent to the water meter management platform.

於又一實施例中,該下行控制指令中除了包含下行控制指令代號之表頭資訊(Header)外,在用於該水表通訊子機時,復包括用以帶入該水表通訊子機之讀表設定參數、運行設定參數、歷史資料參數之其中一者的負載資訊,以及在用於該水表通訊子機所介接之水表時,復包括用以帶入介接之全部水表設定參數、帶入特定之水表表號與運作流程參數、帶入特定RS485識別碼與運作流程參數之其中一者的負載資訊。 In another embodiment, in addition to the header information (Header) containing the downlink control command code, when used in the water meter communication sub-machine, the downstream control command also includes the reading information used to bring the water meter communication sub-machine into the water meter communication sub-machine. The load information of one of the meter setting parameters, operation setting parameters, and historical data parameters, and when used for the water meter connected to the water meter communication slave, includes all water meter setting parameters and bandwidth used to bring into the interface. Enter the specific water meter number and operation process parameters, and enter the load information of one of the specific RS485 identification code and operation process parameters.

本發明復揭露一種自適應案場之水表管理方法,係由電腦設備執行該方法,該方法包括以下步驟:令與至少一水表連結之水表通訊子機,透過RS485通訊協定及循環問答方式判斷介接水表之數量及決定讀表模式;令該水表通訊子機取得該至少一水表之水表資料後進行分析,以於該水表通訊子機或該至少一水表發生異常事件時,產生告警訊息;以及令水表管理平台收到來自該水表通訊子機之告警訊息時,產生告警通知以通知使用者。 The present invention further discloses an adaptive case water meter management method, which is executed by computer equipment. The method includes the following steps: making the water meter communication sub-machine connected to at least one water meter determine the intermediary through the RS485 communication protocol and the loop question and answer method. The number of connected water meters and the meter reading mode are determined; the water meter communication sub-machine obtains the water meter data of the at least one water meter and analyzes it, so as to generate an alarm message when an abnormal event occurs in the water meter communication sub-machine or the at least one water meter; and Instructs the water meter management platform to generate an alarm notification to notify the user when it receives an alarm message from the water meter communication slave.

於上述方法中,復包括由該水表管理平台產生下行控制指令,以控制或更新該水表通訊子機或該至少一水表。 In the above method, it further includes generating a downstream control command by the water meter management platform to control or update the water meter communication sub-machine or the at least one water meter.

本發明復揭露一種電腦可讀媒介,應用於計算裝置或電腦中,係儲存有指令,以執行前述之自適應案場之水表管理方法。 The invention further discloses a computer-readable medium, which is used in a computing device or a computer and stores instructions to execute the aforementioned adaptive case water meter management method.

綜上,本發明之自適應案場之水表管理系統及其方法,其目的係提供水表通訊子機一種自適應案場之水表讀表以及更新運作模式,利用單一水表通訊子機,無須加裝其他設備,僅以RS485連接方式,以提供不同場域之水表數量介接,水表通訊子機可因應環境自動切換水表通訊子機之讀表模式,其中,當水表發生異常時,亦可主動通報水表管理平台。 另外,當水表通訊子機需要更換系統參數或調整水表運作狀態時,也可透過水表管理平台從遠端下達自動部屬執行指令,因此,本發明能有效將降低設備成本、人力成本,藉以達到最大化應用水資源。 In summary, the purpose of the adaptive water meter management system and method in the field of the present invention is to provide a water meter communication sub-machine with an adaptive water meter reading and updating operation mode in the field, using a single water meter communication sub-machine without the need for additional installations. Other equipment only uses RS485 connection to provide an interface for the number of water meters in different areas. The water meter communication sub-machine can automatically switch the meter reading mode of the water meter communication sub-machine according to the environment. When an abnormality occurs in the water meter, it can also proactively report Water meter management platform. In addition, when the water meter communication sub-machine needs to change system parameters or adjust the operating status of the water meter, it can also issue automatic execution instructions from the remote end through the water meter management platform. Therefore, the present invention can effectively reduce equipment costs and labor costs, thereby achieving the maximum Optimize the use of water resources.

1:自適應案場之水表管理系統 1: Adaptive case water meter management system

11:水表通訊子機 11:Water meter communication submachine

111:自動化讀表模組 111:Automated meter reading module

112:水表管理模組 112:Water meter management module

113:無線通訊模組 113:Wireless communication module

114:通訊設備管理模組 114: Communication equipment management module

115:告警模組 115:Alarm module

12:水表管理平台 12:Water meter management platform

121:平台水表管理模組 121: Platform water meter management module

122:水表資料收集模組 122: Water meter data collection module

123:警示模組 123:Alert module

124:命令控制模組 124:Command control module

13:水表 13:Water meter

S301-S303:步驟 S301-S303: Steps

請參閱有關本發明之詳細說明及其附圖,將可進一步瞭解本發明之技術內容及其目的功效。有關附圖為: Please refer to the detailed description of the present invention and its accompanying drawings to further understand the technical content and its purpose and effects of the present invention. The relevant pictures are:

圖1為本發明之自適應案場之水表管理系統的系統架構圖。 Figure 1 is a system architecture diagram of the adaptive case water meter management system of the present invention.

圖2為本發明之自適應案場之水表管理系統於一實施例的系統架構圖。 FIG. 2 is a system architecture diagram of an adaptive field water meter management system according to an embodiment of the present invention.

圖3為本發明之自適應案場之水表管理方法的步驟圖。 Figure 3 is a step diagram of the adaptive water meter management method in the field of the present invention.

圖4為本發明之水表通訊子機自適應的流程圖。 Figure 4 is a flow chart of the water meter communication sub-machine adapting according to the present invention.

圖5為本發明之水表通訊子機自動讀表與更新運作的流程圖。 Figure 5 is a flow chart of the automatic meter reading and updating operation of the water meter communication sub-machine of the present invention.

以下藉由特定的具體實施形態說明本發明之技術內容,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之優點與功效。然本發明亦可藉由其他不同的具體實施形態加以施行或應用。 The following describes the technical content of the present invention through specific embodiments. Those familiar with the art can easily understand the advantages and effects of the present invention from the content disclosed in this specification. However, the present invention can also be implemented or applied through other different specific implementation forms.

本發明係關於水表通訊子機上自適應讀表與更新行為方法,利用單一子機終端設備在介接不同數量之水表時,透過循環問答式讀表流程,分析介接水表的模式與數量,且在發生事件時回傳水表管理平台,以 透過水表管理平台下行指令控制水表通訊子機之系統參數與水表行為動作。 The invention relates to an adaptive meter reading and updating behavior method on a water meter communication sub-machine. When a single sub-machine terminal device is used to connect different numbers of water meters, it analyzes the mode and number of connected water meters through a cyclic question-and-answer meter reading process. And when an event occurs, it will be sent back to the water meter management platform to The system parameters and water meter behavior of the water meter communication slave are controlled through downstream commands from the water meter management platform.

請參考圖1,為本發明之自適應案場之水表管理系統的系統架構圖,其中,本發明之自適應案場之水表管理系統1係包括與至少一水表13連結之水表通訊子機11以及水表管理平台12。 Please refer to Figure 1, which is a system architecture diagram of the adaptive water meter management system of the present invention. The adaptive water meter management system 1 of the present invention includes a water meter communication sub-machine 11 connected to at least one water meter 13. and water meter management platform12.

水表通訊子機11係用以透過RS485通訊協定及循環問答方式判斷介接水表之數量及決定讀表模式,以於取得該至少一水表13之水表資料後進行分析,俾於該水表通訊子機11及該至少一水表13發生異常事件時,產生告警訊息。易言之,水表通訊子機11與水表13之間透過RS485通訊協定進行連接與傳遞訊息,水表通訊子機11利用循環問答方式決定水表通訊子機11所介接之水表的數量及所要採用的讀表模式,並進一步分析來自水表13之水表資料,以於水表通訊子機11或是所介接之水表13發生異常事件時,產生告警訊息。 The water meter communication sub-machine 11 is used to determine the number of connected water meters and determine the meter reading mode through the RS485 communication protocol and the loop question and answer method, so as to analyze the water meter data of at least one water meter 13 in order to facilitate the water meter communication sub-machine 11 and when an abnormal event occurs in the at least one water meter 13, an alarm message is generated. In other words, the water meter communication sub-machine 11 and the water meter 13 are connected and transmit information through the RS485 communication protocol. The water meter communication sub-machine 11 uses a circular question and answer method to determine the number of water meters to be connected to the water meter communication sub-machine 11 and the method to be used. Meter reading mode, and further analyzes the water meter data from the water meter 13 to generate an alarm message when an abnormal event occurs in the water meter communication slave 11 or the connected water meter 13 .

水表管理平台12與該水表通訊子機11連接,用於紀錄該水表通訊子機11所取得之水表資料,其中,於收到來自該水表通訊子機11之告警訊息時,產生告警通知以通知使用者,以及於需執行更新運作時,產生下行控制指令以控制或更新該水表通訊子機11或該至少一水表13。簡言之,水表管理平台12用於管理水表通訊子機11和水表13,當水表管理平台12收到來自水表通訊子機11之告警訊息時,會產生告警通知以便通知使用者,另外,假若水表通訊子機11或水表13需執行更新運作時,可由水表管理平台12產生下行控制指令,進而對水表通訊子機11或水表13進行控制或更新。 The water meter management platform 12 is connected to the water meter communication sub-machine 11 and is used to record the water meter data obtained by the water meter communication sub-machine 11. When an alarm message from the water meter communication sub-machine 11 is received, an alarm notification is generated to notify When the user needs to perform an update operation, a downward control command is generated to control or update the water meter communication sub-machine 11 or the at least one water meter 13 . In short, the water meter management platform 12 is used to manage the water meter communication sub-machine 11 and the water meter 13. When the water meter management platform 12 receives the alarm message from the water meter communication sub-machine 11, an alarm notification will be generated to notify the user. In addition, if When the water meter communication sub-machine 11 or the water meter 13 needs to perform an update operation, the water meter management platform 12 can generate a downstream control command to control or update the water meter communication sub-machine 11 or the water meter 13 .

於一實施例中,當水表通訊子機11取得至少一水表13之水表資料後會進行分析,並據之確認是否要進行告警,其規則包括於任一水表13連續失敗次數大於一預設臨界值或是成功紀錄後連續失敗次數小於另一預設臨界值時,令水表通訊子機11將該水表通訊子機11之設備編號、RS485識別碼及該RS485識別碼所對應之水表表號傳送至水表管理平台12,以供水表管理平台12進行紀錄與告警處理,其中,該預設臨界值或另一預設臨界值可依據需求調整。 In one embodiment, when the water meter communication slave 11 obtains the water meter data of at least one water meter 13, it will analyze it and determine whether to issue an alarm based on it. The rules include that the number of consecutive failures of any water meter 13 is greater than a preset threshold. When the value or the number of consecutive failures after successful recording is less than another preset threshold, the water meter communication slave 11 is caused to transmit the device number, RS485 identification code and water meter number corresponding to the RS485 identification code of the water meter communication slave 11 To the water meter management platform 12, the water meter management platform 12 performs recording and alarm processing, in which the preset threshold value or another preset threshold value can be adjusted according to needs.

於一實施例中,當水表管理平台12產生下行控制指令時,該下行控制指令中除了包含下行控制指令代號之表頭資訊(Header)外,當下行控制指令用於控制或更新水表通訊子機11時,該下行控制指令復包括用以帶入水表通訊子機11之讀表設定參數、運行設定參數、歷史資料參數之其中一者的負載資訊。另外,當下行控制指令用於控制或更新水表通訊子機11所介接之水表13時,該下行控制指令復包括用以帶入介接之全部水表設定參數、帶入特定之水表表號與運作流程參數、帶入特定RS485識別碼與運作流程參數之其中一者的負載資訊。亦即,隨著下行控制指令要控制的對象不同,其攜帶的負載資訊也會因為功能不同而有所差異。 In one embodiment, when the water meter management platform 12 generates a downstream control command, in addition to the header information (Header) containing the downstream control command code, the downstream control command is used to control or update the water meter communication submachine. At 11 o'clock, the downstream control command further includes load information used to bring into one of the meter reading setting parameters, operation setting parameters, and historical data parameters of the water meter communication slave 11 . In addition, when the downstream control command is used to control or update the water meter 13 to which the water meter communication slave 11 is connected, the downstream control command includes all the water meter setting parameters used to bring into the connection, the specific water meter number and the Operation process parameters, load information with one of the specific RS485 identification code and operation process parameters. That is to say, as the objects to be controlled by the downstream control instructions are different, the load information carried by them will also be different due to different functions.

綜上,本發明提供一種自適應案場之水表讀表方法及更新運作方法,以達成本發明之目的,其中,水表讀表方法係利用水表通訊子機11搭配RS485識別碼(RS485_ID)讀表機制,以循環式問答方式,提供獨立式場域與集中式場域之使用,透過自動紀錄水表通訊子機11所介接之水表的數量、RS485_ID以及對應之水表表號,如此在每一次讀表時,能自動省略不必要RS485_ID讀取,故能減少電量消耗,且在水表出現異常狀態時,亦能即時發出告警訊息。 In summary, the present invention provides a water meter reading method and an updated operation method that are adaptive to the scene to achieve the purpose of the present invention. The water meter reading method uses the water meter communication sub-machine 11 and the RS485 identification code (RS485_ID) to read the meter. The mechanism uses a cyclic question and answer method to provide the use of independent fields and centralized fields. It automatically records the number of water meters connected to the water meter communication slave 11, the RS485_ID and the corresponding water meter number, so that every time the meter is read, , can automatically omit unnecessary RS485_ID reading, so it can reduce power consumption, and when the water meter appears abnormal, it can also send out an alarm message immediately.

另外,更新運作方法則是透過水表通訊子機11在回報水表管理平台12資料時,同時接取下行控制訊息,即時更新水表通訊子機11與介接水表之運作狀態,如此可提供水表管理平台12遠端調整水表通訊子機11使用場域、讀表數量、讀表區間、上傳區間等功能,藉以達到減少人力成本與水表通訊子機11重複使用之目的。 In addition, the update operation method is to receive downstream control messages at the same time when reporting data to the water meter management platform 12 through the water meter communication sub-machine 11, and update the operation status of the water meter communication sub-machine 11 and the connected water meters in real time, thus providing a water meter management platform. 12 Remotely adjust the use area, meter reading quantity, meter reading interval, upload interval and other functions of the water meter communication sub-machine 11 to achieve the purpose of reducing labor costs and reusing the water meter communication sub-machine 11.

圖2為本發明之自適應案場之水表管理系統於一實施例的系統架構圖。如圖所示,本發明之自適應案場之水表管理系統1係包含一具掛載N具水表13之水表通訊子機11以及水表管理平台12。 FIG. 2 is a system architecture diagram of an adaptive field water meter management system according to an embodiment of the present invention. As shown in the figure, the adaptive water meter management system 1 of the present invention includes a water meter communication sub-machine 11 for mounting N water meters 13 and a water meter management platform 12 .

水表通訊子機11係包括自動化讀表模組111、水表管理模組112、無線通訊模組113、通訊設備管理模組114以及告警模組115。簡言之,自動化讀表模組111係依據RS485識別碼(ID)進行循環問答,藉以判定其所介接水表13之數量,以及依據其所介接水表13之數量以決定水表通訊子機11之讀表模式,水表管理平台12係紀錄有各RS485識別碼(ID)與其對應水表之水表表號的關聯性,如此方便後續透過各RS485識別碼(ID)即能得知對應水表之水表表號,無線通訊模組113係用於傳送水表13之水表資料至水表管理平台12,通訊設備管理模組114用於儲存註冊於水表管理平台12中之用於表示水表通訊子機11之設備編號、設備金鑰以及下行控制指令,亦即通訊設備管理模組114儲存其所在之水表通訊子機11的設備編號、用於驗證之設備金鑰以及來自水表管理平台12之下行控制指令,最後,告警模組115用於產生要傳送至水表管理平台12之告警訊息。 The water meter communication sub-machine 11 includes an automatic meter reading module 111, a water meter management module 112, a wireless communication module 113, a communication equipment management module 114 and an alarm module 115. In short, the automatic meter reading module 111 performs a cyclic question and answer based on the RS485 identification code (ID) to determine the number of water meters 13 it is connected to, and determines the water meter communication slave 11 based on the number of water meters 13 it is connected to. In the meter reading mode, the water meter management platform 12 series records the correlation between each RS485 identification code (ID) and the water meter number of the corresponding water meter, so that the corresponding water meter can be known later through each RS485 identification code (ID). The wireless communication module 113 is used to transmit the water meter data of the water meter 13 to the water meter management platform 12. The communication equipment management module 114 is used to store the equipment number registered in the water meter management platform 12 and used to represent the water meter communication slave 11. , the device key and the downstream control command, that is, the communication device management module 114 stores the device number of the water meter communication slave 11 where it is located, the device key used for verification, and the downstream control command from the water meter management platform 12. Finally, The alarm module 115 is used to generate alarm messages to be sent to the water meter management platform 12 .

於一實施例中,自動化讀表模組111於初始化階段時,係以一預設個數進行讀表,且透過持續收集RS485識別碼之回應,以據之判斷其所介接水表13之數量。易言之,自動化讀表模組111會先預設一個數量以開始讀表,之後利用持續收集RS485識別碼的回應,藉以決定與該水表通訊子機11介接之水表13的數量。 In one embodiment, during the initialization phase, the automatic meter reading module 111 reads meters with a preset number, and continuously collects responses of RS485 identification codes to determine the number of water meters 13 it is connected to. . In other words, the automatic meter reading module 111 will first preset a number to start meter reading, and then continuously collect responses from the RS485 identification code to determine the number of water meters 13 to interface with the water meter communication slave 11 .

於另一實施例中,自動化讀表模組111於判斷所介接水表13之數量時,若判斷水表13之數量為一個時,則將水表通訊子機11之讀表模式設定為獨立式讀表模式,反之,若判斷水表13之數量為複數個時,則將水表通訊子機11之讀表模式設定為集中式讀表模式。 In another embodiment, when the automatic meter reading module 111 determines the number of connected water meters 13, if it is determined that the number of water meters 13 is one, the meter reading mode of the water meter communication sub-machine 11 is set to independent reading. meter mode. On the contrary, if it is determined that the number of water meters 13 is plural, the meter reading mode of the water meter communication slave 11 is set to the centralized meter reading mode.

另外,告警模組115於水表通訊子機11之異常事件連續發生頻率大於一臨界值或是水表通訊子機11介接之水表13之異常事件連續發生頻率大於另一臨界值時,產生該告警訊息。 In addition, the alarm module 115 generates the alarm when the frequency of continuous occurrence of abnormal events in the water meter communication sub-machine 11 is greater than a critical value or when the frequency of continuous occurrence of abnormal events in the water meter 13 connected to the water meter communication sub-machine 11 is greater than another critical value. message.

由上可知,水表通訊子機11包含五個模組,其中,為了適應不同場域環境,在初始化階段,水表通訊子機之自動化讀表模組111會將讀表數量設置為最大值M,並透過RS485識別碼(RS485_ID)開始逐一進行循環讀表,水表管理模組112則是令水表通訊子機11從ID_1到ID_M開始檢查,並將所有介接水表之資料紀錄到水表管理模組112,相關資料可作為下次讀表之相關依據。於水表通訊子機11收集完當次資料後,能透過無線通訊模組113將相關資料數據進行回傳,當水表通訊子機11與水表管理平台12進行註冊動作時,水表通訊子機11上通訊設備管理模組114會儲存從水表管理平台12下行屬於該水表通訊子機11分配之設備編號(D id )、設備金鑰(D key )以及下行控制指令(CMD),藉以達到更新子機模組動作 與減少下次上傳之註冊動作,而告警模組115係於當水表通訊子機11發現本身異常或是底下介接之水表13異常時,會主動通知水表管理平台12發生問題之狀況與水表表號,以避免相關問題或減少損失。 It can be seen from the above that the water meter communication sub-machine 11 includes five modules. In order to adapt to different field environments, in the initialization stage, the automatic meter reading module 111 of the water meter communication sub-machine will set the number of meter readings to the maximum value M , And start to read the meters one by one through the RS485 identification code (RS485_ID). The water meter management module 112 causes the water meter communication slave 11 to start checking from ID_1 to ID_M , and record all the data of the connected water meters to the water meter management module. 112, the relevant information can be used as the relevant basis for the next meter reading. After the water meter communication sub-machine 11 collects the current data, the relevant data can be transmitted back through the wireless communication module 113. When the water meter communication sub-machine 11 performs a registration action with the water meter management platform 12, the water meter communication sub-machine 11 will The communication device management module 114 will store the device number ( D id ), device key ( D key ) and downstream control command (CMD) assigned to the water meter communication slave 11 downstream from the water meter management platform 12, so as to update the slave The module action reduces the registration action for the next upload, and the alarm module 115 actively notifies the water meter management platform 12 of the problem when the water meter communication slave 11 detects an abnormality in itself or an abnormality in the water meter 13 connected to it. with the water meter number to avoid related problems or reduce losses.

另外,水表管理平台12包括平台水表管理模組121、水表資料收集模組122、警示模組123以及命令(CMD)控制模組124。簡言之,平台水表管理模組121用於提供水表通訊子機11之註冊,以建立與處理水表通訊子機11以及與水表通訊子機11介接之所有水表13的水表資料,水表資料收集模組122用於接收來自水表通訊子機11之所有水表13之水表數值資料,並依據所有水表13之水表表號以進行分類,警示模組123係用於收到來自水表通訊子機11之告警訊息時產生對應之告警通知,而命令控制模組124用於產生下行控制指令,以控制或更新水表通訊子機11或相關水表13內部各項參數。 In addition, the water meter management platform 12 includes a platform water meter management module 121, a water meter data collection module 122, an alarm module 123, and a command (CMD) control module 124. In short, the platform water meter management module 121 is used to provide registration of the water meter communication slave 11, to establish and process the water meter communication slave 11 and the water meter data of all water meters 13 interfaced with the water meter communication slave 11, and to collect water meter data. The module 122 is used to receive the water meter numerical data of all water meters 13 from the water meter communication sub-machine 11, and classify it according to the water meter numbers of all water meters 13. The warning module 123 is used to receive the water meter numerical data from the water meter communication sub-machine 11. When an alarm message is generated, a corresponding alarm notification is generated, and the command control module 124 is used to generate downstream control instructions to control or update various internal parameters of the water meter communication slave 11 or the related water meter 13 .

由上可知,水表管理平台12包含四個模組,其中,平台水表管理模組121負責水表通訊子機11與水表管理平台12註冊並協助建置與處理每一部水表通訊子機11下所掛載之水表資料,水表資料收集模組122負責將接收到的水表數值資料,依照水表表號的不同進行分類,警示模組123用於當發生水表異常事件時,透過畫面提醒或簡訊通知相關管理者和維運人員進行後續處理動作,而命令控制模組124負責透過下行控制指令來控制水表通訊子機11與水表13之相關功能。 It can be seen from the above that the water meter management platform 12 includes four modules. Among them, the platform water meter management module 121 is responsible for registering the water meter communication sub-machine 11 with the water meter management platform 12 and assisting in the construction and processing of each water meter communication sub-machine 11. For the mounted water meter data, the water meter data collection module 122 is responsible for classifying the received water meter numerical data according to the different water meter numbers. The warning module 123 is used to notify relevant people through screen reminders or text messages when abnormal water meter events occur. Managers and maintenance personnel perform follow-up processing actions, and the command control module 124 is responsible for controlling related functions of the water meter communication submachine 11 and the water meter 13 through downstream control instructions.

圖3為本發明之自適應案場之水表管理方法的步驟圖。如圖所示,本發明之自適應案場之水表管理方法能由電腦設備執行,包括下列步驟。 Figure 3 is a step diagram of the adaptive water meter management method in the field of the present invention. As shown in the figure, the adaptive case water meter management method of the present invention can be executed by computer equipment and includes the following steps.

於步驟S301,令與至少一水表連結之水表通訊子機,透過RS485通訊協定及循環問答方式判斷介接水表之數量以及決定讀表模式。本步驟係說明水表通訊子機透過RS485通訊協定與水表進行資料交換,並透過循環問答方式與所介接水表溝通,進以判斷介接水表之數量以及決定水表通訊子機之讀表模式。 In step S301, the water meter communication slave machine connected to at least one water meter is made to determine the number of connected water meters and determine the meter reading mode through the RS485 communication protocol and the loop question and answer method. This step explains how the water meter communication slave unit exchanges data with the water meter through the RS485 communication protocol, and communicates with the connected water meter through a round-robin question and answer method to determine the number of connected water meters and determine the meter reading mode of the water meter communication slave unit.

於步驟S302,令該水表通訊子機取得該至少一水表之水表資料後進行分析,以於該水表通訊子機或該至少一水表發生異常事件時,產生告警訊息。本步驟係指水表通訊子機取得所介接之水表的水表資料後,能針對所有水表之水表數值資料進行分析,以於水表通訊子機或是其所介接之水表發生異常事件時產生告警訊息。 In step S302, the water meter communication sub-machine is caused to obtain the water meter data of the at least one water meter and then analyze it, so as to generate an alarm message when an abnormal event occurs in the water meter communication sub-machine or the at least one water meter. This step means that after the water meter communication sub-machine obtains the water meter data of the connected water meters, it can analyze the water meter numerical data of all water meters to generate an alarm when an abnormal event occurs in the water meter communication sub-machine or the water meter it is connected to. message.

於步驟S303,令水表管理平台收到來自該水表通訊子機之告警訊息時,產生告警通知以通知使用者。本步驟係說明當水表管理平台收到水表通訊子機所傳送之告警訊息時,產生告警通知並通知使用者。 In step S303, when the water meter management platform receives the alarm message from the water meter communication slave, an alarm notification is generated to notify the user. This step explains that when the water meter management platform receives the alarm message sent by the water meter communication slave, it will generate an alarm notification and notify the user.

於另一實施例中,於步驟S303後,復包括由該水表管理平台產生下行控制指令,以控制或更新該水表通訊子機或該至少一水表。易言之,當水表通訊子機或水表需要進行更新和設定調整時,能由水表管理平台來遠端執行,即由水表管理平台產生下行控制指令,並傳送至水表通訊子機以進行水表通訊子機或水表之控制或更新。 In another embodiment, after step S303, it further includes generating a downstream control instruction by the water meter management platform to control or update the water meter communication sub-machine or the at least one water meter. In other words, when the water meter communication sub-machine or water meter needs to be updated and set up, it can be remotely executed by the water meter management platform. That is, the water meter management platform generates downstream control instructions and transmits them to the water meter communication sub-machine for water meter communication. Control or update of sub-machine or water meter.

於具體實施時,水表通訊子機內包括自動化讀表模組、水表管理模組、無線通訊模組、通訊設備管理模組以及告警模組,而水表管理平台包括平台水表管理模組、水表資料收集模組、警示模組以及命令(CMD)控制模組。本發明利用單一種水表通訊子機(水表相關通訊設備)透過 RS485識別碼(RS485_ID),以循環式問答方式,紀錄RS485識別碼與水表表號之關聯性,之後,水表通訊子機能執行資料上傳以及接收水表管理平台之下行控制指令,藉以達到控制水表通訊子機與其介接水表動作行為。 During specific implementation, the water meter communication sub-machine includes an automatic meter reading module, a water meter management module, a wireless communication module, a communication equipment management module and an alarm module, while the water meter management platform includes a platform water meter management module, water meter data Collection modules, alert modules, and command (CMD) control modules. The present invention utilizes a single water meter communication sub-machine (water meter related communication equipment) to pass The RS485 identification code (RS485_ID) uses a cyclic question and answer method to record the correlation between the RS485 identification code and the water meter number. After that, the water meter communication sub-function can perform data upload and receive downstream control commands from the water meter management platform to control the water meter communication sub-function. The machine interfaces with the action behavior of the water meter.

具體而言,自動化讀表模組能使用RS485_ID循環問答方式,藉以判斷介接水表之數量,且能根據水表之數量,自動更換成不同讀表模式,水表管理模組透過紀錄RS485_ID與水表表號之關聯性,並對每一筆水表資料進行事件分析,無線通訊模組則提供水表通訊子機與水表管理平台之間的通訊,通訊設備管理模組接收水表管理平台之下行CMD控制指令,以控制或更新水表通訊子機與其介接水表之內部各項參數,而告警模組針對水表通訊子機與介接之水表異常事件時發出告警訊息。 Specifically, the automatic meter reading module can use the RS485_ID loop question and answer method to determine the number of connected water meters, and can automatically switch to different meter reading modes according to the number of water meters. The water meter management module records the RS485_ID and water meter number. Correlation and event analysis of each water meter data. The wireless communication module provides communication between the water meter communication slave and the water meter management platform. The communication equipment management module receives the CMD control instructions from the water meter management platform to control Or update the internal parameters of the water meter communication sub-machine and the connected water meter, and the alarm module sends an alarm message when abnormal events occur between the water meter communication sub-machine and the connected water meter.

於一實施例中,自動化讀表模組在初始化階段時,係以原始設定個數進行讀表,透過持續收集RS485_ID回應來達到學習並判斷水表數量,之後,自動化讀表模組會依照水表數量來決定讀表模式,其中,當水表數量為一時,則將水表通訊子機設為獨立式讀表模式,反之,水表通訊子機以集中式讀表模式進行運作,如此能符合不同情境使用之需求。 In one embodiment, during the initialization phase, the automatic meter reading module reads meters with the original set number, and learns and determines the number of water meters by continuously collecting RS485_ID responses. After that, the automatic meter reading module reads the water meters according to the number of water meters. To determine the meter reading mode, when the number of water meters is one, the water meter communication sub-machine is set to the independent meter reading mode. On the contrary, the water meter communication sub-machine operates in the centralized meter reading mode, so that it can be used in different situations. need.

關於前述之對水表資料進行事件分析,其中,一定要有的固定特徵包含將水表通訊子機號碼回報後端水表管理平台進行紀錄,以及將RS485識別碼與水表表號進行配對,並將RS485識別碼與水表表號回報至後端的水表管理平台作紀錄,當出現RS485識別碼連續失敗次數大於一臨界值或是RS485識別碼成功紀錄後連續失敗次數小於另一臨界值,則表示異常事件。 Regarding the aforementioned event analysis of water meter data, certain fixed features include reporting the water meter communication slave number to the back-end water meter management platform for recording, matching the RS485 identification code with the water meter number, and identifying the RS485 The code and water meter number are reported to the back-end water meter management platform for recording. When the number of consecutive failures of the RS485 identification code is greater than a critical value or the number of consecutive failures after the RS485 identification code is successfully recorded is less than another threshold, it indicates an abnormal event.

關於前述之下行控制指令,其中,一定要有的固定特徵包含表頭資訊(Header)需帶入下行控制指令代號。另外,當下行控制指令是針對水表通訊子機時,則其餘特徵值需包含下列至少一項:負載資訊帶入水表通訊子機讀表設定參數、負載資訊帶入水表通訊子機運行設定參數以及負載資訊帶入水表通訊子機歷史資料參數;當下行控制指令是針對介接之水表時,則其餘特徵值需包含下列至少一項:負載資訊帶入介接之全部水表設定參數、負載資訊帶入特定之水表表號與運作流程參數以及載資訊帶入特定RS485識別碼(RS485_ID)編號與運作流程參數。 Regarding the aforementioned downstream control instructions, certain fixed features including header information (Header) must be included in the downstream control instruction code. In addition, when the downstream control command is for the water meter communication sub-machine, the remaining characteristic values must include at least one of the following: load information is brought into the water meter communication sub-machine to read the meter setting parameters, load information is brought into the water meter communication sub-machine operation setting parameters, and The load information is brought into the historical data parameters of the water meter communication slave; when the downstream control command is for the connected water meter, the remaining characteristic values must include at least one of the following: the load information is brought into all the connected water meter setting parameters, the load information is brought into Enter the specific water meter number and operation process parameters and load information into the specific RS485 identification code (RS485_ID) number and operation process parameters.

另外,關於前述之水表通訊子機與介接水表異常事件時,告警模組發出告警通知時需包含下項至少一項:水表通訊子機異常事件連續發生頻率需大於一臨界值以及介接水表異常事件連續發生頻率需大於另一臨界值,其中,異常事件包含例如:水表通訊子機電量不足累積天數大於臨界值、水表通訊子機與介接水表無回應大於臨界值或介接水表本身內建告警天數持續累積等相關告警訊息。 In addition, regarding the aforementioned abnormal events between the water meter communication sub-machine and the connected water meter, the alarm module must include at least one of the following when sending an alarm notification: the frequency of continuous occurrence of abnormal events in the water meter communication sub-machine must be greater than a critical value and the connected water meter must The frequency of continuous occurrence of abnormal events must be greater than another threshold value. Among them, abnormal events include, for example: the cumulative number of days when the water meter communication sub-machine has insufficient power is greater than the critical value, the water meter communication sub-machine and the connected water meter have no response greater than the critical value, or the connected water meter itself has internal memory. Establish relevant alarm messages such as continuous accumulation of alarm days.

圖4為本發明之水表通訊子機自適應的流程圖。因為安裝場域環境與水表數量為不可控因素,為了符合每一個環境,水表通訊子機在開始執行後會進行初始化參數讀表最大個數M,實際個數為N,依序對每一個RS485_ID(I n )進行確認,每一個ID設置初始化成功回應為S,單一ID初始化失敗次數最大值為I n F max ,單一次讀表詢問間隔時間為T period M等待秒數最大值為T max ,計算方式流程如下所示。 Figure 4 is a flow chart of the water meter communication sub-machine adapting according to the present invention. Because the installation site environment and the number of water meters are uncontrollable factors, in order to comply with each environment, the water meter communication sub-machine will initialize the parameters after starting execution. The maximum number of meter readings is M. The actual number is N. Each RS485_ID will be read in sequence. ( I n ) for confirmation, the successful initialization response of each ID setting is S , the maximum number of failed initializations for a single ID is I n F max , the interval time for a single meter reading inquiry is T period , and the maximum value of M waiting seconds is T max , the calculation process is as follows.

先計算單次最長等待秒數,以下公式(1)計算: First calculate the maximum number of waiting seconds for a single time, using the following formula (1):

Figure 111119307-A0101-12-0013-1
Figure 111119307-A0101-12-0013-1

其中,參數C pt 為每一次間隔等待時間最大次數。 Among them, the parameter C pt is the maximum number of waiting times for each interval.

在初始化階段,讀表等待當次超過最大T max ,則會累積失敗次數I n F,當大於I n F max ,下次讀表時會跳過此ID,以減少電量消耗,判斷公式(2)如下: In the initialization phase, when the table reading waiting time exceeds the maximum T max , the number of failures I n F will be accumulated. When it is greater than I n F max , this ID will be skipped the next time the meter is read to reduce power consumption. Judgment formula (2 )as follows:

Figure 111119307-A0101-12-0014-2
Figure 111119307-A0101-12-0014-2

其中,參數R pass 為讀表階段省略之RS485_ID。 Among them, the parameter R pass is the RS485_ID omitted in the meter reading stage.

每次跳過ID後,實際介接水表數量會依次遞減,最終真實讀表個數為f (N),表示公式(3)如下所示: After each ID is skipped, the actual number of connected water meters will decrease successively, and the final number of actual reading meters is f ( N ) , which means that formula (3) is as follows:

Figure 111119307-A0101-12-0014-3
Figure 111119307-A0101-12-0014-3

在初始化階段,成功收到回應之I n ,則會放入讀取成功區R success ={I n ,....I max-1},這時候水表管理模組會紀錄I n 與對應水表表號WM id ,表示公式(4)如下所示: In the initialization phase, if the response I n is successfully received, it will be placed in the read success area R success ={ I n ,....I max -1 }. At this time, the water meter management module will record I n and the corresponding water meter. The table number WM id represents formula (4) as follows:

Figure 111119307-A0101-12-0014-4
Figure 111119307-A0101-12-0014-4

其中,參數P S 為RS485_ID與對應水表表號之表號對應池,M為讀表數量設置最大值,R type 為水表讀表類型,Independent為獨立式水表,Centralized為集中式水表。 Among them, the parameter P S is the pool corresponding to the RS485_ID and the corresponding water meter number, M is the maximum value set for the number of reading meters, R type is the water meter reading type, Independent is an independent water meter, and Centralized is a centralized water meter.

在進行正常讀表時,放入成功區之RS485_ID(I n )沒有回應、RS485_ID(I n )與對應表號不同、電量過低或其他不同事件,水表通訊子機會將發生時間、發生之事件與對應水表表號,用告警訊息回傳之水表管理平台,告警訊息字串標記連結如下: During normal meter reading, if the RS485_ID( I n ) placed in the success area does not respond, the RS485_ID( I n ) is different from the corresponding meter number, the battery is too low, or other different events, the water meter communication sub-machine will report the time and event that occurred. With the corresponding water meter number, the alarm message is returned to the water meter management platform. The alarm message string tag link is as follows:

單具水表標記 Single water meter mark

OAM,N,E time E type E value ,SN OAM,N,E time E type E value , SN

多具水表標記 Multiple water meter markings

OAM,NE time E type E value E time E type E time E type E value ...,SN OAM,NE time E type E value E time E type E time E type E value ... , SN

其中,參數OAM為告警上傳訊息,N為底下有N組訊息,E time 為事件時間,E type 為事件類型(無回應或表號異常等),E value 為事件水表表號,SN為字串結束符號。 Among them, the parameter OAM is the alarm upload message, N means there are N groups of messages underneath, E time is the event time, E type is the event type (no response or abnormal meter number, etc.), E value is the event water meter number, and SN is a string. end symbol.

圖5為本發明之水表通訊子機自動讀表與更新運作的流程圖。如圖所示,當水表通訊子機需要更換場域、更換水表,亦或是修改讀表區間、更換上傳時間等相關系統參數,在水表通訊子機每日主動上傳水表數值資料時,會主動詢問命令控制模組是否有新CMD控制指令,控制訊息字串標記連結如下: Figure 5 is a flow chart of the automatic meter reading and updating operation of the water meter communication sub-machine of the present invention. As shown in the figure, when the water meter communication sub-machine needs to change the field, replace the water meter, or modify the meter reading interval, change the upload time and other related system parameters, when the water meter communication sub-machine actively uploads the water meter numerical data every day, it will automatically Ask the command control module whether there is a new CMD control command. The control message string tag link is as follows:

CMDCMD idID ,L,P.V...,SN,L,P.V...,SN

其中,參數CMD id 表示為下行控制指令,id=0表示水表通訊子機下全部水表統一更換參數,id=[1,2,...,M]表示該參數可以只針對特定水表進行參數更換,L表示後面P.V訊息長度,P.V為參數規則(包含針對水表通訊子機本身之系統參數與介接水表之相關參數控制指令),SN為字串結束符號。 Among them, the parameter CMD id represents the downstream control command, id =0 means that all water meters under the water meter communication slave machine will uniformly change parameters, id =[1,2,..., M ] means that this parameter can only be changed for specific water meters. , L represents the length of the subsequent PV message, PV is the parameter rule (including system parameters for the water meter communication slave itself and related parameter control instructions for the connected water meter), SN is the end of the string symbol.

綜上,本發明之目的係在單一水表通訊子機上透過RS485介接不同數量之水表讀取資料時,透過演算法自動適應不同水表數量與自動轉換讀表區間,其中,當介接之水表發生異常事件時,水表通訊子機可主動通知水表管理平台並接收水表管理平台遠端之下行命令以達到更新水表通訊子機本身系統參數與介接水表運作狀態。另外,本發明可透過一台水表通訊子機,同時應用於一對一之獨立式水表與一對多之集中式大樓家用水表之環境,亦可透過遠端更新運作方法,使水表通訊子機可被重覆使用,並且在水表發生異常事件時,主動告警並提供事件時間、事件類型與事件水表表號到水表管理平台,以利即時派員進行處理,達到降低水資源浪費與節省人力成本之目的。 To sum up, the purpose of the present invention is to use an algorithm to automatically adapt to the number of different water meters and automatically convert the meter reading range when reading data from different numbers of water meters on a single water meter communication sub-machine through RS485. Among them, when the connected water meters When an abnormal event occurs, the water meter communication sub-machine can actively notify the water meter management platform and receive remote commands from the water meter management platform to update the system parameters of the water meter communication sub-machine itself and the operating status of the connected water meter. In addition, the present invention can be used in one-to-one independent water meters and one-to-many centralized building household water meters through a water meter communication sub-machine. It can also be used to remotely update the operation method to enable the water meter communication sub-machine. It can be used repeatedly, and when an abnormal event occurs on the water meter, it will proactively alert and provide the event time, event type and event water meter number to the water meter management platform to facilitate immediate dispatch of personnel for processing, thereby reducing water waste and saving labor costs. purpose.

基於目前國內外主要技術大多皆針對於機械式或電子式水表本體或後端資訊平台為主,本發明提供一種專注於水表通訊子機上讀表流程與更新運作方法,其具備下列優點。 Based on the fact that most of the current domestic and foreign technologies are mainly focused on the mechanical or electronic water meter body or the back-end information platform, the present invention provides a meter reading process and update operation method focusing on the water meter communication sub-machine, which has the following advantages.

第一,本發明利用單一水表通訊子機並使用RS485_ID與循環問答方式,分析介接水表模式與數量,已達同時滿足獨棟獨立式及大樓集中式家庭用表等不同使用環境。 First, the present invention uses a single water meter communication sub-machine and uses RS485_ID and loop question and answer methods to analyze the mode and quantity of connected water meters, so as to meet the needs of different usage environments such as independent single-family meters and centralized household meters in buildings.

第二,本發明透過水表通訊子機在主動跟平台溝通時,下行時帶入多種參數來控制水表通訊子機與其介接水表使用狀態,以達到減少維運人力成本及提高通訊子機重複使用率。 Secondly, when the water meter communication sub-machine actively communicates with the platform, the present invention brings in a variety of parameters during downlink to control the usage status of the water meter communication sub-machine and its connected water meter, so as to reduce the labor cost of maintenance and operation and improve the reuse of the communication sub-machine. Rate.

上列詳細說明係針對本發明之一可行實施例之具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The above detailed description is a specific description of one possible embodiment of the present invention. However, this embodiment is not intended to limit the patent scope of the present invention. Any equivalent implementation or modification that does not depart from the technical spirit of the present invention shall be included in within the scope of the patent in this case.

1:自適應案場之水表管理系統 1: Adaptive case water meter management system

11:水表通訊子機 11:Water meter communication submachine

12:水表管理平台 12:Water meter management platform

13:水表 13:Water meter

Claims (10)

一種自適應案場之水表管理系統,係包括: An adaptive case water meter management system includes: 水表通訊子機,係與至少一水表連結,用以透過RS485通訊協定及循環問答方式判斷介接水表之數量及決定讀表模式,以於取得該至少一水表之水表資料後進行分析,俾於該水表通訊子機或該至少一水表發生異常事件時,產生告警訊息;以及 The water meter communication slave is connected to at least one water meter and is used to determine the number of connected water meters and determine the meter reading mode through the RS485 communication protocol and the loop question and answer method, so as to analyze the water meter data of the at least one water meter for analysis. When an abnormal event occurs in the water meter communication slave or at least one water meter, an alarm message is generated; and 水表管理平台,係與該水表通訊子機連接,用於紀錄該水表通訊子機所取得之水表資料,其中,於收到來自該水表通訊子機之告警訊息時,產生告警通知以通知使用者,以及於需執行更新運作時,產生下行控制指令以控制或更新該水表通訊子機或該至少一水表。 The water meter management platform is connected to the water meter communication sub-machine and is used to record the water meter data obtained by the water meter communication sub-machine. When receiving an alarm message from the water meter communication sub-machine, an alarm notification is generated to notify the user. , and when it is necessary to perform an update operation, generate a downward control instruction to control or update the water meter communication slave or the at least one water meter. 如請求項1所述之自適應案場之水表管理系統,其中,該水表通訊子機係包括: The adaptive water meter management system in the field as described in claim 1, wherein the water meter communication sub-machine includes: 自動化讀表模組,係用於依據RS485識別碼進行循環問答,藉以判定該介接水表之數量,以及依據該介接水表之數量決定該讀表模式; The automatic meter reading module is used to perform cyclic question and answer based on the RS485 identification code to determine the number of connected water meters, and determine the meter reading mode based on the number of connected water meters; 水表管理模組,係用於紀錄各該RS485識別碼與其對應水表之水表表號的關聯性; The water meter management module is used to record the correlation between each RS485 identification code and the water meter number of the corresponding water meter; 無線通訊模組,係用於傳送該水表資料; The wireless communication module is used to transmit the water meter data; 通訊設備管理模組,係用於儲存註冊於該水表管理平台中之用於表示該水表通訊子機之設備編號、設備金鑰及該下行控制指令;以及 The communication equipment management module is used to store the equipment number, equipment key and the downstream control command registered in the water meter management platform and used to represent the water meter communication sub-machine; and 告警模組,係用於產生該告警訊息。 The alarm module is used to generate the alarm message. 如請求項2所述之自適應案場之水表管理系統,其中,該自動化讀表模組於初始化階段時,係以一預設個數進行讀表,且透過持續收集該RS485識別碼之回應,以據之判斷該介接水表之數量。 The adaptive water meter management system in the field as described in request item 2, wherein the automatic meter reading module reads meters with a preset number during the initialization phase and continuously collects responses from the RS485 identification code. , based on which the number of connected water meters can be determined. 如請求項2所述之自適應案場之水表管理系統,其中,該告警模組係於該水表通訊子機之異常事件連續發生頻率大於第一臨界值或是該水表通訊子機所介接之水表之異常事件連續發生頻率大於第二臨界值時,產生該告警訊息。 The adaptive case water meter management system as described in claim 2, wherein the alarm module is when the frequency of abnormal events of the water meter communication sub-machine is greater than the first critical value or when the water meter communication sub-machine is connected to This alarm message is generated when the frequency of continuous occurrence of abnormal events on the water meter is greater than the second threshold. 如請求項1所述之自適應案場之水表管理系統,其中,該水表管理平台係包括: The adaptive case water meter management system as described in claim 1, wherein the water meter management platform includes: 平台水表管理模組,係用於提供該水表通訊子機之註冊,以建立與處理該水表通訊子機及介接於該水表通訊子機之所有水表的該水表資料; The platform water meter management module is used to provide registration of the water meter communication sub-machine to establish and process the water meter data of the water meter communication sub-machine and all water meters connected to the water meter communication sub-machine; 水表資料收集模組,係用於接收來自該水表通訊子機之所有水表之水表數值資料,以依據所有水表之水表表號進行分類; The water meter data collection module is used to receive the water meter numerical data of all water meters from the water meter communication sub-machine to classify all water meters according to their water meter numbers; 警示模組,係用於收到該告警訊息時產生對應之告警通知;以及 The warning module is used to generate corresponding warning notifications when receiving the warning message; and 命令控制模組,係用於產生該下行控制指令,以控制或更新該水表通訊子機或該至少一水表內部各項參數。 The command control module is used to generate the downstream control command to control or update various internal parameters of the water meter communication slave or the at least one water meter. 如請求項1所述之自適應案場之水表管理系統,其中,該水表通訊子機取得該至少一水表之水表資料後進行分析,以於任一水表連續失敗次數大於第三臨界值或是成功紀錄後連續失敗次數小於第四臨界值時,將該水表通訊子機之設備編號、RS485識別碼及該RS485識別碼所對應之水表表號傳送至該水表管理平台。 The adaptive case-site water meter management system as described in claim 1, wherein the water meter communication sub-machine obtains the water meter data of at least one water meter and analyzes it to detect when the number of consecutive failures of any water meter is greater than the third critical value or When the number of consecutive failures after successful recording is less than the fourth threshold, the device number, RS485 identification code, and water meter number corresponding to the RS485 identification code of the water meter communication slave are sent to the water meter management platform. 如請求項1所述之自適應案場之水表管理系統,其中,該下行控制指令中除了包含下行控制指令代號之表頭資訊外,在用於該水表通訊子機時,復包括用以帶入該水表通訊子機之讀表設定參數、運行設定參數、歷史資料參數之其中一者的負載資訊,以及在用於該水表通訊子機所介接之水表時,復包括用以帶入介接之全部水表設定參數、帶入特定之水表表號與運作流程參數、帶入特定RS485識別碼與運作流程參數之其中一者的負載資訊。 The adaptive water meter management system in the field as described in request item 1, wherein, in addition to the meter header information containing the downlink control command code, the downstream control command also includes, when used for the water meter communication sub-machine, the Enter the load information of one of the meter reading setting parameters, operation setting parameters, and historical data parameters of the water meter communication slave unit, and when used for the water meter to which the water meter communication slave unit is connected, including the method used to bring in the intervention Receive all water meter setting parameters, enter a specific water meter number and operation process parameters, and enter the load information of one of the specific RS485 identification code and operation process parameters. 一種自適應案場之水表管理方法,係由電腦設備執行該方法,該方法包括以下步驟: An adaptive case-site water meter management method is executed by computer equipment. The method includes the following steps: 令與至少一水表連結之水表通訊子機,透過RS485通訊協定及循環問答方式判斷介接水表之數量及決定讀表模式; Let the water meter communication slave connected to at least one water meter determine the number of connected water meters and determine the meter reading mode through the RS485 communication protocol and the loop question and answer method; 令該水表通訊子機取得該至少一水表之水表資料後進行分析,以於該水表通訊子機或該至少一水表發生異常事件時,產生告警訊息;以及 Cause the water meter communication sub-machine to obtain the water meter data of the at least one water meter and analyze it, so as to generate an alarm message when an abnormal event occurs in the water meter communication sub-machine or the at least one water meter; and 令水表管理平台收到來自該水表通訊子機之告警訊息時,產生告警通知以通知使用者。 Instructs the water meter management platform to generate an alarm notification to notify the user when it receives an alarm message from the water meter communication slave. 如請求項8所述之自適應案場之水表管理方法,復包括由該水表管理平台產生下行控制指令,以控制或更新該水表通訊子機或該至少一水表。 The adaptive field water meter management method described in claim 8 further includes generating a downstream control command from the water meter management platform to control or update the water meter communication sub-machine or the at least one water meter. 一種電腦可讀媒介,應用於計算裝置或電腦中,係儲存有指令,以執行如請求項8至9之任一者所述之自適應案場之水表管理方法。 A computer-readable medium, used in a computing device or a computer, stores instructions to execute the adaptive on-site water meter management method described in any one of claims 8 to 9.
TW111119307A 2022-05-24 2022-05-24 System for self-adaptive reading of smart water meter, method and computer readable medium thererof TWI815473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111119307A TWI815473B (en) 2022-05-24 2022-05-24 System for self-adaptive reading of smart water meter, method and computer readable medium thererof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111119307A TWI815473B (en) 2022-05-24 2022-05-24 System for self-adaptive reading of smart water meter, method and computer readable medium thererof

Publications (2)

Publication Number Publication Date
TWI815473B true TWI815473B (en) 2023-09-11
TW202346804A TW202346804A (en) 2023-12-01

Family

ID=88966058

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111119307A TWI815473B (en) 2022-05-24 2022-05-24 System for self-adaptive reading of smart water meter, method and computer readable medium thererof

Country Status (1)

Country Link
TW (1) TWI815473B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270383A (en) * 2011-08-10 2011-12-07 李蓉 Remote intelligent meter reading system
US8618941B2 (en) * 2009-02-25 2013-12-31 Aquacue, Inc. Systems and methods of interaction with water usage information
CN106303462A (en) * 2016-09-20 2017-01-04 北京飞图同辉科技有限公司 A kind of water meter camera direct-reading meter method and system based on GPRS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8618941B2 (en) * 2009-02-25 2013-12-31 Aquacue, Inc. Systems and methods of interaction with water usage information
CN102270383A (en) * 2011-08-10 2011-12-07 李蓉 Remote intelligent meter reading system
CN106303462A (en) * 2016-09-20 2017-01-04 北京飞图同辉科技有限公司 A kind of water meter camera direct-reading meter method and system based on GPRS

Also Published As

Publication number Publication date
TW202346804A (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN104516324B (en) Intelligent building management system and many building management systems
CN107306212B (en) Intelligent household alarm method and device, intelligent prevention and control terminal and household intelligent gateway
CN105258103A (en) Full-automatic boiler intelligent warning prompt system and method
CN112491668A (en) Intelligence house thing networking safety monitoring device
CN116308256A (en) Heat supply network fault detection and maintenance method and system
CN112448477A (en) Intelligent monitoring power distribution control system based on Internet of things
CN113791571A (en) Intelligent building equipment automatic control alarm device
CN113465121A (en) Remote monitoring system based on air conditioner of Internet of things and control method thereof
CN114707761A (en) Electric power intelligent scheduling management system
TWI815473B (en) System for self-adaptive reading of smart water meter, method and computer readable medium thererof
CN105021054A (en) Intelligent electric furnace combining internet-of-things technology and mobile management application
CN116955232A (en) Hardware identification method and device based on control system
CN207817501U (en) A kind of IT-room environment monitoring system based on big data
CN214376583U (en) Management system for grounding wire of power line operation site
CN109539457A (en) A kind of cold water computer room control method based on deep learning
CN114384884A (en) Intelligent monitoring system
CN101615814B (en) Method and system for monitoring electrical equipment in remote distance
CN111030853B (en) Information monitoring system based on full life cycle of equipment
KR20050106650A (en) Boiler remote control and united management system using by internet
CN113915535A (en) Urban gas pipeline network monitoring system and control method thereof
CN112488331A (en) Management system and management method for grounding wire of power line operation site
TWI748672B (en) Automatic meter reading abnormality analysis system and method thereof
CN111026055A (en) Workshop production data acquisition and analysis system and method
CN201278103Y (en) Monitoring system using information flow monitoring as core
KR102507147B1 (en) Building Automation System using artificial intelligence-based building facility operation assistance system, and operating method of the system