CN112432324A - Load control method and device and air conditioner - Google Patents

Load control method and device and air conditioner Download PDF

Info

Publication number
CN112432324A
CN112432324A CN202011280456.XA CN202011280456A CN112432324A CN 112432324 A CN112432324 A CN 112432324A CN 202011280456 A CN202011280456 A CN 202011280456A CN 112432324 A CN112432324 A CN 112432324A
Authority
CN
China
Prior art keywords
loads
load
controlling
execute
opening
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.)
Pending
Application number
CN202011280456.XA
Other languages
Chinese (zh)
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.)
Hisense Guangdong Air Conditioning Co Ltd
Original Assignee
Hisense Guangdong Air Conditioning Co Ltd
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 Hisense Guangdong Air Conditioning Co Ltd filed Critical Hisense Guangdong Air Conditioning Co Ltd
Priority to CN202011280456.XA priority Critical patent/CN112432324A/en
Publication of CN112432324A publication Critical patent/CN112432324A/en
Pending legal-status Critical Current

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/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
    • 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
    • F24F11/46Improving electric energy efficiency or saving
    • F24F11/47Responding to energy costs
    • 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/88Electrical aspects, e.g. circuits
    • 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/89Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2140/00Control inputs relating to system states
    • F24F2140/50Load

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a load control method, a device and an air conditioner, wherein the number of loads is multiple, and the load control method comprises the following steps: setting a preset time base; controlling one of the plurality of loads to perform an opening or closing action in each preset time base; polling the plurality of loads, and sequentially controlling the plurality of loads to execute opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions. The invention controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to the power grid when the load of household appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of household appliances.

Description

