CN109140684B - Air conditioner, communication fault detection method and device thereof and storage medium - Google Patents

Air conditioner, communication fault detection method and device thereof and storage medium Download PDF

Info

Publication number
CN109140684B
CN109140684B CN201810954112.9A CN201810954112A CN109140684B CN 109140684 B CN109140684 B CN 109140684B CN 201810954112 A CN201810954112 A CN 201810954112A CN 109140684 B CN109140684 B CN 109140684B
Authority
CN
China
Prior art keywords
computer
test data
communication
lower computer
upper computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810954112.9A
Other languages
Chinese (zh)
Other versions
CN109140684A (en
Inventor
李志逢
吴学伟
左攀
张晓慈
刘智荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810954112.9A priority Critical patent/CN109140684B/en
Publication of CN109140684A publication Critical patent/CN109140684A/en
Application granted granted Critical
Publication of CN109140684B publication Critical patent/CN109140684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • 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/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/88Electrical aspects, e.g. circuits

Landscapes

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

Abstract

The application relates to an air conditioner, a communication fault detection method and device thereof and a storage medium, and test data of an upper computer are output to the upper computer of the air conditioner; monitoring an address of the upper computer according to the test data roll name of the upper computer, and detecting the communication fault of the upper computer according to the address to obtain a detection result of the upper computer; and outputting the lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data. The corresponding test data are respectively sent to the upper computer and the lower computer of the air conditioner, communication fault detection is carried out according to the monitored address of the roll name of the upper computer and the feedback of the lower computer, the reason of the communication fault caused by quick locking can be realized, and the communication fault detection efficiency is high.

Description

Air conditioner, communication fault detection method and device thereof and storage medium
Technical Field
The present disclosure relates to the field of communication detection technologies, and in particular, to an air conditioner, a communication fault detection method and apparatus thereof, and a storage medium.
Background
At present, intelligent household appliances, particularly household central air conditioners, are very common in life, but due to the fact that functions of the intelligent household appliances are complex, the difficulty of product development and after-sale maintenance is large, particularly communication faults in the after-sale maintenance process account for a large maintenance rate, generally, a maintenance worker needs to eliminate the faults by various methods, consumes time and labor, or directly replaces all electric appliance boxes to solve the problems, and the detection efficiency of a traditional communication fault detection method is low.
Disclosure of Invention
In view of the above, it is necessary to provide an air conditioner with high communication failure detection efficiency, and a communication failure detection method, device and storage medium thereof.
A communication fault detection method of an air conditioner, the method comprising:
outputting the test data of the upper computer to the upper computer of the air conditioner;
monitoring an address of the upper computer according to the test data roll name of the upper computer, and carrying out communication fault detection on the upper computer according to the address to obtain an upper computer detection result;
and outputting lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data.
In one embodiment, the detecting the communication fault of the upper computer according to the address to obtain the detection result of the upper computer includes:
when the address only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer indicates that the upper communication is normal;
and when the address not only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer.
In one embodiment, the lower computer includes a line controller and an external unit, the output of the lower computer test data to the lower computer of the air conditioner, and the detection of the communication fault of the lower computer according to the feedback of the lower computer to obtain the detection result of the lower computer includes:
outputting the line controller test data to the line controller, wherein when receiving the reply data of the line controller according to the line controller test data, the detection result of the lower computer is that the line controller is in normal communication; when the reply data of the line controller according to the test data of the line controller is not received, the detection result of the lower computer is abnormal communication of the line controller;
outputting the test data of the outdoor unit to the outdoor unit, wherein when receiving reply data of the outdoor unit according to the test data of the outdoor unit, the detection result of the lower computer indicates that the communication of the outdoor unit is normal; and when the reply data of the outdoor unit according to the test data of the outdoor unit is not received, the detection result of the lower computer is abnormal communication of the outdoor unit.
In one embodiment, before the step of outputting the upper computer test data to the upper computer of the air conditioner, the method further includes:
outputting self-test data to the second communication circuit through the first communication circuit;
performing self-checking according to the feedback of the second communication circuit to obtain a self-checking result; the feedback of the second communication circuit is the feedback of the second communication circuit according to the self-test data;
and when the self-checking result is that the communication is normal, outputting the test data of the upper computer to the upper computer of the air conditioner.
In one embodiment, the self-checking according to the feedback of the second communication circuit to obtain a self-checking result includes:
when receiving the reply data of the second communication circuit according to the self-checking test data, the self-checking result is that the communication is normal;
and when the reply data of the second communication circuit according to the self-checking test data is not received, the self-checking result is abnormal communication.
In one embodiment, before the step of outputting the upper computer test data to the upper computer of the air conditioner, the method further includes:
receiving roll call data sent by an upper computer of an air conditioner;
replying data to the upper computer through a first communication circuit according to the roll call data, and receiving a monitoring result of a second communication circuit;
carrying out self-checking according to the monitoring result to obtain a self-checking result;
and when the self-checking result is that the communication is normal, outputting the test data of the upper computer to the upper computer of the air conditioner.
In one embodiment, the performing self-checking according to the monitoring result to obtain a self-checking result includes:
when the monitoring result is that the response of the first communication circuit is monitored, the self-checking result is that the communication is normal;
and when the monitoring result indicates that the response of the first communication circuit is not monitored, the self-checking result indicates that the communication is abnormal.
A communication failure detecting apparatus of an air conditioner, the apparatus comprising:
the upper computer test data output module is used for outputting the upper computer test data to an upper computer of the air conditioner;
the upper computer detection module is used for monitoring the address of the upper computer according to the roll call of the upper computer test data and carrying out upper computer communication fault detection according to the address to obtain an upper computer detection result;
and the lower computer detection module is used for outputting lower computer test data to a lower computer of the air conditioner and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
outputting the test data of the upper computer to the upper computer of the air conditioner;
monitoring an address of the upper computer according to the test data roll name of the upper computer, and carrying out communication fault detection on the upper computer according to the address to obtain an upper computer detection result;
and outputting lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data.
An air conditioner comprises a detection device, an upper computer and a lower computer, wherein the upper computer and the lower computer are both connected with the detection device,
the detection device is used for executing the steps to obtain an upper computer detection result and a lower computer detection result;
the upper computer is used for roll calling according to the received upper computer test data;
and the lower computer is used for feeding back according to the received test data of the lower computer.
The air conditioner, the communication fault detection method and device thereof and the storage medium output the test data of the upper computer to the upper computer of the air conditioner; monitoring an address of the upper computer according to the test data roll name of the upper computer, and detecting the communication fault of the upper computer according to the address to obtain a detection result of the upper computer; and outputting the lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data. The corresponding test data are respectively sent to the upper computer and the lower computer of the air conditioner, the reason of communication faults can be quickly locked according to the monitored address of the roll name of the upper computer and the feedback of the lower computer, and the communication fault detection efficiency is high.
Drawings
Fig. 1 is a schematic flowchart of a communication fault detection method of an air conditioner according to an embodiment;
FIG. 2 is a schematic flow chart illustrating a method for detecting a communication failure of an air conditioner according to another embodiment;
FIG. 3 is a flowchart illustrating a method for detecting a communication failure of an air conditioner according to another embodiment;
FIG. 4 is a flowchart illustrating a communication failure detection method of an air conditioner according to another embodiment;
fig. 5 is a block diagram illustrating a communication failure detecting apparatus of an air conditioner according to an embodiment;
FIG. 6 is a block diagram showing the structure of an air conditioner according to an embodiment;
FIG. 7 is a schematic structural view of an air conditioner in one embodiment;
FIG. 8 is a schematic diagram of an exemplary inspection tool.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The application scenario of the application is as follows: the air conditioner is applied to a two-core communication mode, and the basic principle is that an energy storage capacitor is charged firstly according to a certain time sequence, and then the capacitor is discharged; the communication process of the upper computer and the lower computer is completed at the moment of capacitor discharge, so that the dual functions of communication and power supply are realized, the control of power supply and communication time sequence is realized on the upper computer, and whether the communication is in fault or not is judged through the communication process of the upper computer and the lower computer.
In one embodiment, as shown in fig. 1, a communication fault detection method for an air conditioner is provided, which is described by taking an example that the method is applied to a controller of a detection tool, and includes the following steps:
step S110: and outputting the upper computer test data to an upper computer of the air conditioner.
Specifically, the upper computer is an air conditioner internal unit, the internal unit is used as an upper computer to control the time sequence of power supply and communication, and the controller sends upper computer test data, namely data frames special for upper computer test, to the internal unit.
Step S120: and monitoring the address of the upper computer according to the test data roll name of the upper computer, and detecting the communication fault of the upper computer according to the address to obtain the detection result of the upper computer.
Specifically, after the internal machine receives a data frame special for upper computer test sent by the controller, the internal machine can perform corresponding roll call of the lower machine according to the data frame special for upper computer test, because the upper machine and the lower machine are both on the same bus, and the address of each device is different, the roll call address of the internal machine can be monitored, and the communication fault detection of the upper machine is performed according to the roll call address of the internal machine.
Step S130: and outputting the lower computer test data to the lower computer of the air conditioner, and carrying out the communication fault detection of the lower computer according to the feedback of the lower computer to obtain the detection result of the lower computer.
Specifically, the feedback of the lower computer is the feedback of the lower computer according to the test data of the lower computer, and correspondingly outputs the test data of the lower computer, that is, the test data frame dedicated to the lower computer, and the lower computer performs corresponding feedback according to the received test data of the lower computer, and determines whether the lower computer has a communication failure according to the feedback of the lower computer.
Further, the controller may output the upper computer detection result and the lower computer detection result to the display device for display after obtaining the upper computer detection result and the lower computer detection result.
The communication fault detection method of the air conditioner outputs the test data of the upper computer to the upper computer of the air conditioner; monitoring an address of the upper computer according to the test data roll name of the upper computer, and detecting the communication fault of the upper computer according to the address to obtain a detection result of the upper computer; and outputting the lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data. The corresponding test data are respectively sent to the upper computer and the lower computer of the air conditioner, the reason of communication faults can be quickly locked according to the monitored address of the roll name of the upper computer and the feedback of the lower computer, and the communication fault detection efficiency is high.
In one embodiment, step S120 includes: when the address only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer indicates that the upper communication is normal; when the address not only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer.
Specifically, after the internal unit receives the test data of the upper computer, only the controller of the detection tool is called, and other devices in the lower computer are not called any more, in this embodiment, the other devices include a wire controller and an external unit, and the internal unit only calls the controller; when the controller in the detection tool detects that the roll call address only comprises the address of the equipment outputting the test data of the upper computer according to the received address, the indoor unit can be judged to normally communicate with the controller, and the normal communication of the indoor unit is indicated; if the address of the inner machine roll call does not only comprise the address of the equipment for outputting the test data of the upper computer, namely the address of the inner machine roll call is monitored to comprise the address of the controller, and the address of other devices or the address of the controller is not comprised, the problem of the inner machine receiving is judged, and the abnormal communication of the inner machine is indicated.
Further, the controller of the detection tool can be limited to monitor the address of the upper computer according to the roll call of the upper computer test data within the preset time, and the upper computer communication fault detection is performed according to the address to obtain the upper computer detection result, and correspondingly, the step S120 includes: when the address of the roll call monitored in the preset time length only comprises the address of the equipment outputting the test data of the upper computer, the detection result of the upper computer is that the upper communication is normal; when the address of the roll call monitored in the preset time length not only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer. In this embodiment, the preset time is 30s, and if the internal unit cannot call the controller of the detection tool only for 30s continuously, it is determined that there is a problem in the internal unit reception, and the abnormal communication of the internal unit is displayed.
In one embodiment, as shown in fig. 2, the lower computer includes a line controller and an external machine, and the step S130 includes a step S132 and a step S134.
Step S132: outputting the line controller test data to the line controller, and when receiving the reply data of the line controller according to the line controller test data, judging that the line controller is normally communicated by the lower computer according to the detection result of the lower computer; and when the response data of the wire controller according to the test data of the wire controller is not received, the lower computer detects that the communication of the wire controller is abnormal.
Step S134: outputting the test data of the outdoor unit to the outdoor unit, and when receiving reply data of the outdoor unit according to the test data of the outdoor unit, determining that the communication of the outdoor unit is normal according to the detection result of the lower computer; and when the reply data of the outdoor unit according to the test data of the outdoor unit is not received, the detection result of the lower computer is abnormal communication of the outdoor unit.
Specifically, the controller of the detection tool may be further limited to output the lower computer test data to the lower computer, and perform the lower computer communication fault detection according to the feedback of the lower computer within the preset time duration to obtain the lower computer detection result, and correspondingly, the step S132 includes: outputting the line controller test data to the line controller, and when receiving the reply data of the line controller according to the line controller test data within a preset time, judging that the communication of the line controller is normal by the detection result of the lower computer; when the reply data of the line controller according to the test data of the line controller is not received within the preset time length, the detection result of the lower computer is abnormal communication of the line controller; step S134 includes: outputting the test data of the outdoor unit to the outdoor unit, and when receiving reply data of the outdoor unit according to the test data of the outdoor unit within a preset time, determining that the communication of the outdoor unit is normal by the detection result of the lower computer; and when the reply data of the outdoor unit according to the test data of the outdoor unit is not received within the preset time, the detection result of the lower computer is abnormal communication of the outdoor unit. In the present embodiment, the preset time period is 30 s.
Furthermore, partial functions of the communication circuit of the detection tool, namely a first communication circuit and a second communication circuit, are interacted with the communication bus of the air conditioning unit to achieve the purpose of detecting the communication circuit in sections, and the first communication circuit is a communication circuit of a lower computer and does not need to control the power supply time sequence; the second communication circuit is an upper computer communication circuit, and power supply time sequence control is needed when the external machine part is tested.
When the wire controller receives the wire controller test data sent by the controller of the detection tool, the wire controller can reply the wire controller test data, and when the controller 30s of the detection tool can receive the specific test data reply of each string of the wire controller, the communication of the wire controller is normal.
Because the external machine has a low power consumption function, the low power consumption function is realized by depending on the relay 1 of the internal machine, when the low power consumption function is required to be entered, the relay is controlled to be disconnected, and a communication line between the internal machine and the external machine is disconnected; in order to avoid the interference of the data of the internal unit, the communication condition of the external unit is separately tested by using a second communication circuit: the second communication circuit imitates an internal unit to perform power supply and communication time sequence control, and sends the test data of the external unit to call the external unit, if the controller 30s of the detection tool can normally receive the reply data of each string of the external unit, the communication of the external unit is normal, otherwise, the communication of the external unit is abnormal.
In one embodiment, as shown in fig. 3, step S110 is preceded by step S011 to step S013.
Step S011: and outputting self-checking test data through the first communication circuit.
Step S012: and carrying out self-detection according to the feedback of the second communication circuit to obtain a self-detection result.
Step S013: when the self-checking result is that the communication is normal, go to step S110.
Specifically, the feedback of the second communication circuit is the feedback of the second communication circuit according to the self-checking test data, and when the air conditioner communication of the two-core communication circuit fails, the first communication circuit interface of the detection tool is connected to the communication wiring board of the line controller; the first communication circuit interface is connected to an outdoor unit communication wiring board; after electrification, a controller of the detection tool sends a closing control signal to control the closing of a relay inside the detection tool to carry out self-detection, and whether a first communication circuit and a second communication circuit are intact is verified, wherein the self-detection method comprises the following steps: the self-checking test data are output through the first communication circuit, the self-checking test data are special self-checking data of the detection tool, the internal machine, the line controller and the external machine cannot recognize the self-checking test data, the self-checking test data are output to the bus through the first communication circuit, and self-checking is carried out according to feedback of the second communication circuit to obtain a self-checking result.
In one embodiment, step S012 includes: when receiving the reply data of the second communication circuit according to the self-checking test data, the self-checking result is that the communication is normal; and when the reply data of the second communication circuit according to the self-checking test data is not received, the self-checking result is abnormal communication.
Specifically, when receiving the reply data of the second communication circuit according to the self-test data, it is indicated that the second communication circuit can normally receive the self-test data and feed back the reply data, the first communication circuit and the second communication circuit are normal, and when not receiving the reply data of the second communication circuit according to the self-test data, it is indicated that the communication between the first communication circuit and the second communication circuit is abnormal.
In another embodiment, as shown in FIG. 4, step S110 is preceded by steps S014 to S017.
Step S014: and receiving roll call data sent by an upper computer of the air conditioner.
Step S015: and replying data to the upper computer through the first communication circuit according to the roll call data, and receiving a monitoring result of the second communication circuit.
Step S016: and carrying out self-checking according to the monitoring result to obtain a self-checking result.
Step S017: when the self-checking result is that the communication is normal, go to step S110.
Specifically, after the air conditioner communication of the two-core communication circuit fails, a first communication circuit interface of the detection tool is connected to a communication wiring board of the line controller; the second communication circuit interface is connected to the outdoor unit communication wiring board; after electrification, a controller of the detection tool sends a closing control signal to control a relay of the detection tool to be closed for self-checking, whether a first communication circuit and a second communication circuit are intact is verified, and the self-checking method comprises the following steps: the internal machine is used as an upper machine point name lower machine (sending point name data to the lower machine), the first communication circuit receives the data and can reply a fixed data frame to the bus, the second communication circuit monitors whether the first communication circuit responds or not to obtain a first monitoring result and sends the first monitoring result to the controller, self-checking is carried out according to the monitoring result to obtain a self-checking result, when the self-checking result is normal communication, the controller outputs a disconnection control signal to control the relay to be disconnected, and the step S110 is executed to start communication fault detection of the unit equipment.
In one embodiment, step S016 includes: when the monitoring result is that the response of the first communication circuit is monitored, the self-checking result is that the communication is normal; and when the monitoring result indicates that the response of the first communication circuit is not monitored, the self-checking result indicates that the communication is abnormal.
Specifically, when the monitoring result indicates that the response of the first communication circuit is monitored, it indicates that the communication between the first communication circuit and the second communication circuit is intact, and indicates that the communication is normal, and when the monitoring result indicates that the response of the first communication circuit is not monitored, it indicates that the communication between the first communication circuit and the second communication circuit is unsuccessful, and the communication is abnormal.
Further, after step S015, the method further includes: and replying data to the upper computer through the second communication circuit according to the roll call data, and receiving the monitoring result of the first communication circuit. Step S016 is updated to perform self-checking according to the monitoring result of the second communication circuit and the monitoring result of the first communication circuit to obtain a self-checking result.
Specifically, after the monitoring result of the second communication circuit is obtained, when the roll call is performed in the second round, the first communication circuit is used for monitoring, the second communication circuit replies data, and the first communication circuit monitors whether the second communication circuit responds or not to obtain the monitoring result and sends the monitoring result to the controller. And self-checking the monitoring result of the second communication circuit and the monitoring result of the first communication circuit to obtain a self-checking result.
Further, when the monitoring result of the second communication circuit is that the response of the first communication circuit is monitored, and the monitoring result of the first communication circuit is that the response of the second communication circuit is monitored, the self-checking result is that the communication is normal; when the monitoring result of the second communication circuit is that the response of the first communication circuit is not monitored and the second monitoring result is that the response of the second communication circuit is monitored, the self-checking result is that the communication is abnormal; when the monitoring result of the second communication circuit is that the response of the first communication circuit is monitored and the monitoring result of the first communication circuit is that the response of the second communication circuit is not monitored, the self-detection result is that the communication is abnormal; when the monitoring result of the second communication circuit indicates that the response of the first communication circuit is not monitored, and the monitoring result of the first communication circuit indicates that the response of the second communication circuit is not monitored, the self-detection result indicates that the communication is abnormal.
Specifically, when the monitoring result of the second communication circuit is that the response of the first communication circuit is monitored and the monitoring result of the first communication circuit is that the response of the second communication circuit is monitored, the self-checking result is that the communication is normal, the controller outputs a disconnection control signal to control the relay to be disconnected, and step S110 is executed to start the communication fault detection of the unit equipment. And when one of the monitoring result of the second communication circuit and the monitoring result of the first communication circuit does not monitor the response, indicating that the communication is unsuccessful and detecting that the tool is abnormal.
According to the communication fault detection method of the air conditioner, after the unit reports the communication fault, the unit is powered off, the detection tool is subjected to self-detection through the controller of the detection tool, after the communication of the detection tool is detected to be normal, the devices on the bus, namely the inner machine, the line controller and the outer machine, are detected through corresponding test data respectively, the reason of the communication fault can be quickly locked according to the feedback of each device, the communication fault detection efficiency is high, the problems that a traditional maintenance worker needs to solve the problem by an attempted method or directly replace all electric appliance boxes, the maintenance cost is high, the workload is large are caused, and in some occasions needing high-altitude operation, the safety of maintenance personnel is also checked, and the potential safety hazard is large.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, a communication failure detection apparatus for an air conditioner includes an upper computer test data output module 110, an upper computer detection module 120, and a lower computer detection module 130, wherein:
and the upper computer test data output module 110 is used for outputting the upper computer test data to an upper computer of the air conditioner.
And the upper computer detection module 120 is used for monitoring the address of the upper computer according to the roll call of the upper computer test data and detecting the communication fault of the upper computer according to the address to obtain the detection result of the upper computer.
And the lower computer detection module 130 is configured to output the lower computer test data to a lower computer of the air conditioner, and perform lower computer communication fault detection according to feedback of the lower computer to obtain a lower computer detection result, where the feedback of the lower computer is feedback of the lower computer according to the lower computer test data.
In one embodiment, the upper computer detection module comprises: when the address only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer indicates that the upper communication is normal; when the address not only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer.
In one embodiment, the lower computer comprises a wire controller and an outer computer, and the upper computer detection module comprises a wire controller detection unit and an outer computer detection unit.
The line controller detection unit is used for outputting line controller test data to the line controller, and when receiving reply data of the line controller according to the line controller test data, the detection result of the lower computer is that the line controller is in normal communication; and when the response data of the wire controller according to the test data of the wire controller is not received, the lower computer detects that the communication of the wire controller is abnormal.
The outer machine detection unit is used for outputting outer machine test data to the outer machine, and when receiving reply data of the outer machine according to the outer machine test data, the lower machine detection result indicates that the outer machine is normally communicated; and when the reply data of the outdoor unit according to the test data of the outdoor unit is not received, the detection result of the lower computer is abnormal communication of the outdoor unit.
In one embodiment, the upper computer test data output module further comprises a self-test data output module and a self-test module. The self-checking test data output module is used for outputting self-checking test data to the second communication circuit through the first communication circuit; the self-checking module is used for carrying out self-checking according to the feedback of the second communication circuit to obtain a self-checking result; the feedback of the second communication circuit is the feedback of the second communication circuit according to the self-checking test data; and when the self-checking result is that the communication is normal, controlling the upper computer test data output module to output the upper computer test data to the upper computer of the air conditioner.
In one embodiment, the self-test module comprises: when receiving the reply data of the second communication circuit according to the self-checking test data, the self-checking result is that the communication is normal; and when the reply data of the second communication circuit according to the self-checking test data is not received, the self-checking result is abnormal communication.
In another embodiment, the upper computer test data output module further comprises a roll call data receiving module, a monitoring module and a self-checking module. The roll call data receiving module is used for receiving roll call data sent by an upper computer of the air conditioner; the monitoring module is used for replying data to the upper computer through the first communication circuit according to the roll call data and receiving a monitoring result of the second communication circuit; the self-checking module is used for carrying out self-checking according to the monitoring result to obtain a self-checking result; and when the self-checking result is that the communication is normal, controlling the upper computer test data output module to output the upper computer test data to the upper computer of the air conditioner.
In one embodiment, the self-test module comprises: when the monitoring result is that the response of the first communication circuit is monitored, the self-checking result is that the communication is normal; and when the monitoring result indicates that the response of the first communication circuit is not monitored, the self-checking result indicates that the communication is abnormal.
According to the communication fault detection device of the air conditioner, after the unit reports the communication fault, the unit is powered off, the detection tool is subjected to self-detection through the controller of the detection tool, after the communication of the detection tool is detected to be normal, the equipment on the bus, namely the inner machine, the line controller and the outer machine, is detected through corresponding test data respectively, the reason of the communication fault can be rapidly locked according to the feedback of each equipment, and the communication fault detection efficiency is high.
For the specific limitation of the communication fault detection device of the air conditioner, reference may be made to the above limitation on the communication fault detection method of the air conditioner, and details are not described herein again. All or part of each module in the communication fault detection device of the air conditioner can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: outputting the test data of the upper computer to the upper computer of the air conditioner; monitoring an address of the upper computer according to the test data roll name of the upper computer, and detecting the communication fault of the upper computer according to the address to obtain a detection result of the upper computer; and outputting the lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data.
In one embodiment, when the computer program is executed by the processor, the detecting the upper computer communication fault according to the address to obtain the upper computer detection result includes: when the address only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer indicates that the upper communication is normal; when the address not only comprises the address of the equipment for outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer.
In one embodiment, when the computer program is executed by the processor, the lower computer includes a line controller and an external unit, outputs the lower computer test data to the lower computer of the air conditioner, and performs the lower computer communication fault detection according to the feedback of the lower computer to obtain the lower computer detection result, including: outputting the line controller test data to the line controller, and when receiving the reply data of the line controller according to the line controller test data, judging that the line controller is normally communicated by the lower computer according to the detection result of the lower computer; when the reply data of the line controller according to the test data of the line controller is not received, the lower computer detects that the communication of the line controller is abnormal; outputting the test data of the outdoor unit to the outdoor unit, and when receiving reply data of the outdoor unit according to the test data of the outdoor unit, determining that the communication of the outdoor unit is normal according to the detection result of the lower computer; and when the reply data of the outdoor unit according to the test data of the outdoor unit is not received, the detection result of the lower computer is abnormal communication of the outdoor unit.
In one embodiment, before the step of outputting the upper computer test data to the upper computer of the air conditioner when the computer program is executed by the processor, the method further includes: outputting self-test data to a second communication circuit through the first communication circuit; performing self-checking according to the feedback of the second communication circuit to obtain a self-checking result; the feedback of the second communication circuit is the feedback of the second communication circuit according to the self-checking test data; and outputting the test data of the upper computer to the upper computer of the air conditioner when the self-checking result is that the communication is normal.
In one embodiment, the computer program, when executed by the processor, performs a self-test based on feedback from the second communication circuit to obtain a self-test result, comprising: when receiving the reply data of the second communication circuit according to the self-checking test data, the self-checking result is that the communication is normal; and when the reply data of the second communication circuit according to the self-checking test data is not received, the self-checking result is abnormal communication.
In one embodiment, before the step of outputting the upper computer test data to the upper computer of the air conditioner when the computer program is executed by the processor, the method further includes: receiving roll call data sent by an upper computer of an air conditioner; replying data to the upper computer through the first communication circuit according to the roll call data, and receiving a monitoring result of the second communication circuit; carrying out self-checking according to the monitoring result to obtain a self-checking result; and outputting the test data of the upper computer to the upper computer of the air conditioner when the self-checking result is that the communication is normal.
In one embodiment, the computer program, when executed by the processor, performs a self-test according to the monitoring result to obtain a self-test result, including: when the monitoring result is that the response of the first communication circuit is monitored, the self-checking result is that the communication is normal; and when the monitoring result indicates that the response of the first communication circuit is not monitored, the self-checking result indicates that the communication is abnormal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In one embodiment, as shown in fig. 6, an air conditioner includes a detection device 210, an upper computer 220 and a lower computer 230, wherein the upper computer 220 and the lower computer 230 are both connected to the detection device 210, and the detection device 210 is configured to output upper computer test data to the upper computer 220 of the air conditioner; monitoring the address of the upper computer 220 according to the test data roll name of the upper computer, and detecting the communication fault of the upper computer according to the address to obtain the detection result of the upper computer; outputting the lower computer test data to the lower computer 230 of the air conditioner, and performing lower computer communication fault detection according to the feedback of the lower computer 230 to obtain a lower computer detection result; the upper computer 220 is used for roll calling according to the received upper computer 220 test data; the lower computer 230 is used for feeding back according to the received test data of the lower computer 230.
Specifically, in this embodiment, the air conditioner is a two-core communication air conditioner, the upper computer is an internal unit, the lower computer is an external unit and a line controller, the detection device is a detection tool, and the connection relationship between the detection tool and the upper and lower computers is shown in fig. 7. The communication line of the detection tool is connected to the communication line between the upper machine and the lower machine of the air conditioner, so that the reason of communication fault can be automatically judged.
Further, as shown in fig. 8, the detection device includes a controller, a first communication circuit, a second communication circuit, a relay (corresponding to the relay 2 in the drawing), a first interface (corresponding to the COM1 in the drawing) and a second interface (corresponding to the COM2 in the drawing), both the first communication circuit and the second communication circuit are connected to the controller, the first communication circuit is connected to the second communication circuit through the relay, the first communication circuit is used for connecting the communication lines of the internal unit and the line controller through the first interface, and the second communication circuit is used for connecting the communication lines of the internal unit and the external unit through the second interface.
In one embodiment, the detection device further comprises a display coupled to the controller. And after the controller obtains the communication fault result, sending the communication fault result to a display for displaying. The display can be LED lamp, display screen etc. and the staff's accessible display is audio-visual knows communication trouble device, has improved the convenience. The detection device not only can lock the reason causing the communication fault on the unit, but also can independently test the functional interfaces of the mainboard of the internal machine, the line controller and the external machine.
For specific limitation on interaction between devices in the air conditioner, reference may be made to the above limitation on the communication fault detection method of the air conditioner, and details thereof are not described herein again.
According to the air conditioner, the detection device is used for respectively sending the corresponding test data to the upper computer and the lower computer of the air conditioner, the reason of the air conditioner communication fault can be quickly locked according to the monitored roll-call address of the upper computer and the feedback of the lower computer, and the communication fault detection efficiency is high.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A communication fault detection method of an air conditioner, the method comprising:
outputting the test data of the upper computer to the upper computer of the air conditioner;
monitoring an address of the upper computer according to the roll name of the upper computer test data, and when the address only comprises an address of equipment for outputting the upper computer test data, judging that the upper communication is normal according to the detection result of the upper computer;
when the address not only comprises the address of the equipment outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer;
outputting lower computer test data to a lower computer of the air conditioner, and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data;
the lower computer comprises a wire controller, the lower computer test data are output to the lower computer of the air conditioner, and the step of detecting the communication fault of the lower computer according to the feedback of the lower computer to obtain the detection result of the lower computer comprises the following steps:
outputting the line controller test data to the line controller, wherein when receiving the reply data of the line controller according to the line controller test data, the detection result of the lower computer is that the line controller is in normal communication; and when the reply data of the line controller according to the test data of the line controller is not received, the detection result of the lower computer is abnormal communication of the line controller.
2. The method according to claim 1, wherein after the lower computer communication fault detection is performed according to the feedback of the lower computer to obtain the lower computer detection result, the method comprises the following steps:
and outputting the upper computer detection result and the lower computer detection result to a display device for displaying.
3. The method according to claim 1, wherein the lower computer comprises an external machine, the step of outputting the lower computer test data to the lower computer of the air conditioner, and performing lower computer communication fault detection according to feedback of the lower computer to obtain a lower computer detection result comprises:
outputting the test data of the outdoor unit to the outdoor unit, wherein when receiving reply data of the outdoor unit according to the test data of the outdoor unit, the detection result of the lower computer indicates that the communication of the outdoor unit is normal; and when the reply data of the outdoor unit according to the test data of the outdoor unit is not received, the detection result of the lower computer is abnormal communication of the outdoor unit.
4. The method of claim 1, wherein the step of outputting the upper computer test data to the upper computer of the air conditioner is preceded by the step of:
outputting self-test data to a second communication circuit through the first communication circuit;
performing self-checking according to the feedback of the second communication circuit to obtain a self-checking result; the feedback of the second communication circuit is the feedback of the second communication circuit according to the self-test data;
and when the self-checking result is that the communication is normal, outputting the test data of the upper computer to the upper computer of the air conditioner.
5. The method of claim 4, wherein the self-checking according to the feedback of the second communication circuit to obtain a self-checking result comprises:
when receiving the reply data of the second communication circuit according to the self-checking test data, the self-checking result is that the communication is normal;
and when the reply data of the second communication circuit according to the self-checking test data is not received, the self-checking result is abnormal communication.
6. The method of claim 1, wherein the step of outputting the upper computer test data to the upper computer of the air conditioner is preceded by the step of:
receiving roll call data sent by an upper computer of an air conditioner;
replying data to the upper computer through a first communication circuit according to the roll call data, and receiving a monitoring result of a second communication circuit;
carrying out self-checking according to the monitoring result to obtain a self-checking result;
and when the self-checking result is that the communication is normal, outputting the test data of the upper computer to the upper computer of the air conditioner.
7. The method according to claim 6, wherein the performing self-checking according to the monitoring result to obtain a self-checking result comprises:
when the monitoring result is that the response of the first communication circuit is monitored, the self-checking result is that the communication is normal;
and when the monitoring result indicates that the response of the first communication circuit is not monitored, the self-checking result indicates that the communication is abnormal.
8. A communication failure detecting apparatus of an air conditioner, the apparatus comprising:
the upper computer test data output module is used for outputting the upper computer test data to an upper computer of the air conditioner;
the upper computer detection module is used for monitoring the address of the upper computer according to the roll call of the upper computer test data, and when the address only comprises the address of the equipment outputting the upper computer test data, the upper computer detection result indicates that the upper communication is normal; when the address not only comprises the address of the equipment outputting the test data of the upper computer, the detection result of the upper computer is abnormal communication of the upper computer;
the lower computer detection module is used for outputting lower computer test data to a lower computer of the air conditioner and carrying out lower computer communication fault detection according to the feedback of the lower computer to obtain a lower computer detection result, wherein the feedback of the lower computer is the feedback of the lower computer according to the lower computer test data;
the lower computer comprises a wire controller, the lower computer detection module comprises a wire controller detection unit and is used for outputting wire controller test data to the wire controller, and when receiving reply data of the wire controller according to the wire controller test data, the lower computer detection result indicates that the communication of the wire controller is normal; and when the reply data of the line controller according to the test data of the line controller is not received, the detection result of the lower computer is abnormal communication of the line controller.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
10. An air conditioner is characterized by comprising a detection device, an upper computer and a lower computer, wherein the upper computer and the lower computer are both connected with the detection device,
the detection device is used for executing the method of any one of claims 1 to 7 to obtain upper computer detection results and lower computer detection results;
the upper computer is used for roll calling according to the received upper computer test data;
and the lower computer is used for feeding back according to the received test data of the lower computer.
CN201810954112.9A 2018-08-21 2018-08-21 Air conditioner, communication fault detection method and device thereof and storage medium Active CN109140684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810954112.9A CN109140684B (en) 2018-08-21 2018-08-21 Air conditioner, communication fault detection method and device thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810954112.9A CN109140684B (en) 2018-08-21 2018-08-21 Air conditioner, communication fault detection method and device thereof and storage medium

Publications (2)

Publication Number Publication Date
CN109140684A CN109140684A (en) 2019-01-04
CN109140684B true CN109140684B (en) 2020-08-25

Family

ID=64790548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810954112.9A Active CN109140684B (en) 2018-08-21 2018-08-21 Air conditioner, communication fault detection method and device thereof and storage medium

Country Status (1)

Country Link
CN (1) CN109140684B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110260475A (en) * 2019-05-13 2019-09-20 珠海格力电器股份有限公司 Bus control method, device, equipment, upper computer and air conditioner
CN111765714B (en) * 2020-06-01 2021-07-30 珠海格力电器股份有限公司 Group control method and device of integrated condensing unit, storage medium and condensing unit
CN112178881B (en) * 2020-09-30 2021-08-20 珠海格力电器股份有限公司 Self-checking method and device of RS485 network
CN112556131B (en) * 2020-12-15 2022-03-25 佛山市顺德区美的电子科技有限公司 Switching control panel for air conditioning system, air conditioning system and self-adaptive control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706144A (en) * 2009-11-05 2010-05-12 宁波奥克斯空调有限公司 Method for judging communication failures of indoor unit and outdoor unit of varied-frequency air conditioner
CN102546341A (en) * 2011-12-28 2012-07-04 四川长虹电器股份有限公司 Method for detecting address conflicts in multi-connected air-conditioning units
CN104279719A (en) * 2013-07-02 2015-01-14 广东美的制冷设备有限公司 Air conditioning system and communication method thereof
CN104954214A (en) * 2015-06-24 2015-09-30 珠海格力电器股份有限公司 Method and system for improving RS485 communication expansibility

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07180890A (en) * 1993-12-22 1995-07-18 Matsushita Seiko Co Ltd Communication apparatus for air conditioner

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706144A (en) * 2009-11-05 2010-05-12 宁波奥克斯空调有限公司 Method for judging communication failures of indoor unit and outdoor unit of varied-frequency air conditioner
CN102546341A (en) * 2011-12-28 2012-07-04 四川长虹电器股份有限公司 Method for detecting address conflicts in multi-connected air-conditioning units
CN104279719A (en) * 2013-07-02 2015-01-14 广东美的制冷设备有限公司 Air conditioning system and communication method thereof
CN104954214A (en) * 2015-06-24 2015-09-30 珠海格力电器股份有限公司 Method and system for improving RS485 communication expansibility

Also Published As

Publication number Publication date
CN109140684A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109140684B (en) Air conditioner, communication fault detection method and device thereof and storage medium
CN106382726B (en) A kind of Fault Locating Method and positioning system of precision air conditioner equipment
CN107741078B (en) Detection device and detection method
CN104390306B (en) Air conditioner communication system, air conditioner communication method and air conditioner
CN104199755B (en) A kind of method and system that hardware module failure is diagnosed based on indicator lamp
CN105783198A (en) Air conditioner and fault displaying method thereof
CN105223949B (en) Electrical equipment and communication fault diagnosis method and device thereof
CN105805893A (en) Fault detection method and device of air conditioner
CN106060859A (en) AP (Access Point) fault detection and restoration method and device
CN107869822B (en) Multi-split air conditioner monitoring method and system and outdoor host
CN104613607A (en) Data interaction method and device and air conditioner control system
US20210365021A1 (en) A method for commissioning and maintenance of alarm systems
CN105539198A (en) Connector detection device for high-pressure system of electric car
CN108006891B (en) Air conditioner fault prompting method and device
CN113759765A (en) FFU intelligent group control system and maintenance method thereof
CN112822073B (en) Test method, device, system, electronic equipment and readable storage medium
CN107728047B (en) Relay detection method and device, relay, storage medium and equipment
CN106487621A (en) A kind of smart jack of automatic detection network and the application by detection network signal
CN204329248U (en) Air conditioner communication system and air conditioner
CN110850354B (en) Metering fault recognition module detection method, device, system and storage medium
CN110389576A (en) The execution method of alarm operation, smart machine, storage medium
CN112682301B (en) Water pump inspection method, inspection system, water pump and computer readable storage medium
CN109729539A (en) A kind of air conditioner quickly produces survey method with wireless communication module
CN110749046B (en) Air conditioner control method and device, air conditioner and computer readable storage medium
CN114935779A (en) Master-slave switching system for automatic connection between earthquake rescue field devices

Legal Events

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