WO2020228136A1 - Air conditioner and communication control method therefor, device, and electronic apparatus - Google Patents

Air conditioner and communication control method therefor, device, and electronic apparatus Download PDF

Info

Publication number
WO2020228136A1
WO2020228136A1 PCT/CN2019/097775 CN2019097775W WO2020228136A1 WO 2020228136 A1 WO2020228136 A1 WO 2020228136A1 CN 2019097775 W CN2019097775 W CN 2019097775W WO 2020228136 A1 WO2020228136 A1 WO 2020228136A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
air conditioner
indoor unit
outdoor unit
baud rate
Prior art date
Application number
PCT/CN2019/097775
Other languages
French (fr)
Chinese (zh)
Inventor
向兴华
Original Assignee
广东美的制冷设备有限公司
美的集团股份有限公司
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 广东美的制冷设备有限公司, 美的集团股份有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2020228136A1 publication Critical patent/WO2020228136A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • 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/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/72Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
    • F24F11/74Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity
    • F24F11/77Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity by controlling the speed of ventilators
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Definitions

  • This application relates to the field of air conditioning technology, and in particular to an air conditioner and its communication control method, device and electronic equipment.
  • the communication between the indoor unit and the outdoor unit of the inverter air conditioner generally uses a current loop for real-time communication, and the communication between the indoor unit and the outdoor unit generally uses a fixed communication interval in the master-slave mode.
  • the air conditioner When the power grid is in a low voltage state, the air conditioner will have insufficient current loop power supply voltage, which will cause communication failures between indoor and outdoor units.
  • the method of extending the communication interval is adopted to reduce the power consumption of the current loop to realize the communication between the indoor unit and the outdoor unit.
  • the user turns on the outdoor unit for a long period of time.
  • the machine can only receive the communication instructions from the indoor machine to turn on the compressor and outdoor fan, which affects the cooling and heating effect of the air conditioner and reduces the user experience.
  • This application aims to solve one of the technical problems in the related technology at least to a certain extent.
  • the first purpose of this application is to propose an air conditioner and its communication control method, which can not only ensure that the compressor and outdoor fan can be started quickly after the user is turned on under normal voltage, but also ensure that the indoor unit and The outdoor unit will not have communication failure.
  • the second purpose of this application is to provide a communication control device for an air conditioner.
  • the third purpose of this application is to propose an air conditioner.
  • the fourth purpose of this application is to propose an electronic device.
  • the fifth purpose of this application is to provide a computer-readable storage medium.
  • an embodiment of the first aspect of the present application provides a communication control method for an air conditioner, including: controlling the indoor unit and the outdoor unit in the air conditioner to communicate using a first communication parameter; An abnormal communication between the indoor unit and the outdoor unit occurs between the outdoor unit and the outdoor unit; and the second communication parameter is controlled to communicate between the indoor unit and the outdoor unit.
  • the communication control method for an air conditioner proposed according to the above embodiments of the present application may also have the following additional technical features:
  • the first communication parameter is a communication parameter used when the input voltage of the air conditioner is greater than or equal to a preset voltage
  • the second communication parameter is the input voltage of the air conditioner The communication parameter used when it is less than the preset voltage threshold.
  • the first communication parameter includes a first communication interval
  • the second communication parameter includes a second communication interval; wherein, the first communication interval is smaller than the second communication interval
  • the above-mentioned communication control method for an air conditioner further includes: controlling the communication power supply between the indoor unit and the outdoor unit during the first communication interval or the second communication interval Or, controlling the current of the communication loop between the indoor unit and the outdoor unit to be less than a preset current threshold.
  • the preset current threshold is greater than or equal to 0.5 mA, and the preset current threshold is less than or equal to 50 mA.
  • the preset current threshold is greater than or equal to 1 mA, and the preset current threshold is less than or equal to 2 mA.
  • the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 100s.
  • the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 10 seconds.
  • the first communication parameter includes a first baud rate
  • the second communication parameter includes a second baud rate, wherein the first baud frequency is less than the second baud rate. Baud rate.
  • the first baud rate and the second baud rate are greater than or equal to 10 bps, and the first baud rate and the second baud rate are less than or equal to 100 Kbps.
  • the first baud rate and the second baud rate are greater than or equal to 100 bps, and the first baud rate and the second baud rate are less than or equal to 10 Kbps .
  • the first communication parameter includes a first data frame length
  • the second communication parameter includes a second data frame length, wherein the first data frame length is greater than the second data frame length. Frame length.
  • the first data frame length and the second data frame length are greater than or equal to 1 byte, and the first data frame length and the second data frame length are less than or equal to 1024 bytes.
  • the first communication parameter includes a first communication interval and a first baud rate
  • the second communication parameter includes a second communication interval and a second baud rate.
  • the product of a communication interval and the first baud rate is smaller than the product of the second communication interval and the second baud rate.
  • the first communication parameter includes a first communication interval and a first baud rate and a first data frame length
  • the method before said controlling the communication between the indoor unit and the outdoor unit using the second communication parameter, the method further includes: acquiring communication abnormality between the indoor unit and the outdoor unit And/or, obtain the abnormal number of abnormal communication between the indoor unit and the outdoor unit within the second preset time period, and identify the The number of abnormalities is greater than or equal to the preset number.
  • the communication abnormality between the indoor unit and the outdoor unit and the communication between the indoor unit and the outdoor unit includes: detecting that the indoor unit is in the third preset Assuming that the response data fed back by the outdoor unit is not received for a time period, it is determined that a communication abnormality occurs between the indoor unit and the outdoor unit.
  • the communication abnormality between the indoor unit and the outdoor unit between the indoor unit and the outdoor unit further includes: detecting that the indoor unit is in the fourth Receiving the response data fed back by the outdoor unit for a preset time; identifying that the feedback response data is abnormal; according to the abnormality of the response data, it is determined that the communication between the indoor unit and the outdoor unit is abnormal.
  • the controlling the communication between the indoor unit and the outdoor unit using a second communication parameter includes: obtaining the current input voltage of the air conditioner, and identifying that the input voltage is less than The preset voltage threshold; acquiring the second communication parameter that matches the input voltage, and controlling the communication parameter between the indoor unit and the outdoor unit to be updated from the first communication parameter to the second communication parameter .
  • the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V.
  • the preset voltage threshold is greater than or equal to 100, and the preset voltage threshold is less than or equal to 150V.
  • an embodiment of the second aspect of the present application provides a communication control device for an air conditioner, including: a communication control module for controlling the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter, And a communication abnormality occurs between the indoor unit and the outdoor unit to control the communication between the indoor unit and the outdoor unit using a second communication parameter; an abnormality detection module is used to communicate between the indoor unit and the outdoor unit An abnormal communication occurs between the outdoor unit and the indoor unit and the outdoor unit.
  • an embodiment of the third aspect of the present application provides an air conditioner, including: the foregoing communication control device for the air conditioner.
  • an embodiment of the fourth aspect of the present application provides an electronic device, including a memory, a processor, and a program stored in the memory and running on the processor.
  • the processor executes the program, The above-mentioned communication control method of the air conditioner.
  • an embodiment of the fifth aspect of the present application provides a computer-readable storage medium on which a computer program is stored, and the program is executed by a processor to implement the foregoing communication control method for an air conditioner.
  • the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
  • FIG. 1 is a flowchart of a communication control method of an air conditioner according to Embodiment 1 of the application;
  • Figure 2 is a communication circuit diagram of the air conditioner according to the first embodiment of the application.
  • 3 is a waveform diagram of the communication interval when the communication between the indoor unit and the outdoor unit in the first embodiment of the application is started;
  • FIG. 4 is a waveform diagram of the baud rate when the communication between the indoor unit and the outdoor unit in the first embodiment of the application is started;
  • Fig. 5 is a schematic block diagram of a communication control device for an air conditioner according to a second embodiment of the application.
  • Fig. 6 is a block diagram of the air conditioner according to the third embodiment of the application.
  • the master-slave mode is generally used for fixed communication interval communication.
  • the current loop power supply voltage is insufficient and the indoor and outdoor unit communication fails.
  • this application proposes a communication control method for an air conditioner.
  • the indoor unit and the outdoor unit preferentially use a small normal voltage communication interval.
  • the communication mode is used for communication.
  • the indoor unit and the outdoor unit cannot communicate normally within a limited time or number of times, it will automatically switch to a low-voltage communication mode with a large communication interval. This can ensure that the compressor and outdoor fan can be powered by the user under normal voltage. Quick start can ensure that the indoor unit and outdoor unit will not have communication failures under low voltage.
  • Fig. 1 is a flowchart of a communication control method of an air conditioner according to Embodiment 1 of the application.
  • the communication circuits of the indoor unit and the outdoor unit involved in the communication control method of the air conditioner in the embodiment of the present application mainly include: an outdoor communication circuit 10 and an indoor communication circuit 20.
  • the outdoor communication circuit 10 may include: multiple resistors (such as resistors R20-R27), multiple capacitors (such as capacitors C21-C24), multiple diodes (such as diodes D20 and D3), multiple photocouplers (such as Photocoupler IC20 and IC21), common mode inductor L2 and transistor Q101 and other components.
  • the indoor communication circuit 20 may include: multiple resistors (such as resistors R1-R11), multiple capacitors (such as capacitors C21-C24), electrolytic capacitor E1, multiple diodes (such as diodes D1-D3), multiple photocouplers ( Such as photocoupler IC2 and IC1), voltage regulator tube DZ1, common mode inductor L1 and transistor Q1 and other components.
  • the communication power supply 21 may include: a diode D1, resistors R1 and R2, a voltage regulator tube DZ1, an electrolytic capacitor E1, and a capacitor C1.
  • the diode D1, resistors R1 and R2 form a charging circuit for charging the electrolytic capacitor E1; a photocoupler IC20 and IC21, resistor R20, diodes D20 and D2, resistor R4, photocouplers IC1 and IC2 form the entire communication loop of the current loop.
  • current loops are used for real-time communication between the indoor unit and the outdoor unit of the air conditioner.
  • the communication between the indoor unit and the outdoor unit uses a fixed communication interval and frequency in the master-slave mode.
  • the air conditioner will have insufficient current loop power supply voltage, which will cause the communication between the indoor unit and the outdoor unit to fail.
  • it is possible to reduce the power consumption of the current loop by using a communication method that extends the communication interval, it will appear that no matter what voltage state, the outdoor unit will receive the communication command from the indoor unit after a long period of time after the user is turned on, and then the compression will be turned on. This will affect the user’s experience and the cooling and heating effect of the air conditioner.
  • this application proposes a communication control method for an air conditioner, which can ensure that the compressor and outdoor fan can quickly start after the user turns on under normal voltage, and can ensure that the indoor unit and outdoor unit will not communicate under low voltage. malfunction.
  • the communication control method of the air conditioner in the embodiment of the present application may include the following steps:
  • S11 Control the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter.
  • S12 Detect the communication between the indoor unit and the outdoor unit, and determine that there is an abnormal communication between the indoor unit and the outdoor unit.
  • detecting the communication between the indoor unit and the outdoor unit to determine that there is an abnormal communication between the indoor unit and the outdoor unit includes: detecting that the indoor unit does not receive the outdoor unit within the third preset period of time
  • the feedback data confirms that there is an abnormal communication between the indoor unit and the outdoor unit.
  • the third preset duration can be calibrated according to actual conditions.
  • the indoor unit and the outdoor unit preferentially use the first communication parameter for communication, it is also necessary to determine whether the communication between the indoor unit and the outdoor unit is normal, and if it is not normal, the communication mode needs to be changed. For example, after the indoor unit sends a communication connection signal to the outdoor unit, if the indoor unit still does not receive the response data from the outdoor unit after a period of time (the third preset duration), it is determined that there is communication between the indoor unit and the outdoor unit abnormal.
  • detecting the communication between the indoor unit and the outdoor unit to determine that there is an abnormal communication between the indoor unit and the outdoor unit further includes: detecting that the indoor unit receives the outdoor unit within the fourth preset period of time.
  • the response data fed back by the unit identify the abnormality of the response data fed back; according to the abnormality of the response data, determine that the communication between the indoor unit and the outdoor unit is abnormal.
  • the fourth preset duration can be calibrated according to actual conditions.
  • the indoor unit when the indoor unit receives the response data from the outdoor unit within a certain period of time, it will further determine whether the received response data is correct. For example, you can check the waveform of the data feedback. Different, it indicates that the data to be sent back by the outdoor unit is abnormal. At this time, it is judged that there is an abnormal communication between the indoor unit and the outdoor unit.
  • the communication mode of normal voltage is preferentially used for communication (the first communication parameter is preferentially used for communication), which can ensure that the compressor and outdoor fan can quickly start after the user turns on, ensuring that the air conditioner The cooling/heating effect is improved to improve user experience.
  • the communication between the indoor unit and the outdoor unit is controlled to communicate under low voltage, that is, the second communication parameter is used for communication, which can ensure that even under low voltage It can also ensure that communication will not fail.
  • the first communication parameter may be a communication parameter used when the input voltage of the air conditioner is greater than or equal to the preset voltage threshold; the second communication parameter may be that the input voltage of the air conditioner is less than the preset voltage threshold The communication parameters used at the time.
  • controlling the indoor unit and the outdoor unit to communicate using the second communication parameter includes: obtaining the current input voltage of the air conditioner, identifying that the input voltage is less than a preset voltage threshold; obtaining the voltage matching the input voltage
  • the second communication parameter controls the update of the communication parameter between the indoor unit and the outdoor unit from the first communication parameter to the second communication parameter.
  • the preset voltage threshold can be calibrated according to actual conditions.
  • the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V, that is, the preset voltage threshold can be in the range of [40V, 180V]
  • the preset voltage threshold is greater than or equal to 100V, and the preset voltage threshold is less than or equal to 150V, that is, the value of the preset voltage threshold can be in the range of [100V, 150V].
  • the indoor unit and the outdoor unit After judging that there is an abnormal communication between the indoor unit and the outdoor unit using the first communication parameter for communication, obtain the current input voltage of the air conditioner. When the current input voltage is less than the preset voltage, obtain the second input voltage that matches the input voltage. Communication parameters, and update the communication parameters between the indoor unit and the outdoor unit from the first communication parameter to the second communication parameter (using the second communication interval and the second baud rate of low-voltage communication). This can ensure the normal communication between the indoor unit and the outdoor unit in the low voltage state without reporting a communication failure, and ensure that the air conditioner can work normally under normal voltage and low voltage.
  • the second communication parameter may be a fixed value, or the corresponding second communication parameter may be selected according to the magnitude of the input voltage, wherein the air conditioner prestores a table of the corresponding relationship between the input voltage and the second communication parameter.
  • the indoor unit and the outdoor unit before controlling the communication between the indoor unit and the outdoor unit using the second communication parameter, it further includes: acquiring the duration of abnormal communication between the indoor unit and the outdoor unit, and identifying that the duration is greater than or equal to A first preset duration; and/or, acquiring the number of abnormal communication occurrences between the indoor unit and the outdoor unit within the second preset duration, and identifying that the number of abnormalities is greater than or equal to the preset number.
  • the first preset duration, second preset duration, and preset times can be calibrated according to actual conditions.
  • the duration of the abnormal communication between the indoor unit and the outdoor unit obtains the duration of the abnormal communication between the indoor unit and the outdoor unit, and judge it, if the duration is greater than or equal to the first preset duration, then It can be determined that there is an abnormal communication between the indoor unit and the outdoor unit; if the duration is less than the first preset duration, it is further determined whether the number of abnormal communication between the indoor unit and the outdoor unit within the second preset duration is greater than or equal to the preset The number of times, among which, if yes, it is judged that there is a communication abnormality, if not, it means that there may be a communication delay between the indoor unit and the outdoor unit.
  • the first communication parameter includes a first communication interval
  • the second communication parameter includes a second communication interval
  • the communication interval is the length of the interval for transmitting adjacent data frames, the first communication interval and the second communication interval
  • the communication interval can be calibrated according to actual conditions, and the first communication interval is smaller than the second communication interval.
  • the first communication interval and the second communication interval are greater than or equal to 1ms, and the first communication interval and the second communication interval are less than or equal to 100s, that is, the value of the first communication interval may be in the range of [1ms, 100s], The value of the second communication interval can be in the range of [1ms, 100s]; for another example, the first communication interval and the second communication interval are greater than or equal to 1ms, and the first communication interval and the second communication interval are less than or equal to 10s, that is, The value of the first communication interval may be in the range of [1ms, 10s], and the value of the second communication interval may be in the range of [1ms, 10s].
  • 103 is the timing diagram of the communication between the indoor unit and the outdoor unit
  • 104 is the waveform diagram of the communication input voltage between the indoor unit and the outdoor unit.
  • the above-mentioned communication control method for an air conditioner further includes: controlling the communication power supply between the indoor unit and the outdoor unit to be turned off within the first communication interval or the second communication interval; or, controlling The current of the communication loop between the indoor unit and the outdoor unit is less than the preset current threshold.
  • the preset current threshold can be calibrated according to actual conditions.
  • the preset current threshold is greater than or equal to 0.5mA, and the preset current threshold is less than or equal to 50mA, that is, the preset current threshold can be set at [0.5mA, 50mA]; for another example, the preset current threshold is greater than or equal to 1mA, and the preset current threshold is less than or equal to 2mA, that is, the preset current threshold can be within the range of [1mA, 2mA].
  • the communication power supply between the indoor unit and the outdoor unit is controlled to be turned off during the second communication interval. Or the current of the communication loop between the control indoor unit and the outdoor unit is less than the preset current threshold.
  • the communication power supply between the control indoor unit and the outdoor unit is turned off within the first communication interval, or the communication between the indoor unit and the outdoor unit is controlled The loop current is less than the preset current threshold.
  • the first communication parameter includes a first baud rate
  • the second communication parameter includes a second baud rate, where the first baud rate and the second baud rate can be performed according to actual conditions. Calibration, and the first baud rate is less than the second baud rate.
  • the first baud rate and the second baud rate are greater than or equal to 10bps, and the first baud rate and the second baud rate are less than or equal to 100Kbps, that is, the value of the first baud rate can be in [10bps, 100Kbps], the value of the second baud rate can be in the range of [10bps, 100Kbps]; another example, the first baud rate and the second baud rate are greater than or equal to 100bps, and the first baud rate and the second baud rate The second baud rate is less than or equal to 10Kbps, that is, the value of the first baud rate can be in the range of [100bps, 10Kbps], and the value of the second baud rate can be in the range of [100bps, 10Kbps].
  • the communication parameters are updated from the first baud rate to the second baud rate.
  • the baud rate changes from B1 to B2, and the time interval t2>t1.
  • the first communication parameter includes a first data frame length
  • the second communication parameter includes a second data frame length.
  • the first data frame length and the second data frame length can be determined according to actual conditions. Calibration, and the length of the first data frame is greater than the length of the second data frame.
  • the first data frame length and the second data frame length are greater than or equal to 1 byte
  • the first data frame length and the second data frame length are less than or equal to 1024 bytes, that is, the value of the first data frame length can be in [1byte, Within the range of 1024byte], the value of the second data frame length can be in the range of [1byte, 1024byte].
  • the first communication parameter may include a first communication interval and a first baud rate
  • the second communication parameter may include a second communication interval and a second baud rate; wherein, the first communication interval The product of the first baud rate is smaller than the product of the second communication interval and the second baud rate.
  • the communication under normal voltage, the communication is performed at the first communication interval and the first baud rate, and in the case of low voltage or when the input voltage is less than the preset voltage threshold, the communication is performed at the second communication interval and the second baud rate. Communication.
  • the first communication parameter may include a first communication interval and a first baud rate and a first data frame length
  • the first value is preferentially used for communication.
  • the communication between the indoor unit and the outdoor unit is abnormal or the input voltage is less than the preset voltage threshold, it is updated to use the second data for communication. Communication.
  • the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
  • the embodiment of the present application also provides a device corresponding to the method in the first embodiment, see the second embodiment.
  • Fig. 5 is a schematic block diagram of a communication control device for an air conditioner according to a second embodiment of the application.
  • the communication control device of the air conditioner of the present application may include: a communication control module 401 and an abnormality detection module 402.
  • the communication control module 401 is used to control the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter, and to control the second communication between the indoor unit and the outdoor unit when communication abnormality occurs between the indoor unit and the outdoor unit.
  • the abnormality detection module 402 is used to detect the communication between the indoor unit and the outdoor unit, and determine that the communication between the indoor unit and the outdoor unit is abnormal.
  • the first communication parameter is the communication parameter used when the input voltage of the air conditioner is greater than or equal to the preset voltage threshold; the second communication parameter is the communication parameter used when the input voltage of the air conditioner is less than the preset voltage threshold. Communication parameters used.
  • the first communication parameter includes a first communication interval
  • the second communication parameter includes a second communication interval, wherein the first communication interval is smaller than the second communication interval
  • the communication control module 401 is also used to control the communication power supply between the indoor unit and the outdoor unit to be turned off in the first communication interval or the second communication interval; or, to control the indoor unit and the outdoor unit.
  • the current of the communication loop between the machines is less than the preset current threshold.
  • the preset current threshold is greater than or equal to 0.5 mA, and the preset current threshold is less than or equal to 50 mA.
  • the preset current threshold is greater than or equal to 1 mA, and the preset current threshold is less than or equal to 2 mA.
  • the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 100s.
  • the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 10 s.
  • the first communication parameter includes: a first baud rate
  • the second communication parameter includes a second baud rate; wherein, the first baud rate is less than the second baud rate.
  • the first baud rate and the second baud rate are greater than or equal to 10 bps, and the first baud rate and the second baud rate are less than or equal to 100 Kbps.
  • the first baud rate and the second baud rate are greater than or equal to 100 bps, and the first baud rate and the second baud rate are less than or equal to 10 Kbps.
  • the first communication parameter includes a first data frame length
  • the second communication parameter includes a second data frame length, wherein the first data frame length is greater than the second data frame length
  • the first data frame length and the second data frame length are greater than or equal to 1 byte, and the first data frame length and the second data frame length are less than or equal to 1024 bytes.
  • the first communication parameter includes a first communication interval and a first baud rate
  • the second communication parameter includes a second communication interval and a second baud rate.
  • the product of one baud rate is smaller than the product of the second communication interval and the second baud rate.
  • the first communication parameter includes a first communication interval, a first baud rate, and a first data frame length
  • the communication control module 401 is further configured to obtain the duration of abnormal communication between the indoor unit and the outdoor unit, and identify that the duration is greater than or equal to the first preset duration; and/or, obtain the first 2.
  • the number of abnormal communication occurrences between the indoor unit and the outdoor unit within a preset period of time, and the number of abnormal identifications is greater than or equal to the preset number.
  • the abnormality detection module 402 is further configured to detect that the indoor unit does not receive response data fed back by the outdoor unit within the third preset period of time, and determine that a communication abnormality occurs between the indoor unit and the outdoor unit.
  • the abnormality detection module 402 is further configured to detect that the indoor unit receives the response data fed back by the outdoor unit within the fourth preset time period; identify that the response data fed back is abnormal; and determine whether the response data is abnormal. There is an abnormal communication between the indoor unit and the outdoor unit.
  • the communication control module 401 is further configured to obtain the current input voltage of the air conditioner, identify that the input voltage is less than a preset voltage threshold; obtain a second communication parameter that matches the input voltage, and control the indoor unit and The communication parameters between the outdoor units are updated from the first communication parameters to the second communication parameters.
  • the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V.
  • the preset voltage threshold is greater than or equal to 100, and the preset voltage threshold is less than or equal to 150V.
  • the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
  • the embodiment of the present application also provides an air conditioner corresponding to the device in the second embodiment, see the third embodiment.
  • Fig. 6 is a block diagram of the air conditioner according to the third embodiment of the application.
  • the air conditioner 500 of the embodiment of the present application may include: the communication control device 400 of the air conditioner described above.
  • the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
  • This application also proposes an electronic device including a memory, a processor, and a program stored in the memory and capable of running on the processor.
  • the processor executes the program, the communication control method of the air conditioner described above is realized.
  • the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
  • This application also proposes a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the communication control method for the air conditioner described above is realized.
  • the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
  • the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
  • any reference signs located between parentheses should not be constructed as limitations on the claims.
  • the word “comprising” does not exclude the presence of parts or steps not listed in the claims.
  • the word “a” or “an” preceding a component does not exclude the presence of multiple such components.
  • This application can be realized by means of hardware including several different components and by means of a suitably programmed computer. In the unit claims enumerating several devices, several of these devices may be embodied by the same hardware item.
  • the use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.

