General control method based on demand response and energy efficiency control
Technical Field
The invention relates to the field of demand response and energy efficiency control, in particular to a general control method based on demand response and energy efficiency control.
Background
With the continuous improvement of national energy-saving laws and standards, the introduction of the international advanced energy-saving theory and method, the development of energy-saving projects in domestic energy consumption units and the implementation of demand response by the organization of power grid companies have become hot spots in the current engineering and scientific research fields.
At present, in each social field, there are very few energy-consuming devices or systems capable of automatically supporting demand response and energy efficiency control, and even if there are energy-consuming devices or systems capable of supporting demand response and energy efficiency control, control protocols used for these energy-consuming devices or systems are various due to the difference in manufacturers of the respective energy-consuming devices or systems. When the demand response control or the energy efficiency control is implemented on the energy-consuming equipment or the system, a converter or an adapter needs to be placed at the front end of the energy-consuming equipment or the system for conversion so as to meet the requirement that the energy-consuming equipment or the system implements the demand response control or the energy efficiency control.
Disclosure of Invention
In order to achieve the above requirements, the present invention provides a general control method based on demand response and energy efficiency control, which converts a unified control command sent from a master station into a control command corresponding to an energy-consuming device, thereby achieving the purpose of implementing demand response and energy efficiency control on the corresponding energy-consuming device or system.
The purpose of the invention is realized by adopting the following technical scheme:
a general control method based on demand response and energy efficiency control is applied to a field control terminal and a field controlled system, and comprises the following steps: receiving a control command, and analyzing the control command according to a control protocol; acquiring a control action and generating a control signal; the control signal drives the energy device to perform the control action.
Preferably, the terminal receives the control strategy of the energy efficiency control master station through a communication network, executes the control strategy through a terminal processor and generates a control command; the generation of the control commands is based on the control protocol of the present invention.
Preferably, the control command may be transmitted to the energy utilization device that needs demand response control or energy efficiency control in a wired or wireless manner, and after receiving the control command, the energy utilization device parses the control command according to a control protocol to obtain a control action, and the energy utilization device executes the control action.
Preferably, the constraint condition based on analysis in the energy-consuming equipment includes that the main controller of the energy-consuming equipment is required to support installation of a driver, and the energy-consuming equipment receives control of the terminal;
supporting the driver programmed based on the control protocol.
Preferably, after the driver is installed, the energy-consuming device has the capability of analyzing the control command, and the control action in the control command is obtained after the control command is analyzed; the main controller of the energy-using equipment executes control actions, and generates control signals according to the execution of the control actions, and the control signals drive the corresponding control units of the energy-using equipment to generate the control actions.
Preferably, the analyzing specifically includes: the control command can be transmitted from the terminal to the energy utilization equipment in a wired or wireless mode;
and after the control command in the energy-using equipment is analyzed by the control protocol, executing the control action in the control command.
Further, when the control protocol performs demand response control or energy efficiency control on the energy-using device, the functions of the control protocol include: switch control, opening and closing degree control, temperature control, humidity control and rotating speed control; wherein,
the control function comprises an attribute unit; and the attribute module is used for defining the control mode and the control amplitude of the control function module.
Preferably, the attribute module respectively regulates the step/step, the minimum scale, the degree, the adjusting upper limit value, the adjusting lower limit value and the target amplitude; wherein,
the step/stepless mode means the regulation of step mode and stepless mode for controlling the energy-using equipment;
the minimum scale is the minimum scale required to be regulated for step control when the energy utilization equipment is controlled, namely the minimum control unit;
the degree is a control quantity required to stipulate step control when the energy utilization equipment is controlled; the upper limit value and the lower limit value are the maximum degrees of step control and stepless control required to be regulated when the energy utilization equipment is controlled;
the target amplitude value is a target amplitude value which needs to be regulated and controlled when the energy-using equipment is subjected to stepless control.
Further, the control function further comprises a locking unit and an encryption unit;
the locking unit sends a control command carrying a locking attribute to the energy-using equipment through an owner of the energy-using equipment aiming at the condition that all the energy-using equipment do not accept demand response or an energy efficiency control master station controls the energy-using equipment to which the energy-using equipment belongs.
The encryption unit is used for preventing illegal analysis of the control command by an illegal user and preventing the illegal user from obtaining the control protocol through the illegal analysis so as to achieve the aim of illegal control of the energy utilization equipment.
Drawings
FIG. 1 is a flow chart of a demand response or energy efficiency control method;
FIG. 2 is a flow chart of a control protocol parsing method;
fig. 3 is a schematic diagram of a protocol frame format for encapsulating control commands.
Compared with the closest prior art, the invention achieves the following effects:
1. the control protocol of the invention can unify the control modes of the energy utilization equipment, no matter the existing energy utilization equipment or the future energy utilization equipment; aiming at the existing energy-using equipment or system, a corresponding control terminal with a communication function can be installed at the front end of the existing energy-using equipment or system to achieve the purpose of controlling the energy-using equipment or system; for future energy-using equipment or systems, the control command is transmitted to the energy-using equipment or systems through the communication network only according to the control protocol of the invention, and the energy-using equipment or systems can analyze the control command according to the control protocol of the invention so as to execute the control command and generate control action;
2. the control protocol of the invention achieves the purpose of upgrading and transforming the existing and old energy-using equipment or system, and has important significance for unifying and guiding the formulation of the control protocol standard of the future intelligent energy-using equipment or system with communication function;
3. the control protocol of the invention encapsulates the control function to be carried out only in the application layer, and can be used under various network system structures;
4. the control protocol of the invention has encryption measures, can ensure that the control command is not decoded after being stolen in the transmission process, has higher safety, and prevents illegal users from entering the control system and controlling energy-using equipment or the system.
The specific implementation mode is as follows:
the invention relates to a control protocol based on demand response and energy efficiency control, which is based on the field of demand response or energy efficiency control and is mainly applied to a field control terminal and a field controlled device or system in the field, wherein the field control terminal is a demand response or energy efficiency control terminal (hereinafter referred to as a terminal), and the field controlled device or system is an energy utilization device or system.
As shown in fig. 1, the terminal receives a demand response or a control policy for energy-efficient control of the master station through a communication network, and the internal processor of the terminal executes the control policy and generates a control command, where the generation of the control command is based on the control protocol of the present invention. The control command generated based on the control method and the control protocol of the invention can be transmitted to the energy utilization equipment or system which needs to perform demand response control or energy efficiency control in a wired or wireless mode, the energy utilization equipment or system receives the control command, analyzes the control command according to the control protocol to obtain a control action, and the energy utilization equipment or system executes the control action.
The control protocol is analyzed in the energy-consuming equipment or system, a main controller of the energy-consuming equipment or system is required to support installation of a driver, and the energy-consuming equipment or system is controlled by the terminal and must support the driver programmed based on the control protocol. After the driver is installed, the energy-consuming device or system has the capability of analyzing the control command, and analyzes the control command to obtain a control action in the control command, the main controller of the energy-consuming device or system executes the control action, generates a control signal according to the execution of the control action, and the control signal drives a corresponding control unit of the energy-consuming device or system to generate the control action, as shown in fig. 2.
The analysis refers to the analysis of an application layer, the control command can be transmitted from the terminal to the energy-using equipment or system in a wired or wireless mode, and the used communication protocols are various. The protocol describes a protocol frame format for encapsulating control commands at the application layer, and a protocol frame comprises four parts, namely an address field, a control function code, a data field and an error check, as shown in figure 3.
The address field is 16 bytes in length, all addresses can be enumerated in an endless manner, the address field has the same length as an IPV6 address, the control function code is 2 bytes in length, the data field is 16 bytes, 8 bytes are used at present, and the rest 8 bytes are reserved. The code words of each control function code and the control functions corresponding to the code words are shown in table 1.
Table 1: control function codeword table
As shown in table 2, from attribute 1 to attribute 7, the meanings represented by the attributes are different, the number of occupied bits is also different, and the specific value corresponding to each attribute depends on different combinations of bits corresponding to the attributes.
Table 2: data field bit allocation table
As shown in fig. 1, the present invention only generates the control command according to the control protocol of the present invention for the control policy in the terminal, and the control command in the energy-consuming device or system is analyzed according to the control protocol of the present invention to execute the control action in the control command.
When the control protocol performs demand response control or energy efficiency control on the energy utilization equipment or system, the control protocol mainly relates to the following main control functions: on-off control, opening and closing degree control, temperature control, humidity control, rotating speed control and the like. The energy-using equipment or system is classified according to the control function of the energy-using equipment or system, which is beneficial to simplifying the control protocol and enhancing the expansibility of the control protocol. As shown in table 2, the energy-consuming devices or systems are classified into on-off control, opening/closing degree control, temperature control, humidity control, and rotational speed control. The control function has an attribute, and the attribute is used for limiting the control mode, the control amplitude and the like of the control function. For the control functions and attributes omitted in table 1 and table 2, certain fields and bytes are reserved in the control protocol for the extension of the control protocol. The classification of the energy-using devices or systems in table 2 will be continuously updated as the control protocol is extended.
The attributes mainly include step/step, minimum scale (step), degree (step), upper adjustment limit, lower adjustment limit, target amplitude (step), and the like. The step/stepless mode means the regulation of step mode and stepless mode for the control of energy-using equipment or system; the minimum scale (stepped) refers to the minimum scale required to be regulated for stepped control when the energy utilization equipment or system is controlled, namely the minimum control unit, such as 1 ℃ in temperature control; the degree (with level) refers to a control quantity required to be regulated for level control when the energy utilization equipment or system is controlled, for example, when 1 degree centigrade is taken as a minimum scale in temperature control, the degree (with level) is regulated to be 2, and then the temperature is regulated and controlled at 2 degrees centigrade; the upper limit value and the lower limit value are the maximum degrees of step control and stepless control, for example, when the temperature is controlled in step, the highest temperature and the lowest temperature which can be reached by the energy-using equipment or the system are regulated, and when the temperature is controlled in stepless, the highest temperature range and the lowest temperature range (100-0%) which can be reached by the energy-using equipment or the system are regulated; the target amplitude (stepless) refers to a target amplitude value which needs to be regulated and controlled when the energy-using equipment or system is subjected to stepless control, for example, the temperature is regulated to 45%; as shown in table 3.
Table 1: summary table of control functions and attributes thereof
Note: -represents "none";
… … stand for "control function" and "attribute" to continue the enumeration.
Table 2: energy-using equipment or system classification and example summary table
Note: … … stand for "energy-using device or system classification" and "example" to continue the list
Table 3: attribute summary table
The control protocol also needs to have a control function, namely a locking function. The locking function is mainly used for the situation that the owner of the energy-using equipment or system does not want to receive demand response or the energy efficiency control master station controls the energy-using equipment or system, and the owner of the energy-using equipment or system sends a control command of the locking function to the energy-using equipment or system. And when the energy-using equipment or the energy-using system executes the locking function, abandoning the control command which is received by the energy-using equipment or the energy-using system and comes from the demand response or the energy-efficiency control master station. Until the energy-consuming device or system receives a command for unlocking the function sent by the owner of the energy-consuming device or system, the energy-consuming device or system will not normally receive the control command from the demand response or energy-efficient control master station.
After receiving the control command, the energy-consuming device or system responds to the sender of the control command, namely the terminal or the owner of the energy-consuming device or system, so that the sender of the control command knows whether the control command is correctly received by the energy-consuming device or system. If the control command is correctly received by the energy-using device or system, the sender of the control command prepares for sending a subsequent command or does not process the subsequent command; if the control command is not correctly received by the energy-consuming device or system, the sender of the control command will continue to send the control command that was not correctly received until the energy-consuming device or system correctly receives or other processing begins.
The control protocol has an encryption measure to prevent illegal analysis of the control command by an illegal user and prevent the illegal user from obtaining the control protocol through the illegal analysis so as to achieve the aim of illegal control of the energy utilization equipment or system.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.