Load control method and device and air conditioner
Technical Field
The invention relates to the technical field of air conditioners, in particular to a load control method and device and an air conditioner.
Background
The control system of household appliances, such as an air conditioner, is provided with a plurality of loads, such as non-resistive loads, when the non-resistive loads are turned on or turned off, the non-resistive loads can cause certain impact on a power grid to cause circuit noise, so that harmonic waves are increased, if a plurality of large loads act simultaneously, the power grid is influenced more in the moment seriously, and even other electric appliances connected on the same line cannot operate normally.
That is, in a control system of a current household appliance, such as an air conditioner, when there are a plurality of electrical loads, if the plurality of electrical loads perform on and off operations at the same time, noise pollution may be caused to a power grid, resulting in an increase in circuit harmonics and an increase in circuit loss, thereby reducing circuit energy efficiency. Meanwhile, the generated noise also causes electrical noise pollution to the control system and other electrical equipment, so that the service life of the household electrical appliance and the electrical equipment is shortened.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art.
Therefore, an object of the present invention is to provide a load control method, which controls the load action by adopting a time-based polling control manner, and can effectively reduce the impact and pollution to the power grid caused by the load action of the household electrical appliance, and the like, achieve the purpose of energy saving and emission reduction, and simultaneously, can effectively prolong the service life of the household electrical appliance.
To this end, a second object of the invention is to propose a control device of a load.
To this end, a third object of the present invention is to provide an air conditioner.
Therefore, a fourth object of the present invention is to provide an air conditioner.
In order to achieve the above object, an embodiment of the first aspect of the present invention discloses a method for controlling a plurality of loads, where the method includes the following steps: setting a preset time base; controlling one of a plurality of said loads to perform an on or off action in each of said preset time bases; polling a plurality of loads, and sequentially controlling the plurality of loads to execute opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions.
According to the load control method, the preset time bases are set, one of the plurality of loads is controlled to execute opening or closing actions in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing actions according to the preset sequence until the plurality of loads all execute the opening or closing actions. Therefore, the method controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to the power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of household electrical appliances.
In addition, the load control method according to the above embodiment of the present invention may further include the following additional technical features:
in some examples, the sequentially controlling the plurality of loads to perform the opening or closing actions according to the preset sequence includes: setting a pointer variable; and sequentially controlling the plurality of loads to execute opening or closing actions according to the preset sequence in the plurality of preset time bases according to the guidance of the pointer variable.
In some examples, sequentially controlling a plurality of the loads to perform an on or off action in the preset order in a plurality of the preset time bases according to the direction of the pointer variable includes: when each preset time base arrives, controlling the pointer variable to add 1, and controlling the load currently pointed by the pointer variable to execute opening or closing action; and controlling the pointer variable to reset and clear until a plurality of loads correspondingly and sequentially execute opening or closing actions, and entering the next polling process.
In some examples, a plurality of the loads are controlled by a plurality of relays, the method further comprising: and controlling one action of a plurality of relays in each preset time base so as to correspondingly enable one of a plurality of loads to execute an opening or closing action.
In order to achieve the above object, an embodiment of a second aspect of the present invention discloses a control apparatus for a load, the load being plural, the control apparatus including: the timing module is used for setting a preset time base; and the control module is used for controlling one of the plurality of loads to execute opening or closing actions in each preset time base, polling the plurality of loads, and sequentially controlling the plurality of loads to execute the opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions.
According to the control device of the load, the preset time bases are set, one of the plurality of loads is controlled to execute the opening or closing action in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Therefore, the control device controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to the power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of household electrical appliances.
In addition, the load control device according to the above embodiment of the present invention may further include the following additional features:
in some examples, the control module is specifically configured to: setting a pointer variable, and sequentially controlling the plurality of loads to execute opening or closing actions according to the preset sequence in the plurality of preset time bases according to the guidance of the pointer variable.
In some examples, the control module is specifically configured to: and when each preset time base arrives, controlling the pointer variable to add 1, and controlling the load currently pointed by the pointer variable to execute opening or closing actions, until the plurality of loads correspondingly and sequentially execute the opening or closing actions, controlling the pointer variable to reset and clear, and entering the next polling process.
In some examples, a plurality of the loads are controlled by a plurality of relays, and the control module is further configured to: and controlling one action of a plurality of relays in each preset time base so as to correspondingly enable one of a plurality of loads to execute an opening or closing action.
To achieve the above object, an embodiment of a third aspect of the present invention discloses an air conditioner including: a plurality of loads, and a control device for the loads according to the above-described embodiments of the present invention.
According to the air conditioner provided by the embodiment of the invention, the preset time bases are set, one of the plurality of loads is controlled to execute the opening or closing action in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Therefore, the air conditioner controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to a power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of the air conditioner and other household electrical appliances.
To achieve the above object, an embodiment of a fourth aspect of the present invention discloses an air conditioner, which includes a processor, a memory, and a control program of a load stored on the memory and operable on the processor, wherein the control program of the load, when executed by the processor, implements a control method of the load according to the above embodiment of the present invention.
According to the air conditioner provided by the embodiment of the invention, the preset time bases are set, one of the plurality of loads is controlled to execute the opening or closing action in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Therefore, the air conditioner controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to a power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of the air conditioner and other household electrical appliances.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a method of controlling a load according to one embodiment of the present invention;
FIG. 2 is a flow diagram of a method of controlling a load according to an embodiment of the present invention;
fig. 3 is a schematic configuration diagram of a control apparatus of a load according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below, the embodiments described with reference to the drawings being illustrative, and the embodiments of the present invention will be described in detail below.
A method and apparatus for controlling a load and an air conditioner according to an embodiment of the present invention will be described with reference to fig. 1 to 3.
Fig. 1 is a flowchart of a method of controlling a load according to one embodiment of the present invention. Wherein the load is plural, that is, includes a plurality of loads.
As shown in fig. 1, the method for controlling the load includes the following steps:
step S1: and setting a preset time base.
Step S2: and controlling one of the plurality of loads to perform an opening or closing action in each preset time base.
Step S3: polling the plurality of loads, and sequentially controlling the plurality of loads to execute opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions.
In a particular embodiment, the preset time base is configured to be, for example, 100 milliseconds. That is, in a preset time base of 100 milliseconds, the on or off actions are polled for each load, thereby ensuring that each preset time base only controls a single load to output.
Therefore, the load control method sets the preset time bases, controls one of the plurality of loads to execute the opening or closing action in each preset time base, polls the plurality of loads, and sequentially controls the plurality of loads to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Namely, the method controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to the power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of household electrical appliances.
In one embodiment of the present invention, in step S3, the plurality of loads are polled, and the plurality of loads are sequentially controlled to perform the opening or closing actions according to a preset sequence until the plurality of loads all perform the opening or closing actions. In a specific embodiment, for example, a plurality of loads are numbered, and are denoted as load 1, load 2.. and load N, and an order of performing the turning-on or turning-off operations of the plurality of loads is preset, for example, according to load 1, load 2.. and load N sequentially performs the turning-on or turning-off operations. Wherein only one load performs an on or off action in each preset time base.
In an embodiment of the present invention, a process of sequentially controlling a plurality of loads to perform an opening or closing action according to a preset sequence specifically includes: setting a pointer variable; and sequentially controlling a plurality of loads to execute opening or closing actions according to the guidance of the pointer variable in a plurality of preset time bases according to a preset sequence. Specifically, according to the guidance of the pointer variable, in each preset time base, according to the preset sequence, the corresponding load in the plurality of loads is sequentially controlled to execute the opening or closing action.
In an embodiment of the present invention, a process of sequentially controlling a plurality of loads to execute an opening or closing action according to a preset sequence in a plurality of preset time bases according to a direction of a pointer variable specifically includes: when each preset time base arrives, the pointer variable is controlled to be added with 1, and the load which is currently pointed by the pointer variable is controlled to execute opening or closing action; and controlling the pointer variable to reset and clear until the plurality of loads correspondingly and sequentially execute the opening or closing action, and entering the next polling process.
In the embodiment, the preset time base is 100 milliseconds for example. That is, when each load polls the action, a pointer variable is designed, and the pointer variable is used to direct each load to execute the corresponding action according to the preset sequence in the preset time base. When the load polls, the pointer variable is increased once every 100 milliseconds (namely a preset time base), and after all the loads are polled once, the pointer variable is reset and cleared, so that the next repeated action is carried out, namely the next polling process is started. Therefore, the driving of only one load can be executed in every 100 milliseconds (namely one preset time base), so that the problems that a plurality of loads act simultaneously to cause noise pollution to a power grid, harmonic waves increase, circuit loss increases, energy efficiency is reduced and the like can be avoided, the impact and pollution to the power grid caused by the action of the loads of household electrical appliances and the like can be effectively reduced, the purposes of energy conservation and emission reduction are achieved, and meanwhile, the service life of household electrical appliances can be effectively prolonged.
More specifically, the process of each load executing actions is described in detail as follows: when the main program of the single chip microcomputer runs, a pointer operation unit is called every 100 milliseconds (namely a preset time base) to automatically add 1 to a pointer variable, when the pointer variable points to a corresponding load driving module, the starting or closing action of a corresponding load is executed (the starting or closing control of the load is realized in a load starting and stopping logic operation subprogram, which is not described herein in detail), after the load execution action is finished, the load control subprogram is exited, and the main program is re-entered. When the main program runs to the next 100 milliseconds (namely the next preset time base), other loads are correspondingly controlled to execute corresponding actions in sequence until all the loads execute the actions once, the pointer variable is reset and cleared, and the load control is executed by polling again.
In one embodiment of the present invention, a plurality of loads are controlled by a plurality of relays, and the method for controlling the loads further includes the steps of: and controlling one action of the plurality of relays in each preset time base so as to correspondingly enable one of the plurality of loads to execute an opening or closing action.
Specifically, each load is controlled by one relay, and the on/off of the load is controlled by the on/off of the relay. It can be understood that the power grid sudden change possibly caused by the simultaneous action of a plurality of relays also possibly causes the adhesion of relay contacts, thereby reducing the service life of the relays. Based on this, the embodiment of the invention controls one action of the plurality of relays in each preset time base (such as 100 milliseconds) so as to correspondingly enable one of the plurality of loads to execute the opening or closing action, thereby preventing the sudden change of the power grid and the adhesion of the relay contact and prolonging the service life of the relay. Namely, a time base polling relay control mode is adopted, the relay is ensured to be controlled according to a preset time base (such as 100 milliseconds), and only one relay is controlled to act in each preset time base, so that the problems of power grid sudden change and relay contact adhesion caused by simultaneous actions of the relays are avoided, and the service life of the relay is prolonged.
As a specific example, a detailed exemplary description is given below of the control method of the load with reference to fig. 2.
In the specific embodiment, an outdoor unit of a household air conditioner is taken as an example, and the control method for reducing the load of the power grid input noise according to the embodiment of the invention is described in detail. Referring to fig. 2, the outdoor unit of the household air conditioner includes, for example, 5 loads, i.e., a compressor, an outdoor fan, a four-way valve, a chassis electric heater, and a refrigerant heat dissipation valve. It is assumed that the on or off control logic of each load has been set and processed in the whole control system, and only the description of the timing control of the output driving end of the load is given here. In the control system of the outdoor unit, 100 milliseconds are preset as a preset time base, corresponding loads are output in the preset time base through polling control, each preset time base only controls the action of a single load, and only the opening or closing of the single load is controlled independently, so that the polling control is sequentially performed on a plurality of loads in a plurality of preset time bases, and the noise pollution caused by the impact on a power grid due to the simultaneous output of the plurality of loads is avoided.
In the specific embodiment, as shown in fig. 2, in the process of executing the load control method, 5 loads are set, that is, the operation sequence of the compressor, the outdoor fan, the four-way valve, the chassis electric heating and the refrigerant heat dissipation valve, that is, the preset sequence is the compressor, the outdoor fan, the four-way valve, the chassis electric heating and the refrigerant heat dissipation valve in sequence. After pointer operation is started, judging whether pointer polling is compressor action, if so, controlling the compressor action, otherwise, further judging whether the pointer polling is fan action, if so, controlling the fan action, otherwise, further judging whether the pointer polling is four-way valve action, if so, controlling the four-way valve action, otherwise, further judging whether the pointer polling is chassis electric heating action, if so, executing the chassis electric heating action, otherwise, further judging whether the pointer polling is refrigerant heat dissipation valve action, if so, controlling the refrigerant heat dissipation valve action, and otherwise, ending the flow. Therefore, 5 loads are polled, so that only one load is controlled to execute corresponding actions in each preset time base according to the preset sequence, and the next polling process is started after 5 loads in the 5 preset time bases are controlled to execute the corresponding actions. Therefore, the load action of the air conditioner outdoor unit is controlled in a time-based polling control mode, the impact and pollution to a power grid caused by the load action of the air conditioner outdoor unit can be effectively reduced, the purposes of energy conservation and emission reduction are achieved, and meanwhile, the service life of the air conditioner outdoor unit can be effectively prolonged.
In this embodiment, when polling each load of the outdoor unit of the household air conditioner, a pointer variable is designed, and the pointer variable is used to direct each load to execute the actions according to a preset sequence in a preset time base. The load polling pointer is increased once every 100 milliseconds, after all the loads are polled once, the pointer resetting and clearing operation is executed, so that the next repeated action is carried out, the driving of only one load can be executed in every 100 milliseconds time base, and the grid noise caused by simultaneous actions of multiple loads can be reduced.
Specifically, the load execution process is described in detail as that when the main program runs, the time base arrives every 100 milliseconds, the pointer operation unit is called, the pointer is automatically added by 1, when the pointer variable points to the corresponding load driving module, the start and stop actions of the corresponding load are executed, the load execution is finished, the load control subprogram is exited, and the main program is re-entered. And when the main program runs to the next 100-millisecond time base, executing corresponding other loads until all the loads are executed once, resetting and clearing the pointer, and polling again to execute load control.
According to the load control method, the preset time bases are set, one of the plurality of loads is controlled to execute opening or closing actions in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing actions according to the preset sequence until the plurality of loads all execute the opening or closing actions. Therefore, the method controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to the power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of household electrical appliances.
A further embodiment of the present invention provides a control apparatus for a load.
Fig. 3 is a schematic configuration diagram of a control apparatus of a load according to an embodiment of the present invention. Wherein, the load is a plurality of, that is, comprises a plurality of loads.
As shown in fig. 3, the load control device 100 includes: a timing module 110 and a control module 120.
The timing module 110 is configured to set a preset time base.
The control module 120 is configured to control one of the plurality of loads to perform an opening or closing action in each preset time base, poll the plurality of loads, and sequentially control the plurality of loads to perform the opening or closing action according to a preset sequence until the plurality of loads all perform the opening or closing action.
In a particular embodiment, the preset time base is configured to be, for example, 100 milliseconds. That is, in a preset time base of 100 milliseconds, the on or off actions are polled for each load, thereby ensuring that each preset time base only controls a single load to output.
Accordingly, the control apparatus 100 for the load sets the preset time bases, controls one of the plurality of loads to perform the opening or closing operation in each of the preset time bases, polls the plurality of loads, and sequentially controls the plurality of loads to perform the opening or closing operation in accordance with the preset sequence until the plurality of loads each perform the opening or closing operation. Namely, the device 100 controls the load action by adopting a time-based polling control mode, so that the impact and pollution to the power grid caused by the load action of household electrical appliances and the like can be effectively reduced, the purposes of energy conservation and emission reduction are achieved, and meanwhile, the service life of household electrical appliances can be effectively prolonged.
In an embodiment of the present invention, the control module 120 polls the plurality of loads and sequentially controls the plurality of loads to perform the opening or closing action according to a preset sequence until all the plurality of loads perform the opening or closing action. In a specific embodiment, for example, a plurality of loads are numbered, and are denoted as load 1, load 2.. and load N, and an order of performing the turning-on or turning-off operations of the plurality of loads is preset, for example, according to load 1, load 2.. and load N sequentially performs the turning-on or turning-off operations. Wherein only one load performs an on or off action in each preset time base.
In an embodiment of the present invention, the controlling module 120 sequentially controls the plurality of loads to perform the opening or closing process according to a preset sequence, which specifically includes: setting a pointer variable, and sequentially controlling a plurality of loads to execute opening or closing actions according to a preset sequence in a plurality of preset time bases according to the guidance of the pointer variable. Specifically, according to the guidance of the pointer variable, in each preset time base, according to the preset sequence, the corresponding load in the plurality of loads is sequentially controlled to execute the opening or closing action.
In an embodiment of the present invention, the controlling module 120 sequentially controls, according to the instruction of the pointer variable, the plurality of loads to execute the process of opening or closing actions according to the preset sequence in the plurality of preset time bases, specifically including: and when each preset time base arrives, adding 1 to the control pointer variable, controlling the load to which the control pointer variable points currently to execute opening or closing actions, resetting and clearing the control pointer variable until a plurality of loads correspondingly and sequentially execute the opening or closing actions, and entering the next polling process.
In the embodiment, the preset time base is 100 milliseconds for example. That is, when each load polls the action, a pointer variable is designed, and the pointer variable is used to direct each load to execute the corresponding action according to the preset sequence in the preset time base. When the load polls, the pointer variable is increased once every 100 milliseconds (namely a preset time base), and after all the loads are polled once, the pointer variable is reset and cleared, so that the next repeated action is carried out, namely the next polling process is started. Therefore, the driving of only one load can be executed in every 100 milliseconds (namely one preset time base), so that the problems that a plurality of loads act simultaneously to cause noise pollution to a power grid, harmonic waves increase, circuit loss increases, energy efficiency is reduced and the like can be avoided, the impact and pollution to the power grid caused by the action of the loads of household electrical appliances and the like can be effectively reduced, the purposes of energy conservation and emission reduction are achieved, and meanwhile, the service life of household electrical appliances can be effectively prolonged.
More specifically, the process of each load executing actions is described in detail as follows: when the main program (i.e., the control module 120) of the single chip microcomputer runs, the pointer operation unit is called once every 100 milliseconds (i.e., every preset time base) is up, the pointer variable is automatically increased by 1, when the pointer variable points to the corresponding load driving module, the start or close action of the corresponding load is executed (the start or close control of the load is realized in the load start and stop logic operation subprogram, which is not described herein), when the load execution action is finished, the load control subprogram is exited, and the main program (i.e., the control module 120) is re-entered. When the main program runs to the next 100 milliseconds (namely the next preset time base), other loads are correspondingly controlled to execute corresponding actions in sequence until all the loads execute the actions once, the pointer variable is reset and cleared, and the load control is executed by polling again.
In an embodiment of the present invention, the plurality of loads are controlled by a plurality of relays, and the control module 120 is further configured to: and controlling one action of the plurality of relays in each preset time base so as to correspondingly enable one of the plurality of loads to execute an opening or closing action.
Specifically, each load is controlled by one relay, and the on/off of the load is controlled by the on/off of the relay. It can be understood that the power grid sudden change possibly caused by the simultaneous action of a plurality of relays also possibly causes the adhesion of relay contacts, thereby reducing the service life of the relays. Based on this, the embodiment of the invention controls one action of the plurality of relays in each preset time base (such as 100 milliseconds) so as to correspondingly enable one of the plurality of loads to execute the opening or closing action, thereby preventing the sudden change of the power grid and the adhesion of the relay contact and prolonging the service life of the relay. Namely, a time base polling relay control mode is adopted, the relay is ensured to be controlled according to a preset time base (such as 100 milliseconds), and only one relay is controlled to act in each preset time base, so that the problems of power grid sudden change and relay contact adhesion caused by simultaneous actions of the relays are avoided, and the service life of the relay is prolonged.
The control device 100 for the load is described in detail with reference to specific embodiments.
In the specific embodiment, taking an outdoor unit of a household air conditioner as an example, the control device 100 for reducing a load of power grid input noise according to the embodiment of the present invention will be described in detail. Specifically, the outdoor unit of the household air conditioner includes, for example, 5 loads, i.e., a compressor, an outdoor fan, a four-way valve, a chassis electric heater, and a refrigerant heat dissipation valve. It is assumed that the on or off control logic of each load has been set and processed in the whole control system, and only the description of the timing control of the output driving end of the load is given here. In the control system of the outdoor unit, 100 milliseconds are preset as a preset time base, corresponding loads are output in the preset time base through polling control, each preset time base only controls the action of a single load, and only the opening or closing of the single load is controlled independently, so that the polling control is sequentially performed on a plurality of loads in a plurality of preset time bases, and the noise pollution caused by the impact on a power grid due to the simultaneous output of the plurality of loads is avoided.
In the embodiment, in the execution process of the load control device 100, 5 loads are set, that is, the operation sequence of the compressor, the outdoor fan, the four-way valve, the chassis electric heater, and the refrigerant heat dissipation valve, that is, the preset sequence is the compressor, the outdoor fan, the four-way valve, the chassis electric heater, and the refrigerant heat dissipation valve in sequence. After pointer operation is started, judging whether pointer polling is compressor action, if so, controlling the compressor action, otherwise, further judging whether the pointer polling is fan action, if so, controlling the fan action, otherwise, further judging whether the pointer polling is four-way valve action, if so, controlling the four-way valve action, otherwise, further judging whether the pointer polling is chassis electric heating action, if so, executing the chassis electric heating action, otherwise, further judging whether the pointer polling is refrigerant heat dissipation valve action, if so, controlling the refrigerant heat dissipation valve action, and otherwise, ending the flow. Therefore, 5 loads are polled, so that only one load is controlled to execute corresponding actions in each preset time base according to the preset sequence, and the next polling process is started after 5 loads in the 5 preset time bases are controlled to execute the corresponding actions. Therefore, the load action of the air conditioner outdoor unit is controlled in a time-based polling control mode, the impact and pollution to a power grid caused by the load action of the air conditioner outdoor unit can be effectively reduced, the purposes of energy conservation and emission reduction are achieved, and meanwhile, the service life of the air conditioner outdoor unit can be effectively prolonged.
In this embodiment, when polling each load of the outdoor unit of the household air conditioner, a pointer variable is designed, and the pointer variable is used to direct each load to execute the actions according to a preset sequence in a preset time base. The load polling pointer is increased once every 100 milliseconds, after all the loads are polled once, the pointer resetting and clearing operation is executed, so that the next repeated action is carried out, the driving of only one load can be executed in every 100 milliseconds time base, and the grid noise caused by simultaneous actions of multiple loads can be reduced.
Specifically, the load execution process is described in detail as that when the main program runs, the time base arrives every 100 milliseconds, the pointer operation unit is called, the pointer is automatically added by 1, when the pointer variable points to the corresponding load driving module, the start and stop actions of the corresponding load are executed, the load execution is finished, the load control subprogram is exited, and the main program is re-entered. And when the main program runs to the next 100-millisecond time base, executing corresponding other loads until all the loads are executed once, resetting and clearing the pointer, and polling again to execute load control.
It should be noted that a specific implementation manner of the control apparatus for the load is similar to a specific implementation manner of the control method for the load described in any of the above embodiments of the present invention, and please refer to the description of the method part specifically, and details are not described here again in order to reduce redundancy.
According to the control device of the load, the preset time bases are set, one of the plurality of loads is controlled to execute the opening or closing action in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Therefore, the device controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to the power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of household electrical appliances.
A further embodiment of the present invention also provides an air conditioner including a plurality of loads and a control device for the loads as described in any one of the above embodiments of the present invention.
Therefore, a specific implementation manner of the air conditioner is similar to that of the load control device described in any of the above embodiments of the present invention, and please refer to the description of the device part specifically, and details are not described here for reducing redundancy.
According to the air conditioner provided by the embodiment of the invention, the preset time bases are set, one of the plurality of loads is controlled to execute the opening or closing action in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Therefore, the air conditioner controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to a power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of the air conditioner and other household electrical appliances.
In addition, other configurations and functions of the air conditioner according to the above-mentioned embodiment of the present invention are known to those skilled in the art, and are not described in detail to reduce redundancy.
A further embodiment of the present invention also provides an air conditioner, which includes a processor, a memory, and a control program of a load stored on the memory and operable on the processor, wherein the control program of the load, when executed by the processor, implements the control method of the load as described in any one of the above-mentioned embodiments of the present invention.
Therefore, a specific implementation manner of the air conditioner is similar to that of the load control method described in any of the above embodiments of the present invention, and please refer to the description of the method part specifically, and details are not described here for reducing redundancy.
According to the air conditioner provided by the embodiment of the invention, the preset time bases are set, one of the plurality of loads is controlled to execute the opening or closing action in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing action according to the preset sequence until the plurality of loads all execute the opening or closing action. Therefore, the air conditioner controls the load action by adopting a time-based polling control mode, can effectively reduce the impact and pollution to a power grid when the load of household electrical appliances and the like acts, realizes the purposes of energy conservation and emission reduction, and can effectively prolong the service life of the air conditioner and other household electrical appliances.
In addition, other configurations and functions of the air conditioner according to the above-mentioned embodiment of the present invention are known to those skilled in the art, and are not described in detail to reduce redundancy.
A further embodiment of the present invention also proposes a computer-readable storage medium on which a control program of a load is stored, the control program of the load implementing the control method of the load as described in any one of the above-mentioned embodiments of the present invention when executed by a processor.
According to the computer-readable storage medium of the embodiment of the invention, preset time bases are set, one of a plurality of loads is controlled to execute opening or closing actions in each preset time base, the plurality of loads are polled, and the plurality of loads are sequentially controlled to execute the opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions. Therefore, the load action is controlled by adopting a time-based polling control mode, the impact and pollution to a power grid caused by the load action of household electrical appliances and the like can be effectively reduced, the purposes of energy conservation and emission reduction are realized, and meanwhile, the service life of household electrical appliances can be effectively prolonged.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and are not to be considered limiting of the invention.
In the description of the present invention, "a plurality" means two or more.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like 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.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A method for controlling a plurality of loads, the method comprising:
setting a preset time base;
controlling one of a plurality of said loads to perform an on or off action in each of said preset time bases;
polling a plurality of loads, and sequentially controlling the plurality of loads to execute opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions.
2. The method for controlling the load according to claim 1, wherein the sequentially controlling the plurality of loads to perform the turning on or off actions according to the preset sequence comprises:
setting a pointer variable;
and sequentially controlling the plurality of loads to execute opening or closing actions according to the preset sequence in the plurality of preset time bases according to the guidance of the pointer variable.
3. The method according to claim 2, wherein sequentially controlling the plurality of loads to perform the on or off actions in the preset order in the plurality of preset time bases according to the direction of the pointer variable comprises:
when each preset time base arrives, controlling the pointer variable to add 1, and controlling the load currently pointed by the pointer variable to execute opening or closing action;
and controlling the pointer variable to reset and clear until a plurality of loads correspondingly and sequentially execute opening or closing actions, and entering the next polling process.
4. A method of controlling loads according to any one of claims 1-3, wherein a plurality of said loads are controlled by a plurality of relays, said method further comprising:
and controlling one action of a plurality of relays in each preset time base so as to correspondingly enable one of a plurality of loads to execute an opening or closing action.
5. An apparatus for controlling a load, wherein the load is plural, the apparatus comprising:
the timing module is used for setting a preset time base;
and the control module is used for controlling one of the plurality of loads to execute opening or closing actions in each preset time base, polling the plurality of loads, and sequentially controlling the plurality of loads to execute the opening or closing actions according to a preset sequence until the plurality of loads all execute the opening or closing actions.
6. The load control device according to claim 5, wherein the control module is specifically configured to:
setting a pointer variable, and sequentially controlling the plurality of loads to execute opening or closing actions according to the preset sequence in the plurality of preset time bases according to the guidance of the pointer variable.
7. The load control device according to claim 6, wherein the control module is specifically configured to:
and when each preset time base arrives, controlling the pointer variable to add 1, and controlling the load currently pointed by the pointer variable to execute opening or closing actions, until the plurality of loads correspondingly and sequentially execute the opening or closing actions, controlling the pointer variable to reset and clear, and entering the next polling process.
8. The apparatus according to any one of claims 5 to 7, wherein a plurality of said loads are controlled by a plurality of relays, and said control module is further configured to:
and controlling one action of a plurality of relays in each preset time base so as to correspondingly enable one of a plurality of loads to execute an opening or closing action.
9. An air conditioner, comprising:
a plurality of loads; and
a control apparatus for a load as claimed in any one of claims 5 to 8.
10. An air conditioner, characterized in that the air conditioner comprises a processor, a memory, and a control program of a load stored on the memory and operable on the processor, the control program of the load implementing the control method of the load according to any one of claims 1 to 4 when executed by the processor.
CN202011280456.XA 2020-11-16 2020-11-16 Load control method and device and air conditioner Pending CN112432324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011280456.XA CN112432324A (en) 2020-11-16 2020-11-16 Load control method and device and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011280456.XA CN112432324A (en) 2020-11-16 2020-11-16 Load control method and device and air conditioner