Abstract

Disclosed are an air conditioner and a communication control method therefor, a device, and an electronic apparatus. The method comprises: controlling an indoor unit and an outdoor unit of an air conditioner to communicate with each other using a first communication parameter; performing detection on the communication between the indoor unit and the outdoor unit, and determining that an anomaly occurs in the communication between the indoor unit and the outdoor unit; and controlling the indoor unit and the outdoor unit to communicate with each other using a second communication parameter. The control method of the present invention ensures that a compressor can be activated quickly when an air conditioner is turned on at a normal voltage, and ensures that a fault does not occur in communication between an indoor unit and an outdoor unit when the communication is performed at a low voltage.

Description

空调器及其通信控制方法、装置和电子设备Air conditioner and its communication control method, device and electronic equipment
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910390455.1,申请日为2019年05月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201910390455.1 and an application date of May 10, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本申请涉及空调技术领域,特别涉及一种空调器及其通信控制方法、装置和电子设备。This application relates to the field of air conditioning technology, and in particular to an air conditioner and its communication control method, device and electronic equipment.
背景技术Background technique
目前,变频空调的室内机和室外机之间的通信方式一般都是采用电流环进行实时通信,而室内机和室外机外之间的通信也一般都是使用主从机方式固定的通信间隔。在电网在低电压状态下,空调会出现电流环供电电压不足,从而导致室内外机通信故障。At present, the communication between the indoor unit and the outdoor unit of the inverter air conditioner generally uses a current loop for real-time communication, and the communication between the indoor unit and the outdoor unit generally uses a fixed communication interval in the master-slave mode. When the power grid is in a low voltage state, the air conditioner will have insufficient current loop power supply voltage, which will cause communication failures between indoor and outdoor units.
相关技术中,通过采用延长通信间隔的方法来降低电流环功耗的方式,以实现室内机和室外机之间的通信,但是,不管在什么电压状态下,用户开机很长一段时间后,室外机才能收到室内机的通信指令,开启压缩机和室外风机,影响空调的制冷制热效果,降低了用户的使用体验。In the related technology, the method of extending the communication interval is adopted to reduce the power consumption of the current loop to realize the communication between the indoor unit and the outdoor unit. However, no matter what voltage state, the user turns on the outdoor unit for a long period of time. The machine can only receive the communication instructions from the indoor machine to turn on the compressor and outdoor fan, which affects the cooling and heating effect of the air conditioner and reduces the user experience.
发明内容Summary of the invention
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。This application aims to solve one of the technical problems in the related technology at least to a certain extent.
为此,本申请的第一个目的在于提出一种空调器及其通信控制方法,既可以保证正常电压下用户开机后压缩机和室外风机能快速启动,又能保证在低电压下室内机与室外机不会出现通信故障。For this reason, the first purpose of this application is to propose an air conditioner and its communication control method, which can not only ensure that the compressor and outdoor fan can be started quickly after the user is turned on under normal voltage, but also ensure that the indoor unit and The outdoor unit will not have communication failure.
本申请的第二个目的在于提出一种空调器的通信控制装置。The second purpose of this application is to provide a communication control device for an air conditioner.
本申请的第三个目的在于提出一种空调器。The third purpose of this application is to propose an air conditioner.
本申请的第四个目的在于提出一种电子设备。The fourth purpose of this application is to propose an electronic device.
本申请的第五个目的在于提出一种计算机可读存储介质。The fifth purpose of this application is to provide a computer-readable storage medium.
为达到上述目的,本申请第一方面实施例提供了一种空调器的通信控制方法,包括:控制所述空调器中室内机与室外机之间采用第一通信参数进行通信;对所述室内机和所述室外机之间对所述室内机和所述室外机之间出现通信异常;控制所述室内机和所述室外机 之间采用第二通信参数进行通信。In order to achieve the above objective, an embodiment of the first aspect of the present application provides a communication control method for an air conditioner, including: controlling the indoor unit and the outdoor unit in the air conditioner to communicate using a first communication parameter; An abnormal communication between the indoor unit and the outdoor unit occurs between the outdoor unit and the outdoor unit; and the second communication parameter is controlled to communicate between the indoor unit and the outdoor unit.
另外,根据本申请上述实施例提出的空调器的通信控制方法还可以具有如下附加的技术特征:In addition, the communication control method for an air conditioner proposed according to the above embodiments of the present application may also have the following additional technical features:
在本申请的一个实施例中,所述第一通信参数为所述空调器的输入电压大于或者等于预设电压时所采用的通信参数;所述第二通信参数为所述空调器的输入电压小于所述预设电压阈值时所采用的通信参数。In an embodiment of the present application, the first communication parameter is a communication parameter used when the input voltage of the air conditioner is greater than or equal to a preset voltage; the second communication parameter is the input voltage of the air conditioner The communication parameter used when it is less than the preset voltage threshold.
在本申请的一个实施例中,所述第一通信参数包括第一通信间隔,所述第二通信参数包括第二通信间隔;其中,所述第一通信间隔小于所述第二通信间隔。In an embodiment of the present application, the first communication parameter includes a first communication interval, and the second communication parameter includes a second communication interval; wherein, the first communication interval is smaller than the second communication interval.
在本申请的一个实施例中,上述的空调器的通信控制方法,还包括:控制所述室内机和所述室外机之间的通信电源在所述第一通信间隔或者所述第二通信间隔内处于关闭状态;或者,控制所述室内机和所述室外机之间的通信回路电流小于预设电流阈值。In an embodiment of the present application, the above-mentioned communication control method for an air conditioner further includes: controlling the communication power supply between the indoor unit and the outdoor unit during the first communication interval or the second communication interval Or, controlling the current of the communication loop between the indoor unit and the outdoor unit to be less than a preset current threshold.
在本申请的一个实施例中,所述预设电流阈值大于或者等于0.5mA,并且所述预设电流阈值小于或者等于50mA。In an embodiment of the present application, the preset current threshold is greater than or equal to 0.5 mA, and the preset current threshold is less than or equal to 50 mA.
在本申请的一个实施例中,所述预设电流阈值大于或者等于1mA,并且所述预设电流阈值小于或者等于2mA。In an embodiment of the present application, the preset current threshold is greater than or equal to 1 mA, and the preset current threshold is less than or equal to 2 mA.
在本申请的一个实施例中,所述第一通信间隔和所述第二通信间隔大于或者等于1ms,并且所述第一通信间隔和所述第二通信间隔小于或者等于100s。In an embodiment of the present application, the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 100s.
在本申请的另一个实施例中,所述第一通信间隔和所述第二通信间隔大于或者等于1ms,并且所述第一通信间隔和所述第二通信间隔小于或者等于10s。In another embodiment of the present application, the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 10 seconds.
在本申请的一个实施例中,所述第一通信参数包括:第一波特率,所述第二通信参数包括第二波特率,其中,所述第一波特频率小于所述第二波特率。In an embodiment of the present application, the first communication parameter includes a first baud rate, and the second communication parameter includes a second baud rate, wherein the first baud frequency is less than the second baud rate. Baud rate.
在本申请的一个实施例中,所述第一波特率和所述第二波特率大于或者等于10bps,并且所述第一波特率和所述第二波特率小于或者等于100Kbps。In an embodiment of the present application, the first baud rate and the second baud rate are greater than or equal to 10 bps, and the first baud rate and the second baud rate are less than or equal to 100 Kbps.
在本申请的另一个实施例中,所述第一波特率和所述第二波特率大于或者等于100bps,并且所述第一波特率和所述第二波特率小于或者等于10Kbps。In another embodiment of the present application, the first baud rate and the second baud rate are greater than or equal to 100 bps, and the first baud rate and the second baud rate are less than or equal to 10 Kbps .
在本申请的一个实施例中,所述第一通信参数包括第一数据帧长度,所述第二通信参数包括第二数据帧长度,其中,所述第一数据帧长度大于所述第二数据帧长度。In an embodiment of the present application, the first communication parameter includes a first data frame length, and the second communication parameter includes a second data frame length, wherein the first data frame length is greater than the second data frame length. Frame length.
在本申请的一个实施例中,所述第一数据帧长度和所述第二数据帧长度大于或者等于1byte,并且所述第一数据帧长度和所述第二数据帧长度小于或者等于1024byte。In an embodiment of the present application, the first data frame length and the second data frame length are greater than or equal to 1 byte, and the first data frame length and the second data frame length are less than or equal to 1024 bytes.
在本申请的一个实施例中,所述第一通信参数包括第一通信间隔和第一波特率,所述第二通信参数包括第二通信间隔和第二波特率,其中,所述第一通信间隔与所述第一波特率的乘积小于所述第二通信间隔与所述第二波特率的乘积。In an embodiment of the present application, the first communication parameter includes a first communication interval and a first baud rate, and the second communication parameter includes a second communication interval and a second baud rate. The product of a communication interval and the first baud rate is smaller than the product of the second communication interval and the second baud rate.
在本申请的一个实施例中,所述第一通信参数包括第一通信间隔和第一波特率和第一数据帧长度;所述第二通信参数包括第二通信间隔和第二波特率和第二数据帧长度;其中,第一数值=所述第一数据帧长度/(所述第一通信间隔*所述第一波特率);第二数值=所述第二数据帧长度/(所述第二通信间隔*所述第二波特率),所述第一数值大于所述第二数值。In an embodiment of the present application, the first communication parameter includes a first communication interval and a first baud rate and a first data frame length; the second communication parameter includes a second communication interval and a second baud rate And the second data frame length; wherein, the first value=the first data frame length/(the first communication interval*the first baud rate); the second value=the second data frame length/ (The second communication interval * the second baud rate), the first value is greater than the second value.
在本申请的一个实施例中,所述控制所述室内机和所述室外机之间采用第二通信参数进行通信之前,还包括:获取所述室内机和所述室外机之间出现通信异常的持续时间,识别所述持续时间大于或者等于第一预设时长;和/或,获取第二预设时长内所述室内机和所述室外机之间出现通信异常的异常次数,识别所述异常次数大于或者等于预设次数。In an embodiment of the present application, before said controlling the communication between the indoor unit and the outdoor unit using the second communication parameter, the method further includes: acquiring communication abnormality between the indoor unit and the outdoor unit And/or, obtain the abnormal number of abnormal communication between the indoor unit and the outdoor unit within the second preset time period, and identify the The number of abnormalities is greater than or equal to the preset number.
在本申请的一个实施例中,所述对所述室内机和所述室外机之间对所述室内机和所述室外机之间出现通信异常,包括:检测所述室内机在第三预设时长未收到所述室外机反馈的应答数据,确定所述室内机和所述室外机之间出现通信异常。In an embodiment of the present application, the communication abnormality between the indoor unit and the outdoor unit and the communication between the indoor unit and the outdoor unit includes: detecting that the indoor unit is in the third preset Assuming that the response data fed back by the outdoor unit is not received for a time period, it is determined that a communication abnormality occurs between the indoor unit and the outdoor unit.
在本申请的一个实施例中,所述对所述室内机和所述室外机之间对所述室内机和所述室外机之间出现通信异常,还包括;检测所述室内机在第四预设时长收到所述室外机反馈的应答数据;识别所述反馈的应答数据出现异常;根据所述应答数据的异常,确定室内机与室外机之间出现通信异常。In an embodiment of the present application, the communication abnormality between the indoor unit and the outdoor unit between the indoor unit and the outdoor unit further includes: detecting that the indoor unit is in the fourth Receiving the response data fed back by the outdoor unit for a preset time; identifying that the feedback response data is abnormal; according to the abnormality of the response data, it is determined that the communication between the indoor unit and the outdoor unit is abnormal.
在本申请的一个实施例中,所述控制所述室内机和所述室外机之间采用第二通信参数进行通信,包括:获取所述空调器当前的输入电压,识别所述输入电压小于所述预设电压阈值;获取与所述输入电压匹配的所述第二通信参数,控制将所述室内机和所述室外机之间的通信参数从第一通信参数更新为所述第二通信参数。In an embodiment of the present application, the controlling the communication between the indoor unit and the outdoor unit using a second communication parameter includes: obtaining the current input voltage of the air conditioner, and identifying that the input voltage is less than The preset voltage threshold; acquiring the second communication parameter that matches the input voltage, and controlling the communication parameter between the indoor unit and the outdoor unit to be updated from the first communication parameter to the second communication parameter .
在本申请的一个实施例中,所述预设电压阈值大于或者等于40V,并且所述预设电压阈值小于或者等于180V。In an embodiment of the present application, the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V.
在本申请的另一个实施例中,所述预设电压阈值预设电压阈值大于或者等于100,并且所述预设电压阈值小于或者等于150V。In another embodiment of the present application, the preset voltage threshold is greater than or equal to 100, and the preset voltage threshold is less than or equal to 150V.
为达到上述目的,本申请第二方面实施例提供了一种空调器的通信控制装置,包括:通信控制模块,用于控制空调器中室内机与室外机之间采用第一通信参数进行通信,以及在所述室内机和所述室外机之间出现通信异常控制所述室内机和所述室外机之间采用第二通信参数进行通信;异常检测模块,用于对所述室内机和所述室外机之间对所述室内机和所述室外机之间出现通信异常。To achieve the foregoing objective, an embodiment of the second aspect of the present application provides a communication control device for an air conditioner, including: a communication control module for controlling the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter, And a communication abnormality occurs between the indoor unit and the outdoor unit to control the communication between the indoor unit and the outdoor unit using a second communication parameter; an abnormality detection module is used to communicate between the indoor unit and the outdoor unit An abnormal communication occurs between the outdoor unit and the indoor unit and the outdoor unit.
为达到上述目的,本申请第三方面实施例提供了一种空调器,包括:上述的空调器的通信控制装置。In order to achieve the foregoing objective, an embodiment of the third aspect of the present application provides an air conditioner, including: the foregoing communication control device for the air conditioner.
为达到上述目的,本申请第四方面实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时,实现上述的 空调器的通信控制方法。To achieve the foregoing objective, an embodiment of the fourth aspect of the present application provides an electronic device, including a memory, a processor, and a program stored in the memory and running on the processor. When the processor executes the program, The above-mentioned communication control method of the air conditioner.
为达到上述目的,本申请第五方面实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的空调器的通信控制方法。To achieve the foregoing objective, an embodiment of the fifth aspect of the present application provides a computer-readable storage medium on which a computer program is stored, and the program is executed by a processor to implement the foregoing communication control method for an air conditioner.
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
1、保证正常电压下室内机与室外机之间能够快速通信,使压缩机和室外风机能够快速启动,保证了低电压状态下室内机与室外机正常通信而不报室内机与室外机通信故障。1. Ensure that the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
2、能够有效弥补在正常电压下用户开机后压缩机延时启动和在低电压的情况下空调出现室内外机通信故障的不足,保证空调在正常电压和低电压下都能正常工作。2. It can effectively make up for the delayed start of the compressor after the user turns on under the normal voltage and the communication failure of the indoor and outdoor units of the air conditioner under the condition of low voltage, ensuring that the air conditioner can work normally under normal voltage and low voltage.
附图说明Description of the drawings
图1为本申请实施例一的空调器的通信控制方法的流程图;FIG. 1 is a flowchart of a communication control method of an air conditioner according to Embodiment 1 of the application;
图2为本申请实施例一的空调器的通信电路图;Figure 2 is a communication circuit diagram of the air conditioner according to the first embodiment of the application;
图3为本申请实施例一的室内机与室外机通信启动时通信间隔的波形图;3 is a waveform diagram of the communication interval when the communication between the indoor unit and the outdoor unit in the first embodiment of the application is started;
图4为本申请实施例一的室内机与室外机通信启动时波特率的波形图;4 is a waveform diagram of the baud rate when the communication between the indoor unit and the outdoor unit in the first embodiment of the application is started;
图5为本申请实施例二的空调器的通信控制装置的方框示意图;以及Fig. 5 is a schematic block diagram of a communication control device for an air conditioner according to a second embodiment of the application; and
图6为本申请实施例三的空调器的方框示意图。Fig. 6 is a block diagram of the air conditioner according to the third embodiment of the application.
具体实施方式Detailed ways
为了解决现有技术中变频空调的室内机与室外机之间的通信一般采用主从机方式固定的通信间隔通信,存在电网在低电压状态下,出现电流环供电电压不足导致室内外机通信故障和采用延长通信间隔降低电流环功耗的方式通信影响用户体验的不足的技术问题,本申请提出了一种空调器的通信控制方法,室内机与室外机之间优先采用正常电压通信间隔小的通信方式进行通信,当在限定时间或次数内室内机与室外机不能正常通信时,自动转为通信间隔大的低电压通信模式,这样既可以保证正常电压下用户开机后压缩机和室外风机能快速启动,又能保证在低电压下室内机与室外机不会出现通信故障。In order to solve the communication between the indoor unit and the outdoor unit of the inverter air conditioner in the prior art, the master-slave mode is generally used for fixed communication interval communication. When the power grid is in a low voltage state, the current loop power supply voltage is insufficient and the indoor and outdoor unit communication fails. In addition to the technical problem of insufficient communication that affects user experience by extending the communication interval and reducing the power consumption of the current loop, this application proposes a communication control method for an air conditioner. The indoor unit and the outdoor unit preferentially use a small normal voltage communication interval. The communication mode is used for communication. When the indoor unit and the outdoor unit cannot communicate normally within a limited time or number of times, it will automatically switch to a low-voltage communication mode with a large communication interval. This can ensure that the compressor and outdoor fan can be powered by the user under normal voltage. Quick start can ensure that the indoor unit and outdoor unit will not have communication failures under low voltage.
为了更好的理解上述技术方案,下面将参照附图更详细地描述本申请的示例性实施例。虽然附图中显示了本申请的示例性实施例,然而应当理解,可以以各种形式实现本申请而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本申请,并且能够将本申请的范围完整的传达给本领域的技术人员。In order to better understand the above technical solutions, the exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the drawings show exemplary embodiments of the present application, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided for a more thorough understanding of the application, and to fully convey the scope of the application to those skilled in the art.
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。In order to better understand the above technical solutions, the above technical solutions will be described in detail below in conjunction with the accompanying drawings of the specification and specific implementations.
实施例一Example one
图1为本申请实施例一的空调器的通信控制方法的流程图。Fig. 1 is a flowchart of a communication control method of an air conditioner according to Embodiment 1 of the application.
在本申请的一个实施例中,如图2所示,本申请实施例的空调器的通信控制方法所涉及的室内机和室外机的通信电路主要包括:室外通信电路10和室内通信电路20。In an embodiment of the present application, as shown in FIG. 2, the communication circuits of the indoor unit and the outdoor unit involved in the communication control method of the air conditioner in the embodiment of the present application mainly include: an outdoor communication circuit 10 and an indoor communication circuit 20.
具体地,室外通信电路10可包括:多个电阻(如电阻R20-R27)、多个电容(如电容C21-C24)、多个二极管(如二极管D20和D3)、多个光电耦合器(如光电耦合器IC20和IC21)、共模电感L2和晶体管Q101等元器件。室内通信电路20可包括:多个电阻(如电阻R1-R11)、多个电容(如电容C21-C24)、电解电容E1、多个二极管(如二极管D1-D3)、多个光电耦合器(如光电耦合器IC2和IC1)、稳压管DZ1、共模电感L1和晶体管Q1等元器件。其中,通信电源21可包括:二极管D1、电阻R1和R2、稳压管DZ1、电解电容E1、电容C1,其中,二极管D1、电阻R1和R2组成为电解电容E1充电的充电电路;光电耦合器IC20和IC21、电阻R20、二极管D20和D2、电阻R4、光电耦合器IC1和IC2组成电流环整个通信环路。Specifically, the outdoor communication circuit 10 may include: multiple resistors (such as resistors R20-R27), multiple capacitors (such as capacitors C21-C24), multiple diodes (such as diodes D20 and D3), multiple photocouplers (such as Photocoupler IC20 and IC21), common mode inductor L2 and transistor Q101 and other components. The indoor communication circuit 20 may include: multiple resistors (such as resistors R1-R11), multiple capacitors (such as capacitors C21-C24), electrolytic capacitor E1, multiple diodes (such as diodes D1-D3), multiple photocouplers ( Such as photocoupler IC2 and IC1), voltage regulator tube DZ1, common mode inductor L1 and transistor Q1 and other components. Among them, the communication power supply 21 may include: a diode D1, resistors R1 and R2, a voltage regulator tube DZ1, an electrolytic capacitor E1, and a capacitor C1. The diode D1, resistors R1 and R2 form a charging circuit for charging the electrolytic capacitor E1; a photocoupler IC20 and IC21, resistor R20, diodes D20 and D2, resistor R4, photocouplers IC1 and IC2 form the entire communication loop of the current loop.
一般情况下,空调器的室内机与室外机之间都是采用电流环进行实时通信,如室内机与室外机之间采用主从机方式固定的通信间隔和频率进行通信。但是,在低电压状态下,空调会出现电流环供电电压不足的现象,导致室内机与室外机之间的通信出现故障。虽然可以通过采用延长通信间隔的通信方式,来降低电流环功耗,但会出现不管在什么电压状态下,用户开机很长一段时间后,室外机才收到室内机的通信指令,进而开启压缩机和室外风机,这样会影响用户的使用体验和空调的制冷制热效果。In general, current loops are used for real-time communication between the indoor unit and the outdoor unit of the air conditioner. For example, the communication between the indoor unit and the outdoor unit uses a fixed communication interval and frequency in the master-slave mode. However, in the low voltage state, the air conditioner will have insufficient current loop power supply voltage, which will cause the communication between the indoor unit and the outdoor unit to fail. Although it is possible to reduce the power consumption of the current loop by using a communication method that extends the communication interval, it will appear that no matter what voltage state, the outdoor unit will receive the communication command from the indoor unit after a long period of time after the user is turned on, and then the compression will be turned on. This will affect the user’s experience and the cooling and heating effect of the air conditioner.
为此,本申请提出了一种空调器的通信控制方法,既可以保证正常电压下用户开机后压缩机和室外风机能快速启动,又能保证在低电压下室内机与室外机不会出现通信故障。For this reason, this application proposes a communication control method for an air conditioner, which can ensure that the compressor and outdoor fan can quickly start after the user turns on under normal voltage, and can ensure that the indoor unit and outdoor unit will not communicate under low voltage. malfunction.
如图1所示,本申请实施例的空调器的通信控制方法可包括以下步骤:As shown in FIG. 1, the communication control method of the air conditioner in the embodiment of the present application may include the following steps:
S11,控制空调器中室内机与室外机之间采用第一通信参数进行通信。S11: Control the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter.
S12,对室内机和室外机之间的通信进行检测,确定室内机和室外机之间出现通信异常。S12: Detect the communication between the indoor unit and the outdoor unit, and determine that there is an abnormal communication between the indoor unit and the outdoor unit.
在本申请的一个实施例中,对室内机和室外机之间的通信进行检测,确定室内机和室外机之间出现通信异常,包括:检测室内机在第三预设时长未收到室外机反馈的应答数据,确定室内机和室外机之间出现通信异常。其中,第三预设时长可根据实际情况进行标定。In an embodiment of the present application, detecting the communication between the indoor unit and the outdoor unit to determine that there is an abnormal communication between the indoor unit and the outdoor unit includes: detecting that the indoor unit does not receive the outdoor unit within the third preset period of time The feedback data confirms that there is an abnormal communication between the indoor unit and the outdoor unit. Among them, the third preset duration can be calibrated according to actual conditions.
具体地,在室内机与室外机优先采用第一通信参数进行通信时,还需要判断室内机与室外机之间的通信是否正常,如果不正常,需要更换通信方式。例如,室内机向室外机发送通信连接信号之后,如果一段时间(第三预设时长)后,室内机仍未接收到室外机反馈的应答数据,则判断室内机与室外机之间的出现通信异常。Specifically, when the indoor unit and the outdoor unit preferentially use the first communication parameter for communication, it is also necessary to determine whether the communication between the indoor unit and the outdoor unit is normal, and if it is not normal, the communication mode needs to be changed. For example, after the indoor unit sends a communication connection signal to the outdoor unit, if the indoor unit still does not receive the response data from the outdoor unit after a period of time (the third preset duration), it is determined that there is communication between the indoor unit and the outdoor unit abnormal.
在本申请的另一个实施例中,对室内机和室外机之间的通信进行检测,确定室内机和室外机之间出现通信异常,还包括:检测室内机在第四预设时长收到室外机反馈的应答数据;识别反馈的应答数据出现异常;根据应答数据的异常,确定室内机与室外机之间出现 通信异常。其中,第四预设时长可根据实际情况进行标定。In another embodiment of the present application, detecting the communication between the indoor unit and the outdoor unit to determine that there is an abnormal communication between the indoor unit and the outdoor unit further includes: detecting that the indoor unit receives the outdoor unit within the fourth preset period of time. The response data fed back by the unit; identify the abnormality of the response data fed back; according to the abnormality of the response data, determine that the communication between the indoor unit and the outdoor unit is abnormal. Among them, the fourth preset duration can be calibrated according to actual conditions.
也就是说,当室内机在一端时间内接收到了室外机反馈的应答数据时,还进一步判断接收到的应答数据是否正确,例如,可通过查看数据反馈的波形图,如果和预先存储的波形图不同,则表明室外机反馈的应发数据出现异常,此时,判断室内机与室外机之间出现通信异常。That is to say, when the indoor unit receives the response data from the outdoor unit within a certain period of time, it will further determine whether the received response data is correct. For example, you can check the waveform of the data feedback. Different, it indicates that the data to be sent back by the outdoor unit is abnormal. At this time, it is judged that there is an abnormal communication between the indoor unit and the outdoor unit.
S13,控制室内机和室外机之间采用第二通信参数进行通信。S13: Control the indoor unit and the outdoor unit to communicate using the second communication parameter.
具体地,在空调器上电工作后,优先采用正常电压的通信方式进行通信(优先采用第一通信参数进行通信),这样可以保证用户开机后,压缩机和室外风机能够快速启动,保证空调器的制冷/制热效果,提高用户体验。在检测出室内机和室外机之间出现通信异常时,控制室内机和室外机之间采用低电压下的通信方式进行通信,即采用第二通信参数进行通信,这样可以保证即使在低电压下也能保证通信不会出现故障。Specifically, after the air conditioner is powered on, the communication mode of normal voltage is preferentially used for communication (the first communication parameter is preferentially used for communication), which can ensure that the compressor and outdoor fan can quickly start after the user turns on, ensuring that the air conditioner The cooling/heating effect is improved to improve user experience. When an abnormal communication between the indoor unit and the outdoor unit is detected, the communication between the indoor unit and the outdoor unit is controlled to communicate under low voltage, that is, the second communication parameter is used for communication, which can ensure that even under low voltage It can also ensure that communication will not fail.
在本申请的一个实施例中,第一通信参数可以为空调器的输入电压大于或者等于预设电压阈值时所采用的通信参数;第二通信参数可以为空调器的输入电压小于预设电压阈值时所采用的通信参数。In an embodiment of the present application, the first communication parameter may be a communication parameter used when the input voltage of the air conditioner is greater than or equal to the preset voltage threshold; the second communication parameter may be that the input voltage of the air conditioner is less than the preset voltage threshold The communication parameters used at the time.
在本申请的一个实施例中,控制室内机和室外机之间采用第二通信参数进行通信,包括:获取空调器当前的输入电压,识别输入电压小于预设电压阈值;获取与输入电压匹配的第二通信参数,控制将室内机和室外机之间的通信参数从第一通信参数更新为第二通信参数。In an embodiment of the present application, controlling the indoor unit and the outdoor unit to communicate using the second communication parameter includes: obtaining the current input voltage of the air conditioner, identifying that the input voltage is less than a preset voltage threshold; obtaining the voltage matching the input voltage The second communication parameter controls the update of the communication parameter between the indoor unit and the outdoor unit from the first communication parameter to the second communication parameter.
其中,预设电压阈值可根据实际情况进行标定,例如,预设电压阈值大于或者等于40V,并且预设电压阈值小于或者等于180V,即预设电压阈值的取值可在[40V,180V]范围内;又如,预设电压阈值大于或者等于100V,并且预设电压阈值小于或者等于150V,即预设电压阈值的取值可在[100V,150V]范围内。Among them, the preset voltage threshold can be calibrated according to actual conditions. For example, the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V, that is, the preset voltage threshold can be in the range of [40V, 180V] In another example, the preset voltage threshold is greater than or equal to 100V, and the preset voltage threshold is less than or equal to 150V, that is, the value of the preset voltage threshold can be in the range of [100V, 150V].
在判断室内机与室外机之间采用第一通信参数进行通信时出现通信异常后,获取空调器的当前输入电压,当当前输入电压小于预设电压时,获取与该输入电压相匹配的第二通信参数,并将室内机和室外机之间的通信参数从第一通信参数更新为第二通信参数(采用低电压通信的第二通信间隔和第二波特率)。这样可以保证低电压状态下,室内机与室外机之间正常通信而不报通信故障,保证空调在正常电压和低电压下都能正常工作。After judging that there is an abnormal communication between the indoor unit and the outdoor unit using the first communication parameter for communication, obtain the current input voltage of the air conditioner. When the current input voltage is less than the preset voltage, obtain the second input voltage that matches the input voltage. Communication parameters, and update the communication parameters between the indoor unit and the outdoor unit from the first communication parameter to the second communication parameter (using the second communication interval and the second baud rate of low-voltage communication). This can ensure the normal communication between the indoor unit and the outdoor unit in the low voltage state without reporting a communication failure, and ensure that the air conditioner can work normally under normal voltage and low voltage.
需要说明的是,第二通信参数可以为固定值,也可以根据输入电压的大小来选择对应的第二通信参数,其中,空调器中预先存储了输入电压与第二通信参数对应关系的表格。It should be noted that the second communication parameter may be a fixed value, or the corresponding second communication parameter may be selected according to the magnitude of the input voltage, wherein the air conditioner prestores a table of the corresponding relationship between the input voltage and the second communication parameter.
另外,在判断室内机与室外机之间采用第一通信参数进行通信时出现通信异常时,如果空调器的当前输入电压大于或者等于预设电压时,则说明当前通信异常的原因并不是因为低电压造成的通信异常,有可能是线路出现问题,此时需要发出报警提醒,提示用户进 行维修。In addition, when it is judged that a communication abnormality occurs when the first communication parameter is used for communication between the indoor unit and the outdoor unit, if the current input voltage of the air conditioner is greater than or equal to the preset voltage, it means that the reason for the current communication abnormality is not due to low Abnormal communication caused by voltage may be a problem with the line. At this time, an alarm is required to remind the user to repair.
在本申请的一个实施例中,控制室内机和室外机之间采用第二通信参数进行通信之前,还包括:获取室内机和室外机之间出现通信异常的持续时间,识别持续时间大于或者等于第一预设时长;和/或,获取第二预设时长内室内机和室外机之间出现通信异常的异常次数,识别异常次数大于或者等于预设次数。其中,第一预设时长、第二预设时长和预设次数可根据实际情况进行标定。In an embodiment of the present application, before controlling the communication between the indoor unit and the outdoor unit using the second communication parameter, it further includes: acquiring the duration of abnormal communication between the indoor unit and the outdoor unit, and identifying that the duration is greater than or equal to A first preset duration; and/or, acquiring the number of abnormal communication occurrences between the indoor unit and the outdoor unit within the second preset duration, and identifying that the number of abnormalities is greater than or equal to the preset number. Among them, the first preset duration, second preset duration, and preset times can be calibrated according to actual conditions.
具体地,为了保证判断通信是否正常的准确性,在判断室内机与室外机之间出现通信异常时,还根据通信异常的持续时间和/或异常次数来确定室内机和室外机之间是否出现通信异常。例如,在判断室内机与室外机之间出现通信异常时,获取室内机与室外机之间出现通信异常的持续时间,并对其进行判断,如果持续时间大于或等于第一预设时长,则可以确定室内机与室外机之间出现通信异常;如果持续时间小于第一预设时长,则进一步判断第二预设时长内室内机与室外机之间出现通信异常的次数是否大于或等于预设次数,其中,如果是,则判断出现通信异常,如果否,则说明室内机与室外机之间可能出现通信延迟。又如,还可以只根据室内机与室外机之间出现通信异常的持续时间来判断是否出现异常,或者只根据第二预设时长内室内机和室外机之间出现通信异常的异常次数来判断是否出现异常。Specifically, in order to ensure the accuracy of judging whether the communication is normal, when judging that there is an abnormal communication between the indoor unit and the outdoor unit, it is also determined whether there is an abnormality between the indoor unit and the outdoor unit according to the duration of the abnormal communication and/or the number of abnormalities. Communication is abnormal. For example, when judging that there is an abnormal communication between the indoor unit and the outdoor unit, obtain the duration of the abnormal communication between the indoor unit and the outdoor unit, and judge it, if the duration is greater than or equal to the first preset duration, then It can be determined that there is an abnormal communication between the indoor unit and the outdoor unit; if the duration is less than the first preset duration, it is further determined whether the number of abnormal communication between the indoor unit and the outdoor unit within the second preset duration is greater than or equal to the preset The number of times, among which, if yes, it is judged that there is a communication abnormality, if not, it means that there may be a communication delay between the indoor unit and the outdoor unit. For another example, it is also possible to determine whether an abnormality occurs only based on the duration of the abnormal communication between the indoor unit and the outdoor unit, or only based on the number of abnormal communications between the indoor unit and the outdoor unit within the second preset time period. Whether there is an abnormality.
在本申请的一个实施例中,第一通信参数包括第一通信间隔,第二通信参数包括第二通信间隔,其中,通信间隔为传输相邻数据帧的间隔时长,第一通信间隔和第二通信间隔可根据实际情况进行标定,且第一通信间隔小于第二通信间隔。例如,第一通信间隔和第二通信间隔大于或者等于1ms,并且第一通信间隔和第二通信间隔小于或者等于100s,即,第一通信间隔的取值可在[1ms,100s]范围内,第二通信间隔的取值可在[1ms,100s]范围内;又如,第一通信间隔和第二通信间隔大于或者等于1ms,并且第一通信间隔和第二通信间隔小于或者等于10s,即第一通信间隔的取值可在[1ms,10s]范围内,第二通信间隔的取值可在[1ms,10s]范围内。In an embodiment of the present application, the first communication parameter includes a first communication interval, and the second communication parameter includes a second communication interval, where the communication interval is the length of the interval for transmitting adjacent data frames, the first communication interval and the second communication interval The communication interval can be calibrated according to actual conditions, and the first communication interval is smaller than the second communication interval. For example, the first communication interval and the second communication interval are greater than or equal to 1ms, and the first communication interval and the second communication interval are less than or equal to 100s, that is, the value of the first communication interval may be in the range of [1ms, 100s], The value of the second communication interval can be in the range of [1ms, 100s]; for another example, the first communication interval and the second communication interval are greater than or equal to 1ms, and the first communication interval and the second communication interval are less than or equal to 10s, that is, The value of the first communication interval may be in the range of [1ms, 10s], and the value of the second communication interval may be in the range of [1ms, 10s].
其中,如图3所示,103为室内机与室外机通信启动的时序图;104为室内机与室外机通信输入电压波形图,室内机与室外机之间通信间隔较小时,输入电压会降低;相反,室内机与室外机之间的通信间隔增大时,输入电压相应也会提高。Among them, as shown in Figure 3, 103 is the timing diagram of the communication between the indoor unit and the outdoor unit; 104 is the waveform diagram of the communication input voltage between the indoor unit and the outdoor unit. When the communication interval between the indoor unit and the outdoor unit is small, the input voltage will decrease ; On the contrary, when the communication interval between the indoor unit and the outdoor unit increases, the input voltage will increase accordingly.
在本申请的一个实施例中,上述的空调器的通信控制方法,还包括:控制室内机和室外机之间的通信电源在第一通信间隔或者第二通信间隔内处于关闭状态;或者,控制室内机和室外机之间的通信回路电流小于预设电流阈值。In an embodiment of the present application, the above-mentioned communication control method for an air conditioner further includes: controlling the communication power supply between the indoor unit and the outdoor unit to be turned off within the first communication interval or the second communication interval; or, controlling The current of the communication loop between the indoor unit and the outdoor unit is less than the preset current threshold.
其中,预设电流阈值可根据实际情况进行标定,例如,预设电流阈值大于或者等于0.5mA,并且预设电流阈值小于或者等于50mA,即,预设电流阈值的取值可在[0.5mA,50mA] 范围内;又如,预设电流阈值大于或者等于1mA,并且预设电流阈值小于或者等于2mA,即,预设电流阈值的取值可在[1mA,2mA]范围内。Among them, the preset current threshold can be calibrated according to actual conditions. For example, the preset current threshold is greater than or equal to 0.5mA, and the preset current threshold is less than or equal to 50mA, that is, the preset current threshold can be set at [0.5mA, 50mA]; for another example, the preset current threshold is greater than or equal to 1mA, and the preset current threshold is less than or equal to 2mA, that is, the preset current threshold can be within the range of [1mA, 2mA].
也就是说,为了减少能耗,降低资源浪费,在室内机与室外机之间采用第一通信间隔通信时,控制室内机与室外机之间的通信电源在第二通信间隔内处于关闭状态,或者控制室内机与室外机之间的通信回路电流小于预设电流阈值。同样地,在室内机与室外机之间采用第二通信间隔时,控制室内机与室外机之间的通信电源在第一通信间隔内处于关闭状态,或者控制室内机和室外机之间的通信回路电流小于预设电流阈值。That is to say, in order to reduce energy consumption and reduce resource waste, when the first communication interval is used for communication between the indoor unit and the outdoor unit, the communication power supply between the indoor unit and the outdoor unit is controlled to be turned off during the second communication interval. Or the current of the communication loop between the control indoor unit and the outdoor unit is less than the preset current threshold. Similarly, when the second communication interval is adopted between the indoor unit and the outdoor unit, the communication power supply between the control indoor unit and the outdoor unit is turned off within the first communication interval, or the communication between the indoor unit and the outdoor unit is controlled The loop current is less than the preset current threshold.
在申请的另一个实施例中,第一通信参数包括:第一波特率,第二通信参数包括第二波特率,其中,第一波特率和第二波特率可根据实际情况进行标定,且第一波特率小于第二波特率。例如,第一波特率和第二波特率大于或者等于10bps,并且第一波特率和第二波特率小于或者等于100Kbps,即,第一波特率的取值可在[10bps,100Kbps]范围内,第二波特率的取值可在[10bps,100Kbps]范围内;又如,第一波特率和第二波特率大于或者等于100bps,并且第一波特率和第二波特率小于或者等于10Kbps,即,第一波特率的取值可在[100bps,10Kbps]范围内,第二波特率的取值可在[100bps,10Kbps]范围内。In another embodiment of the application, the first communication parameter includes a first baud rate, and the second communication parameter includes a second baud rate, where the first baud rate and the second baud rate can be performed according to actual conditions. Calibration, and the first baud rate is less than the second baud rate. For example, the first baud rate and the second baud rate are greater than or equal to 10bps, and the first baud rate and the second baud rate are less than or equal to 100Kbps, that is, the value of the first baud rate can be in [10bps, 100Kbps], the value of the second baud rate can be in the range of [10bps, 100Kbps]; another example, the first baud rate and the second baud rate are greater than or equal to 100bps, and the first baud rate and the second baud rate The second baud rate is less than or equal to 10Kbps, that is, the value of the first baud rate can be in the range of [100bps, 10Kbps], and the value of the second baud rate can be in the range of [100bps, 10Kbps].
如图4所示,当室内机与室外机之间出现通信异常时,通信参数由第一波特率更新为第二波特率,为了保证室内机与室外机之间的通信正常,增大室内机与室外机之间通信的波特率,波特率由B1变为B2,时间间隔t2>t1。As shown in Figure 4, when an abnormal communication occurs between the indoor unit and the outdoor unit, the communication parameters are updated from the first baud rate to the second baud rate. In order to ensure the normal communication between the indoor unit and the outdoor unit, increase The baud rate of the communication between the indoor unit and the outdoor unit, the baud rate changes from B1 to B2, and the time interval t2>t1.
需要说明的是,将图3中的时间每隔通信间隔单独放大后,就可以得到图4中所示的波特率的波形图。It should be noted that after the time in FIG. 3 is individually enlarged every communication interval, the waveform diagram of the baud rate shown in FIG. 4 can be obtained.
在本申请的又一个实施例中,第一通信参数包括第一数据帧长度,第二通信参数包括第二数据帧长度,其中,第一数据帧长度和第二数据帧长度可根据实际情况进行标定,且第一数据帧长度大于第二数据帧长度。例如,第一数据帧长度和第二数据帧长度大于或者等于1byte,并且第一数据帧长度和第二数据帧长度小于或者等于1024byte,即,第一数据帧长度的取值可在[1byte,1024byte]范围内,第二数据帧长度的取值可在[1byte,1024byte]范围内。In another embodiment of the present application, the first communication parameter includes a first data frame length, and the second communication parameter includes a second data frame length. The first data frame length and the second data frame length can be determined according to actual conditions. Calibration, and the length of the first data frame is greater than the length of the second data frame. For example, the first data frame length and the second data frame length are greater than or equal to 1 byte, and the first data frame length and the second data frame length are less than or equal to 1024 bytes, that is, the value of the first data frame length can be in [1byte, Within the range of 1024byte], the value of the second data frame length can be in the range of [1byte, 1024byte].
也就是说,在正常电压下,以第一数据帧长度进行通信,在低电压情况下或者输入电压小于预设电压阈值时,以第二数据帧长度进行通信。That is, under normal voltage, communication is performed with the first data frame length, and under low voltage or when the input voltage is less than the preset voltage threshold, communication is performed with the second data frame length.
在本申请的再一个实施例中,第一通信参数可包括第一通信间隔和第一波特率,第二通信参数可包括第二通信间隔和第二波特率;其中,第一通信间隔与第一波特率的乘积小于第二通信间隔与第二波特率的乘积。In still another embodiment of the present application, the first communication parameter may include a first communication interval and a first baud rate, and the second communication parameter may include a second communication interval and a second baud rate; wherein, the first communication interval The product of the first baud rate is smaller than the product of the second communication interval and the second baud rate.
也就是说,在正常电压下,以第一通信间隔和第一波特率进行通信,在低电压情况下或者输入电压小于预设电压阈值时,以第二通信间隔和第二波特率进行通信。That is, under normal voltage, the communication is performed at the first communication interval and the first baud rate, and in the case of low voltage or when the input voltage is less than the preset voltage threshold, the communication is performed at the second communication interval and the second baud rate. Communication.
在本申请的又一个实施例中,第一通信参数可包括第一通信间隔和第一波特率和第一数据帧长度;第二通信参数可包括第二通信间隔和第二波特率和第二数据帧长度;其中,第一数值=第一数据帧长度/(第一通信间隔*第一波特率);第二数值=第二数据帧长度/(第二通信间隔*第二波特率),第一数值大于第二数值。In yet another embodiment of the present application, the first communication parameter may include a first communication interval and a first baud rate and a first data frame length; the second communication parameter may include a second communication interval and a second baud rate and The second data frame length; where the first value = the first data frame length/(the first communication interval * the first baud rate); the second value = the second data frame length/(the second communication interval * the second wave) Special rate), the first value is greater than the second value.
也就是说,在空调器上电工作后,优先采用第一数值进行通信,在判断室内机与室外机之间通信异常或者识别输入电压小于预设电压阈值时,再更新为采用第二数据进行通信。In other words, after the air conditioner is powered on, the first value is preferentially used for communication. When it is judged that the communication between the indoor unit and the outdoor unit is abnormal or the input voltage is less than the preset voltage threshold, it is updated to use the second data for communication. Communication.
上述本申请实施例中的技术方案,至少具有如下技术效果或优点:The above-mentioned technical solutions in the embodiments of the application have at least the following technical effects or advantages:
1、保证正常电压下室内机与室外机之间能够快速通信,使压缩机和室外风机能够快速启动,保证了低电压状态下室内机与室外机正常通信而不报室内机与室外机通信故障。1. Ensure that the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
2、能够有效弥补在正常电压下用户开机后压缩机延时启动和在低电压的情况下空调出现室内外机通信故障的不足,保证空调在正常电压和低电压下都能正常工作。2. It can effectively make up for the delayed start of the compressor after the user turns on under the normal voltage and the communication failure of the indoor and outdoor units of the air conditioner under the condition of low voltage, ensuring that the air conditioner can work normally under normal voltage and low voltage.
基于同一构思,本申请实施例还提供了实施例一中方法对应的装置,见实施例二。Based on the same concept, the embodiment of the present application also provides a device corresponding to the method in the first embodiment, see the second embodiment.
实施例二Example two
图5为本申请实施例二的空调器的通信控制装置的方框示意图。Fig. 5 is a schematic block diagram of a communication control device for an air conditioner according to a second embodiment of the application.
如图5所示,本申请的空调器的通信控制装置,可包括:通信控制模块401和异常检测模块402。As shown in FIG. 5, the communication control device of the air conditioner of the present application may include: a communication control module 401 and an abnormality detection module 402.
其中,通信控制模块401用于控制空调器中室内机与室外机之间采用第一通信参数进行通信,以及在室内机和室外机之间出现通信异常控制室内机和室外机之间采用第二通信参数进行通信。异常检测模块402用于对室内机和室外机之间的通信进行检测,确定室内机和室外机之间出现通信异常。Among them, the communication control module 401 is used to control the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter, and to control the second communication between the indoor unit and the outdoor unit when communication abnormality occurs between the indoor unit and the outdoor unit. Communication parameters for communication. The abnormality detection module 402 is used to detect the communication between the indoor unit and the outdoor unit, and determine that the communication between the indoor unit and the outdoor unit is abnormal.
在本申请的一个实施例中,第一通信参数为空调器的输入电压大于或者等于预设电压阈值时所采用的通信参数;第二通信参数为空调器的输入电压小于预设电压阈值时所采用的通信参数。In an embodiment of the present application, the first communication parameter is the communication parameter used when the input voltage of the air conditioner is greater than or equal to the preset voltage threshold; the second communication parameter is the communication parameter used when the input voltage of the air conditioner is less than the preset voltage threshold. Communication parameters used.
在本申请的一个实施例中,第一通信参数包括第一通信间隔,第二通信参数包括第二通信间隔,其中,第一通信间隔小于第二通信间隔。In an embodiment of the present application, the first communication parameter includes a first communication interval, and the second communication parameter includes a second communication interval, wherein the first communication interval is smaller than the second communication interval.
在本申请的一个实施例中,通信控制模块401还用于,控制室内机和室外机之间的通信电源在第一通信间隔或者第二通信间隔内处于关闭状态;或者,控制室内机和室外机之间的通信回路电流小于预设电流阈值。In an embodiment of the present application, the communication control module 401 is also used to control the communication power supply between the indoor unit and the outdoor unit to be turned off in the first communication interval or the second communication interval; or, to control the indoor unit and the outdoor unit. The current of the communication loop between the machines is less than the preset current threshold.
在本申请的一个实施例中,预设电流阈值大于或者等于0.5mA,并且预设电流阈值小于或者等于50mA。In an embodiment of the present application, the preset current threshold is greater than or equal to 0.5 mA, and the preset current threshold is less than or equal to 50 mA.
在本申请的另一个实施例中,预设电流阈值大于或者等于1mA,并且预设电流阈值小于或者等于2mA。In another embodiment of the present application, the preset current threshold is greater than or equal to 1 mA, and the preset current threshold is less than or equal to 2 mA.
在本申请的一个实施例中,第一通信间隔和第二通信间隔大于或者等于1ms,并且第一通信间隔和第二通信间隔小于或者等于100s。In an embodiment of the present application, the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 100s.
在本申请的另一个实施例中,第一通信间隔和第二通信间隔大于或者等于1ms,并且第一通信间隔和第二通信间隔小于或者等于10s。In another embodiment of the present application, the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval are less than or equal to 10 s.
在本申请的一个实施例中,第一通信参数包括:第一波特率,第二通信参数包括第二波特率;其中,第一波特率小于第二波特率。In an embodiment of the present application, the first communication parameter includes: a first baud rate, and the second communication parameter includes a second baud rate; wherein, the first baud rate is less than the second baud rate.
在本申请的一个实施例中,第一波特率和第二波特率大于或者等于10bps,并且第一波特率和第二波特率小于或者等于100Kbps。In an embodiment of the present application, the first baud rate and the second baud rate are greater than or equal to 10 bps, and the first baud rate and the second baud rate are less than or equal to 100 Kbps.
在本申请的另一个实施例中,第一波特率和第二波特率大于或者等于100bps,并且第一波特率和第二波特率小于或者等于10Kbps。In another embodiment of the present application, the first baud rate and the second baud rate are greater than or equal to 100 bps, and the first baud rate and the second baud rate are less than or equal to 10 Kbps.
在本申请的一个实施例中,第一通信参数包括第一数据帧长度,第二通信参数包括第二数据帧长度,其中,第一数据帧长度大于第二数据帧长度。In an embodiment of the present application, the first communication parameter includes a first data frame length, and the second communication parameter includes a second data frame length, wherein the first data frame length is greater than the second data frame length.
在本申请的一个实施例中,第一数据帧长度和第二数据帧长度大于或者等于1byte,并且第一数据帧长度和第二数据帧长度小于或者等于1024byte。In an embodiment of the present application, the first data frame length and the second data frame length are greater than or equal to 1 byte, and the first data frame length and the second data frame length are less than or equal to 1024 bytes.
在本申请的又一个实施例中,第一通信参数包括第一通信间隔和第一波特率,第二通信参数包括第二通信间隔和第二波特率,其中,第一通信间隔与第一波特率的乘积小于第二通信间隔与第二波特率的乘积。In another embodiment of the present application, the first communication parameter includes a first communication interval and a first baud rate, and the second communication parameter includes a second communication interval and a second baud rate. The product of one baud rate is smaller than the product of the second communication interval and the second baud rate.
在本申请的一个实施例中,第一通信参数包括第一通信间隔和第一波特率和第一数据帧长度;第二通信参数包括第二通信间隔和第二波特率和第二数据帧长度;其中,第一数值=第一数据帧长度/(第一通信间隔*第一波特率);第二数值=第二数据帧长度/(第二通信间隔*第二波特率),第一数值大于第二数值。In an embodiment of the present application, the first communication parameter includes a first communication interval, a first baud rate, and a first data frame length; the second communication parameter includes a second communication interval, a second baud rate, and second data Frame length; among them, the first value = the length of the first data frame/(the first communication interval * the first baud rate); the second value = the length of the second data frame/(the second communication interval * the second baud rate) , The first value is greater than the second value.
在本申请的一个实施例中,通信控制模块401还用于,获取室内机和室外机之间出现通信异常的持续时间,识别持续时间大于或者等于第一预设时长;和/或,获取第二预设时长内室内机和室外机之间出现通信异常的异常次数,识别异常次数大于或者等于预设次数。In an embodiment of the present application, the communication control module 401 is further configured to obtain the duration of abnormal communication between the indoor unit and the outdoor unit, and identify that the duration is greater than or equal to the first preset duration; and/or, obtain the first 2. The number of abnormal communication occurrences between the indoor unit and the outdoor unit within a preset period of time, and the number of abnormal identifications is greater than or equal to the preset number.
在本申请的一个实施例中,异常检测模块402还用于,检测室内机在第三预设时长未收到室外机反馈的应答数据,确定室内机和室外机之间出现通信异常。In an embodiment of the present application, the abnormality detection module 402 is further configured to detect that the indoor unit does not receive response data fed back by the outdoor unit within the third preset period of time, and determine that a communication abnormality occurs between the indoor unit and the outdoor unit.
在本申请的一个实施例中,异常检测模块402还用于,检测室内机在第四预设时长收到室外机反馈的应答数据;识别反馈的应答数据出现异常;根据应答数据的异常,确定室内机与室外机之间出现通信异常。In an embodiment of the present application, the abnormality detection module 402 is further configured to detect that the indoor unit receives the response data fed back by the outdoor unit within the fourth preset time period; identify that the response data fed back is abnormal; and determine whether the response data is abnormal. There is an abnormal communication between the indoor unit and the outdoor unit.
在本申请的一个实施例中,通信控制模块401还用于,获取空调器当前的输入电压,识别输入电压小于预设电压阈值;获取与输入电压匹配的第二通信参数,控制将室内机和室外机之间的通信参数从第一通信参数更新为第二通信参数。In an embodiment of the present application, the communication control module 401 is further configured to obtain the current input voltage of the air conditioner, identify that the input voltage is less than a preset voltage threshold; obtain a second communication parameter that matches the input voltage, and control the indoor unit and The communication parameters between the outdoor units are updated from the first communication parameters to the second communication parameters.
在本申请的一个实施例中,预设电压阈值大于或者等于40V,并且预设电压阈值小于或者等于180V。In an embodiment of the present application, the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V.
在本申请的另一个实施例中,预设电压阈值预设电压阈值大于或者等于100,并且预设电压阈值小于或者等于150V。In another embodiment of the present application, the preset voltage threshold is greater than or equal to 100, and the preset voltage threshold is less than or equal to 150V.
需要说明的是,本申请实施例中的空调器的通信控制装置中未披露的细节,请参照本申请实施例中的空调器的通信控制方法中所披露的细节,具体这里不再赘述。It should be noted that, for details not disclosed in the communication control device of the air conditioner in the embodiment of the present application, please refer to the details disclosed in the communication control method of the air conditioner in the embodiment of the present application, and the details are not repeated here.
上述本申请实施例中的技术方案,至少具有如下技术效果或优点:The above-mentioned technical solutions in the embodiments of the application have at least the following technical effects or advantages:
1、保证正常电压下室内机与室外机之间能够快速通信,使压缩机和室外风机能够快速启动,保证了低电压状态下室内机与室外机正常通信而不报室内机与室外机通信故障。1. Ensure that the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
2、能够有效弥补在正常电压下用户开机后压缩机延时启动和在低电压的情况下空调出现室内外机通信故障的不足,保证空调在正常电压和低电压下都能正常工作。2. It can effectively make up for the delayed start of the compressor after the user turns on under the normal voltage and the communication failure of the indoor and outdoor units of the air conditioner under the condition of low voltage, ensuring that the air conditioner can work normally under normal voltage and low voltage.
实施例三Example three
基于同一构思,本申请实施例还提供了实施例二中装置对应的空调器,见实施例三。Based on the same concept, the embodiment of the present application also provides an air conditioner corresponding to the device in the second embodiment, see the third embodiment.
图6为本申请实施例三的空调器的方框示意图。Fig. 6 is a block diagram of the air conditioner according to the third embodiment of the application.
如图6所示,本申请实施例的空调器500可包括:上述的空调器的通信控制装置400。As shown in FIG. 6, the air conditioner 500 of the embodiment of the present application may include: the communication control device 400 of the air conditioner described above.
上述本申请实施例中的技术方案,至少具有如下技术效果或优点:The above-mentioned technical solutions in the embodiments of the application have at least the following technical effects or advantages:
1、保证正常电压下室内机与室外机之间能够快速通信,使压缩机和室外风机能够快速启动,保证了低电压状态下室内机与室外机正常通信而不报室内机与室外机通信故障。1. Ensure that the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
2、能够有效弥补在正常电压下用户开机后压缩机延时启动和在低电压的情况下空调出现室内外机通信故障的不足,保证空调在正常电压和低电压下都能正常工作。2. It can effectively make up for the delayed start of the compressor after the user turns on under the normal voltage and the communication failure of the indoor and outdoor units of the air conditioner under the condition of low voltage, ensuring that the air conditioner can work normally under normal voltage and low voltage.
实施例四Example four
本申请还提出了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时,实现上述的空调器的通信控制方法。This application also proposes an electronic device including a memory, a processor, and a program stored in the memory and capable of running on the processor. When the processor executes the program, the communication control method of the air conditioner described above is realized.
上述本申请实施例中的技术方案,至少具有如下技术效果或优点:The above-mentioned technical solutions in the embodiments of the application have at least the following technical effects or advantages:
1、保证正常电压下室内机与室外机之间能够快速通信,使压缩机和室外风机能够快速启动,保证了低电压状态下室内机与室外机正常通信而不报室内机与室外机通信故障。1. Ensure that the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
2、能够有效弥补在正常电压下用户开机后压缩机延时启动和在低电压的情况下空调出现室内外机通信故障的不足,保证空调在正常电压和低电压下都能正常工作。2. It can effectively make up for the delayed start of the compressor after the user turns on under the normal voltage and the communication failure of the indoor and outdoor units of the air conditioner under the condition of low voltage, ensuring that the air conditioner can work normally under normal voltage and low voltage.
实施例五Example five
本申请还提出了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的空调器的通信控制方法。This application also proposes a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the communication control method for the air conditioner described above is realized.
上述本申请实施例中的技术方案,至少具有如下技术效果或优点:The above-mentioned technical solutions in the embodiments of the application have at least the following technical effects or advantages:
1、保证正常电压下室内机与室外机之间能够快速通信,使压缩机和室外风机能够快速启动,保证了低电压状态下室内机与室外机正常通信而不报室内机与室外机通信故障。1. Ensure that the indoor unit and outdoor unit can communicate quickly under normal voltage, so that the compressor and outdoor fan can start quickly, and ensure that the indoor unit and outdoor unit can communicate normally under low voltage conditions without reporting the communication failure of the indoor unit and outdoor unit .
2、能够有效弥补在正常电压下用户开机后压缩机延时启动和在低电压的情况下空调出现室内外机通信故障的不足,保证空调在正常电压和低电压下都能正常工作。2. It can effectively make up for the delayed start of the compressor after the user turns on under the normal voltage and the communication failure of the indoor and outdoor units of the air conditioner under the condition of low voltage, ensuring that the air conditioner can work normally under normal voltage and low voltage.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本申请可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that in the claims, any reference signs located between parentheses should not be constructed as limitations on the claims. The word "comprising" does not exclude the presence of parts or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of multiple such components. This application can be realized by means of hardware including several different components and by means of a suitably programmed computer. In the unit claims enumerating several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选 实施例以及落入本申请范围的所有变更和修改。Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of this application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application also intends to include these modifications and variations.

