CN115930375A - Centralized control system - Google Patents

Centralized control system Download PDF

Info

Publication number
CN115930375A
CN115930375A CN202211208659.7A CN202211208659A CN115930375A CN 115930375 A CN115930375 A CN 115930375A CN 202211208659 A CN202211208659 A CN 202211208659A CN 115930375 A CN115930375 A CN 115930375A
Authority
CN
China
Prior art keywords
wireless communication
rate
communication unit
control unit
control system
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
CN202211208659.7A
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.)
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Original Assignee
Qingdao Hisense Hitachi Air Conditioning System 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 Qingdao Hisense Hitachi Air Conditioning System Co Ltd filed Critical Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority to CN202211208659.7A priority Critical patent/CN115930375A/en
Publication of CN115930375A publication Critical patent/CN115930375A/en
Priority to PCT/CN2023/102431 priority patent/WO2024066527A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a centralized control system, comprising: the main control unit is used for executing a centralized control function; the wireless communication unit is in communication connection with the main control unit through a UART communication interface and is responsible for connecting to a network; the master unit is configured to: forbidding wireless communication work; identifying a required rate based on the current service type of the centralized control system, and configuring a first rate parameter of a UART communication interface of a main control unit; sending a switching rate signal to the wireless communication unit; restarting the wireless communication unit; the wireless communication unit is configured to: after receiving the switching rate signal, configuring a second rate parameter of a UART communication interface of the wireless communication unit, and completing the switching of high and low rates between the main control unit and the wireless communication unit; the second rate parameter is correspondingly matched with the first rate parameter. The invention can switch high and low rates by matching the rates of the service types, and improves the communication efficiency and the use flexibility of the centralized control system under multiple scenes.

Description