Publications (1)

Publication Number Publication Date
CN112432324A true CN112432324A (en) 2021-03-02

Family

ID=74701019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011280456.XA Pending CN112432324A (en) 2020-11-16 2020-11-16 Load control method and device and air conditioner

Country Status (1)

Country Link
CN (1) CN112432324A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006029694A (en) * 2004-07-16 2006-02-02 Shimizu Corp Distributed control system of multi-air conditioner
CN102252399A (en) * 2011-05-13 2011-11-23 珠海铨高机电设备有限公司 Compressor energy regulating and controlling method of modular cold/hot water unit
CN103216963A (en) * 2012-01-19 2013-07-24 三星电子株式会社 Air conditioner and starting control method thereof
CN104260740A (en) * 2014-10-15 2015-01-07 南车南京浦镇车辆有限公司 Start control method of train air conditioning units
CN104456844A (en) * 2014-11-19 2015-03-25 珠海格力电器股份有限公司 Control method and device for air conditioning unit
CN104833059A (en) * 2015-05-20 2015-08-12 广东美的暖通设备有限公司 Air conditioner control method and device
CN105740077A (en) * 2016-01-29 2016-07-06 中国联合网络通信集团有限公司 Task assigning method applicable to cloud computing
CN106839574A (en) * 2017-01-22 2017-06-13 合肥华凌股份有限公司 Household electrical appliance and its load start control method
CN110173807A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Control method, device and the multi-online air-conditioning system of multi-online air-conditioning system
CN113126511A (en) * 2020-01-15 2021-07-16 卢并裕 Power regulation power-saving and energy-saving method for voice interaction power control and safety protection

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006029694A (en) * 2004-07-16 2006-02-02 Shimizu Corp Distributed control system of multi-air conditioner
CN102252399A (en) * 2011-05-13 2011-11-23 珠海铨高机电设备有限公司 Compressor energy regulating and controlling method of modular cold/hot water unit
CN103216963A (en) * 2012-01-19 2013-07-24 三星电子株式会社 Air conditioner and starting control method thereof
CN104260740A (en) * 2014-10-15 2015-01-07 南车南京浦镇车辆有限公司 Start control method of train air conditioning units
CN104456844A (en) * 2014-11-19 2015-03-25 珠海格力电器股份有限公司 Control method and device for air conditioning unit
CN104833059A (en) * 2015-05-20 2015-08-12 广东美的暖通设备有限公司 Air conditioner control method and device
CN105740077A (en) * 2016-01-29 2016-07-06 中国联合网络通信集团有限公司 Task assigning method applicable to cloud computing
CN106839574A (en) * 2017-01-22 2017-06-13 合肥华凌股份有限公司 Household electrical appliance and its load start control method
CN110173807A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Control method, device and the multi-online air-conditioning system of multi-online air-conditioning system
CN113126511A (en) * 2020-01-15 2021-07-16 卢并裕 Power regulation power-saving and energy-saving method for voice interaction power control and safety protection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李耀南: "《实用电工技术应用》", 30 September 1995, 广州出版社 *
胡元义等: "《普通高等教育计算机类专业"十三五"规划教材 C语言与程序设计》", 31 August 2017, 西安交通大学出版社 *