Claims (25)

  1. 一种空调器的通信控制方法,其特征在于,包括:A communication control method for an air conditioner, characterized in that it comprises:
    控制所述空调器中室内机与室外机之间采用第一通信参数进行通信;Controlling the indoor unit and the outdoor unit in the air conditioner to use the first communication parameter to communicate;
    对所述室内机和所述室外机之间的通信进行检测,确定所述室内机和所述室外机之间出现通信异常;Detect the communication between the indoor unit and the outdoor unit, and determine that communication abnormality occurs between the indoor unit and the outdoor unit;
    控制所述室内机和所述室外机之间采用第二通信参数进行通信。Controlling the indoor unit and the outdoor unit to use the second communication parameter to communicate.
  2. 根据权利要求1所述的空调器的通信控制方法,其特征在于,所述第一通信参数为所述空调器的输入电压大于或者等于预设电压阈值时所采用的通信参数;所述第二通信参数为所述空调器的输入电压小于所述预设电压阈值时所采用的通信参数。The communication control method of an air conditioner according to claim 1, wherein the first communication parameter is a communication parameter used when the input voltage of the air conditioner is greater than or equal to a preset voltage threshold; the second The communication parameter is a communication parameter used when the input voltage of the air conditioner is less than the preset voltage threshold.
  3. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述第一通信参数包括第一通信间隔,所述第二通信参数包括第二通信间隔,其中,所述第一通信间隔小于所述第二通信间隔。The communication control method of an air conditioner according to claim 1 or 2, wherein the first communication parameter includes a first communication interval, and the second communication parameter includes a second communication interval, wherein the first communication interval The communication interval is smaller than the second communication interval.
  4. 根据权利要求3所述的空调器的通信控制方法,其特征在于,还包括:The communication control method for an air conditioner according to claim 3, further comprising:
    控制所述室内机和所述室外机之间的通信电源在所述第一通信间隔或者所述第二通信间隔内处于关闭状态;或者,Control the communication power supply between the indoor unit and the outdoor unit to be turned off during the first communication interval or the second communication interval; or,
    控制所述室内机和所述室外机之间的通信回路电流小于预设电流阈值。Controlling the current of the communication loop between the indoor unit and the outdoor unit to be less than a preset current threshold.
  5. 根据权利要求4所述的空调器的通信控制方法,其特征在于,所述预设电流阈值大于或者等于0.5mA,并且所述预设电流阈值小于或者等于50mA。The communication control method for an air conditioner according to claim 4, wherein the preset current threshold is greater than or equal to 0.5 mA, and the preset current threshold is less than or equal to 50 mA.
  6. 根据权利要求5所述的空调器的通信控制方法,其特征在于,所述预设电流阈值大于或者等于1mA,并且所述预设电流阈值小于或者等于2mA。The communication control method of an air conditioner according to claim 5, wherein the preset current threshold is greater than or equal to 1 mA, and the preset current threshold is less than or equal to 2 mA.
  7. 根据权利要求3所述的空调器的通信控制方法,其特征在于,所述第一通信间隔和所述第二通信间隔大于或者等于1ms,并且所述第一通信间隔和所述第二通信间隔小于或者等于100s。The communication control method of an air conditioner according to claim 3, wherein the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval Less than or equal to 100s.
  8. 根据权利要求7所述的空调器的通信控制方法,其特征在于,所述第一通信间隔和所述第二通信间隔大于或者等于1ms,并且所述第一通信间隔和所述第二通信间隔小于或者等于10s。The communication control method of an air conditioner according to claim 7, wherein the first communication interval and the second communication interval are greater than or equal to 1 ms, and the first communication interval and the second communication interval Less than or equal to 10s.
  9. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述第一通信参数包括:第一波特率,所述第二通信参数包括第二波特率,其中,所述第一波特率小于所述第二波特率。The communication control method of an air conditioner according to claim 1 or 2, wherein the first communication parameter includes a first baud rate, and the second communication parameter includes a second baud rate, wherein The first baud rate is less than the second baud rate.
  10. 根据权利要求9所述的空调器的通信控制方法,其特征在于,所述第一波特率和所述第二波特率大于或者等于10bps,并且所述第一波特率和所述第二波特率小于或者等 于100Kbps。The communication control method of an air conditioner according to claim 9, wherein the first baud rate and the second baud rate are greater than or equal to 10 bps, and the first baud rate and the second baud rate The second baud rate is less than or equal to 100Kbps.
  11. 根据权利要求10所述的空调器的通信控制方法,其特征在于,所述第一波特率和所述第二波特率大于或者等于100bps,并且所述第一波特率和所述第二波特率小于或者等于10Kbps。The communication control method of an air conditioner according to claim 10, wherein the first baud rate and the second baud rate are greater than or equal to 100 bps, and the first baud rate and the second baud rate The second baud rate is less than or equal to 10Kbps.
  12. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述第一通信参数包括第一数据帧长度,所述第二通信参数包括第二数据帧长度,其中,所述第一数据帧长度大于所述第二数据帧长度。The communication control method of an air conditioner according to claim 1 or 2, wherein the first communication parameter includes a first data frame length, and the second communication parameter includes a second data frame length, wherein the The length of the first data frame is greater than the length of the second data frame.
  13. 根据权利要求12所述的空调器的通信控制方法,其特征在于,所述第一数据帧长度和所述第二数据帧长度大于或者等于1byte,并且所述第一数据帧长度和所述第二数据帧长度小于或者等于1024byte。The communication control method of an air conditioner according to claim 12, wherein the first data frame length and the second data frame length are greater than or equal to 1 byte, and the first data frame length and the first data frame length 2. The length of the data frame is less than or equal to 1024 bytes.
  14. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述第一通信参数包括第一通信间隔和第一波特率,所述第二通信参数包括第二通信间隔和第二波特率,其中,所述第一通信间隔与所述第一波特率的乘积小于所述第二通信间隔与所述第二波特率的乘积。The communication control method of an air conditioner according to claim 1 or 2, wherein the first communication parameter includes a first communication interval and a first baud rate, and the second communication parameter includes a second communication interval and The second baud rate, wherein the product of the first communication interval and the first baud rate is smaller than the product of the second communication interval and the second baud rate.
  15. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述第一通信参数包括第一通信间隔和第一波特率和第一数据帧长度;所述第二通信参数包括第二通信间隔和第二波特率和第二数据帧长度;其中,第一数值=所述第一数据帧长度/(所述第一通信间隔*所述第一波特率);第二数值=所述第二数据帧长度/(所述第二通信间隔*所述第二波特率),所述第一数值大于所述第二数值。The communication control method of an air conditioner according to claim 1 or 2, wherein the first communication parameter includes a first communication interval, a first baud rate, and a first data frame length; the second communication parameter It includes a second communication interval, a second baud rate, and a second data frame length; where the first value=the first data frame length/(the first communication interval*the first baud rate); Two value=the second data frame length/(the second communication interval*the second baud rate), the first value is greater than the second value.
  16. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述控制所述室内机和所述室外机之间采用第二通信参数进行通信之前,还包括:The communication control method of an air conditioner according to claim 1 or 2, characterized in that, before said controlling the communication between the indoor unit and the outdoor unit using a second communication parameter, the method further comprises:
    获取所述室内机和所述室外机之间出现通信异常的持续时间,识别所述持续时间大于或者等于第一预设时长;和/或,Acquire the duration of abnormal communication between the indoor unit and the outdoor unit, and identify that the duration is greater than or equal to a first preset duration; and/or,
    获取第二预设时长内所述室内机和所述室外机之间出现通信异常的异常次数,识别所述异常次数大于或者等于预设次数。Acquire the abnormal number of abnormal communication between the indoor unit and the outdoor unit within the second preset time period, and identify that the abnormal number is greater than or equal to the preset number.
  17. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述对所述室内机和所述室外机之间的通信进行检测,确定所述室内机和所述室外机之间出现通信异常,包括:The communication control method of an air conditioner according to claim 1 or 2, wherein the communication between the indoor unit and the outdoor unit is detected to determine the difference between the indoor unit and the outdoor unit Abnormal communication occurs between the two, including:
    检测所述室内机在第三预设时长未收到所述室外机反馈的应答数据,确定所述室内机和所述室外机之间出现通信异常。It is detected that the indoor unit has not received response data fed back by the outdoor unit within the third preset period of time, and it is determined that a communication abnormality occurs between the indoor unit and the outdoor unit.
  18. 根据权利要求1或2所述的空调器的通信控制方法,其特征在于,所述对所述室内机和所述室外机之间的通信进行检测,确定所述室内机和所述室外机之间出现通信异常, 还包括:The communication control method of an air conditioner according to claim 1 or 2, wherein the communication between the indoor unit and the outdoor unit is detected to determine the difference between the indoor unit and the outdoor unit Abnormal communication occurs between, including:
    检测所述室内机在第四预设时长收到所述室外机反馈的应答数据;Detecting that the indoor unit receives response data fed back by the outdoor unit within a fourth preset time period;
    识别所述反馈的应答数据出现异常;Identify that the feedback response data is abnormal;
    根据所述应答数据的异常,确定室内机与室外机之间出现通信异常。According to the abnormality of the response data, it is determined that a communication abnormality occurs between the indoor unit and the outdoor unit.
  19. 根据权利要求2所述的空调器的通信控制方法,其特征在于,所述控制所述室内机和所述室外机之间采用第二通信参数进行通信,包括:The communication control method for an air conditioner according to claim 2, wherein said controlling said indoor unit and said outdoor unit to communicate using a second communication parameter comprises:
    获取所述空调器当前的输入电压,识别所述输入电压小于所述预设电压阈值;Acquiring the current input voltage of the air conditioner, and identifying that the input voltage is less than the preset voltage threshold;
    获取与所述输入电压匹配的所述第二通信参数,控制将所述室内机和所述室外机之间的通信参数从第一通信参数更新为所述第二通信参数。Acquire the second communication parameter that matches the input voltage, and control to update the communication parameter between the indoor unit and the outdoor unit from the first communication parameter to the second communication parameter.
  20. 根据权利要求2或19所述的空调器的通信控制方法,其特征在于,所述预设电压阈值大于或者等于40V,并且所述预设电压阈值小于或者等于180V。The communication control method of an air conditioner according to claim 2 or 19, wherein the preset voltage threshold is greater than or equal to 40V, and the preset voltage threshold is less than or equal to 180V.
  21. 根据权利要求2或19所述的空调器的通信控制方法,其特征在于,所述预设电压阈值预设电压阈值大于或者等于100V,并且所述预设电压阈值小于或者等于150V。The communication control method of an air conditioner according to claim 2 or 19, wherein the preset voltage threshold is greater than or equal to 100V, and the preset voltage threshold is less than or equal to 150V.
  22. 一种空调器的通信控制装置,其特征在于,包括:A communication control device for an air conditioner, characterized in that it comprises:
    通信控制模块,用于控制空调器中室内机与室外机之间采用第一通信参数进行通信,以及在所述室内机和所述室外机之间出现通信异常控制所述室内机和所述室外机之间采用第二通信参数进行通信;The communication control module is used to control the indoor unit and the outdoor unit in the air conditioner to communicate using the first communication parameter, and to control the indoor unit and the outdoor unit when a communication abnormality occurs between the indoor unit and the outdoor unit Use the second communication parameter to communicate between machines;
    异常检测模块,用于对所述室内机和所述室外机之间的通信进行检测,确定所述室内机和所述室外机之间出现通信异常。The abnormality detection module is used to detect the communication between the indoor unit and the outdoor unit, and determine that communication abnormality occurs between the indoor unit and the outdoor unit.
  23. 一种空调器,其特征在于,包括:如权利要求22所述的空调器的通信控制装置。An air conditioner, characterized by comprising: the communication control device of the air conditioner according to claim 22.
  24. 一种电子设备,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,其特征在于,所述处理器执行所述程序时,实现如权利要求1-21中任一所述的空调器的通信控制方法。An electronic device, characterized in that it comprises a memory, a processor, and a program stored in the memory and running on the processor, wherein the processor executes the program to realize A communication control method for an air conditioner described in any one of the above.
  25. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-21中任一所述的空调器的通信控制方法。A computer-readable storage medium with a computer program stored thereon, which is characterized in that when the program is executed by a processor, the communication control method for an air conditioner according to any one of claims 1-21 is realized.
