CN105223949A - Electric equipment and communication failure diagnostic method thereof and device - Google Patents

Electric equipment and communication failure diagnostic method thereof and device Download PDF

Info

Publication number
CN105223949A
CN105223949A CN201510706626.9A CN201510706626A CN105223949A CN 105223949 A CN105223949 A CN 105223949A CN 201510706626 A CN201510706626 A CN 201510706626A CN 105223949 A CN105223949 A CN 105223949A
Authority
CN
China
Prior art keywords
network node
communication
described network
data
diagnostic data
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.)
Granted
Application number
CN201510706626.9A
Other languages
Chinese (zh)
Other versions
CN105223949B (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 CN201510706626.9A priority Critical patent/CN105223949B/en
Publication of CN105223949A publication Critical patent/CN105223949A/en
Application granted granted Critical
Publication of CN105223949B publication Critical patent/CN105223949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0267Fault communication, e.g. human machine interface [HMI]

Abstract

The invention discloses a kind of electric equipment and communication failure diagnostic method thereof and device.Communication failure diagnostic method in this electric equipment comprises: whether the network node detected in electric equipment occurs communication abnormality; If detect that communication abnormality appears in the network node in described electric equipment, then after the Preset Time of interval, send diagnostic data to described network node; Whether detect described network node has data to reply after receiving described diagnostic data; And if do not detect that described network node has data to reply after receiving described diagnostic data, then determine that communication failure appears in described network node.By the present invention, the communication failure solved in electric equipment diagnoses inaccurate problem.

Description

Electric equipment and communication failure diagnostic method thereof and device
Technical field
The present invention relates to appliance field, in particular to a kind of electric equipment and communication failure diagnostic method thereof and device.
Background technology
In Engineering Control, usual needs carry out the data transmission between several controller by communication, as communicated between master controller and motor drive plate, communication etc. between two controllers, these exchanges data will be based upon on reliable communication infrastructure, but due to signal of communication, to receive external environmental interference larger, particularly receive the radiation interference of frequency conversion equipment around, communication quality can be made to have a greatly reduced quality, affect the normal transmission of signal of communication, cause often breaking down message, and to occur the fault of message investigate and detect find a lot of fault at short notice selfreparing or and non-faulting, just in transmitting procedure, signal is disturbed and do not receive, cause having occurred a lot " false fault ", or be sometimes because AB line connects and causes communication abnormality on the contrary, in above multiple situation, often there is the report of communication failure, because communication failure diagnosis is inaccurate, to the investigation of fault with detect a large amount of manpower and materials of waste, investigate and also affect in testing process the normal work of electrical equipment.
For in correlation technique, inaccurate problem is diagnosed to the communication failure in electric equipment, not yet propose effective solution at present.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of electric equipment and communication failure diagnostic method thereof and device, diagnoses inaccurate problem with the communication failure solved in electric equipment.
To achieve these goals, according to an aspect of the present invention, provide the communication failure diagnostic method in a kind of electric equipment, the method comprises: whether the network node detected in electric equipment occurs communication abnormality; If detect that communication abnormality appears in the network node in electric equipment, then after the Preset Time of interval, send diagnostic data to network node; Whether Sampling network node has data to reply after receiving diagnostic data; And if do not detect that network node has data to reply after receiving diagnostic data, then determine that communication failure appears in network node.
Further, whether the network node detected in electric equipment occurs that communication abnormality comprises: detect the communication reply message from network node; Timing is carried out to the time of communication reply message network node not detected; Judge whether communication reply message network node not detected continuously in the first Preset Time; And in the first Preset Time, if the communication reply message of network node do not detected continuously, then determine that communication abnormality appears in network node.
Further, after the Preset Time of interval to network node send diagnostic data comprise: from determine network node there is communication abnormality timing; Judge to determine that network node occurs whether the time of communication abnormality reaches the second Preset Time; If determine that network node occurs that the time of communication abnormality reaches the second Preset Time, then send diagnostic data to network node.
Further, after the Preset Time of interval, send diagnostic data to network node to comprise: send a diagnostic data at interval of a Preset Time to network node; Whether Sampling network node has data to reply after receiving diagnostic data comprises: judge that after the diagnostic data sending preset times, whether receive data replies, wherein, if all do not receive data to reply after the diagnostic data sending preset times, then determine that communication failure appears in network node.
Further, after not detecting that network node has data answer after receiving diagnostic data, method also comprises: exchange the direction of the AB line of network node; Judge after the direction of the AB line to network node is exchanged, network node whether in the 3rd Preset Time communication recovery normal; If network node communication recovery in the 3rd Preset Time is normal, then determine network node selfreparing; And if network node communicates and do not recover normal in the 3rd Preset Time, then determine network node communication failure.
To achieve these goals, according to a further aspect in the invention, provide the communication failure diagnostic device in a kind of electric equipment, this device comprises: the first detecting unit, whether occurs communication abnormality for the network node detected in electric equipment; Transmitting element, for when detecting that communication abnormality appears in the network node in electric equipment, sends diagnostic data to network node after the Preset Time of interval; Whether the second detecting unit, have data to reply for Sampling network node after receiving diagnostic data; And diagnosis unit, for when not detecting that network node has data to reply after receiving diagnostic data, determine that communication failure appears in network node.
Further, the first detecting unit comprises: detection module, for detecting the communication reply message from network node; Timing module, for carrying out timing to the time of communication reply message network node not detected; Judge module, for judging whether communication reply message network node not detected continuously in the first Preset Time; And determination module, if the communication reply message for network node not detected continuously in the first Preset Time, then determine that communication abnormality appears in network node.
Further, transmitting element comprises: timing module, for from determine network node there is communication abnormality timing; For judging, judge module, determines that network node occurs whether the time of communication abnormality reaches the second Preset Time; Sending module, if for determining that network node occurs that the time of communication abnormality reaches the second Preset Time, then sends diagnostic data to network node.
Further, transmitting element is used for sending a diagnostic data at interval of a Preset Time to network node; Second detecting unit is for judging that whether receiving data after the diagnostic data sending preset times replies, wherein, for all not receiving after the diagnostic data sending preset times when data reply, diagnosis unit also determines that communication failure appears in network node.
Further, device also comprises: transpose unit, for after not detecting that network node has data answer after receiving diagnostic data, exchanges the direction of the AB line of network node; Judging unit, for judging after the direction of the AB line to network node is exchanged, network node whether in the 3rd Preset Time communication recovery normal; Wherein, diagnosis unit also for when communication recovery is normal in the 3rd Preset Time for network node, determines network node selfreparing; Network node communicate in the 3rd Preset Time do not recover normal time, determine network node communication failure.
To achieve these goals, according to a further aspect in the invention, provide a kind of electric equipment, this electric equipment comprises communication failure diagnostic device of the present invention.
By the present invention, the network node detected in electric equipment is adopted whether to occur communication abnormality; If detect that communication abnormality appears in the network node in electric equipment, then after the Preset Time of interval, send diagnostic data to network node; Whether Sampling network node has data to reply after receiving diagnostic data; And if do not detect that network node has data to reply after receiving diagnostic data, then determine that communication failure appears in network node, solve and inaccurate problem is diagnosed to the communication failure in electric equipment, and then reach the effect of the communication failure diagnostic accuracy improved in electric equipment.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the communication failure diagnostic method in electric equipment according to a first embodiment of the present invention;
Fig. 2 is the communication failure diagnostic method in electric equipment according to a second embodiment of the present invention; And
Fig. 3 is according to the communication failure diagnostic device in the electric equipment of the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The application's scheme is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the embodiment of the application's part, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all should belong to the scope of the application's protection.
It should be noted that, term " first ", " second " etc. in the instructions of the application and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that the embodiment of the application described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
The invention provides the communication failure diagnostic method in a kind of electric equipment, Fig. 1 is the communication failure diagnostic method in electric equipment according to a first embodiment of the present invention, and as shown in Figure 1, the method comprises following step S102 to step S108:
Step S102, whether the network node detected in electric equipment there is communication abnormality.
Whether the network node detected in electric equipment occurs that communication abnormality comprises: detect the communication reply message from network node; Timing is carried out to the time of communication reply message network node not detected; Judge whether communication reply message network node not detected continuously in the first Preset Time; And in the first Preset Time, if the communication reply message of network node do not detected continuously, then determine that communication abnormality appears in network node.
Electric equipment can be air conditioner or refrigerator.For air conditioner, the network node in electric equipment can be controller or motor drive plate.
In electric equipment, communicate normally between each network node during normal work, realize the transmission of signal and the control of order, in order to the communication abnormality existed in Timeliness coverage electric equipment, need to detect the communication reply message from network node.Such as between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if the reply message that motor drive plate sends to master controller do not detected, then now starts timing.Again such as, between the two controllers, the first controller have sent control information to second controller, and second controller sends reply message to the first controller, if the reply message that second controller sends to the first controller do not detected, then now start timing.Because in electric equipment, do not detect that the communication reply message of network node may have several factors to cause, likely the communication reply message of this network node sends, but be subject to the radiation interference of the frequency conversion equipment in surrounding environment etc., the transmission of signal of communication receives impact or destroys, signal of communication is not intactly communicated to next network node, so there is no the communication reply message this network node being detected, in this case, not there is exception in communication, also in normal operation between each network node, often spend the time in a few second, just communication reply message can be detected, if once the communication reply message of this network node do not detected, there is communication failure with regard to thinking immediately and report an error, diagnostic result then can be caused unreliable, increase and safeguard and investigation cost, affect Consumer's Experience to a great extent simultaneously, therefore, need to judge whether communication reply message network node not detected in continuous print certain hour all the time, if the communication reply message of network node do not detected continuously in the first Preset Time, then determine that communication abnormality appears in network node.
Such as, between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if the reply message that motor drive plate sends to master controller do not detected, then now starting timing, is 3 seconds for the first Preset Time, if continuous 3 seconds do not detect the reply message that motor drive plate sends to master controller, then determine that communication abnormality appears in motor drive plate network node.Again such as, between the two controllers, first controller have sent control information to second controller, second controller sends reply message to the first controller, if the reply message that second controller sends to the first controller do not detected, then now starting timing, is 5 seconds for the first Preset Time, if continuous 5 seconds do not detect the reply message that second controller sends to the first controller, then determine that communication abnormality appears in second controller network node.
Step S104, if detect that communication abnormality appears in the network node in electric equipment, then sends diagnostic data to network node after the Preset Time of interval.
After the Preset Time of interval to network node send diagnostic data comprise: from determine network node there is communication abnormality timing; Judge to determine that network node occurs whether the time of communication abnormality reaches the second Preset Time; If determine that network node occurs that the time of communication abnormality reaches the second Preset Time, then send diagnostic data to network node.
After the Preset Time of interval, send diagnostic data to network node comprise: send a diagnostic data at interval of a Preset Time to network node; Whether Sampling network node has data to reply after receiving diagnostic data comprises: judge that after the diagnostic data sending preset times, whether receive data replies, wherein, if all do not receive data to reply after the diagnostic data sending preset times, then determine that communication failure appears in network node.
Due in electric equipment, some is abnormal is can be self-healing, the network node of such as some application program controllings, may just can self-recoverage in program updating or the process reconnected, in order to improve the reliability of diagnostic result further, need to judge network node in electric equipment whether fault by diagnostic data, after detecting that communication abnormality appears in the network node in electric equipment, diagnostic data is sent to network node again after certain interval of time, institute's interlude is for waiting for the communication abnormality self-recoverage of network node, namely from determine network node there is communication abnormality timing, judge to determine that network node occurs whether the time of communication abnormality reaches the second Preset Time, if determine that network node occurs that the time of communication abnormality reaches the second Preset Time, illustrate that communication abnormality does not have self-recoverage, then send diagnostic data to network node.
Alternatively, the diagnostic data sent to network node is used for diagnostic network node and whether there is communication failure.It is 10 seconds for the second Preset Time, in electric equipment, if detect that communication abnormality appears in the network node in equipment, such as between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if continuous 3 seconds do not detect the reply message that motor drive plate sends to master controller, then determine that communication abnormality appears in motor drive plate network node, from determining to occur communication abnormality, timing is spent 10 seconds and is sent diagnostic data to this motor drive plate more later, wherein, diagnostic data includes but not limited to the position of deagnostic communication exception, the time that the type of communication abnormality and communication abnormality occur.
Preferably, diagnostic data sends repeatedly, to confirm that diagnostic data is successfully sent to the network node occurring exceptional communication.
Step S106, whether Sampling network node has data to reply after receiving diagnostic data.
After detecting that communication abnormality appears in the network node in electric equipment, after the Preset Time of interval, send diagnostic data to network node, after this, whether Sampling network node has data to reply after receiving diagnostic data.
Alternatively, in order to reduce the radiation interference of frequency conversion equipment in surrounding environment etc. to the impact of diagnostic result, diagnostic data can pass through the transmission of multi-signal type, as long as detect that network node has carried out data answer to the diagnostic data that any one receives after receiving diagnostic data, just think that network node has data to reply after receiving diagnostic data.
If receive data to reply, then can think that this network node is not communication failure, for the communication abnormality occurred in network node, may be temporary transient, often easily than communication failure problem to repair, such as, some communication abnormalities can be repaired by refreshing or restarting, in this case recover normal by selfreparing, to reduce the prompting number of times of communication failure, to improve the reliability of diagnostic result as far as possible.
Step S108, if do not detect that network node has data to reply after receiving diagnostic data, then determines that communication failure appears in network node.
If after detecting that communication abnormality appears in the network node in electric equipment, diagnostic data is sent to network node after the Preset Time of interval, after this, whether Sampling network node has data to reply after receiving diagnostic data, if do not detect that network node has data to reply after receiving diagnostic data, then determine that communication failure appears in network node.Preferably, a diagnostic data is sent at interval of certain hour to network node; Whether Sampling network node has data to reply after receiving diagnostic data.
Preferably, in order to reduce the prompting number of times of communication failure, improve the treatment effeciency of communication failure, after not detecting that network node has data answer after receiving diagnostic data, method also comprises: exchange the direction of the AB line of network node; Judge after the direction of the AB line to network node is exchanged, network node whether in the 3rd Preset Time communication recovery normal; If network node communication recovery in the 3rd Preset Time is normal, then determine network node selfreparing; And if network node communicates and do not recover normal in the 3rd Preset Time, then determine network node communication failure.
Except communicating and really breaking down, if AB line connects instead, also there will be the situation that network node cannot carry out data answer after receiving diagnostic data, and AB line to connect anti-problem more common, in order to ensure the reliability service communicated, after not detecting that network node has data answer after receiving diagnostic data, in software the direction of the AB line of network node is exchanged, after the direction of AB line is exchanged, judge whether network node recovers normal after the 3rd Preset Time.
Also be, after detecting that communication abnormality appears in the network node in electric equipment, after the Preset Time of interval, send diagnostic data to network node, do not detect that network node has data to reply after receiving diagnostic data, then the direction of the AB line of network node is exchanged; It is 1 minute for the 3rd Preset Time, after 1 minute, whether communication recovery is normal to judge network node, if network node communication recovery in 1 minute is normal, then determine network node selfreparing, if network node communicated after one minute also do not recover normal, then determine network node communication failure.
Exchanged by the direction of the AB line to network node, the communication failure of some can be repaired, improve the efficiency of communication failure process, also improve the reliability of communication failure diagnosis simultaneously, ensure that communication reliability of operation.
Preferably, fault message information is sent after determining communication failure, message information can send to user with presets, such as, by note, the mode such as phone or application message sends to user mobile phone or computer, also can show on self display, message information comprises malfunction and type, and judging whether according to malfunction and type can selfreparing.
From above description, can find out, whether the present invention there is communication abnormality by the network node detected in electric equipment, if detect that communication abnormality appears in the network node in electric equipment, then after the Preset Time of interval, send diagnostic data to network node, whether Sampling network node has data to reply after receiving diagnostic data, if do not detect that network node has data to reply after receiving diagnostic data, then determine that communication failure appears in network node, the communication failure solved in electric equipment diagnoses inaccurate problem.
Fig. 2 is the communication failure diagnostic method in electric equipment according to a second embodiment of the present invention, and as shown in Figure 2, the method comprises following step S201 to step S207:
Step S201: judge that whether communication abnormality is more than 3 seconds.
In electric equipment, during normal work, between each network node, carry out real-time Communication for Power, realize the transmission of signal and the control of order, in order to the communication abnormality existed in Timeliness coverage electric equipment, need to detect the communication reply message from network node.Such as between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if the reply message that motor drive plate sends to master controller do not detected in certain hour, then illustrate that now communication may occur exception.Again such as, between the two controllers, the first controller have sent control information to second controller, and second controller sends reply message to the first controller, if the reply message that second controller sends to the first controller do not detected, then illustrate that now communication may occur exception.Because in electric equipment, do not detect that the communication reply message of network node may have several factors to cause, likely the communication reply message of this network node sends, but be subject to the radiation interference of the frequency conversion equipment in surrounding environment etc., the transmission of signal of communication receives impact or destroys, signal of communication is not intactly communicated to next network node, so there is no the communication reply message this network node being detected, in this case, not there is exception in communication, also in normal operation between each network node, often spend the time in a few second, just communication reply message can be detected, therefore need to wait for whether communication abnormality continues the regular hour, such as 3 seconds, if the communication abnormality duration was more than 3 seconds, then perform step S202, determine network node communication abnormality.If detected the communication reply message of this network node within 3 seconds, then think that network node does not occur communication abnormality, if the duration of communication abnormality is not more than 3 seconds, then perform step S205, communication recovery is normal.Wait for the time of 3 seconds be in order to etc. self-recoverage to be communicated, increase the reliability of diagnostic result, certainly, 3 seconds is an embodiment, and the time herein also can be other Preset Times, such as, 5 seconds or 2 minutes, different according to concrete network node difference, after exceeding Preset Time, the communication reply message of network node only still do not detected, just determine that communication abnormality appears in network node.
Step S202: communication abnormality.
Particularly, for the communication between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if the reply message that motor drive plate sends to master controller do not detected, then now start timing, still do not detect if spent 3 seconds the reply message that motor drive plate sends to master controller, then determine that communication abnormality appears in motor drive plate network node.Again such as, between the two controllers, first controller have sent control information to second controller, second controller sends reply message to the first controller, if the reply message that second controller sends to the first controller do not detected, then now start timing, still do not detect if spent 3 seconds the reply message that second controller sends to the first controller, then determine that communication abnormality appears in second controller network node.
Step S203: send out a frame diagnostic data frame again.
Due in electric equipment, some is abnormal is can be self-healing, the network node of such as some application program controllings, may just can self-recoverage in program updating or the process reconnected, in order to improve the reliability of diagnostic result further, need to judge network node in electric equipment whether fault by diagnostic data.Such as, after determining that communication abnormality appears in the network node in electric equipment, whether send a frame diagnostic data frame to network node again, being used for the communication of diagnostic network node breaks down, the diagnostic data of the diagnostic data frame in the present embodiment namely in the first embodiment.
Alternatively, in electric equipment, if detect that communication abnormality appears in the network node in equipment, such as between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if continuous 3 seconds do not detect the reply message that motor drive plate sends to master controller, then determine that communication abnormality appears in motor drive plate network node, now, a frame diagnostic data frame can be sent immediately to this motor drive plate, also the regular hour can be waited for, within such as 10 seconds, send a frame diagnostic data frame to this motor drive plate more later, wherein, diagnostic data frame includes but not limited to the position of deagnostic communication exception, the time that the type of communication abnormality and communication abnormality occur.
Alternatively, diagnostic data frame sends a frame at set intervals, and to confirm that diagnostic data frame is successfully sent to the network node occurring exceptional communication, after this, whether Sampling network node has data to reply after receiving diagnostic data frame.
Alternatively, in order to reduce the radiation interference of frequency conversion equipment in surrounding environment etc. to the impact of diagnostic result, diagnostic data frame can pass through the transmission of multi-signal type, as long as detect that network node has carried out data answer to the diagnostic data frame that any one receives after receiving diagnostic data frame, just think that network node has data to reply after receiving diagnostic data.
Step S204: judge whether to recover proper communication.
Determining to send diagnostic data frame to network node after communication abnormality appears in network node, whether Sampling network node has data to reply, if receive data to reply, then think that this network node recovers proper communication, not communication failure, the communication abnormality occurred in network node may be temporary transient, often easily than communication failure problem to repair, such as, some communication abnormalities can be repaired by refreshing or restarting, in this case recover normal by selfreparing, to reduce the prompting number of times of communication failure, to improve the reliability of diagnostic result as far as possible.
If do not detect that the data of network node reply, illustrate that network node does not recover proper communication, perform step S206.
Step S205: communication recovery is normal.
If after detecting that communication abnormality appears in the network node in electric equipment, diagnostic data frame is sent to network node, after this, whether Sampling network node has data to reply after receiving diagnostic data, if detect that network node has data to reply after receiving diagnostic data, then determine that network node recovers proper communication.
Step S206: software reverses to communication.
In order to reduce the prompting number of times of communication failure, improving the treatment effeciency of communication failure, if network node does not have data to reply after receiving diagnostic data frame, using software to reverse to communication, namely the direction of the AB line of network node being exchanged; Judge whether communication recovery is normal for network node after the direction of the AB line to network node is exchanged; If communication recovery is normal after network node reverses to communication, then determine network node selfreparing; If network node does not recover normal, then determine network node communication failure.
Except communicating and really breaking down, if AB line connects instead, also there will be the situation that network node cannot carry out data answer after receiving diagnostic data, and AB line to connect anti-problem more common, in order to ensure the reliability service communicated, after not detecting that network node has data answer after receiving diagnostic data, in software the direction of the AB line of network node is exchanged, after the direction of AB line is exchanged, judge whether network node recovers normal.Preferably, after the direction of AB line is exchanged, after spending the regular hour, judge whether network node recovers normal again, such as, cross and within 1 minute, judge whether network node recovers normal again.
Step S207: whether the communication of judging recovers.
After sending diagnostic data frame to network node, if do not detect that the data of network node reply, then the direction of the AB line of network node is exchanged, after 1 minute that the direction of AB line is exchanged, whether communication recovery is normal to judge network node, if network node communication recovery is normal, then determines that network node is repaired, if network node communicated after one minute also do not recover normal, then determine network node communication failure.
Exchanged by the direction of the AB line to network node, the communication failure of some can be repaired, improve the efficiency of communication failure process, also improve the reliability of communication failure diagnosis simultaneously, ensure that communication reliability of operation.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
According to the another aspect of the embodiment of the present invention, provide the communication failure diagnostic device in a kind of electric equipment, communication failure diagnostic device in this electric equipment may be used for the communication failure diagnostic method performed in the electric equipment of the embodiment of the present invention, and the communication failure diagnostic method in the electric equipment of the embodiment of the present invention also can be performed by the communication failure diagnostic device in the electric equipment of the embodiment of the present invention.
Fig. 3 is the schematic diagram of communication failure diagnostic device according to a third embodiment of the present invention, and as shown in Figure 3, this device comprises:
Whether the first detecting unit 10, there is communication abnormality for the network node detected in electric equipment.
Preferably, the first detecting unit 10 comprises: detection module, for detecting the communication reply message from network node; Timing module, for carrying out timing to the time of communication reply message network node not detected; Judge module, for judging whether communication reply message network node not detected continuously in the first Preset Time; And determination module, if the communication reply message for network node not detected continuously in the first Preset Time, then determine that communication abnormality appears in network node.
In electric equipment, during normal work, between each network node, carry out real-time Communication for Power, realize the transmission of signal and the control of order, in order to the communication abnormality existed in Timeliness coverage electric equipment, need to be detected the communication reply message from network node by detection module.Such as between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if the reply message that motor drive plate sends to master controller do not detected, then timing by timing module, judge module judges whether in continuous print certain hour, the communication reply message of network node such as, do not detected in continuous 3 seconds all the time, if judge module judges that in certain hour, detection module does not detect the communication reply message of network node all the time, then determine that communication abnormality appears in network node by determination module.
Transmitting element 20, when communication abnormality appears in the network node for detecting in electric equipment at the first detecting unit 10, sends diagnostic data to network node after the Preset Time of interval.
Preferably, transmitting element 20 comprises: timing module, for from determine network node there is communication abnormality timing; For judging, judge module, determines that network node occurs whether the time of communication abnormality reaches the second Preset Time; Sending module, if for determining that network node occurs that the time of communication abnormality reaches the second Preset Time, then sends diagnostic data to network node.
Preferably, transmitting element 20 sends a diagnostic data at interval of a Preset Time to network node; Second detecting unit 30 is for judging that whether receiving data after the diagnostic data sending preset times replies, wherein, diagnosis unit 40 does not also all receive when data reply for the second detecting unit 30 after sending the diagnostic data of preset times at transmitting element 20 and determines that communication failure appears in network node.
Transmitting element 20 is used for diagnostic network node to the diagnostic data that network node sends and whether there is communication failure.It is 10 seconds for the second Preset Time, in electric equipment, if the first detecting unit 10 detects that communication abnormality appears in the network node in equipment, such as between master controller and motor drive plate, when master controller is to after motor drive plate sends control information, motor drive plate sends reply message to master controller, if continuous 3 seconds do not detect the reply message that motor drive plate sends to master controller, then determine that communication abnormality appears in motor drive plate network node, after from determining to occur communication abnormality, it's 10 seconds pasts timing, transmitting element 20 sends diagnostic data to this motor drive plate again, transmitting element 20 sends a diagnostic data at interval of a Preset Time to network node, also be, diagnostic data sends repeatedly.
Whether the second detecting unit 30, have data to reply for Sampling network node after receiving diagnostic data.Preferably, the second detecting unit 30 is for judging that whether receiving data after the diagnostic data sending preset times replies.Wherein, reply and just think as long as receive data after the diagnostic data sending preset times and have received data recovery.
After first detecting unit 10 detects that communication abnormality appears in the network node in electric equipment, diagnostic data is sent to network node by transmitting element 20, diagnostic data is used for diagnostic network node and whether there is communication failure, diagnostic data sends repeatedly, after this, data whether are had to reply after receiving diagnostic data by the second detecting unit 30 Sampling network node, namely the diagnostic data received is responded, have sent the diagnostic data of certain number of times at transmitting element 20 after, second detecting unit 30 judges whether that receiving data replies, such as, after transmitting element 20 have sent 15 diagnostic datas, the second detecting unit 30 detects and whether receives data answer.
Diagnosis unit 40, for when not detecting that network node has data to reply after receiving diagnostic data, determines that communication failure appears in network node.
After there is communication abnormality in the network node detected in electric equipment at the first detecting unit 10, transmitting element 20 sends diagnostic data to network node after the Preset Time of interval, after this, whether the second detecting unit 30 Sampling network node has data to reply after receiving diagnostic data, if do not detect that network node has data to reply after receiving diagnostic data, then diagnosis unit 40 determines that communication failure appears in network node.Preferably, transmitting element 20 sends a diagnostic data at interval of certain hour to network node, after sending repeatedly diagnostic data, whether Sampling network node has data to reply after receiving diagnostic data, if do not detect that the data of network node reply all the time, then determine that communication failure appears in network node by diagnosis unit 40.
Preferably, device also comprises: transpose unit, for after not detecting that network node has data answer after receiving diagnostic data, exchanges the direction of the AB line of network node; Judging unit, for judging after the direction of the AB line to network node is exchanged, network node whether in the 3rd Preset Time communication recovery normal; Wherein, diagnosis unit 40 also for when communication recovery is normal in the 3rd Preset Time for network node, determines network node selfreparing; Network node communicate in the 3rd Preset Time do not recover normal time, determine network node communication failure.
Due to AB line, to connect anti-problem more common, in order to ensure the reliability service communicated, after the second detecting unit 30 does not detect that network node has data answer after receiving diagnostic data, in software the direction of the AB line of network node is exchanged by transpose unit, after the direction of transpose unit to AB line is exchanged, judging unit judges whether network node recovers normal after the 3rd Preset Time.
Also be, after there is communication abnormality in the network node detected in electric equipment at the first detecting unit 10, transmitting element 20 sends diagnostic data to network node after the Preset Time of interval, second detecting unit 30 does not detect that network node has data to reply after receiving diagnostic data, and the direction of transpose unit to the AB line of network node is exchanged; It is 1 minute for the 3rd Preset Time, after 1 minute, diagnosis unit 40 judges network node, and whether communication recovery is normal, if network node communication recovery in 1 minute is normal, diagnosis unit 40 determines network node selfreparing, if network node communicated after one minute also do not recover normal, then diagnosis unit 40 determines network node communication failure.
Whether the network node that the present embodiment is detected in electric equipment by the first detecting unit 10 there is communication abnormality, transmitting element 20 is when there is communication abnormality in the network node that the first detecting unit 10 detects in electric equipment, diagnostic data is sent to network node after the Preset Time of interval, whether the second detecting unit 30 Sampling network node has data to reply after receiving diagnostic data, diagnosis unit 40, when not detecting that network node has data to reply after receiving diagnostic data, determines that communication failure appears in network node.Improve the self-reparing capability of network node communication abnormality, ensure that the reliability service of electric equipment.
The embodiment of the present invention additionally provides a kind of electric equipment, it should be noted that, this electric equipment comprises communication failure diagnostic device of the present invention.The electric equipment of the embodiment of the present invention can be air conditioner, also can be refrigerator.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the communication failure diagnostic method in electric equipment, is characterized in that, comprising:
Whether the network node detected in electric equipment there is communication abnormality;
If detect that communication abnormality appears in the network node in described electric equipment, then after the Preset Time of interval, send diagnostic data to described network node;
Whether detect described network node has data to reply after receiving described diagnostic data; And
If do not detect that described network node has data to reply after receiving described diagnostic data, then determine that communication failure appears in described network node.
2. method according to claim 1, is characterized in that, whether the network node detected in electric equipment occurs that communication abnormality comprises:
Communication reply message from described network node is detected;
Timing is carried out to the time of the communication reply message described network node not detected;
Judge whether the communication reply message described network node not detected continuously in the first Preset Time; And
If the communication reply message of described network node do not detected continuously in the first Preset Time, then determine that communication abnormality appears in described network node.
3. method according to claim 1, is characterized in that, sends diagnostic data comprise after the Preset Time of interval to described network node:
From determine described network node there is communication abnormality timing;
Judge to determine that described network node occurs whether the time of communication abnormality reaches the second Preset Time;
If determine that described network node occurs that the time of communication abnormality reaches described second Preset Time, then send diagnostic data to described network node.
4. method according to claim 1, is characterized in that,
After the Preset Time of interval, send diagnostic data to described network node comprise: send a diagnostic data at interval of a Preset Time to described network node;
Whether receive described diagnostic data after have data answer comprise: judge that after the described diagnostic data sending preset times, whether receive described data replies if detecting described network node,
Wherein, reply if all do not receive described data after the described diagnostic data sending preset times, then determine that communication failure appears in described network node.
5. method according to claim 1, is characterized in that, after not detecting that described network node has data answer after receiving described diagnostic data, described method also comprises:
The direction of the AB line of described network node is exchanged;
Judge after the direction of the AB line to described network node is exchanged, described network node whether in the 3rd Preset Time communication recovery normal;
If described network node communication recovery in described 3rd Preset Time is normal, then determine the selfreparing of described network node; And
If described network node communicates in described 3rd Preset Time do not recover normal, then determine described network node communication failure.
6. the communication failure diagnostic device in electric equipment, is characterized in that, comprising:
Whether the first detecting unit, there is communication abnormality for the network node detected in electric equipment;
Transmitting element, for when detecting that communication abnormality appears in the network node in described electric equipment, sends diagnostic data to described network node after the Preset Time of interval;
Whether the second detecting unit, have data to reply for detecting described network node after receiving described diagnostic data; And
Diagnosis unit, for when not detecting that described network node has data to reply after receiving described diagnostic data, determines that communication failure appears in described network node.
7. device according to claim 6, is characterized in that, described first detecting unit comprises:
Detection module, for detecting the communication reply message from described network node;
Timing module, for carrying out timing to the time of the communication reply message described network node not detected;
Judge module, for judging whether the communication reply message described network node not detected continuously in the first Preset Time; And
Determination module, if the communication reply message for described network node not detected continuously in the first Preset Time, then determines that communication abnormality appears in described network node.
8. device according to claim 6, is characterized in that, described transmitting element comprises:
Timing module, for from determine described network node there is communication abnormality timing;
For judging, judge module, determines that described network node occurs whether the time of communication abnormality reaches the second Preset Time;
Sending module, for when determining that described network node occurs that the time of communication abnormality reaches described second Preset Time, sends diagnostic data to described network node.
9. device according to claim 6, is characterized in that,
Described transmitting element is used for sending a diagnostic data at interval of a Preset Time to described network node;
Whether described second detecting unit receives the answer of described data for judging after the described diagnostic data sending preset times,
Wherein, for all not receiving after the described diagnostic data sending preset times when described data reply, described diagnosis unit also determines that communication failure appears in described network node.
10. device according to claim 6, is characterized in that, described device also comprises:
Transpose unit, for after not detecting that described network node has data answer after receiving described diagnostic data, exchanges the direction of the AB line of described network node; And
Judging unit, for judging after the direction of the AB line to described network node is exchanged, described network node whether in the 3rd Preset Time communication recovery normal,
Wherein, described diagnosis unit is also for when communication recovery is normal in described 3rd Preset Time for described network node, determine the selfreparing of described network node, described network node communicate in described 3rd Preset Time do not recover normal time, determine described network node communication failure.
11. 1 kinds of electric equipments, is characterized in that, comprise the communication failure diagnostic device according to any one of claim 6 to 10.
CN201510706626.9A 2015-10-23 2015-10-23 Electric equipment and its communication failure diagnostic method and device Active CN105223949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510706626.9A CN105223949B (en) 2015-10-23 2015-10-23 Electric equipment and its communication failure diagnostic method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510706626.9A CN105223949B (en) 2015-10-23 2015-10-23 Electric equipment and its communication failure diagnostic method and device

Publications (2)

Publication Number Publication Date
CN105223949A true CN105223949A (en) 2016-01-06
CN105223949B CN105223949B (en) 2018-01-19

Family

ID=54992979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510706626.9A Active CN105223949B (en) 2015-10-23 2015-10-23 Electric equipment and its communication failure diagnostic method and device

Country Status (1)

Country Link
CN (1) CN105223949B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894757A (en) * 2016-05-09 2016-08-24 浙江大华技术股份有限公司 Method and device for reporting alarm information from alarm terminal to server and alarm terminal
CN106292326A (en) * 2016-10-12 2017-01-04 深圳昊达智能科技股份有限公司 Home equipment control method and home equipment control system
CN107087285A (en) * 2017-04-18 2017-08-22 珠海格力电器股份有限公司 A kind of Radio frequency interference detection method and device
CN107634890A (en) * 2017-09-05 2018-01-26 深圳市沃特沃德股份有限公司 Communication method and communication device
CN108255091A (en) * 2016-12-29 2018-07-06 佛山市顺德区美的电热电器制造有限公司 A kind of control method and device
CN108551423A (en) * 2018-04-11 2018-09-18 浙江工业大学 The special multichannel intelligent gateway of industry measurement pump group cluster remote monitoring
CN109410903A (en) * 2018-11-20 2019-03-01 新视家科技(北京)有限公司 A kind of microphone and karaoke method
CN113137690A (en) * 2021-03-03 2021-07-20 青岛海尔空调电子有限公司 Parameter configuration method of motor and air conditioner
CN115046287A (en) * 2022-05-24 2022-09-13 珠海格力电器股份有限公司 Equipment interaction control method, device and system, air conditioner and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269300A (en) * 2004-03-19 2005-09-29 Yokogawa Electric Corp Network system
CN102748832A (en) * 2012-06-07 2012-10-24 宁波奥克斯电气有限公司 Air conditioning fault detection method
CN102904758A (en) * 2012-10-10 2013-01-30 合肥工大高科信息科技股份有限公司 Method for detecting communication failure of mine leakage communication network
CN103457755A (en) * 2012-06-05 2013-12-18 深圳市华力特电气股份有限公司 IEC 61850 system communication fault detection method and system
CN104460332A (en) * 2014-11-17 2015-03-25 广东美的厨房电器制造有限公司 Household appliance, communication method for household appliance master control module and independent communication module and household appliance control system
CN104486176A (en) * 2014-12-18 2015-04-01 广东美的厨房电器制造有限公司 Household appliance, independent communication module, communication method and control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269300A (en) * 2004-03-19 2005-09-29 Yokogawa Electric Corp Network system
CN103457755A (en) * 2012-06-05 2013-12-18 深圳市华力特电气股份有限公司 IEC 61850 system communication fault detection method and system
CN102748832A (en) * 2012-06-07 2012-10-24 宁波奥克斯电气有限公司 Air conditioning fault detection method
CN102904758A (en) * 2012-10-10 2013-01-30 合肥工大高科信息科技股份有限公司 Method for detecting communication failure of mine leakage communication network
CN104460332A (en) * 2014-11-17 2015-03-25 广东美的厨房电器制造有限公司 Household appliance, communication method for household appliance master control module and independent communication module and household appliance control system
CN104486176A (en) * 2014-12-18 2015-04-01 广东美的厨房电器制造有限公司 Household appliance, independent communication module, communication method and control system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894757A (en) * 2016-05-09 2016-08-24 浙江大华技术股份有限公司 Method and device for reporting alarm information from alarm terminal to server and alarm terminal
CN106292326A (en) * 2016-10-12 2017-01-04 深圳昊达智能科技股份有限公司 Home equipment control method and home equipment control system
CN108255091B (en) * 2016-12-29 2021-04-13 佛山市顺德区美的电热电器制造有限公司 Control method and device
CN108255091A (en) * 2016-12-29 2018-07-06 佛山市顺德区美的电热电器制造有限公司 A kind of control method and device
CN107087285B (en) * 2017-04-18 2019-10-11 珠海格力电器股份有限公司 A kind of radio frequency interference detection method and device
CN107087285A (en) * 2017-04-18 2017-08-22 珠海格力电器股份有限公司 A kind of Radio frequency interference detection method and device
CN107634890B (en) * 2017-09-05 2020-10-09 深圳市沃特沃德股份有限公司 Communication method and communication device
WO2019047371A1 (en) * 2017-09-05 2019-03-14 深圳市沃特沃德股份有限公司 Communication method and communication apparatus
CN107634890A (en) * 2017-09-05 2018-01-26 深圳市沃特沃德股份有限公司 Communication method and communication device
CN108551423A (en) * 2018-04-11 2018-09-18 浙江工业大学 The special multichannel intelligent gateway of industry measurement pump group cluster remote monitoring
CN109410903A (en) * 2018-11-20 2019-03-01 新视家科技(北京)有限公司 A kind of microphone and karaoke method
CN113137690A (en) * 2021-03-03 2021-07-20 青岛海尔空调电子有限公司 Parameter configuration method of motor and air conditioner
CN113137690B (en) * 2021-03-03 2023-08-15 青岛海尔空调电子有限公司 Motor parameter configuration method and air conditioner
CN115046287A (en) * 2022-05-24 2022-09-13 珠海格力电器股份有限公司 Equipment interaction control method, device and system, air conditioner and storage medium
CN115046287B (en) * 2022-05-24 2023-12-08 珠海格力电器股份有限公司 Equipment interaction control method, device and system, air conditioner and storage medium

Also Published As

Publication number Publication date
CN105223949B (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN105223949A (en) Electric equipment and communication failure diagnostic method thereof and device
CN101800675B (en) Failure monitoring method, monitoring equipment and communication system
EP3048759B1 (en) Fault diagnosis method, device and system
CN103430483A (en) Technique for determining correlated events in a communication system
CN104044969A (en) Elevator fault early warning method and system
CN100574224C (en) The detection method of Industrial Ethernet data monitoring and device
CN105553726A (en) System and method for fault processing of home gateway equipment
CN110954849A (en) Abnormity detection system and method for electrical equipment and monitoring terminal
US9398614B2 (en) Data collection system, data collection device, wireless communication device, and communication method for collecting data
CN101873179B (en) Monitoring method and monitoring device of indoor covering system
US8543104B2 (en) Radio device, state detection method and system
CN101924661A (en) Alarm processing method and device
CN102546304A (en) BFD detection method, equipment and system
CN101820317A (en) Method and system for realizing protection switching (PS) of protection groups
CN110294382A (en) Fault handling method and relevant device based on elevator call plate
CN115888001A (en) Fire hydrant water monitoring system based on Internet of things
WO2013159294A1 (en) A fast detecting and locating fault method for intercom system and a system thereof
JP5170214B2 (en) Access point monitoring system, monitoring method, and monitoring apparatus
CN115454015A (en) Controller node detection method, controller node detection device, control system, vehicle and storage medium
CN110749046B (en) Air conditioner control method and device, air conditioner and computer readable storage medium
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
CN110967598A (en) Power failure wave recording linkage method and system
JP2010063010A (en) Fault monitoring system and fault monitoring method
CN104168597A (en) Monitoring processing method and device and M2M gateway
CN109067567A (en) A kind of network communication method for diagnosing interruption

Legal Events

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