Centralized control system
Technical Field
The invention relates to the technical field of centralized control, in particular to a centralized control system.
Background
The centralized controller of the central air conditioner brings convenient operation to users, and is mainly divided into a local end and a remote end. The remote end is mainly accessed to the network in a wired mode (such as LAN) or a wireless mode (such as 4G, NB-Iot, wiFi and the like), can acquire state parameters of the air conditioning unit and send the state parameters to the centralized controller, and receives a control instruction sent by the centralized controller in the air conditioning unit.
The system design of the conventional centralized controller is shown in fig. 1, and includes a Main Control Unit (MCU) 10, an air conditioner communication circuit, a wireless communication unit (e.g., a WiFi module) 20, a touch/display module, and a power supply circuit.
Wherein the air conditioner communication loop is responsible for communicating with the air conditioning unit; the wireless communication unit 20 is responsible for connecting a router, accessing to a cloud platform, and further communicating with a user terminal through the cloud platform to realize remote management; the touch/display module is used for displaying and controlling the local state of the air conditioner; the power supply loop provides electric energy for the centralized control system.
Referring to fig. 2, the wireless communication unit 20 and the main control unit 10 are connected through a UART communication interface, so that the communication is simple and stable, and can meet the use requirements of most application scenarios, but when large data volume communication is performed, low-rate communication is still used, which may cause great influence on user use and system response, for example, when an application requiring large data volume transmission is performed in a service such as remote upgrade (OTA) or advertisement delivery, the UART communication rate is fixed and low, which may lead to the problems of too long communication time, poor user experience, and high system risk. If high-rate communication is used, the anti-interference performance is poor, the communication failure, namely the retransmission rate, is increased, and the use in a complex scene is not facilitated.
Disclosure of Invention
The invention provides a centralized control system, which can configure the rate parameters of a UART communication interface according to the rate required by the service type, realize the switching of high and low rates, improve the communication efficiency and meet the requirement that the centralized control system is flexibly used in multiple scenes.
The application provides a centralized control system, includes:
the main control unit is used for executing a centralized control function;
the wireless communication unit is in communication connection with the main control unit through a UART communication interface and is responsible for connecting to a network;
the master unit is configured to:
forbidding the wireless communication unit to work;
identifying a required rate based on the current service type of the centralized control system, and configuring a first rate parameter of a UART communication interface of the main control unit;
sending a switching rate signal to the wireless communication unit;
restarting the wireless communication unit;
the wireless communication unit is configured to:
after receiving the switching rate signal, configuring a second rate parameter of a UART communication interface of the wireless communication unit, and completing the switching of high and low rates between the main control unit and the wireless communication unit;
wherein the second rate parameter is correspondingly matched with the first rate parameter.
Thus, the required rate is identified based on the current service type, the main control unit is enabled to configure the first rate parameter of the UART communication rate, and the wireless communication unit is informed of the current required switching rate parameter by sending the switching rate signal to the wireless communication unit.
Then, after the wireless communication unit is restarted, the wireless communication unit receives the switching rate signal, namely, the wireless communication unit is informed that a second rate parameter correspondingly matched with the first rate parameter should be configured to realize high-low rate switching so as to match the rate required by the current service type; the speed switching can improve the communication efficiency and flexibly meet different requirements of high speed and low speed under multiple scenes.
In some embodiments of the present application, in order to avoid rate loss after the central control system is abnormal or restarted while the current traffic type is in progress, the master control unit is further configured to:
and storing a configuration file corresponding to the current service type based on the current service type, and recovering the current service type after the centralized system is abnormal or restarted.
In some embodiments of the present application, different service types require different communication rates, and in order to flexibly meet communication requirements of different service types, the current service type includes a first service type and a second service type, where the first service type is executed at a high rate, and the second service type is executed at a low rate;
when the first service type is identified, identifying that the required rate is a high rate, and configuring the first rate parameter as a high rate parameter;
and when the second service type is identified, identifying that the required rate is a low rate, and configuring the first rate parameter as a low rate parameter.
Therefore, the rate can be matched according to the service type, the flexibility meets the requirement of the communication of the centralized control system, and when the first service type is identified, the communication can be switched to a high-rate parameter, so that the communication efficiency is improved, the system response is accelerated, and the user experience is improved.
In some embodiments of the present application, in order to improve the data transmission efficiency of the main control unit and the wireless communication unit, a mode of directly transmitting signals between interfaces is adopted, the design is simple and reliable, the communication cost is reduced, and the communication stability is improved.
The wireless communication unit is connected with an interface GPIO2 of the main control unit through an interface GPIO;
the interface GPIO2 sends the switching rate signal to the interface GPIO.
In some embodiments of the present application, when the first rate parameter is configured as a high rate parameter, the switching rate signal is one of a high level and a low level;
when the first rate parameter is configured to be a low rate parameter, the switching rate signal is the other of the high level and the low level.
The switching rate signal is high or low, and is only one signal transmission, so that the switching rate signal can be freely set according to requirements.
In some embodiments of the present application, rebooting the wireless communication unit includes two ways: a power-on restart and a reset restart.
An interface GPIO1 of the main control unit is connected with a reset pin of the wireless communication unit;
and when the main control unit outputs the switching rate signal, resetting and restarting the wireless communication unit.
When the main control unit completes configuration and outputs a switching rate signal to the wireless communication unit, the wireless communication unit is restarted, so that the wireless communication unit can conveniently switch the rate.
When restarting at last power, need control the power supply of wireless communication unit, centralized control system includes:
and the power supply control unit is provided with a power supply for supplying power to the wireless communication unit, and a control end of the power supply control unit is connected with an interface GPIO1 of the main control unit and is used for controlling to connect or disconnect a power transmission passage for supplying power to the wireless communication unit by the power supply.
In some embodiments of the present application, when the centralized control system is powered on and initialized, the signal output by the interface GPIO1 disconnects the power transmission path;
when the main control unit outputs the switching rate signal, the signal output by the interface GPIO1 is communicated with the electric energy transmission passage, so that the wireless communication unit is electrified and restarted.
In some embodiments of the present application, the power supply control unit includes:
and the switch circuit comprises a switch control element, the control end of the switch control element is connected with the interface GPIO1, the input end of the switch circuit is connected with the power supply, and the output end of the switch circuit is connected with the power supply end of the wireless communication unit.
In some embodiments of the present application, the switch control element is a high-level conducting switch element;
one end of the high-level conducted switch element is connected with the power supply through a first pull-up resistor, the other end of the high-level conducted switch element is connected with a first grounding resistor, the connection position between the first pull-up resistor and one end of the high-level conducted switch element is the output end of the switch circuit, or the connection position between the first grounding resistor and the other end of the high-level conducted switch element is the output end of the switch circuit.
In some embodiments of the present application, the switch control element is a low-level conducting switch element;
one end of the switch element switched on by the low level is connected with the first high level, the other end of the switch element is connected with the second grounding resistor, and the connection position between the second grounding resistor and the other end of the switch element switched on by the low level is the output end of the switch circuit.
Drawings
FIG. 1 shows a system diagram of a centralized control system;
fig. 2 is a circuit diagram of communication between a main control unit and a wireless communication unit in a centralized control system according to some embodiments, where the communication is performed by using a UART communication interface;
FIG. 3 illustrates a flow diagram for rate switching by a master control unit in a centralized control system, in accordance with some embodiments;
FIG. 4 is a diagram illustrating a first communication circuit of a master control unit and a wireless communication unit in a centralized control system during rate switching according to some embodiments;
FIG. 5 illustrates a first circuit diagram of a power control unit in a centralized control system, in accordance with some embodiments;
FIG. 6 illustrates a second circuit diagram of a power control unit in a centralized control system, in accordance with some embodiments;
FIG. 7 shows a circuit diagram three of a power control unit in a centralized control system, in accordance with some embodiments.
FIG. 8 is a communication circuit diagram II illustrating rate switching between a master control unit and a wireless communication unit in a centralized control system according to some embodiments;
FIG. 9 illustrates a second communication line diagram for rate switching between a master control unit and a wireless communication unit in a centralized control system, in accordance with certain embodiments;
fig. 10 illustrates a flow diagram for rate switching by a centralized control system wireless communication unit, in accordance with some embodiments.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. "beneath," "under" and "beneath" a first feature includes the first feature being directly beneath and obliquely beneath the second feature, or simply indicating that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Moreover, the present invention may repeat reference numerals and/or reference letters in the various examples, which have been repeated for purposes of simplicity and clarity and do not in themselves dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
The centralized control system shown in fig. 1 is used for centralized control of a central air conditioner, and can realize local-side and remote-side control, and if the centralized control system is used for remote-side control and remote data uploading, the centralized control system needs to be networked and logged in for operation through the wireless communication unit 20.
The basic principle of the air conditioner is described as follows.
The air conditioner performs a refrigeration cycle of the air conditioner by using a compressor, a condenser, an expansion valve, and an evaporator. The refrigeration cycle includes a series of processes involving compression, condensation, expansion, and evaporation, and supplies refrigerant to the air that has been conditioned and heat-exchanged.
The compressor compresses a refrigerant gas in a high-temperature and high-pressure state and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and the heat is released to the ambient environment through the condensation process.
The expansion valve expands the liquid-phase refrigerant in a high-temperature and high-pressure state condensed in the condenser into a low-pressure liquid-phase refrigerant. The evaporator evaporates the refrigerant expanded in the expansion valve, and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor. The evaporator can achieve a cooling effect by heat-exchanging with a material to be cooled using latent heat of evaporation of a refrigerant. The air conditioning unit may regulate the temperature of the indoor space throughout the cycle.
The outdoor unit of an air conditioner refers to a portion including a compressor of a refrigeration cycle and includes an outdoor heat exchanger, the indoor unit of an air conditioner includes an indoor heat exchanger, and an expansion valve may be provided in the indoor unit or the outdoor unit of an air conditioner.
The indoor heat exchanger and the outdoor heat exchanger serve as a condenser or an evaporator. When the indoor heat exchanger is used as a condenser, the air conditioner is used as a heater in a heating mode, and when the indoor heat exchanger is used as an evaporator, the air conditioner is used as a cooler in a cooling mode.
Referring to fig. 2, the main control unit 10 and the wireless communication unit 20 in the centralized control system are connected through a UART communication interface, so that the communication connection is stable, the comprehensive cost is low, and the development period is short, thereby meeting the remote control requirements of users in most application scenarios (such as common air conditioner control and air conditioner state reporting).
However, when applications requiring large data volume transmission, such as remote upgrade and advertisement delivery, are performed, the problems of slow system response, long communication time, poor user experience, and the like may exist when a communication manner with a fixed UART communication rate and a low rate is adopted.
To solve the above technical problems, the present application relates to a centralized control system for flexibly implementing a UART communication interface speed change by switching a rate based on a service type identification required rate.
Referring to fig. 3, the present application mainly relates to processing of UART communication between the main control unit 10 and the wireless communication unit 20.
S1: powering up
Namely, the centralized control system is powered on.
Referring to fig. 1, the centralized control system performs power-on control through a power supply loop.
S2: centralized control system initialization
And initializing the centralized control system after the centralized control system is powered on so as to enter centralized control.
S3: the wireless communication unit is disabled.
The wireless communication unit 20 is disabled after the centralized control system is initialized.
In some embodiments of the present application, disabling the wireless communication unit 20 includes two types: (1) disabling power to the wireless communication unit 20; (2) keeping the wireless communication unit 20 continuously reset.
The above description is separately made for the above two cases.
(1) For example, the control to cut off the power supply path to the power supply terminal VCC1 of the wireless communication unit 20 may be adopted to realize the prohibition of the operation of the wireless communication unit 20 and simultaneously save the power.
Referring to fig. 4, a power control unit 30 may be disposed between the interface GPIO1 of the main control unit 10 and the power supply terminal VCC1 of the wireless communication unit 20.
The power control unit 30 is configured to control to supply power to the power supply terminal VCC1 or not to supply power to the power supply terminal VCC1 according to the signal output by the interface GPIO 1.
In some embodiments of the present application, the power control unit 30 has a power VCC for providing power to the wireless communication unit 20, and a control terminal of the power control unit 30 is connected to an interface GPIO1 of the main control unit 10 for controlling to connect or disconnect a power transmission path through which the power VCC supplies power to the wireless communication unit 20.
That is, the power transmission path is a path from the power source VCC to the power supply terminal VCC1.
When the centralized control system is electrified and initialized, the signal output by the interface GPIO1 cuts off the electric energy transmission path.
The signal output by the interface GPIO1 may be a high level or a low level, and is specifically designed according to the requirements.
In some embodiments of the present application, the power supply control unit 30 includes a switching circuit.
The switch circuit comprises a switch control element, a control end of the switch control element is connected with an interface GPIO1, an input end of the switch circuit is connected with a power supply VCC, and an output end of the switch circuit is connected with a power supply VCC1 of the wireless communication unit 20.
Referring to fig. 5 to 7, the structure of the switch circuit in the power supply control unit 30 is described.
The switch circuit includes a switch control element and its peripheral circuits.
In some embodiments of the present application, the switch control element may also be a high-level conducting switch element or a low-level conducting switch element, and only when a different switch element is selected, the adapted peripheral circuit is different.
No matter whether the signal output by the interface GPIO1 is at a high level or at a low level, or whether the switch control element is a switch element that is turned on at a high level or a switch element that is turned on at a low level, as long as when the centralized control system is powered on and initialized, the signal output by the interface GPIO1 can enable the power supply control unit 30 not to supply power to the wireless communication unit 20, that is, the wireless communication unit does not work.
When the switching control element selects the switching element that is turned on at a high level, referring to fig. 5 and 6, the switching element that is turned on at a high level is selected as the NPN transistor Q1'.
Referring to fig. 5, a control terminal (i.e., a base) of the transistor Q1' is connected to the interface GPIO1 through a current-limiting resistor R2' and is connected to a pull-down resistor R3', a collector is connected to the power source VCC through a pull-up resistor R4', an emitter is connected to the ground resistor R1', a connection position between the pull-up resistor R4' and the collector of the transistor Q1' is an output terminal of the switching circuit, and an output terminal of the switching circuit is connected to the power supply terminal VCC1 of the wireless communication unit 20.
When the centralized control system is powered on, and power is not desired to be supplied to the wireless communication unit 20, the main control unit 10 outputs a high-level signal at the interface GPIO 1.
Because the control end of the triode Q1' is at a high level, the triode Q1' is turned on, and the electric energy at the VCC1 is pulled down to zero through the ground resistor R1', so that the wireless communication unit 20 cannot be powered, that is, the wireless communication unit 20 is prohibited from being powered on.
Accordingly, if the wireless communication unit 20 is to be powered on and restarted, the main control unit 10 outputs a low level signal at the interface GPIO 1.
Since the control terminal of the triode Q1 'is at a low level, the triode Q1' is turned off, and VCC is at a high level, the power supply terminal VCC1 of the wireless communication unit 20 has electric energy, and can supply power to the wireless communication unit 20, that is, power on the wireless communication unit 20 is restarted (see fig. 8).
Similarly, referring to fig. 6, the control terminal (i.e., the base) of the transistor Q1' is connected to the interface GPIO1 through the current-limiting resistor R2', and is connected to the pull-down resistor R3', the collector is connected to the power source VCC through the pull-up resistor R4', the emitter is connected to the ground resistor R1', the connection position between the ground resistor R1' and the emitter of the transistor Q1' is the output terminal of the switch circuit, and the output terminal of the switch circuit is connected to the power supply terminal VCC1 of the wireless communication unit 20.
When the centralized control system is powered on, and power is not desired to be supplied to the wireless communication unit 20, the main control unit 10 outputs a low level signal at the interface GPIO 1.
Because the control end of the triode Q1' is at a low level, the triode Q1' is not turned on, and the electric energy at the VCC1 is pulled down to zero through the ground resistor R1', which cannot supply power to the wireless communication unit 20, i.e., the wireless communication unit 20 is prohibited from being powered on.
Accordingly, if the wireless communication unit 20 is to be powered on and restarted, the main control unit 10 outputs a high-level signal at the interface GPIO 1.
Since the control terminal of the triode Q1 'is at a high level, the triode Q1' is turned on, and VCC is at a high level, and the power supply terminal VCC1 of the wireless communication unit 20 has electric energy to supply power to the wireless communication unit 20, that is, the wireless communication unit 20 is powered on and restarted (see fig. 8).
The switching control element can also be selected from the PNP transistor Q1 and its peripheral circuits shown in fig. 7, which are not described in detail herein.
(2) Or, a preset program may be used to continuously send a reset signal to the reset pin RES of the wireless communication unit 20, so that the wireless communication unit 20 is continuously in the reset state and cannot enter the working state, thereby prohibiting the wireless communication unit 20 from working.
In some embodiments of the present application, referring to fig. 9, the interface GPIO1 of the main control unit 10 is directly connected to the reset pin RES of the wireless communication unit 20.
When the centralized control system is powered on, if the wireless communication unit 20 is not expected to work, the main control unit 10 continuously outputs a reset signal at the interface GPIO1 according to a first preset program.
The reset pin RES receives the reset signal and continuously maintains the reset state, i.e., prohibits the operation of the wireless communication unit 20.
Accordingly, if the wireless communication unit 20 is to be restarted, the main control unit 10 outputs a reset signal at the interface GPIO1 according to a second preset program, so as to restart the wireless communication unit 20 after the wireless communication unit 20 is reset once.
Any one of the above-mentioned methods may be selected to disable the operation of the wireless communication unit 20 according to the requirement.
In some embodiments of the present application, the power control unit 30 is selected to control the integrated service types and application scenarios, so that power consumption can be further reduced by cutting off the power of the wireless communication unit 20 in situations where networking is not required.
S4: it is judged whether or not the required rate is a high rate, and it proceeds to S5.
The master control unit 10 identifies the required rate based on the current traffic type of the centralized control system.
The service type and the rate have a corresponding relation, and the rate is determined according to the service type.
The service types include a first service type and a second service type, the first service type is that the service is executed at a low rate, and the second service type is that the service is executed at a high rate.
The first service type is, for example, a service type of remote upgrade, advertisement video playing, and the like.
This type of service requires a high rate communication through the UART communication interface between the main control unit 10 and the wireless communication unit 20.
The second service type is, for example, conventional control of the air conditioner, such as cooling, heating, and the like, for example, reporting of the air conditioner state and the like.
This type of service can be performed at a low, stable and fixed rate using the UART communication interface between the main control unit 10 and the wireless communication unit 20.
Thus, by identifying the current traffic type, the desired rate is identified.
For example, if the current service type is a remote upgrade service, the required rate should be a high rate; if the current service type is an air conditioner conventional control service, the required rate should be a low rate.
Therefore, by matching different service types, the rate switching between the high rate and the low rate is carried out, the communication efficiency is improved, and the application scene of the centralized control system is expanded.
In some embodiments of the present application, the main control unit 10, when identifying the current service type, stores the current configuration file to prevent the system from abnormal execution or resuming the execution of the current service type after restarting.
Therefore, referring to the dashed box portion S3' in fig. 3 and fig. 8, after the centralized control system is powered on and initialized, the main control unit 10 needs to read the configuration file to recover the current service type.
If the low-rate air conditioner conventional control service, namely the called configuration file of the low-rate configuration, is executed before the restart, the low-rate air conditioner conventional control service needs to be restored after the initialization, and the rate required by the current service type is identified.
If the rate required by the current service type is a high rate, the main control unit 10 updates the configuration file to a configuration file configured at a high rate, and then performs rate switching from a low rate to a high rate.
If the rate required by the current service type is still low, the main control unit 10 will not update the configuration file.
Similarly, if a high-rate advertisement video service, i.e. a configuration file of a called high-rate configuration, is executed before restarting, it is necessary to recover to the advertisement video service after initialization and identify the rate required by the current service type.
If the rate required by the current service type is a low rate, the main control unit 10 updates the configuration file to a configuration file configured at a low rate, and then performs rate switching from a high rate to a low rate.
If the required rate is still high, the master control unit 10 will not update the configuration file.
S5: a first rate parameter of the UART communication interface of the main control unit 10 is configured.
Determining whether the first rate parameter is a high rate parameter or a low rate parameter based on the desired rate in S4.
If it is determined in S4 that the required rate is a high rate, the first rate parameter is configured as a high rate parameter, for example, the communication rate is 2Mbps.
If it is determined in S4 that the required rate is a low rate, the first rate parameter is configured as a low rate parameter, for example, a communication rate of 9.6Kbps.
S6: the switching rate signal is sent to the wireless communication unit 20.
In this application, referring to fig. 4 and 9, the sending of the switching rate signal is implemented by connecting an interface GPIO2 of the main control unit 10 and an interface GPIO of the wireless communication unit 20.
The interface GPIO2 of the main control unit 10 sends a switching data rate signal to an interface GPIO of the wireless communication unit 20.
The switching rate signal indicates that the wireless communication unit 20 should configure the rate parameter.
The configured rate parameter (i.e., the second rate parameter as described below) is correspondingly matched to the first rate parameter.
That is, when the first rate parameter is a high rate parameter, the configured rate parameter is also a high rate parameter, for example, 2Mbps; when the first rate parameter is a low rate parameter, the configured rate parameter is also a low rate parameter, for example, 9.6Kbps.
S7: causing the wireless communication unit 20 to restart.
As described above, the wireless communication unit 20 may be restarted in the manner in S3.
The restarting of the wireless communication unit 20 includes two ways: (1) power-on restart (see FIG. 8); and (2) resetting and restarting.
(11) Referring to fig. 5, if the wireless communication unit 20 is to be powered on and restarted, the main control unit 10 outputs a low level signal at the interface GPIO 1.
Because the control end of the triode Q1 'is at a low level, the triode Q1' is turned off, and VCC is at a high level, and the power supply end VCC1 of the wireless communication unit 20 has electric energy to supply power to the wireless communication unit 20, that is, the wireless communication unit 20 is powered on and restarted.
(12) Referring to fig. 6, if the wireless communication unit 20 is to be powered on and restarted, the main control unit 10 outputs a high level signal at the interface GPIO 1.
Because the control end of the triode Q1 'is at a high level, the triode Q1' is turned on, and VCC is at a high level, and the power supply end VCC1 of the wireless communication unit 20 has electric energy to supply power to the wireless communication unit 20, that is, the wireless communication unit 20 is powered on and restarted.
(21) If the wireless communication unit 20 is to be restarted, the main control unit 10 outputs a reset signal at the interface GPIO1 according to a second preset program, so as to restart the wireless communication unit 20 after the wireless communication unit 20 is reset once.
As above, the master control unit 10 completes the rate switching.
After the main control unit 10 completes the rate switching, the wireless communication unit 20 is restarted, so that the wireless communication unit 20 performs the rate matching switching again.
Referring to fig. 10, a flow chart of rate switching by the wireless communication unit 20 is shown.
S8: the wireless communication unit 20 receives the switching rate signal.
As described above, the interface GPIO2 of the main control unit 10 sends the switching data rate signal to an interface GPIO of the wireless communication unit 20.
After the wireless communication unit 20 is restarted in S7, an interface GPIO of the wireless communication unit 20 receives the switching rate signal, and configures the rate parameter of the wireless communication unit 20 according to the switching rate signal.
The switching rate signal may be either of a high level and a low level.
If the rate parameter to be configured by the wireless communication unit 20 is a high rate parameter when the switching rate signal is at a high level, the rate parameter to be configured by the wireless communication unit 20 is a low rate parameter when the switching rate signal is at a low level.
Conversely, when the switching rate signal is at a low level, the wireless communication unit 20 is configured to have a high rate parameter, and when the switching rate signal is at a high level, the wireless communication unit 20 is configured to have a low rate parameter.
The specific switching rate signal is selected to be high level or low level, and can be freely set according to requirements.
In some embodiments, the wireless communication unit 20 may be configured to set the rate parameter to be configured as a high rate parameter when the switching rate signal is at a high level.
When the switching rate signal is at a low level, the wireless communication unit 20 sets the rate parameter to be configured as a low rate parameter.
As described in S7, if the first rate parameter is the high rate parameter, an interface GPIO of the wireless communication unit 20 receives the switching rate signal with the high level, that is, the rate parameter to be configured is the high rate parameter, for example, 2Mbps.
If the first rate parameter is a low rate parameter, an interface GPIO of the wireless communication unit 20 receives a switching rate signal that is at a low level, i.e. the rate parameter to be configured is a low rate parameter, such as 9.6Kbps.
S9: it is determined whether the rate corresponding to the switching rate signal is a high rate, and the process proceeds to S10.
As described in S8, the wireless communication unit 20 identifies the corresponding rate based on the switching rate signal.
The switching rate signal has a corresponding relationship with the rate.
In some embodiments of the present application, when an interface GPIO of the wireless communication unit 20 receives a switching rate signal with a high level, it indicates that the corresponding rate is a high rate.
When an interface GPIO of the wireless communication unit 20 receives the switching rate signal at the low level, it indicates that the corresponding rate is the low rate.
S10: and configuring a second rate parameter of a UART communication interface of the wireless communication unit.
It is determined that the second rate parameter is a high rate parameter or a low rate parameter matching the first rate parameter, based on the required rate in S9.
If the first rate parameter is a high rate parameter, it is determined in S9 that the required rate should be a high rate, and therefore, the second rate parameter is configured as a high rate parameter, for example, the communication rate is 2Mbps.
If the first rate parameter is a low rate parameter, it is determined in S9 that the required rate should be a low rate, and thus, the second rate parameter is configured as a low rate parameter, for example, the communication rate is 9.6Kbps.
The traffic type, the first rate parameter, the switching rate signal and the second rate parameter as described above are corresponding to each other.
That is, if the rate required by the service type is a high-rate parameter, the first rate parameter is configured as the high-rate parameter, and the rate corresponding to the switching rate signal is the high rate, so that the second rate parameter is configured as the high-rate parameter.
For example, the first rate parameter and the second rate parameter are both 2Mbps.
The rate required by the service type is a low rate parameter, the first rate parameter is configured as a low rate parameter, the rate corresponding to the switching rate signal is a low rate, and thus the second rate parameter is configured as a low rate parameter.
For example, the first rate parameter and the second rate parameter are both 9.6Kbps.
As such, in some embodiments of the present application, two signal transmission paths are provided between the interface of the main control unit 10 and the interface of the wireless communication unit 20.
Namely, a first path of signal transmission path from the interface GPIO1 of the main control unit 10 to the power supply terminal VCC1 of the wireless communication unit 20, and a second path of signal transmission path from the interface GPIO2 of the main control unit 10 to the interface GPIO of the wireless communication unit 20.
In combination with the service type, the main control unit 10 and the wireless communication unit 20 configure the rate parameters respectively.
When the service type needs high-rate communication, the communication is carried out by switching to the high-rate parameter, and when the service type needs low-rate communication, the communication is carried out by switching to the low-rate parameter, so that the communication requirements of different service types are flexibly met, and the communication efficiency is improved.
In addition, two way signal transmission path that this application increased, simple structure easily realizes and the communication is reliable, has not only reduced the communication cost, but also has ensured switching stability.
In some embodiments of the present application, when the high-rate scene is finished and needs to be switched to the low-rate operation again, the above procedure is also needed, and after the low-rate scene is configured as the low-rate parameter, communication can be performed again.
In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A centralized control system, comprising:
the main control unit is used for executing a centralized control function;
the wireless communication unit is in communication connection with the main control unit through a UART communication interface and is responsible for connecting to a network;
wherein the master control unit is configured to:
forbidding the wireless communication work;
identifying a required rate based on the current service type of the centralized control system, and configuring a first rate parameter of a UART communication interface of the main control unit;
sending a switching rate signal to the wireless communication unit;
restarting the wireless communication unit;
the wireless communication unit is configured to:
after receiving the switching rate signal, configuring a second rate parameter of a UART communication interface of the wireless communication unit, and completing the switching of high and low rates between the main control unit and the wireless communication unit;
wherein the second rate parameter is correspondingly matched with the first rate parameter.
2. The centralized control system of claim 1, wherein the master control unit is further configured to:
and storing a configuration file corresponding to the current service type based on the current service type, and recovering the current service type after the centralized system is abnormal or restarted.
3. The centralized control system of claim 2,
the current service type comprises a first service type and a second service type, wherein the first service type is executed at a high rate, and the second service type is executed at a low rate;
when the first service type is identified, identifying that the required rate is a high rate, and configuring the first rate parameter as a high rate parameter;
and when the second service type is identified, identifying that the required rate is a low rate, and configuring the first rate parameter as a low rate parameter.
4. The centralized control system of claim 1,
the wireless communication unit is connected with an interface GPIO2 of the main control unit through an interface GPIO;
the interface GPIO2 sends the switching rate signal to the interface GPIO.
5. The centralized control system of claim 4,
when the first rate parameter is configured to be a high rate parameter, the switching rate signal is one of a high level and a low level;
when the first rate parameter is configured to be a low rate parameter, the switching rate signal is the other of the high level and the low level.
6. The centralized control system of claim 1,
an interface GPIO1 of the main control unit is connected with a reset pin of the wireless communication unit;
and when the main control unit outputs the switching rate signal, resetting the wireless communication unit to reset and restart the wireless communication unit.
7. The centralized control system of claim 1, further comprising:
and the power supply control unit is provided with a power supply for supplying power to the wireless communication unit, and a control end of the power supply control unit is connected with an interface GPIO1 of the main control unit and is used for controlling to connect or disconnect a power transmission passage for supplying power to the wireless communication unit by the power supply.
8. The centralized control system of claim 7,
when the centralized control system is electrified and initialized, the electric energy transmission path is disconnected by a signal output by the interface GPIO 1;
when the main control unit outputs the switching rate signal, the signal output by the interface GPIO1 is communicated with the electric energy transmission passage, so that the wireless communication unit is electrified and restarted.
9. The centralized control system of claim 7, wherein the power control unit comprises:
and the switch circuit comprises a switch control element, the control end of the switch control element is connected with the interface GPIO1, the input end of the switch circuit is connected with the power supply, and the output end of the switch circuit is connected with the power supply end of the wireless communication unit.
10. The centralized control system of claim 9,
the switch control element is a high-level conducting switch element;
one end of the high-level conducted switch element is connected with the power supply through a first pull-up resistor, the other end of the high-level conducted switch element is connected with a first grounding resistor, and the connection position between the first pull-up resistor and one end of the high-level conducted switch element is the output end of the switch circuit, or the connection position between the first grounding resistor and the other end of the high-level conducted switch element is the output end of the switch circuit; or
The switch control element is a low-level conducting switch element;
one end of the switch element switched on by the low level is connected with the first high level, the other end of the switch element is connected with the second grounding resistor, and the connection position between the second grounding resistor and the other end of the switch element switched on by the low level is the output end of the switch circuit.
CN202211208659.7A 2022-09-30 2022-09-30 Centralized control system Pending CN115930375A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211208659.7A CN115930375A (en) 2022-09-30 2022-09-30 Centralized control system
PCT/CN2023/102431 WO2024066527A1 (en) 2022-09-30 2023-06-26 Air conditioner centralized control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211208659.7A CN115930375A (en) 2022-09-30 2022-09-30 Centralized control system