PCT/CN2019/097775 2019-05-10 2019-07-25 Air conditioner and communication control method therefor, device, and electronic apparatus WO2020228136A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910390455.1A CN110173802B (en) 2019-05-10 2019-05-10 Air conditioner, communication control method and device thereof and electronic equipment
CN201910390455.1 2019-05-10

Publications (1)

Publication Number Publication Date
WO2020228136A1 true WO2020228136A1 (en) 2020-11-19

Family

ID=67690846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097775 WO2020228136A1 (en) 2019-05-10 2019-07-25 Air conditioner and communication control method therefor, device, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN110173802B (en)
WO (1) WO2020228136A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110762742B (en) * 2019-10-18 2021-07-02 Tcl空调器(中山)有限公司 Air conditioner control method and device, air conditioner and storage medium
CN115111700A (en) * 2022-06-23 2022-09-27 北京小米移动软件有限公司 Air conditioner OTA (over the air technology) upgrade control method and device, readable storage medium and chip
CN116007201A (en) * 2022-12-14 2023-04-25 珠海格力电器股份有限公司 Control method for pairing internal and external machines, water heater and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105318488A (en) * 2014-06-24 2016-02-10 松下电器产业株式会社 Pipeline type air-conditioner and control method thereof
CN106209496A (en) * 2016-06-23 2016-12-07 珠海格力电器股份有限公司 A kind of communication abnormality detection device and method
CN108088045A (en) * 2017-12-18 2018-05-29 广东美的制冷设备有限公司 Switching method, air conditioner and the readable storage medium storing program for executing of air conditioner communication mode
CN109539513A (en) * 2018-11-23 2019-03-29 珠海格力电器股份有限公司 Machine telecommunication circuit and its control method and a kind of air-conditioning inside and outside a kind of air-conditioning

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9310089B2 (en) * 2009-05-21 2016-04-12 Lennox Industries Inc. Variable speed motor control method and apparatus
CN101620441B (en) * 2009-08-05 2014-02-12 重庆百年通信设备有限公司 Monitoring system in communication computer room
CN102185555B (en) * 2010-12-28 2013-05-08 上海智大电子有限公司 Digitalized alternating-current voltage and speed regulation device
CN102156679B (en) * 2011-04-18 2012-11-07 苏州捷泰科信息技术有限公司 PCIE interface-based solid state disk power-down protection method and device
FR2980060B1 (en) * 2011-09-13 2013-10-04 Voltalis OPTIMIZATION OF A DOMOTIC SYSTEM UTILIZING A LOCAL NETWORK OF LINE CARRIER CURRENT
CN102833201B (en) * 2012-07-30 2015-04-22 北京维盛新仪科技有限公司 Highway addressable remote transducer (HART) modem based on singlechip, and implementation method thereof
CN102788930B (en) * 2012-09-11 2014-08-06 深圳市金宏威技术股份有限公司 Digital insulation monitoring sensor and method for testing leakage current
US10788227B2 (en) * 2013-03-15 2020-09-29 Waterfurnace International Inc. Space conditioning control and monitoring method and system
CN103278203B (en) * 2013-04-25 2015-08-26 合肥工业大学 A kind of high frequency Ke's mass flowmeter digital signal processing system
JP6488932B2 (en) * 2015-07-28 2019-03-27 株式会社富士通ゼネラル Air conditioner
CN105262490B (en) * 2015-09-18 2018-10-12 重庆川仪自动化股份有限公司 Based on Manchester Code/decode Adaptable System and its method
US9857810B2 (en) * 2016-05-18 2018-01-02 Clyde Wesley Smith, JR. Solar energy space heating thermostatic controller
CN107786248A (en) * 2017-10-13 2018-03-09 北京电子科技学院 A kind of power line carrier safety governor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105318488A (en) * 2014-06-24 2016-02-10 松下电器产业株式会社 Pipeline type air-conditioner and control method thereof
CN106209496A (en) * 2016-06-23 2016-12-07 珠海格力电器股份有限公司 A kind of communication abnormality detection device and method
CN108088045A (en) * 2017-12-18 2018-05-29 广东美的制冷设备有限公司 Switching method, air conditioner and the readable storage medium storing program for executing of air conditioner communication mode
CN109539513A (en) * 2018-11-23 2019-03-29 珠海格力电器股份有限公司 Machine telecommunication circuit and its control method and a kind of air-conditioning inside and outside a kind of air-conditioning