Similar Documents

Publication Publication Date Title
CN107477820B (en) Air conditioner control system, detection device, air conditioner and readable storage medium
US8987947B2 (en) Air conditioner
CN112762525B (en) Air conditioner outdoor unit control circuit, electric control assembly and air conditioner
EP3862823B1 (en) Device control method, device control apparatus and device using control apparatus
EP1950506A2 (en) Combined management of multi-type air conditioning system and lighting systems
CN109945489B (en) Online coordination control method and system of heat pump system
CN112432324A (en) Load control method and device and air conditioner
JP2013138561A (en) Converter circuit
US8328110B2 (en) Electrical load disconnect device with electronic control
CN111023465A (en) Control method and device of air conditioner, air conditioner and readable storage medium
CN108807076B (en) Relay control method, control panel, wall-mounted boiler and water heater
WO2023050793A1 (en) Power supply control method and device for air-conditioning system, and air-conditioning system
JP2015514958A (en) Air conditioner
CN103363616B (en) Air-conditioner and control method, control terminal and control system
CN215343933U (en) Low-power consumption working circuit and electric equipment
CN114061124A (en) Control circuit, control method, equipment and storage medium for air conditioner outdoor unit
CN113251567A (en) Heating control method and device and air conditioning system
CN110953698B (en) Frequency carrier frequency control method of variable frequency air conditioner and variable frequency air conditioner
JP2002106911A (en) Air conditioner and its control system
JP2016213978A (en) Power supply circuit and air conditioner having the same
CN110940060A (en) Multi-connected air conditioning unit and power-limiting operation control method thereof
CN216308147U (en) Air conditioner control terminal for smart home
CN103411288A (en) Method for preventing tripping in heating start of air conditioner
CN111237997B (en) Air conditioner and control method and control device thereof
CN102427327B (en) Motor control circuit and control method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210302

RJ01 Rejection of invention patent application after publication