CN110360727B - Unit controller, method and device, multi-unit online equipment and storage medium - Google Patents

Unit controller, method and device, multi-unit online equipment and storage medium Download PDF

Info

Publication number
CN110360727B
CN110360727B CN201910660125.XA CN201910660125A CN110360727B CN 110360727 B CN110360727 B CN 110360727B CN 201910660125 A CN201910660125 A CN 201910660125A CN 110360727 B CN110360727 B CN 110360727B
Authority
CN
China
Prior art keywords
online
unit
units
target
machine
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910660125.XA
Other languages
Chinese (zh)
Other versions
CN110360727A (en
Inventor
杨文军
李文健
周亚
袁明征
张勇
黎珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910660125.XA priority Critical patent/CN110360727B/en
Publication of CN110360727A publication Critical patent/CN110360727A/en
Application granted granted Critical
Publication of CN110360727B publication Critical patent/CN110360727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25BREFRIGERATION MACHINES, PLANTS OR SYSTEMS; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS
    • F25B49/00Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25BREFRIGERATION MACHINES, PLANTS OR SYSTEMS; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS
    • F25B2600/00Control issues
    • F25B2600/01Timing

Abstract

The invention relates to a controller, a method and a device of a unit, multi-unit online equipment and a storage medium, comprising the following steps: if a starting request of the multi-machine online equipment is received, randomly starting a reference online machine set in M online machine sets in the multi-machine online equipment; determining target operation requirements of the multi-machine online equipment; determining N online units needing to be started according to the target operation requirements of the multi-unit online equipment; if N is equal to 1, controlling the reference online unit to operate; and if N is larger than 1, respectively controlling the reference online unit and N-1 target online units selected from the M online units to operate so as to balance the operation time of each unit in the multi-unit online equipment. By adopting the technical scheme of the invention, the operating time of each unit can be controlled in a balanced manner by utilizing the principle of probability under the premise of not recording the operating time of each unit and not calculating, so that the occupied memory space of the controller is reduced, and the control efficiency of the units is improved.

Description

Unit controller, method and device, multi-unit online equipment and storage medium
Technical Field
The invention relates to the technical field of equipment control, in particular to a controller, a method and a device of a unit, multi-unit online equipment and a storage medium.
Background
The existing air conditioners, air source heat pumps and other equipment with a plurality of units (called multi-unit online equipment for short) usually have modularized unit control requirements, and when the multi-unit online equipment runs, the phenomenon of unbalanced unit running often occurs, namely the running time of one unit is longer, and the running time of other units is shorter. Therefore, the multi-machine online equipment is always subjected to balance control aiming at the running time of the modular machine set.
In the prior art, most methods for balancing the running time of the units count the running time of each unit, the unit with long running time is started late or not started, and the unit with short running time is started first, so that the running time of each unit in the whole multi-unit online equipment is balanced.
However, the running time of each unit is required to be recorded by the controller all the time, and the calculation is continuously updated, so that the memory space occupied by the controller is large, and the control efficiency of the unit is reduced.
Disclosure of Invention
In view of the above, the present invention provides a controller, a method, an apparatus, a multi-machine online device, and a storage medium for a machine set, so as to solve the problem of low control efficiency of the machine set in the prior art.
In order to achieve the above object, the present invention provides a control method for a machine set, comprising:
if a starting request of the multi-machine online equipment is received, randomly starting a reference online machine set in M online machine sets in the multi-machine online equipment; wherein M is an integer greater than 2;
determining target operation requirements of the multi-machine online equipment;
determining N online units needing to be started according to the target operation requirements of the multi-machine online equipment; n is a positive integer, and N is less than or equal to M;
if the N is equal to 1, controlling the reference online unit to operate;
if the N is larger than 1, respectively controlling the reference online unit and N-1 target online units selected from the M online units to operate so as to balance the operation time of each unit in the multi-machine online equipment;
and the numbers of the N-1 target online units are adjacent in sequence, and the number of the first target online unit is adjacent to the number of the reference online unit.
Further, in the above method for controlling a machine set, before randomly starting a reference online machine set of M online machine sets online in the multi-machine online device, the method further includes:
adding all the units meeting the starting condition in the multi-machine online equipment into a sequencing queue;
and numbering the units added into the sequencing queue to obtain the M online units numbered from 1 to M.
Further, in the above method for controlling a unit, the selection principle of the N-1 target online units with sequentially adjacent numbers includes:
if the number a of the reference online unit is equal to M, selecting N-1 numbers b from M online units according to a first preset formulaiThe target online units are adjacent in sequence; the first preset formula is biI; wherein, b isiThe number of the ith target online unit, wherein i is a positive integer and is less than or equal to N-1;
if a is less than M and N is less than or equal to M-a +1, selecting N-1 serial numbers b from M online units according to a second preset formulaiThe target online units are adjacent in sequence; the second preset formula is as follows; bi=a+i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a third preset formulaiThe target online units are adjacent in sequence; the third preset formula is as follows:
Figure BDA0002138253580000021
further, in the above method for controlling a unit, the selection principle of the N-1 target online units with sequentially adjacent numbers includes:
if a is equal to M, selecting N-1 serial numbers b from M online units according to a fourth preset formulaiThe target online units are adjacent in sequence; the fourth preset formula is as follows: bi=M-i;
If a is less than M and N is less than or equal to a +1, selecting N-1 serial numbers b from M online units according to a fifth preset formulaiThe target online units are adjacent in sequence; the fifth preset formula is as follows: bi=a-i;
If a is less than M and N is more than M-a +1, according to a sixth preset formula, selectingN-1 serial numbers b are selected from the M online unitsiThe target online units are adjacent in sequence; the sixth preset formula is as follows:
Figure BDA0002138253580000031
further, in the above method for controlling a unit, the determining N online units to be started according to the target operation requirement of the multiple online devices includes:
determining the load amount corresponding to the target operation requirement of the multi-machine online equipment;
and calculating the numerical value of N according to the load capacity and the rated output power of each online unit.
Further, the above-mentioned control method for the unit further includes:
if a unit operation stopping instruction is received, detecting whether the unit operation stopping instruction carries a number of a shutdown unit;
if the shutdown instruction carries the serial number of the shutdown unit, controlling the shutdown unit corresponding to the serial number of the shutdown unit to stop running;
if the shutdown instruction does not carry the serial number of the shutdown unit, determining the shutdown requirement of the multi-unit online equipment;
determining P units to be shut down which need to be shut down according to the shut down requirement; p is a positive integer and is less than or equal to N-1;
and sequentially controlling each online unit to be stopped to stop running based on a principle of starting first and stopping first.
The present invention also provides a control device for a machine set, comprising:
the starting module is used for randomly starting one reference online unit in M online units in the multi-machine online equipment if a starting request of the multi-machine online equipment is received; wherein M is an integer greater than 2;
the first determining module is used for determining the target operation requirement of the multi-machine online equipment;
the second determining module is used for determining N online units needing to be started according to the target operation requirement of the multi-machine online equipment; n is a positive integer, and N is less than or equal to M;
the control module is used for controlling the operation of the reference online unit if the N is equal to 1; if the N is larger than 1, respectively controlling the operation of the reference online unit and N-1 target online units in the M online units so as to balance the operation time of each unit in the multi-machine online equipment; and the numbers of the N-1 target online units are adjacent in sequence, and the number of the first target online unit is adjacent to the number of the reference online unit.
Further, the control device of the above-mentioned unit further includes:
the sequencing module is used for adding all the units meeting the starting condition in the multi-machine online equipment into a sequencing queue;
and the numbering module is used for numbering the units added into the sequencing queue to obtain the M online units numbered from 1 to M.
Further, in the above control device for a unit, the selection principle of the N-1 target online units with sequentially adjacent numbers includes:
if the number a of the reference online unit is equal to M, selecting N-1 numbers b from M online units according to a first preset formulaiThe target online units are adjacent in sequence; the first preset formula is biI; wherein, b isiThe number of the ith target online unit, wherein i is a positive integer and is less than or equal to N-1;
if a is less than M and N is less than or equal to M-a +1, selecting N-1 serial numbers b from M online units according to a second preset formulaiThe target online units are adjacent in sequence; the second preset formula is as follows; bi=a+i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a third preset formulaiThe target online units are adjacent in sequence; the third preset formula is as follows:
Figure BDA0002138253580000051
further, in the above control device for a unit, the selection principle of the N-1 target online units with sequentially adjacent numbers includes:
if a is equal to M, selecting N-1 serial numbers b from M online units according to a fourth preset formulaiThe target online units are adjacent in sequence; the fourth preset formula is as follows: bi=M-i;
If a is less than M and N is less than or equal to a +1, selecting N-1 serial numbers b from M online units according to a fifth preset formulaiThe target online units are adjacent in sequence; the fifth preset formula is as follows: bi=a-i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a sixth preset formulaiThe target online units are adjacent in sequence; the sixth preset formula is as follows:
Figure BDA0002138253580000052
the present invention also provides a controller for a machine set, comprising: a processing chip and a memory chip;
the processing chip is connected with the storage chip:
the processing chip is used for calling and executing the program stored in the storage chip;
the memory chip is used for storing the program, and the program is at least used for executing the control method of the unit.
The invention also provides multi-machine online equipment which comprises at least two machine sets and the controller of the machine set;
each unit is connected with the controller of the unit.
Further, the multi-machine online equipment comprises an air source heat pump and/or an air conditioner.
The invention also provides a storage medium on which a computer program is stored which, when executed by a processor, implements the steps of the control method of the plant as described above.
According to the controller, the method and the device of the unit, the multi-machine online equipment and the storage medium, if a starting request of the multi-machine online equipment is received, a reference online unit in M online units on line in the multi-machine online equipment is started randomly; after the target operation requirement of the multi-machine online equipment is determined, N online machine sets needing to be started are determined according to the target operation requirement of the multi-machine online equipment; if N is equal to 1, controlling the reference online unit to operate; if N is larger than 1, selecting N-1 target online units with sequentially adjacent serial numbers from the M online units; the operation of the reference online unit and the N-1 target online units is respectively controlled, so that the operation time of each unit is subjected to balanced control as the selected times of each unit are approximately the same as the selected times of the multi-unit online equipment are increased on the premise that the selected probability of each online unit is the same and the action object of each unit is the same. By adopting the technical scheme of the invention, the running time of each unit can be controlled in a balanced manner on the premise of not recording the running time of each unit and not calculating, so that the memory space occupied by the controller is reduced, and the control efficiency of the units is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a first embodiment of a control method for a plant according to the present invention;
FIG. 2 is a flowchart of a second embodiment of a control method for an assembly according to the present invention;
FIG. 3 is a schematic structural diagram of a first embodiment of a control device of the assembly of the present invention;
FIG. 4 is a schematic structural diagram of a second embodiment of a control device of the assembly of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of a controller of the assembly of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flowchart of a first embodiment of a control method for a plant unit according to the present invention, and as shown in fig. 1, the control method for a plant unit according to this embodiment may specifically include the following steps:
100. if a starting request of the multi-machine online equipment is received, randomly starting a reference online machine set in M online machine sets in the multi-machine online equipment;
in a specific implementation process, in order to prevent that the running time of a part of the unit sets is too long and the running time of the part of the unit sets is too short, the running time of each unit set needs to be balanced, for a plurality of unit sets, the probability of each unit set being selected is the same from the point of view of probability, that is, as long as one unit set is randomly started, the number of times of each unit set being selected is closer and closer as the number of times increases, and the acting objects of each unit set are the same, which means that the using time of each unit set is the same and close, therefore, the running time of each unit set is necessarily balanced as the number of times increases. Therefore, in the embodiment, based on the principle, the equalization processing of each unit of the multi-unit online equipment can be realized.
Specifically, in this embodiment, when the user needs to use the multi-machine online device, the user may initiate a power-on request of the multi-machine online device through a remote controller, an operation panel, and the like. Therefore, if a starting request of the multi-machine online equipment is received, one online machine set in the M online machine sets can be randomly started to serve as a reference online machine set, and the times of selecting each online machine set as the reference online machine set are approximately the same along with the increase of the starting times. Wherein M is an integer greater than 2.
It should be noted that, in a normal situation, all the units of the multi-machine online device are started up only under a normal condition, that is, in a normal situation, all the units of the multi-machine online device are online units, and the number of times that each unit is selected as a reference online unit is approximately the same. Even if some units of the multi-unit online equipment are abnormal under a special condition and do not belong to the online units in one statistical process, the selection times of some abnormal units are similar to the selection times of other units along with the use time evidence of the multi-unit online equipment.
101. Determining target operation requirements of the multi-machine online equipment;
in practical application, if a user needs to use the multi-machine online device, the user often needs to send own requirement information to the multi-machine online device while sending a startup request or after sending the startup request. For example, the number of the units that need to be started, which mode the multi-unit online device needs to operate in, etc. Therefore, the target operation requirement of the multi-machine online equipment can be further determined according to the requirement information input by the user. For example, target operation requirements such as power of the multi-machine online equipment and the number of the operating units can be determined according to the number of the started units input by the user, which mode the multi-machine online equipment needs to work in, and the like.
It should be noted that this embodiment does not limit the sequence of the step and the operation of "randomly starting one reference online unit of the M online units in the multi-machine online device" in step 100.
102. Determining N online units needing to be started according to the target operation requirements of the multi-unit online equipment;
in this embodiment, after the target operation requirement of the multi-machine online device is determined, the N online machine sets to be started may be determined according to the target operation requirement of the multi-machine online device. N is a positive integer, and N is less than or equal to M.
For example, if the target operation requirement of the multi-machine online device is the number of the operation machine sets, the N online machine sets that need to be started can be directly determined. If the target operation requirement of the multi-machine online equipment is the load capacity of the multi-machine online equipment, conversion can be carried out according to the rated power of each online unit and the load capacity of the multi-machine online equipment, and therefore the N online units needing to be started are determined.
103. Judging whether the number N of the online units is equal to 1 or not; if yes, go to step 104, if no, go to step 105;
in practical application, at least one unit runs when the multi-unit online device runs, and in this embodiment, one online unit is randomly started each time, so that the running condition of other online units does not need to be considered when only one unit runs, and if the multi-unit online device needs more than two online units to run, the running condition of other online units needs to be considered to ensure that each unit is subjected to balanced processing. If yes (N ═ 1), step 104 is executed, and if no (N > 1), step 105 is executed.
104. Controlling the operation of a reference online unit;
if N is 1, the reference online unit only needs to be controlled to operate so as to meet the target operation requirement of the multi-unit online equipment.
105. And respectively controlling the operation of the reference online unit and N-1 target online units selected from the M online units.
If N is greater than 1, N-1 target online units need to be selected from the M online units, in this embodiment, in order to ensure that the operation time of each unit is similar or the same in the later period, when selecting the N-1 target online units, the selection needs to be performed according to the following rules: the serial numbers of the N-1 target online units are adjacent in sequence, and the serial number of the first target online unit in the N-1 target online units is adjacent to the serial number of the reference online unit.
After N-1 target online units are selected, the reference online units and N-1 target online units in the M online units are respectively controlled to operate so as to meet the target operation requirement of the multi-machine online equipment.
In this embodiment, each time the multi-machine online device is started, the operations are performed according to the above steps, and since the function objects of the multi-machine online device are the same, the conditions for reaching the target operation requirement are basically the same, that is, the time for each unit to reach the target operation requirement is basically the same, so that the operation time of each unit approaches the same as the number of times of use is increased, and the purpose of balancing the operation time of each unit in the multi-machine online device is achieved on the premise of not counting the operation time of each unit.
In the unit control method of this embodiment, if a startup request of a multi-machine online device is received, a reference online unit of M online units on line in the multi-machine online device is randomly started; after the target operation requirement of the multi-machine online equipment is determined, N online machine sets needing to be started are determined according to the target operation requirement of the multi-machine online equipment; if N is equal to 1, controlling the reference online unit to operate; if N is larger than 1, selecting N-1 target online units with sequentially adjacent serial numbers from the M online units; the operation of the reference online unit and the N-1 target online units is respectively controlled, so that the operation time of each unit is subjected to balanced control as the selected times of each unit are approximately the same as the selected times of the multi-unit online equipment are increased on the premise that the selected probability of each online unit is the same and the action object of each unit is the same. By adopting the technical scheme of the invention, the running time of each unit can be controlled in a balanced manner on the premise of not recording the running time of each unit and not calculating, so that the memory space occupied by the controller is reduced, and the control efficiency of the units is improved.
Fig. 2 is a flowchart of a second embodiment of the method for controlling a plant unit according to the present invention, and as shown in fig. 2, the method for controlling a plant unit according to this embodiment further describes the technical solution of the present invention in more detail based on the embodiment shown in fig. 1.
As shown in fig. 2, the method for controlling the unit of this embodiment may specifically include the following steps:
200. if a starting request of the multi-machine online equipment is received, adding all the units meeting the starting condition in the multi-machine online equipment into a sequencing queue;
in a specific implementation process, if a startup request of the multi-machine online equipment is received, the related information of all the units can be acquired, so that all the units meeting the startup condition are selected from the information as online units, and all the units meeting the startup condition in the multi-machine online equipment are added into a sequencing queue. For example, the X unit may be in a maintenance state or a fault state, and the X unit does not satisfy the start condition, and cannot be used as an online unit, and other units except the X unit may be used as online units.
201. Numbering the units added into the sequencing queue to obtain M online units numbered from 1 to M;
in this embodiment, after all the units meeting the start condition are added into the sorting queue, the units may be numbered according to the order of addition, so as to obtain M online units numbered from 1 to M. Wherein M is an integer greater than 2.
It should be noted that, in this embodiment, since all the units can meet the starting condition under most conditions, each unit in this embodiment may set a fixed code, and when adding into the sorting queue, the units are added in the order from small to large in number, and after adding all the units meeting the starting condition into the sorting queue, the process of coding may be omitted, and the fixed code of each unit may be directly called. If part of the units do not meet the starting condition, the serial numbers can be added according to the sequence from small to large, and then the serial numbers can be added according to the sequence of the serial numbers.
202. Randomly starting one reference online unit of M online units in the multi-machine online equipment;
the implementation process of this embodiment is the same as the implementation principle of step 100 in the above embodiments, and please refer to the above related description for details, which will not be described in detail herein.
203. Determining target operation requirements of the multi-machine online equipment;
the implementation process of this embodiment is the same as the implementation principle of step 101 in the above embodiments, and please refer to the above related description for details, which will not be described in detail herein.
204. Determining N online units needing to be started according to the target operation requirements of the multi-unit online equipment;
in this embodiment, N is a positive integer, and N is less than or equal to M.
The implementation process of this embodiment is the same as the implementation principle of step 102 in the above embodiments, and please refer to the above related description for details, which will not be described in detail herein.
205. Judging whether the number N of the online units is equal to 1 or not; if yes, go to step 206, otherwise go to step 207;
the implementation process of this embodiment is the same as the implementation principle of step 103 in the above embodiments, and please refer to the above related description for details, which will not be described in detail herein.
206. Controlling the operation of a reference online unit;
the implementation process of this embodiment is the same as the implementation principle of step 104 in the above embodiments, and please refer to the above related description for details, which will not be described in detail herein.
207. Respectively controlling the operation of the reference online unit and N-1 target online units selected from the M online units;
the numbers of the N-1 target online units are adjacent in sequence, and the number of the first target online unit is adjacent to the number of the reference online unit. In this embodiment, the numbers of the N-1 target online units may be sequentially incremented, and when the number is increased to M, the number 1 is selected in a loop and then incremented. The serial numbers of the N-1 target online units can also be sequentially decreased progressively, and when the serial numbers are decreased to 1, the serial numbers M are selected in a circulating manner and then are continuously decreased progressively.
Specifically, the number a of the reference on-line unit and the number b of the ith target on-line unit may be setiWherein i is a positive integer, and i is less than or equal to N-1. In this embodiment, if a is equal to M, N-1 serial numbers b are selected from M online units according to a first preset formulaiIn order of adjacent meshMarking on-line units; the first predetermined formula is biI; wherein, biThe number of the ith target online unit is N-1, wherein i is a positive integer and is smaller than or equal to N; if a is less than M and N is less than or equal to M-a +1, selecting N-1 serial numbers b from M online units according to a second preset formulaiThe target online units are adjacent in sequence; the second preset formula is as follows; biA + i; if a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a third preset formulaiThe target online units are adjacent in sequence; the third preset formula is:
Figure BDA0002138253580000121
for example, if M is 7, a is 7, and N is 3. The numbers of the two target online units are 1 and 2 in sequence. If M is 7, a is 3, and N is 3, the numbers of the two target on-line units are 4 and 5 in sequence. If M is 7, a is 3, and N is 6, the numbers of the five target on-line units are 4, 5, 6, 7, and 1 in sequence.
When the selection is performed in a decreasing manner, the selection can be performed according to the following rules:
if a is equal to M, selecting N-1 serial numbers b from M online units according to a fourth preset formulaiThe target online units are adjacent in sequence; the fourth preset formula is as follows: biM-i; if a is less than M and N is less than or equal to a +1, selecting N-1 serial numbers b from M online units according to a fifth preset formulaiThe target online units are adjacent in sequence; the fifth preset formula is as follows: biA-i; if a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a sixth preset formulaiThe target online units are adjacent in sequence; the sixth preset formula is as follows:
Figure BDA0002138253580000122
for example, if M is 7, a is 7, and N is 3. The numbers of the two target online groups are 6 and 5 in sequence. If M is 7, a is 3, and N is 3, the numbers of the two target on-line units are 2 and 1 in sequence. If M is 7, a is 3, and N is 6, the five target on-line units are numbered 2, 1, 7, 6, and 5 in that order.
In a specific implementation process, if N is greater than 1, N-1 target online units need to be selected from M online units, and in this embodiment, in order to ensure that the running time of each unit is close or the same in the later period, when selecting N-1 target online units, the following rules need to be selected: the serial numbers of the N-1 target online units are adjacent in sequence, and the serial number of the first target online unit in the N-1 target online units is adjacent to the serial number of the reference online unit. After N-1 target online units are selected, the reference online units and N-1 target online units in the M online units are respectively controlled to operate so as to meet the target operation requirement of the multi-machine online equipment.
208. If a unit operation stopping instruction is received, detecting whether the unit operation stopping instruction carries the serial number of a shutdown unit; if yes, go to step 209, if no, go to step 210;
in a specific implementation process, if a multi-machine online device is not used any more or a part of the machine sets in the multi-machine online device is closed, a machine set stop instruction can be sent through a remote controller, a control panel and the like. When the user can specify which unit or units to stop according to the own requirements, the user can also send the serial number of the unit to be stopped when sending the unit stop operation instruction, and when the user does not specify which unit or units to stop according to the own requirements, the user can input the own requirement information. Therefore, in this embodiment, if the unit shutdown instruction is received, it is detected whether the unit shutdown instruction carries the number of the shutdown unit. If the unit stop operation instruction carries the number of the shutdown unit, step 209 is executed, and if the unit stop operation instruction does not carry the number of the shutdown unit, step 210 is executed.
209. Controlling the shutdown unit corresponding to the serial number of the shutdown unit to stop running;
and if the unit stop operation instruction carries the serial number of the shutdown unit, controlling the shutdown unit corresponding to the serial number of the shutdown unit to stop operation. For example, if the number of the unit shutdown instruction carrying the shutdown unit is number 2, the online unit with the number of 2 may be controlled to stop running.
210. Determining the shutdown requirement of the multi-machine online equipment;
if the unit stop operation instruction does not carry the number of the shutdown unit, the shutdown requirement of the multi-machine online equipment can be determined according to the requirement input by the user. This process is similar to determining the operational requirements of the multi-machine online devices, e.g., the user's requirements indicate that the load on the multi-machine online devices is less than the power output by the currently operating group, and the corresponding operating group may be reduced.
211. Determining P units to be shut down which need to be shut down according to the shut down requirement of the multi-unit online equipment;
in a specific implementation process, determining P units to be shut down which need to be shut down according to the shutdown requirement of the multi-machine online equipment; wherein P is a positive integer and is less than or equal to N-1. The implementation mechanism of this process is similar to the implementation mechanism of determining N online units, and reference may be made to the above-mentioned related descriptions in detail, which are not described herein again.
212. And sequentially controlling each on-line unit to be stopped to stop running based on a first-start-first-stop principle.
In this embodiment, after P to-be-stopped units that need to be stopped are determined, each to-be-stopped online unit may be sequentially controlled to stop operating based on a start-stop-start principle. That is, the unit started first is stopped first, and the unit started later is stopped later.
It should be noted that if it is determined that all the operations need to be stopped, the operations can be stopped simultaneously in addition to the operations stopped according to the first-start-first-stop principle.
Fig. 3 is a schematic structural diagram of a first embodiment of a control device of a machine set according to the present invention, and as shown in fig. 3, the control device of the machine set of the present embodiment includes a starting module 10, a first determining module 11, a second determining module 12, and a control module 14.
The starting module 10 is configured to randomly start a reference online unit of M online units in the multi-machine online device if a starting request of the multi-machine online device is received; wherein M is an integer greater than 2;
the first determining module 11 is used for determining the target operation requirement of the multi-machine online equipment;
the second determining module 12 is configured to determine N online units to be started according to a target operation requirement of the multi-machine online device; n is a positive integer, and is less than or equal to M;
the control module 14 is used for controlling the operation of the reference online unit if N is equal to 1; if N is larger than 1, respectively controlling the operation of the reference online unit and N-1 target online units in the M online units so as to balance the operation time of each unit in the multi-unit online equipment; the numbers of the N-1 target online units are adjacent in sequence, and the number of the first target online unit is adjacent to the number of the reference online unit.
In the control device of the unit in this embodiment, if a startup request of the multi-machine online device is received, a reference online unit of M online units on line in the multi-machine online device is randomly started; after the target operation requirement of the multi-machine online equipment is determined, N online machine sets needing to be started are determined according to the target operation requirement of the multi-machine online equipment; if N is equal to 1, controlling the reference online unit to operate; if N is larger than 1, selecting N-1 target online units with sequentially adjacent serial numbers from the M online units; the operation of the reference online unit and the N-1 target online units is respectively controlled, so that the operation time of each unit is subjected to balanced control as the selected times of each unit are approximately the same as the selected times of the multi-unit online equipment are increased on the premise that the selected probability of each online unit is the same and the action object of each unit is the same. By adopting the technical scheme of the invention, the running time of each unit can be controlled in a balanced manner on the premise of not recording the running time of each unit and not calculating, so that the memory space occupied by the controller is reduced, and the control efficiency of the units is improved.
Fig. 4 is a schematic structural diagram of a second embodiment of the control device of the plant unit of the present invention, and as shown in fig. 4, the control device of the plant unit of this embodiment may further include a sorting module 15 and a numbering module 16 based on the embodiment shown in fig. 3
The sequencing module 15 is used for adding all the units meeting the starting condition in the multi-machine online equipment into a sequencing queue;
and the numbering module 16 is used for numbering the units added into the sequencing queue to obtain M online units numbered from 1 to M.
Further, in the above embodiment, the selection principle of the target online units with N-1 serial numbers sequentially adjacent to each other may be selected according to an increasing cycle principle, which may include:
if the number a of the reference online unit is equal to M, selecting N-1 numbers b from the M online units according to a first preset formulaiThe target online units are adjacent in sequence; the first predetermined formula is biI; wherein, biThe number of the ith target online unit is N-1, wherein i is a positive integer and is smaller than or equal to N;
if a is less than M and N is less than or equal to M-a +1, selecting N-1 serial numbers b from M online units according to a second preset formulaiThe target online units are adjacent in sequence; the second preset formula is as follows; bi=a+i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a third preset formulaiThe target online units are adjacent in sequence; the third preset formula is:
Figure BDA0002138253580000151
further, the selection principle of the target online units with N-1 serial numbers adjacent in sequence may be selected according to a decreasing circulation principle, which may include:
if a is equal to M, selecting N-1 serial numbers b from M online units according to a fourth preset formulaiThe target online units are adjacent in sequence; the fourth preset formula is: bi=M-i;
If a is less than M and N is less than or equal to a +1, selecting N-1 serial numbers b from M online units according to a fifth preset formulaiThe target online units are adjacent in sequence; the fifth preset formula is: bi=a-i;
If a is less than M and N is more than M-a +1, selecting N from M online units according to a sixth preset formula-1 numbering biThe target online units are adjacent in sequence; the sixth preset formula is:
Figure BDA0002138253580000152
in a specific implementation process, the second determining module 12 may determine a load amount corresponding to a target operation requirement of the multi-machine online device; and calculating the numerical value of N according to the load capacity and the rated output power of each online unit.
As shown in fig. 4, the control device of the assembly of this embodiment may further include a detection module 17.
The detection module 17 is configured to detect whether the unit stop operation instruction carries a serial number of a shutdown unit if the unit stop operation instruction is received;
the control module 14 is used for controlling the shutdown unit corresponding to the number of the shutdown unit to stop running if the shutdown instruction carries the number of the shutdown unit;
the first determining module 11 is further configured to determine a shutdown requirement of the multi-machine online device if the shutdown instruction does not carry the serial number of the shutdown machine set;
the second determining module 12 is further configured to determine, according to the shutdown requirement, P units to be shutdown that need to be stopped; p is a positive integer and is less than or equal to N-1;
and the control module 14 is further configured to sequentially control each to-be-stopped online unit to stop operating based on a first-start-first-stop principle.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a schematic structural diagram of an embodiment of a controller of an assembly according to the present invention, and as shown in fig. 5, the controller of the assembly according to the present embodiment includes: a processing chip 20 and a memory chip 21;
the processing chip 20 is connected with the memory chip 21:
the processing chip 20 is configured to call and execute a program stored in the storage chip 21;
the memory chip 21 is configured to store a program, and the program is at least configured to execute the control method of the unit according to the above-described embodiment.
The invention also provides multi-machine online equipment which comprises at least two machine sets and the controllers of the machine sets in the embodiment;
each unit is connected with a controller of the unit.
The multi-machine online equipment of the embodiment comprises an air source heat pump and/or an air conditioner.
The present invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the control method of the plant set as in the above-described embodiments.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (14)

1. A method of controlling an assembly, comprising:
if a starting request of the multi-machine online equipment is received, randomly starting a reference online machine set in M online machine sets in the multi-machine online equipment; wherein M is an integer greater than 2;
determining target operation requirements of the multi-machine online equipment;
determining N online units needing to be started according to the target operation requirements of the multi-machine online equipment; n is a positive integer, and N is less than or equal to M;
if the N is equal to 1, controlling the reference online unit to operate;
if the N is larger than 1, respectively controlling the reference online machine set and N-1 target online machine sets selected from the M online machine sets to operate so as to balance the operation time of each machine set in the multi-machine online equipment under the condition that the selection probabilities of the reference online machine sets are the same;
and the numbers of the N-1 target online units are adjacent in sequence, and the number of the first target online unit is adjacent to the number of the reference online unit.
2. The unit control method according to claim 1, wherein before the randomly starting one reference online unit of the M online units online in the multi-unit online device, the method further comprises:
adding all the units meeting the starting condition in the multi-machine online equipment into a sequencing queue;
and numbering the units added into the sequencing queue to obtain the M online units numbered from 1 to M.
3. The unit control method according to claim 1, wherein the selection principle of the N-1 target online units with sequentially adjacent numbers comprises:
if the number a of the reference online unit is equal to M, selecting N-1 numbers b from M online units according to a first preset formulaiThe target online units are adjacent in sequence; the first preset formula is biI; wherein, b isiThe number of the ith target online unit is shown, i is a positive integer, and i is less than or equal to N-1;
if a is less than M and N is less than or equal to M-a +1, selecting N-1 serial numbers b from M online units according to a second preset formulaiThe target online units are adjacent in sequence; the second preset formula is as follows; bi=a+i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a third preset formulaiThe target online units are adjacent in sequence; the third preset formula is as follows:
Figure FDA0002540212770000021
4. the unit control method according to claim 3, wherein the selection principle of the N-1 target online units with sequentially adjacent numbers comprises:
if a is equal to M, selecting N-1 serial numbers b from M online units according to a fourth preset formulaiThe target online units are adjacent in sequence; the fourth preset formula is as follows: bi=M-i;
If a is less than M and N is less than or equal to a +1, selecting N-1 serial numbers b from M online units according to a fifth preset formulaiThe target online units are adjacent in sequence; the fifth preset formula is as follows: bi=a-i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a sixth preset formulaiThe target online units are adjacent in sequence; the sixth preset formula is as follows:
Figure FDA0002540212770000022
5. the unit control method according to claim 1, wherein the determining N online units to be started according to the target operation requirement of the multi-machine online device comprises:
determining the load amount corresponding to the target operation requirement of the multi-machine online equipment;
and calculating the numerical value of N according to the load capacity and the rated output power of each online unit.
6. The control method for an assembly according to any one of claims 1 to 5, characterized by further comprising:
if a unit operation stopping instruction is received, detecting whether the unit operation stopping instruction carries a number of a shutdown unit;
if the shutdown instruction carries the serial number of the shutdown unit, controlling the shutdown unit corresponding to the serial number of the shutdown unit to stop running;
if the shutdown instruction does not carry the serial number of the shutdown unit, determining the shutdown requirement of the multi-unit online equipment;
determining P units to be shut down which need to be shut down according to the shut down requirement; p is a positive integer and is less than or equal to N-1;
and sequentially controlling each online unit to be stopped to stop running based on a principle of starting first and stopping first.
7. A control device for an assembly, comprising:
the starting module is used for randomly starting one reference online unit in M online units in the multi-machine online equipment if a starting request of the multi-machine online equipment is received; wherein M is an integer greater than 2;
the first determining module is used for determining the target operation requirement of the multi-machine online equipment;
the second determining module is used for determining N online units needing to be started according to the target operation requirement of the multi-machine online equipment; n is a positive integer, and N is less than or equal to M;
the control module is used for respectively controlling the operation of the reference online unit and N-1 target online units selected from the M online units if the N is greater than 1 so as to balance the operation time of each unit in the multi-machine online equipment under the condition that the probability of the selection of the reference online units is the same; and the numbers of the N-1 target online units are adjacent in sequence, and the number of the first target online unit is adjacent to the number of the reference online unit.
8. The control device for an assembly according to claim 7, further comprising:
the sequencing module is used for adding all the units meeting the starting condition in the multi-machine online equipment into a sequencing queue;
and the numbering module is used for numbering the units added into the sequencing queue to obtain the M online units numbered from 1 to M.
9. The unit control device according to claim 7, wherein the selection rule of the N-1 number sequentially adjacent target online units comprises:
if the number a of the reference online unit is equal to M, selecting N-1 numbers b from M online units according to a first preset formulaiThe target online units are adjacent in sequence; the first preset formula is biI; wherein, b isiThe number of the ith target online unit is shown, i is a positive integer, and i is less than or equal to N-1;
if a is less than M and N is less than or equal to M-a +1, selecting N-1 serial numbers b from M online units according to a second preset formulaiThe target online units are adjacent in sequence; the second preset formula is as follows; bi=a+i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a third preset formulaiIn turn adjacent target on-line machineGroup (d); the third preset formula is as follows:
Figure FDA0002540212770000041
10. the unit control device according to claim 9, wherein the selection rule of the N-1 number sequentially adjacent target online units comprises:
if a is equal to M, selecting N-1 serial numbers b from M online units according to a fourth preset formulaiThe target online units are adjacent in sequence; the fourth preset formula is as follows: bi=M-i;
If a is less than M and N is less than or equal to a +1, selecting N-1 serial numbers b from M online units according to a fifth preset formulaiThe target online units are adjacent in sequence; the fifth preset formula is as follows: bi=a-i;
If a is less than M and N is more than M-a +1, selecting N-1 serial numbers b from M online units according to a sixth preset formulaiThe target online units are adjacent in sequence; the sixth preset formula is as follows:
Figure FDA0002540212770000042
11. a controller for an assembly, comprising: a processing chip and a memory chip;
the processing chip is connected with the storage chip:
the processing chip is used for calling and executing the program stored in the storage chip;
the memory chip is used for storing the program, and the program is at least used for executing the control method of the unit of any one of claims 1 to 6.
12. A multi-unit on-line apparatus comprising at least two units and a controller for the units of claim 11;
each unit is connected with the controller of the unit.
13. The multi-machine online facility according to claim 12, wherein the multi-machine online facility comprises an air source heat pump and/or an air conditioner.
14. A storage medium, characterized in that it has stored thereon a computer program which, when being executed by a processor, carries out the steps of the control method of the aggregate according to any one of claims 1-6.
CN201910660125.XA 2019-07-22 2019-07-22 Unit controller, method and device, multi-unit online equipment and storage medium Active CN110360727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910660125.XA CN110360727B (en) 2019-07-22 2019-07-22 Unit controller, method and device, multi-unit online equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910660125.XA CN110360727B (en) 2019-07-22 2019-07-22 Unit controller, method and device, multi-unit online equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110360727A CN110360727A (en) 2019-10-22
CN110360727B true CN110360727B (en) 2020-08-21

Family

ID=68221456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910660125.XA Active CN110360727B (en) 2019-07-22 2019-07-22 Unit controller, method and device, multi-unit online equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110360727B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1063932A (en) * 1991-02-06 1992-08-26 三洋电机株式会社 The control device of air conditioner
CN104819607A (en) * 2015-05-12 2015-08-05 广东美的暖通设备有限公司 Refrigerating system, refrigerant control method and device and air conditioner

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102003748A (en) * 2009-09-01 2011-04-06 珠海格力电器股份有限公司 Modular water chilling unit and intelligent control method thereof
US9989286B2 (en) * 2013-12-17 2018-06-05 Lennox Industries Inc. Compressor operation management in air conditioners
CN104807136B (en) * 2014-01-27 2018-02-13 珠海格力电器股份有限公司 Compressor operating dispatching method, system and air-conditioner set
CN109945426B (en) * 2019-03-12 2020-10-09 珠海格力电器股份有限公司 Module machine operation control method and device, module machine equipment and air conditioning system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1063932A (en) * 1991-02-06 1992-08-26 三洋电机株式会社 The control device of air conditioner
CN104819607A (en) * 2015-05-12 2015-08-05 广东美的暖通设备有限公司 Refrigerating system, refrigerant control method and device and air conditioner

Also Published As

Publication number Publication date
CN110360727A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
US7155625B2 (en) Method and apparatus to modify power requirements for a system
CN100362448C (en) Method for monitoring run of fan
CN109539473B (en) Fault type determination method of air conditioning system and electronic equipment
CN102749981B (en) Method and system for controlling hard disk electrification in hard disk array
US20100262974A1 (en) Optimized Virtual Machine Migration Mechanism
CN108919713A (en) Magnetic suspension bearing monitoring method and monitoring device, magnetic suspension bearing monitoring host computer and computer readable storage medium
US8295290B2 (en) Energy efficient control of data link groups
WO2021012510A1 (en) Adaptive adjustment method and device for cpu use ratio, terminal and storage medium
CN110233591A (en) A kind of control method and device of motor
CN111178423A (en) Fault early warning method and device
JP2012060701A (en) Device for driving a plurality of running fans and failure treatment method thereof
CN110360727B (en) Unit controller, method and device, multi-unit online equipment and storage medium
CN102427468B (en) Cloud computing operating system and scheduling method thereof
CN110486991B (en) Method, device and equipment for controlling step-out of electronic expansion valve and storage medium
CN109708265B (en) Starting method of fan in outdoor unit and outdoor unit
CN113791538B (en) Control method, control device and control system of machine room equipment
US10547254B2 (en) Apparatus for controlling multiple inverters and inverter system including the same
CN112702350B (en) Out-of-band management method and device, electronic equipment and readable medium
CN116202189A (en) Control method and device of air conditioning unit and electronic equipment
JP2015156767A (en) Power demand control device and method
CN110278147A (en) A kind of power-saving method of gateway, device and economize on electricity gateway
CN114412765B (en) Air compressor combined control method, system and storage medium
CN110906496B (en) Air conditioning system and control method, device and equipment thereof
CN109951134A (en) A kind of control method and device of motor
CN112181708B (en) Method and device for controlling load based on frequency converter error code rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant