Heat metering system control method and related equipment
By using the method of short-term power supply of intelligent valves in the thermal metering system, the problem of high difficulty in installation of data collectors and high control complexity is solved, the access process of serial port equipment is simplified, and the overall complexity and power consumption of the system are reduced.
Patent Information
- Application Number
- CN202210325343.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-03-30
AI Technical Summary
The installation of data collectors in existing thermal metering systems is difficult to install and have high control complexity, especially the power supply problem is difficult to solve, which leads to users who need to connect to a special data collector when matching serial port equipment or pressure sensors.
At the beginning of the acquisition cycle, power is supplied to the serial port equipment connected to the power supply port, and power is cut off after receiving the response data. The power is achieved using smart valves to avoid the serial port equipment from being equipped with a battery or being connected to the mains power, simplifying the installation process and reducing the installation process Control complexity.
The short power supply of intelligent valves simplifies the access to serial port equipment, reduces the installation difficulty and control complexity of the thermal metering system, avoids the need for special data collectors, and improves the ease of use and maintenance efficiency of the system.
Smart Images

Figure CN114690880B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of system control, and in particular to a heat metering system control method and related equipment. Background Art
[0002] In the transformation of heating pipe networks in recent years, the heating system has been continuously developing towards the Internet of Things, intelligence, and big data. At the beginning, it was a gateway-sub-device architecture composed of data collector / centralized controller + MBus valve + MBus serial port device + RS485 pressure sensor, etc. This type of architecture requires a lot of sub-devices to be connected to one collector, and all of them require external power supply. It is difficult to install, has a long debugging cycle, and is complex to maintain and control. In particular, the power supply problem cannot be connected if the property company does not cooperate. If the user needs to use a serial port device to collect heat data, or a pressure sensor to collect pipeline pressure data, it is still necessary to connect to a dedicated data collector. Therefore, the existing heat metering system has the problem of difficult installation of data collectors and high control complexity. Summary of the invention
[0003] The embodiment of the present invention provides a heat metering system control method, which aims to solve the problems of difficult installation and high control complexity of data collectors in existing heat metering systems. At the beginning of the acquisition cycle, the serial port device connected to the power supply port is powered, and after receiving the response data of the serial port device to the data acquisition instruction, the serial port device is powered off, so that the power supply of the serial port device is realized by the intelligent valve, and the serial port device does not need to have its own battery or be connected to the mains, which can simplify the access of the serial port device, and the serial port device is briefly powered at the beginning of the acquisition cycle, and does not need to be connected to a dedicated data collector and a dedicated power supply, so that the installation difficulty of the serial port device in the heat metering system is reduced, thereby reducing the control complexity of the heat metering system.
[0004] In a first aspect, an embodiment of the present invention provides a heat metering system control method, the method comprising:
[0005] When the acquisition cycle starts, if it is detected that a serial port device is connected to the power supply port, the power supply is controlled to supply power to the serial port device;
[0006] A data acquisition instruction is sent to the serial port device, and after receiving response data from the serial port device, the power supply is controlled to cut off power to the serial port device.
[0007] Furthermore, when the acquisition cycle starts, if it is detected that a serial port device is connected to the power port, before the step of controlling the power supply to power the serial port device, the method further includes:
[0008] Before the heating period, obtain the heating season information of the current year;
[0009] According to the heating season information, a collection period of the heat metering system in the current year is determined.
[0010] Furthermore, the heating season information includes leveling period information, and the step of determining the collection period of the heat metering system in the current year according to the heating season information includes:
[0011] According to the leveling period information, a leveling period collection cycle of the heat metering system in the current year is determined.
[0012] Further, according to the leveling period information, the step of determining the leveling period collection cycle of the heat metering system in the current year includes:
[0013] Determine the leveling index;
[0014] According to the leveling index and the leveling period information, a leveling period collection cycle of the heat metering system in the current year is determined.
[0015] Furthermore, the heating season information includes balance period information, and the step of determining the collection period of the heat metering system in the current year according to the heating season information includes:
[0016] According to the balancing period information, a balancing period collection cycle of the heat metering system in the current year is determined.
[0017] Furthermore, the step of determining the balance period collection cycle of the heat metering system in the current year according to the balance period information includes:
[0018] Determine the balance indicator;
[0019] Predicting the indicator change amount corresponding to the balance indicator;
[0020] The balance period collection cycle of the heat metering system in the current year is determined according to the indicator change amount and the balance period information.
[0021] Furthermore, the heat metering system further includes a cloud server, the cloud server is connected to the smart valve signal, and after the step of sending a data acquisition instruction to the serial port device and controlling the power supply to power off the serial port device after receiving the response data of the serial port device, the method further includes:
[0022] Storing the response data in a preset format to obtain data to be reported;
[0023] When the reporting cycle starts, the data to be reported is reported to the cloud server;
[0024] When all the data to be reported are reported, the intelligent valve is controlled to enter a dormant period.
[0025] In a second aspect, an embodiment of the present invention provides a heat metering system control device, the device comprising:
[0026] The acquisition module is used to control the power supply to supply power to the serial port device if it is detected that a serial port device is connected to the power port when the acquisition cycle starts;
[0027] The first control module is used to send a data acquisition instruction to the serial port device, and after receiving the response data from the serial port device, control the power supply to cut off the power supply to the serial port device.
[0028] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the heat metering system control method provided in the embodiment of the present invention are implemented.
[0029] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the heat metering system control method provided in the embodiment of the invention are implemented.
[0030] In an embodiment of the present invention, when the acquisition cycle starts, if it is detected that a serial port device is connected to the power supply port, the power supply is controlled to supply power to the serial port device; a data acquisition instruction is sent to the serial port device, and after receiving the response data of the serial port device, the power supply is controlled to cut off the power to the serial port device. By supplying power to the serial port device connected to the power supply port at the beginning of the acquisition cycle, and cutting off the power to the serial port device after receiving the response data of the serial port device to the data acquisition instruction, the power supply of the serial port device is realized by the intelligent valve, and the serial port device does not need to have its own battery or be connected to the mains, which can simplify the access of the serial port device, and the serial port device is briefly powered at the beginning of the acquisition cycle, and does not need to be connected to a special data collector and a special power supply, which reduces the difficulty of installing the serial port device in the heat metering system, thereby reducing the control complexity of the heat metering system. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 is a flow chart of a heat metering system control method provided by an embodiment of the present invention;
[0033] Figure 2 A heat metering system is provided in an embodiment of the present invention;
[0034] Figure 3 is a flow chart of data collection provided by an embodiment of the present invention;
[0035] Figure 4 is a schematic diagram of determining a collection period provided by an embodiment of the present invention;
[0036] Figure 5 is a structural schematic diagram of a heat metering system control device provided by an embodiment of the present invention;
[0037] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, but are not to be construed as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without creative work based on the embodiments of the present invention are within the scope of protection of the present invention.
[0039] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “circumferential”, “radial”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0040] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0041] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0043] A heat metering system control method provided by an embodiment of the present invention is applied to a heat metering system, wherein the heat metering system includes an intelligent valve and a serial port device, and the serial port device is connected to the intelligent valve through a serial port.
[0044] Specifically, the smart valve is a smart valve based on the Internet of Things (IoT), and more specifically, the smart valve is a smart valve based on the Narrow Band Internet of Things (NB-IoT).
[0045] The intelligent valve is connected to the serial device via the RS485 serial port, so that the intelligent valve and the serial device can realize signal connection, thereby obtaining the serial device data.
[0046] The intelligent valve includes a valve and a valve sensor, wherein the valve sensor may be a temperature sensor, a stall sensor or the like for collecting valve status data.
[0047] The smart valve can be powered by a battery, and the serial port device can be powered by the smart valve. The RS485 master station is integrated in the smart valve, and the serial port device is connected through the RS485 serial port. Furthermore, the smart valve also includes a power supply port, which can be connected to the serial port device. Furthermore, the RS485 serial port can integrate a power supply port to power the serial port device through the RS485 serial port. It should be noted that the serial port device supports the RS485 bus protocol. The smart valve has a built-in processor, which is used to obtain the response data of each serial port device through the RS485 bus protocol, and obtain the valve status data through the valve sensor. In the embodiment of the present invention, the heat metering system control method can be embedded in the processor, and the processor can be a microprocessor. The smart valve also includes a wireless module connected to the processor signal, and a signal channel between the smart valve and the cloud server can be established through the wireless module.
[0048] The serial port device may be an external sensor or an external controller. Specifically, the serial port device may be a device having an RS485 serial port, such as a heat meter, a room temperature controller, or a pressure sensor.
[0049] The cloud server may be a server that provides various services, such as a backend server that provides support for pages that require data or fault display.
[0050] It should be noted that the heat metering system control method provided in the embodiment of the present invention can also be executed by a cloud server. Accordingly, based on the fact that the heat metering system control device is generally arranged in the cloud server, after the intelligent valve collects the valve status data, the valve status data and the response data of the serial port device are packaged and sent to the cloud server, and processed by the heat metering system control method arranged in the cloud server.
[0051] See also Figure 1 , Figure 1 is a flow chart of a heat metering system control method provided by an embodiment of the present invention. Figure 1 As shown, the heat metering system control method includes the following steps:
[0052] 101. When the acquisition cycle starts, if it is detected that a serial port device is connected to the power supply port, the control power supply supplies power to the serial port device.
[0053] In the embodiment of the present invention, the above-mentioned collection cycle refers to the time interval between two data collections. The intelligent valve obtains valve status data through the valve and the valve sensor, and at the same time, obtains serial port device data by communicating with the serial port device.
[0054] The heat metering system includes an intelligent valve and a serial port device, and the serial port device is connected to the intelligent valve via a serial port. The acquisition cycle can be pre-stored in the intelligent valve.
[0055] In a possible embodiment, the heat metering system includes: a serial port device, an intelligent valve and a cloud server, wherein the serial port device is connected to the intelligent valve signal, and the intelligent valve is connected to the cloud server signal. The above-mentioned collection cycle can be sent to the intelligent valve at a specified time through the cloud server.
[0056] Specifically, the smart valve is a smart valve based on the Internet of Things (IoT), and more specifically, the smart valve is a smart valve based on the Narrow Band Internet of Things (NB-IoT).
[0057] The intelligent valve is connected to the serial port device via the RS485 interface so that the intelligent valve and the serial port device can realize signal connection, thereby obtaining the response data of the serial port device.
[0058] The power supply can be a battery of the smart valve. The smart valve can be powered by the battery. The RS485 master station is integrated in the smart valve, and the serial port device is connected through the RS485 serial port. It should be noted that the serial port device can be a device for detecting the flow of heat medium in the pipeline or controlling the pipeline. The serial port device in the embodiment of the present invention is integrated with the RS485 serial port and can support the RS485 bus protocol. Furthermore, the smart valve also includes a power supply port, which can be connected to the serial port device. Furthermore, the RS485 serial port can be integrated with a power supply port to supply power to the serial port device through the RS485 serial port.
[0059] The intelligent valve can communicate with the serial port device through the RS485 bus protocol to obtain the serial port device data. The above serial port device can be an external sensor or an external controller. Specifically, the above serial port device can be a device with an RS485 serial port such as a heat meter, a room temperature controller, a pressure sensor, etc.
[0060] At the beginning of the collection cycle, it indicates that data collection and control of the heat metering system is required. Specifically, at the beginning of the collection cycle, data collection and control of the pipeline conditions in the heat metering system are required through serial port devices. At this time, you can first detect whether there is a serial port device connected to the power supply port. If there is a serial port device connected to the power supply port, it means that data collection and control of the pipeline conditions in the heat metering system can be performed through the serial port device, and these serial port devices can be powered briefly. If there is no serial port device connected to the power supply port, it means that there is no serial port device working in the heat metering system, and the management personnel can be warned.
[0061] 102. Send a data acquisition instruction to the serial port device, and after receiving response data from the serial port device, control the power supply to cut off the power of the serial port device.
[0062] In an embodiment of the present invention, the response data of the serial port device is the collected data obtained by the serial port device detecting the flow condition of the heat medium in the pipeline, which is used to illustrate the flow condition of the heat medium in the pipeline, or the response data of the serial port device is the control feedback data of the serial port device on the pipeline.
[0063] After the smart valve supplies power to the serial port device, the smart valve sends the data acquisition instruction to the corresponding serial port device through the RS485 transmission protocol. The serial port device performs data acquisition or pipeline control according to the data acquisition instruction, and sends the acquired data or control feedback data as response data to the smart valve through the RS485 transmission protocol.
[0064] When the smart valve receives the response data from the serial port device, the collection cycle ends and enters the non-collection cycle. The power supply of the serial port device can be disconnected so that the serial port device no longer works, thereby reducing the overall power consumption of the heat metering system.
[0065] In an embodiment of the present invention, when the acquisition cycle starts, if it is detected that a serial port device is connected to the power supply port, the power supply is controlled to supply power to the serial port device; a data acquisition instruction is sent to the serial port device, and after receiving the response data of the serial port device, the power supply is controlled to cut off the power to the serial port device. By supplying power to the serial port device connected to the power supply port at the beginning of the acquisition cycle, and cutting off the power to the serial port device after receiving the response data of the serial port device to the data acquisition instruction, the power supply of the serial port device is realized by the intelligent valve, and the serial port device does not need to have its own battery or be connected to the mains, which can simplify the access of the serial port device, and the serial port device is briefly powered at the beginning of the acquisition cycle, and does not need to be connected to a special data collector and a special power supply, which reduces the difficulty of installing the serial port device in the heat metering system, thereby reducing the control complexity of the heat metering system.
[0066] Optionally, when the collection cycle begins, if it is detected that a serial port device is connected to the power port, before the step of controlling the power supply to power the serial port device, the heating season information of the current year can be obtained before the heating period; based on the heating season information, the collection cycle of the heat metering system in the current year is determined.
[0067] In an embodiment of the present invention, the corresponding heating season information may be obtained before the heating period of the current year, and the above heating season information may be information obtained from a relevant data center.
[0068] The above-mentioned heating season refers to the start and end time of heating each year. During the heating season, the heat metering system can collect and control data on the pipelines, so as to obtain the corresponding conditions of each pipeline, analyze whether the pipelines are operating normally, whether maintenance is needed, etc.
[0069] The above-mentioned heating season information may include the heating plan for the current year, and the heating plan for the current year may include the heating date, heating temperature, etc.
[0070] Specifically, the collection cycle of the heat metering system in the current year can be determined according to the heating date and heating temperature of the heating season. For example, the start time of the heating date can be used as the start time of the first collection cycle, and the frequency of the collection cycle can be determined according to the heating temperature. The higher the heating temperature, the higher the frequency of the collection cycle. The frequency of the above collection cycle can also be understood as the data rate of the heat metering system.
[0071] In addition, in the embodiment of the present invention, the collection cycle of the current year can also be determined according to the project requirements of the heat metering system. Specifically, the heating date and heating temperature of the heating season can be obtained from the project requirements to determine the collection cycle of the heat metering system in the current year. For example, the start time of the heating date can be used as the start time of the first collection cycle, and the frequency of the collection cycle can be determined according to the heating temperature. The higher the heating temperature, the higher the frequency of the collection cycle.
[0072] Optionally, the heating season information includes leveling period information. In the step of determining the collection period of the heat metering system in the current year based on the heating season information, the leveling period collection period of the heat metering system in the current year can be determined based on the leveling period information.
[0073] In an embodiment of the present invention, the above-mentioned leveling period refers to the beginning period of the heating season, such as the first few days of the heating season. During the leveling period, the valve opening needs to be adjusted according to the pipeline pressure and return water temperature to achieve thermal and hydraulic balance.
[0074] During the leveling period, the serial port device can be a data acquisition device and a pipeline control device, wherein the data acquisition device can collect pipeline pressure and return water temperature, and the pipeline control device can adjust the valve opening.
[0075] The leveling period information includes the start and end dates of the leveling period and the ambient temperature of the leveling period. The leveling period collection period of the heat metering system in the current year is determined according to the start and end dates of the leveling period and the ambient temperature of the leveling period. The ambient temperature of the leveling period may be the average ambient temperature of the leveling period.
[0076] The start date of the leveling period may be the same as the start date of the heating season. The ambient temperature during the leveling period may be predicted by the historical temperature data before the heating season. When the ambient temperature during the leveling period and the heating temperature are greater than the preset value, the frequency of the leveling period collection cycle may be increased; when the ambient temperature during the leveling period and the heating temperature are less than the preset value, the frequency of the leveling period collection cycle may be reduced.
[0077] Optionally, in the step of determining the leveling period collection cycle of the heat metering system in the current year based on the leveling period information, a leveling index can be determined; and the leveling period collection cycle of the heat metering system in the current year can be determined based on the leveling index and the leveling period information.
[0078] In the embodiment of the present invention, the above-mentioned leveling index may include a thermal balance index and a hydraulic balance index. During the leveling period, the valve opening needs to be adjusted according to the pipeline pressure and the return water temperature to achieve thermal and hydraulic balance.
[0079] During the leveling period, the data collection cycle is required to be short, and a collection cycle with a shorter interval can be set.
[0080] Optionally, the heating season information includes balance period information. In the step of determining the collection period of the heat metering system in the current year based on the heating season information, the balance period collection period of the heat metering system in the current year can be determined based on the balance period information.
[0081] In the embodiment of the present invention, after the leveling is completed in the leveling period, the equilibrium period begins. During the equilibrium period, the return water temperature and pipeline pressure change slightly, and the valve opening adjustment is almost stable. At this time, the data collection cycle is not required much, and a collection cycle with a longer interval can be set.
[0082] Specifically, the above-mentioned balancing period information includes the balancing period start and end dates and the balancing period ambient temperature. The balancing period start date is the same as the leveling period end date, and the balancing period end date is the same as the heating season end date. The balancing period ambient temperature can be the average ambient temperature of the balancing period. According to the balancing period start and end dates and the balancing period ambient temperature, the balancing period collection cycle of the heat metering system in the current year is determined.
[0083] Optionally, in the step of determining the balance period collection cycle of the heat metering system in the current year based on the balance period information, the balance index can be determined; the indicator change corresponding to the balance index can be predicted; and the balance period collection cycle of the heat metering system in the current year can be determined based on the indicator change and the balance period information.
[0084] In an embodiment of the present invention, the balance index may include the return water temperature change and the pipeline pressure change. When the return water temperature change is less than the preset temperature change, it means that the return water temperature change meets the balance index. When the pipeline pressure change is less than the preset pressure change, it means that the pipeline pressure change meets the balance index.
[0085] The change in the balance index corresponding to the current year can be predicted based on the change in the historical balance index. The balance period collection cycle of the heat metering system in the current year can be determined based on the predicted change in the balance index corresponding to the current year. The greater the change in the balance index corresponding to the current year, the shorter the interval of the collection cycle is set, that is, the frequency of data collection is increased; conversely, the longer the interval of the collection cycle is set, that is, the frequency of data collection is reduced.
[0086] Optionally, the heat metering system also includes a cloud server, which is connected to the smart valve signal. After sending a data acquisition instruction to the serial port device and receiving the response data from the serial port device, the power supply is controlled to cut off the power of the serial port device. The response data can also be stored in a preset format to obtain data to be reported; when the reporting cycle starts, the data to be reported is reported to the cloud server; when all the data to be reported are reported, the smart valve is controlled to enter a sleep period.
[0087] In the embodiment of the present invention, the reporting period may be a period of time after one data collection is completed, or may be a period of time after n data collections are completed, where n is an integer greater than 1.
[0088] After the intelligent valve receives the response data returned by the serial port device, the response data is stored in a preset format, which may be in chronological order or in serial port device number order.
[0089] In the embodiment of the present invention, the battery life of the smart valve can be extended. At the same time, the problem of power supply difficulty of serial port devices can be solved. The smart valve can uniformly power all serial port devices, which is convenient for control and maintenance of the heat metering system.
[0090] By implementing the embodiments of the present invention, the data collection cycle can be dynamically set, the RS485 power supply logic and the external device power supply logic can be optimized, so that the battery-powered NB-IoT smart valve can integrate various types of data collector functions at the same time, and can realize various requirements and architectures in the heating system such as heat meter access, pressure sensor access, room temperature controller access, etc. without connecting to electricity. The installation difficulty of the heat metering system is greatly reduced, the debugging cycle is shortened, and the heat metering system can be quickly deployed and put online.
[0091] Further, such as Figure 2 As shown, Figure 2 A heat metering system is provided in an embodiment of the present invention. Figure 2 In the NB-IoT smart valve, an RS485 interface is provided to collect data from RS485 serial devices such as heat meters, room temperature controllers, and pressure sensors, and to provide temporary power to devices that require power.
[0092] Further, such as Figure 3 As shown, Figure 3 is a flow chart of data collection provided by an embodiment of the present invention. Figure 3 In the process, the NB-IoT valve is in a dormant state most of the time. When the next collection cycle arrives, it is automatically awakened and starts the data collection task. First, it determines whether there is a serial port device connected to the power supply port. If there is a serial port device connected, turn on the power output to power the external serial port device (such as pressure sensors and other devices that need power). Then turn on the RS485 master station, send data collection instructions, wait for the serial port device to respond to the data, shut down the RS485 master station and stop the power output. The data is stored in a specific format and waits to be reported to the cloud when the next reporting cycle arrives. The device enters the dormant period again.
[0093] Further, such as Figure 4 As shown, Figure 4 is a schematic diagram of determining a collection period provided by an embodiment of the present invention. Figure 4 In the heating industry, each year can be divided into the heating season and the non-heating season. The heating season is further divided into the leveling period and the balancing period. In the first few days of heating each year, the valve opening needs to be adjusted according to the pipeline pressure and return water temperature to achieve thermal and hydraulic balance. At this time, the data collection cycle is required to be short, and a shorter collection cycle can be set remotely. After the leveling is completed, the balance period begins. At this time, the return water temperature and pipeline pressure change little, and the valve opening adjustment is almost stable. At this time, the data collection cycle is not required. A longer collection cycle can be set remotely. After the heating season ends, the non-heating season begins. At this time, the heating system stops running, the equipment no longer needs to collect data, and the data collection function can be stopped remotely. Through the above steps and strategies, the service life of the valve battery can be extended as much as possible.
[0094] Furthermore, the data collection cycle can be set remotely, and the collection cycle can be dynamically adjusted according to project needs and different data update frequency requirements in the heating season and non-heating season to extend the battery life.
[0095] Furthermore, the collected heat meter heat, return water temperature, and pressure sensor pressure data can be linked to the valve opening for control, such as closing the valve when the heat reaches a specified value, adjusting the valve opening to make the return water temperature close to the set temperature, etc.
[0096] It should be noted that the heat metering system control method provided in the embodiment of the present invention can be applied to devices such as smart valves, smart meters, servers, etc. that can perform heat metering system control.
[0097] Optional, see Figure 5 , Figure 5is a schematic diagram of the structure of a heat metering system control device provided by an embodiment of the present invention, such as Figure 5 As shown, the device comprises:
[0098] The acquisition module 501 is used for controlling the power supply to supply power to the serial port device if it is detected that a serial port device is connected to the power port when the acquisition cycle starts;
[0099] The first control module 502 is used to send a data acquisition instruction to the serial port device, and after receiving the response data from the serial port device, control the power supply to cut off the power supply to the serial port device.
[0100] Furthermore, before the acquisition module 501, the device further includes:
[0101] The acquisition module is used to obtain the heating season information of the current year before the heating period;
[0102] A determination module is used to determine the collection cycle of the heat metering system in the current year according to the heating season information.
[0103] Furthermore, the heating season information includes leveling period information, and the determination module includes:
[0104] The determination submodule is used to determine the leveling period collection cycle of the heat metering system in the current year according to the leveling period information.
[0105] Furthermore, the determination submodule includes:
[0106] A first determining unit, used to determine a leveling index;
[0107] The second determining unit is used to determine the leveling period collection cycle of the heat metering system in the current year according to the leveling index and the leveling period information.
[0108] Furthermore, the heating season information includes balance period information, and the second determination unit is further used to determine the balance period collection cycle of the heat metering system in the current year according to the balance period information.
[0109] Furthermore, the second determination unit is also used to determine a balance index; predict an index change amount corresponding to the balance index; and determine a balance period collection cycle of the heat metering system in the current year based on the index change amount and the balance period information.
[0110] Furthermore, the heat metering system further includes a cloud server, and the cloud server is connected to the smart valve signal. After the first control module 502, the device further includes:
[0111] A storage module, used to store the response data in a preset format to obtain data to be reported;
[0112] A reporting module, used for reporting the data to be reported to the cloud server when a reporting cycle starts;
[0113] The second control module is used to control the smart valve to enter a dormant period when all the data to be reported are reported.
[0114] It should be noted that the heat metering system control device provided in the embodiment of the present invention can be applied to devices such as smart phones, computers, servers, etc. that can control the heat metering system.
[0115] The heat metering system control device provided in the embodiment of the present invention can implement each process implemented by the heat metering system control method in the above method embodiment and can achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0116] See also Figure 6 , Figure 6 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 6 As shown, it includes: a memory 602, a processor 601, and a computer program of a heat metering system control method stored in the memory 602 and executable on the processor 601, wherein:
[0117] The processor 601 is used to call the computer program stored in the memory 602 to perform the following steps:
[0118] When the acquisition cycle starts, if it is detected that a serial port device is connected to the power supply port, the power supply is controlled to supply power to the serial port device;
[0119] A data acquisition instruction is sent to the serial port device, and after receiving response data from the serial port device, the power supply is controlled to cut off power to the serial port device.
[0120] Furthermore, when the acquisition cycle starts, if it is detected that a serial port device is connected to the power port, before the step of controlling the power supply to power the serial port device, the method executed by the processor 601 further includes:
[0121] Before the heating period, obtain the heating season information of the current year;
[0122] According to the heating season information, a collection period of the heat metering system in the current year is determined.
[0123] Furthermore, the heating season information includes leveling period information, and the step of determining the collection period of the heat metering system in the current year according to the heating season information performed by the processor 601 includes:
[0124] According to the leveling period information, a leveling period collection cycle of the heat metering system in the current year is determined.
[0125] Further, the step of determining the leveling period collection cycle of the heat metering system in the current year according to the leveling period information executed by the processor 601 includes:
[0126] Determine the leveling index;
[0127] According to the leveling index and the leveling period information, a leveling period collection cycle of the heat metering system in the current year is determined.
[0128] Furthermore, the heating season information includes balance period information, and the step of determining the collection period of the heat metering system in the current year according to the heating season information performed by the processor 601 includes:
[0129] According to the balancing period information, a balancing period collection cycle of the heat metering system in the current year is determined.
[0130] Further, the step of determining the balance period collection cycle of the heat metering system in the current year according to the balance period information executed by the processor 601 includes:
[0131] Determine the balance indicator;
[0132] Predicting the indicator change amount corresponding to the balance indicator;
[0133] The balance period collection cycle of the heat metering system in the current year is determined according to the indicator change amount and the balance period information.
[0134] Furthermore, the heat metering system further includes a cloud server, the cloud server is connected to the smart valve signal, and after the step of sending a data acquisition instruction to the serial port device and controlling the power supply to power off the serial port device after receiving the response data of the serial port device, the method executed by the processor 601 further includes:
[0135] Storing the response data in a preset format to obtain data to be reported;
[0136] When the reporting cycle starts, the data to be reported is reported to the cloud server;
[0137] When all the data to be reported are reported, the intelligent valve is controlled to enter a dormant period.
[0138] The electronic device provided in the embodiment of the present invention can implement each process implemented by the heat metering system control method in the above method embodiment and can achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0139] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the computer program implements the various processes of the heat metering system control method or the application-end heat metering system control method provided in the embodiment of the present invention, and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0140] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0141] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0142] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software program modules.
[0145] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0146] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0147] The embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A heat metering system control method, characterized in that: The heat metering system includes a smart valve and a serial port device, the serial port device is connected to the smart valve via a serial port, the smart valve is powered by a battery, and the serial port device is powered by the smart valve. The method includes the following steps: Before the heating period, obtain the heating season information of the current year; According to the heating season information, determine the collection cycle of the heat metering system in the current year; the heating season information includes leveling period information and balancing period information, the leveling period information includes the start and end dates of the leveling period and the ambient temperature of the leveling period, the balancing period information includes the start and end dates of the balancing period and the ambient temperature of the balancing period, the start date of the leveling period is the same as the start date of the heating season, and the ambient temperature of the leveling period is predicted by the historical temperature data before the heating season; the start date of the balancing period is the same as the end date of the leveling period, the end date of the balancing period is the same as the end date of the heating season, and the ambient temperature of the balancing period is the average ambient temperature of the balancing period; Determining the collection cycle of the heat metering system in the current year according to the heating season information includes: During the leveling period, according to the leveling period information, the leveling period collection cycle of the heat metering system in the current year is determined; when the leveling period ambient temperature and the heating temperature are greater than the preset value, the frequency of the leveling period collection cycle is increased; when the leveling period ambient temperature and the heating temperature are less than the preset value, the frequency of the leveling period collection cycle is reduced; During the balancing period, the balancing index is determined; the index change corresponding to the balancing index of the current year is predicted based on the historical balancing index change, and the index change corresponding to the balancing index of the current year is determined based on the predicted index change; the balancing period collection cycle of the heat metering system of the current year is determined based on the index change and the balancing period information; the greater the index change corresponding to the balancing index of the current year is predicted, the higher the frequency of the balancing period collection cycle is; otherwise, the frequency of the balancing period collection cycle is reduced; When the acquisition cycle starts, if it is detected that a serial port device is connected to the power port, the power supply is controlled to supply power to the serial port device; A data acquisition instruction is sent to the serial port device, and after receiving response data from the serial port device, the power supply is controlled to cut off power to the serial port device.
2. The heat metering system control method according to claim 1, characterized in that: The step of determining the leveling period collection cycle of the heat metering system in the current year according to the leveling period information includes: Determine the leveling index; According to the leveling index and the leveling period information, a leveling period collection cycle of the heat metering system in the current year is determined.
3. The heat metering system control method according to claim 1 or 2, characterized in that: The heat metering system further includes a cloud server, the cloud server is connected to the smart valve signal, and after the step of sending a data acquisition instruction to the serial port device and controlling the power supply to power off the serial port device after receiving the response data of the serial port device, the method further includes: Storing the response data in a preset format to obtain data to be reported; When the reporting cycle starts, the data to be reported is reported to the cloud server; When all the data to be reported are reported, the intelligent valve is controlled to enter a dormant period.
4. A heat metering system control device, characterized in that: The heat metering system includes a smart valve and a serial port device, the serial port device is connected to the smart valve via a serial port, the smart valve is powered by a battery, and the serial port device is powered by the smart valve. The device includes: The acquisition module is used to obtain the heating season information of the current year before the heating period; A determination module is used to determine the collection period of the heat metering system in the current year based on the heating season information; the heating season information includes leveling period information and balancing period information, the leveling period information includes the start and end dates of the leveling period and the ambient temperature of the leveling period, the balancing period information includes the start and end dates of the balancing period and the ambient temperature of the balancing period, the start date of the leveling period is the same as the start date of the heating season, and the ambient temperature of the leveling period is predicted by the historical temperature data before the heating season; the start date of the balancing period is the same as the end date of the leveling period, the end date of the balancing period is the same as the end date of the heating season, and the ambient temperature of the balancing period is the average ambient temperature of the balancing period; the determination module is used to determine the collection period of the heat metering system in the current year based on the heating season information, including: within the leveling period, according to the Leveling period information, determining the leveling period collection cycle of the heat metering system in the current year; when the leveling period ambient temperature and the heating temperature are greater than the preset value, increasing the frequency of the leveling period collection cycle; when the leveling period ambient temperature and the heating temperature are less than the preset value, reducing the frequency of the leveling period collection cycle; during the balancing period, determining the balance index; predicting the index change amount corresponding to the balance index in the current year based on the historical balance index change amount, and the index change amount corresponding to the balance index in the current year obtained by the prediction; determining the balancing period collection cycle of the heat metering system in the current year based on the index change amount and the balancing period information; the greater the index change amount corresponding to the predicted balance index in the current year, the higher the frequency of the balancing period collection cycle; otherwise, the frequency of the balancing period collection cycle is reduced; The acquisition module is used for controlling the power supply to supply power to the serial port device if it is detected that a serial port device is connected to the power port when the acquisition cycle starts; The first control module is used to send a data acquisition instruction to the serial port device, and after receiving response data from the serial port device, control the power supply to cut off the power supply to the serial port device.
5. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the heat metering system control method according to any one of claims 1 to 3 when executing the computer program.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the heat metering system control method according to any one of claims 1 to 3 are implemented.