Also Published As

Publication number Publication date
CN110173802B (en) 2021-10-26
CN110173802A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
WO2020228136A1 (en) Air conditioner and communication control method therefor, device, and electronic apparatus
CN110173803B (en) Air conditioner, communication control method and device thereof and electronic equipment
US11168918B2 (en) Control method and control system for variable-frequency compressor, and air conditioner
CN107576518B (en) Fan testing method, device and system
US20190163154A1 (en) Device recommendation system and method
CN107869822B (en) Multi-split air conditioner monitoring method and system and outdoor host
CN108170180B (en) Intelligent real-time dynamic cooling system and method for display device
JP6188528B2 (en) Backlight abnormality detection device and abnormality detection system
US10437219B2 (en) Method of managing energy consumption
CN111664543B (en) Air conditioner and control method thereof
CN110686359A (en) Fault diagnosis method for variable frequency air conditioner
CN109917894A (en) A kind of server system and its power equalization methods and power supply unit
US9326342B2 (en) Automatic input impedence control
CN104617764B (en) Powering order control system
WO2020228138A1 (en) Air conditioner and communication control method and apparatus therefor, and electronic device
CN110173805B (en) Air conditioner and communication control method and device thereof
CN111752366B (en) PSU abnormal power failure processing system, method and device
JP2000206159A (en) Method and apparatus for detecting ac voltage drop
US20130141125A1 (en) Device and method for testing stablity of electronic devices
CN110986190B (en) Method, device, system and medium for monitoring and analyzing performance of main board of outdoor unit of air conditioner
CN208256093U (en) A kind of remote-control key fault detection means
CN110173800A (en) Air conditioner and its communication control method, device and electronic equipment
WO2019113855A1 (en) Smart real-time dynamic cooling system and method for display device
CN109189644A (en) Whole machine cabinet RMC, the method and system that whole machine cabinet increases number of nodes newly are automatically configured
CN112798983B (en) Method and device for detecting connecting line of internal and external machines

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19928622

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/04/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19928622

Country of ref document: EP

Kind code of ref document: A1