Publications (1)

Publication Number Publication Date
CN115930375A true CN115930375A (en) 2023-04-07

Family

ID=86556534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211208659.7A Pending CN115930375A (en) 2022-09-30 2022-09-30 Centralized control system

Country Status (1)

Country Link
CN (1) CN115930375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066527A1 (en) * 2022-09-30 2024-04-04 青岛海信日立空调***有限公司 Air conditioner centralized control apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066527A1 (en) * 2022-09-30 2024-04-04 青岛海信日立空调***有限公司 Air conditioner centralized control apparatus

Similar Documents

Publication Publication Date Title
US9671123B2 (en) Air conditioner
CN109595850B (en) Control method and air conditioning system
CN115930375A (en) Centralized control system
KR20140129779A (en) An air conditioner and a method thereof
CN113324316A (en) Air conditioning system
CN113701314B (en) Central air-conditioning control system
CN113654201B (en) Central air-conditioning control system
CN113587391A (en) Multi-split system based on Bluetooth communication
KR102123428B1 (en) An air conditioner and a system thereof
CN113701250B (en) Central air-conditioning system
CN102667354A (en) Air conditioner
CN216083722U (en) Hardware circuit and wire controller
CN113339956B (en) Air conditioning system
CN113945002B (en) Communication conversion circuit and air conditioner
CN101737895A (en) Searching method and system of air-conditioning remote control
CN110360712B (en) Air conditioner control method and device, storage medium and air conditioner
CN113932383A (en) Air conditioner and upgrading method
CN102748842B (en) Combined air conditioning unit and system
CN111912085B (en) Driving circuit and air conditioner
CN112378042A (en) Air conditioner operation parameter setting method and air conditioner
CN214009500U (en) Remote controller and air conditioner
CN115665830A (en) Air conditioner and communication control method thereof
CN219607329U (en) Heat pump unit
KR102010389B1 (en) An controller
KR20140054718A (en) Air condition system 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