CN105223949B - Electric equipment and its communication failure diagnostic method and device - Google Patents

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

Info

Publication number
CN105223949B
CN105223949B CN201510706626.9A CN201510706626A CN105223949B CN 105223949 B CN105223949 B CN 105223949B CN 201510706626 A CN201510706626 A CN 201510706626A CN 105223949 B CN105223949 B CN 105223949B
Authority
CN
China
Prior art keywords
network node
communication
data
preset time
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.)
Active
Application number
CN201510706626.9A
Other languages
Chinese (zh)
Other versions
CN105223949A (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 its communication failure diagnostic method and device.Communication failure diagnostic method in the electric equipment includes:Whether the network node in detection electric equipment there is communication abnormality;If detecting that communication abnormality occurs in the network node in the electric equipment, diagnostic data is sent to the network node after preset time is spaced;Detect whether the network node has data answer after the diagnostic data is received;And if be not detected by the network node has data answer after the diagnostic data is received, it is determined that communication failure occurs in the network node.By the present invention, solve the problems, such as that the communication failure diagnosis in electric equipment is inaccurate.

Description

Electric equipment and its communication failure diagnostic method and device
Technical field
The present invention relates to appliance field, in particular to a kind of electric equipment and its communication failure diagnostic method and dress Put.
Background technology
In Engineering Control, it usually needs pass through the data transfer to communicate to carry out between several controllers, such as main control Communicated between device and motor driving plate, communication between two controllers etc., these data exchanges, which will be established, reliably to communicate On the basis of, but external environmental interference is bigger because signal of communication receives, the radiation for particularly receiving frequency conversion equipment around is done Disturb, communication quality can be made to have a greatly reduced quality, influence the normal transmission of signal of communication, cause frequent failure message, and to occurring The failure of message, which is investigated and detected, finds many failures selfreparing or simultaneously non-faulting in a short time, simply transmits During signal it is disturbed without receiving, cause a lot " false failures " occurred, or be sometimes because AB lines are reversed And cause communication abnormality, in the case of a variety of more than, often there is the report of communication failure, because communication failure diagnosis is inaccurate Really, the investigation to failure and detection waste substantial amounts of manpower and materials, and the normal work of electrical equipment is also influenceed in investigation and detection process.
For diagnosing the problem of inaccurate to the communication failure in electric equipment in correlation technique, not yet propose at present effective Solution.
The content of the invention
It is a primary object of the present invention to provide a kind of electric equipment and its communication failure diagnostic method and device, to solve The problem of communication failure diagnosis in electric equipment is inaccurate.
To achieve these goals, according to an aspect of the invention, there is provided a kind of communication failure in electric equipment Diagnostic method, this method include:Whether the network node in detection electric equipment there is communication abnormality;If detect that electrical equipment is set There is communication abnormality in standby interior network node, then sends diagnostic data to network node after preset time is spaced;Detect network Whether node has data answer after diagnostic data is received;And if being not detected by network node is receiving diagnostic data After have data answer, it is determined that there is communication failure in network node.
Further, whether the network node in detection electric equipment, which communication abnormality occurs, includes:To from network node Communication reply message detected;The time of communication reply message to being not detected by network node carries out timing;Judgement is The no communication reply message that network node is continuously not detected by the first preset time;And if continuously when first is default The interior communication reply message for being not detected by network node, it is determined that communication abnormality occurs in network node.
Further, sending diagnostic data to network node after preset time is spaced includes:Go out from determination network node Existing communication abnormality starts timing;Judge to determine whether the time that communication abnormality occurs in network node reaches the second preset time;Such as Fruit determines that the time that communication abnormality occurs in network node reaches the second preset time, then sends diagnostic data to network node.
Further, sending diagnostic data to network node after preset time is spaced includes:At interval of one it is default when Between to network node send a diagnostic data;Whether detection network node has data to reply bag after diagnostic data is received Include:Judge that data whether are received after the diagnostic data of preset times is sent to be replied, wherein, if sending preset times Diagnostic data after do not receive data answer, it is determined that there is communication failure in network node.
Further, network node is being not detected by after having data answer after receiving diagnostic data, method is also wrapped Include:The direction of the AB lines of network node is exchanged;Judge after being exchanged to the direction of the AB lines of network node, network section Point whether in the 3rd preset time communication recovery is normal;If network node communication recovery in the 3rd preset time is normal, Then determine network node selfreparing;And if network node communicates in the 3rd preset time does not recover normal, it is determined that Network node communication failure.
To achieve these goals, according to another aspect of the present invention, there is provided the communication failure in a kind of electric equipment Diagnostic device, the device include:First detection unit, for detect the network node in electric equipment whether occur communicating it is different Often;Transmitting element, for when detecting that communication abnormality occurs in the network node in electric equipment, after preset time is spaced to Network node sends diagnostic data;Second detection unit, whether there is number after diagnostic data is received for detecting network node According to answer;And diagnosis unit, for when being not detected by network node and having data answer after receiving diagnostic data, it is determined that There is communication failure in network node.
Further, the first detection unit includes:Detection module, for entering to the communication reply message from network node Row detection;Timing module, the time for the communication reply message to being not detected by network node carry out timing;Judge module, For judging whether continuously to be not detected by the communication reply message of network node in the first preset time;And determining module, If the communication reply message for being continuously not detected by network node in the first preset time, it is determined that network node occurs Communication abnormality.
Further, transmitting element includes:Timing module, based on since determining that communication abnormality occurs in network node When;Judge module, for judging to determine whether the time that communication abnormality occurs in network node reaches the second preset time;Send mould Block, for if it is determined that the time that communication abnormality occurs in network node reach the second preset time, then to network node send examine Disconnected data.
Further, transmitting element is used to send a diagnostic data to network node at interval of a preset time;The Two detection units are used to judge that whether receiving data after the diagnostic data of preset times is sent replies, wherein, diagnosis is single Member is additionally operable to determine that network node communicates when not receiving data after sending the diagnostic data of preset times and replying Failure.
Further, device also includes:Unit is exchanged, for being not detected by network node after diagnostic data is received After having data answer, the direction of the AB lines of network node is exchanged;Judging unit, for judging to network node After the directions of AB lines is exchanged, network node whether in the 3rd preset time communication recovery is normal;Wherein, diagnosis unit is also used In when communication recovery is normal in the 3rd preset time for network node, network node selfreparing is determined;Exist in network node When communication does not recover normal in 3rd preset time, network node communication failure is determined.
To achieve these goals, according to another aspect of the present invention, there is provided a kind of electric equipment, the electric equipment bag Include the communication failure diagnostic device of the present invention.
By the present invention, whether there is communication abnormality using the network node in detection electric equipment;If detect electricity There is communication abnormality in network node in device equipment, then sends diagnostic data to network node after preset time is spaced;Detection Whether network node has data answer after diagnostic data is received;And if being not detected by network node is receiving diagnosis There is data answer after data, it is determined that communication failure occurs in network node, solves and the communication failure in electric equipment is diagnosed The problem of inaccurate, and then improve the effect of the communication failure diagnostic accuracy in electric equipment.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do 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 the communication failure diagnostic device in electric equipment according to embodiments of the present invention.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model of the application protection Enclose.
It should be noted that term " first " in the description and claims of this application and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include without clear It is listing to Chu or for the intrinsic other steps 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 implemented according to the present invention first Communication failure diagnostic method in the electric equipment of example, as shown in figure 1, this method includes steps S102 to step S108:
Whether step S102, the network node detected in electric equipment there is communication abnormality.
Whether the network node in detection electric equipment, which communication abnormality occurs, includes:Communication from network node is replied Information is detected;The time of communication reply message to being not detected by network node carries out timing;Judge whether continuously The communication reply message of network node is not detected by one preset time;And if do not detected in the first preset time continuously To the communication reply message of network node, it is determined that communication abnormality occurs in network node.
Electric equipment can be air conditioner or refrigerator.By taking air conditioner as an example, the network node in electric equipment can be Controller or motor driving plate.
In electric equipment, normally communicated between each network node during normal work, come realize the transmission of signal and The control of order, in order to find existing communication abnormality in electric equipment in time, it is necessary to reply the communication from network node Information is detected.Such as between master controller and motor driving plate, when master controller sends control letter to motor driving plate After breath, motor driving plate sends reply message to master controller, if not detecting that motor driving plate is sent out to master controller The reply message sent, then now start timing.For another example between the two controllers, the first controller is sent out to second controller Control information is sent, second controller sends reply message to the first controller, if not detecting second controller to the The reply message that one controller is sent, then now start timing.Because in electric equipment, the communication of network node is not detected by Reply message is probably caused by having several factors, it is possible to and the communication reply message of the network node has been sent from, but by The radiation interference of frequency conversion equipment into surrounding environment etc., the transmission of signal of communication are affected or destroyed, signal of communication Next network node is not communicated to intactly, therefore does not detect the communication reply message of the network node, in this feelings Under condition, communicate and do not occur exception, also in the time of normal operation, often several seconds excessively between each network node, it is possible to Communication reply message is detected, if not detecting the communication reply message of the network node once, is just immediately consider that appearance Communication failure and report an error, then diagnostic result can be caused unreliable, increase is safeguarded and investigation cost, while largely influences Consumer's Experience, therefore, it is necessary to judge whether not detecting that the communication of network node replies all the time within continuous certain time Information, if not detecting the communication reply message of network node in the first preset time continuously, it is determined that network node There is communication abnormality.
For example, between master controller and motor driving plate, when master controller to motor driving plate send control information it Afterwards, motor driving plate sends reply message to master controller, if not detecting what motor driving plate was sent to master controller Reply message, then now start timing, so that the first preset time is 3 seconds as an example, if not detecting within continuous 3 seconds that motor drives The reply message that plate is sent to master controller, it is determined that communication abnormality occurs in motor driving plate network node.For another example at two Between controller, the first controller have sent control information to second controller, and second controller sends to the first controller and answered Complex information, if not detecting the reply message that second controller is sent to the first controller, now start timing, with One preset time is exemplified by 5 seconds, if not detecting within continuous 5 seconds that second controller is believed to the answer that the first controller is sent Breath, it is determined that communication abnormality occurs in second controller network node.
Step S104, if detecting that communication abnormality occurs in the network node in electric equipment, in interval preset time Afterwards diagnostic data is sent to network node.
Sending diagnostic data to network node after preset time is spaced includes:There is communication abnormality from determination network node Start timing;Judge to determine whether the time that communication abnormality occurs in network node reaches the second preset time;If it is determined that network The time that communication abnormality occurs in node reaches the second preset time, then sends diagnostic data to network node.
Sending diagnostic data to network node after preset time is spaced includes:At interval of a preset time to network section Point sends a diagnostic data;Whether detection network node has data to reply after diagnostic data is received includes:Judge sending out Send whether the diagnostic data of preset times receives data answer afterwards, wherein, if sending the diagnostic data of preset times Data answer is not received afterwards, it is determined that communication failure occurs in network node.
Due in electric equipment, some exceptions are can be with self-healing, such as the network section of some application program controllings Point, may during program updating or reconnect can self- recoverage, can in order to further improve diagnostic result By property, it is necessary to by diagnostic data come judge the network node in electric equipment whether failure, detecting in electric equipment After communication abnormality occurs in network node, diagnostic data is sent to network node again after certain interval of time, institute's interlude is used In the communication abnormality self- recoverage for waiting network node, that is, the timing since determining that communication abnormality occurs in network node, judge Determine whether the time that communication abnormality occurs in network node reaches the second preset time, if it is determined that it is different that communication occurs in network node The normal time reaches the second preset time, illustrates that communication abnormality does not have self- recoverage, then sends diagnostic data to network node.
Alternatively, the diagnostic data sent to network node whether there is communication failure for diagnostic network node.With Two preset times be 10 seconds exemplified by, in electric equipment, if detect that communication abnormality occurs in the network node in equipment, such as Between master controller and motor driving plate, after master controller sends control information to motor driving plate, motor driving plate Reply message is sent to master controller, if not detecting within continuous 3 seconds that motor driving plate is believed to the answer that master controller is sent Breath, it is determined that communication abnormality occurs in motor driving plate network node, after it's 10 seconds pasts timing determining communication abnormality occur Diagnostic data is sent to the motor driving plate again, wherein, diagnostic data includes but is not limited to the abnormal position of deagnostic communication, communication The time that abnormal type and communication abnormality occur.
Preferably, diagnostic data sends multiple, the network section for exceptional communication occur to confirm diagnostic data to be successfully sent to Point.
Whether step S106, detection network node have data answer after diagnostic data is received.
After detecting that communication abnormality occurs in the network node in electric equipment, to network node after preset time is spaced Diagnostic data is sent, after this, whether detection network node has data answer after diagnostic data is received.
Alternatively, in order to reduce influence of the radiation interference of the frequency conversion equipment in surrounding environment etc. to diagnostic result, diagnose Data can be transmitted by multi-signal type, as long as detecting that network node receives after receiving diagnostic data to any one To diagnostic data carried out data answer, be considered as network node has data answer after diagnostic data is received.
If receiving data answer, it is considered that the network node is not communication failure, for going out in network node Existing communication abnormality, it may be possible to temporary transient, often reparation easier than communication failure problem, for example, some communication abnormalities can be with Repaired by refreshing or restarting, recover normal by selfreparing as far as possible in this case, to reduce carrying for communication failure Show number, to improve the reliability of diagnostic result.
Step S108, if be not detected by network node has data answer after diagnostic data is received, it is determined that network There is communication failure in node.
If after detecting that communication abnormality occurs in the network node in electric equipment, to network after preset time is spaced Node sends diagnostic data, and after this, whether detection network node has data answer after diagnostic data is received, if do not had Detect that network node has data answer after diagnostic data is received, it is determined that communication failure occurs in network node.It is preferred that Ground, a diagnostic data is sent to network node at interval of certain time;Detect network node is after diagnostic data is received It is no to have data answer.
Preferably, in order to reduce the prompting number of communication failure, the treatment effeciency of communication failure is improved, is being not detected by net After having data answer after receiving diagnostic data, method also includes network node:The direction of the AB lines of network node is carried out Exchange;Judge after being exchanged to the direction of the AB lines of network node, it is extensive whether network node communicates in the 3rd preset time It is multiple normal;If network node communication recovery in the 3rd preset time is normal, it is determined that network node selfreparing;And such as Fruit network node communicates in the 3rd preset time does not recover normal, it is determined that network node communication failure.
In addition to communicating and breaking down really, if AB lines are reversed, also occur that network node is receiving diagnosis number The situation of data answer can not be carried out after, and it is relatively common the problem of AB lines are reversed, in order to ensure the reliability service of communication, Network node is not detected by after having data answer after receiving diagnostic data, in software to the side of the AB lines of network node To being exchanged, after being exchanged to the direction of AB lines, judge whether network node recovers after the 3rd preset time Normally.
That is, after detecting that communication abnormality occurs in the network node in electric equipment, to net after preset time is spaced Network node sends diagnostic data, does not detect that network node has data answer after diagnostic data is received, then to network section The direction of the AB lines of point is exchanged;So that the 3rd preset time is 1 minute as an example, after 1 minute, whether network node is judged Communication recovery is normal, if network node communication recovery in 1 minute is normal, it is determined that network node selfreparing, if net Network node communicated also normal without recovery after one minute, it is determined that network node communication failure.
Exchanged by the direction of the AB lines to network node, a number of communication failure can be repaired, improved The efficiency of communication failure processing, while the reliability of communication failure diagnosis is also improved, it ensure that communication reliability of operation.
Preferably, it is determined that sending failure message information after communication failure, message information can be sent to presets User, for example, by short message, either the mode such as application message is sent to user mobile phone or computer to phone, can also be at itself Shown on display, message information includes malfunction and type, and being judged whether according to malfunction and type can be certainly Repair.
As can be seen from the above description, the present invention is by detecting whether the network node in electric equipment leads to Letter is abnormal, if detecting that communication abnormality occurs in the network node in electric equipment, to network section after preset time is spaced Point sends diagnostic data, and whether detection network node has data answer after diagnostic data is received, if being not detected by network Node has data answer after diagnostic data is received, it is determined that communication failure occurs in network node, solves in electric equipment Communication failure diagnosis it is inaccurate the problem of.
Fig. 2 is the communication failure diagnostic method in electric equipment according to a second embodiment of the present invention, as shown in Fig. 2 should Method includes steps S201 to step S207:
Step S201:Judge communication abnormality whether more than 3 seconds.
In electric equipment, during normal work, real-time Communication for Power is being carried out between each network node, to realize the transmission of signal With the control of order, in order to find existing communication abnormality in electric equipment in time, it is necessary to answer the communication from network node Complex information is detected.Such as between master controller and motor driving plate, controlled when master controller is sent to motor driving plate After information, motor driving plate sends reply message to master controller, if not detecting motor driving plate in certain time The reply message sent to master controller, then illustrate now to communicate to be likely to occur exception.For another example between the two controllers, 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 is sent to the first controller is not detected, then illustrating now to communicate is likely to occur exception.Cause It is probably caused by having several factors in electric equipment, to be not detected by the communication reply message of network node, it is possible to should The communication reply message of network node has been sent from, but by the radiation interference of the frequency conversion equipment in surrounding environment etc., communication The transmission of signal is affected or destroyed, and signal of communication is not communicated to next network node intactly, therefore does not examine The communication reply message of the network node is measured, in this case, communication does not occur exception, is gone back between each network node In the time of normal operation, often several seconds excessively, it is possible to detect communication reply message, it is therefore desirable to wait the communication abnormality to be It is no to continue the regular hour, such as 3 seconds, if the communication abnormality duration more than 3 seconds, perform step S202, determine network Node communication abnormality.If the communication reply message of the network node was detected within 3 seconds, then it is assumed that network node does not have There is communication abnormality, if the duration of communication abnormality is not above 3 seconds, perform step S205, communication recovery is normal.Deng The time for treating 3 seconds be in order to etc. self- recoverage to be communicated, increase the reliability of diagnostic result, certainly, 3 seconds simply one embodiment, Time herein can also be other preset times, for example, 5 seconds or 2 minutes, according to specific network node difference Difference, the communication reply message of network node is not still detected only after more than preset time, just determine network node There is communication abnormality.
Step S202:Communication abnormality.
Specifically, exemplified by the communication between master controller and motor driving plate, when master controller is sent out to motor driving plate After sending control information, motor driving plate sends reply message to master controller, if not detecting motor driving plate to master The reply message that controller is sent, then now start timing, do not detect still motor driving plate to master control if having spent 3 seconds The reply message that device processed is sent, it is determined that communication abnormality occurs in motor driving plate network node.For another example two controllers it Between, the first controller have sent control information to second controller, and second controller sends reply message to the first controller, such as Fruit does not detect the reply message that second controller is sent to the first controller, then now starts timing, if spent 3 seconds according to So the reply message that second controller is sent to the first controller is not detected, it is determined that second controller network node occurs Communication abnormality.
Step S203:A frame diagnostic data frame is sent out again.
Due in electric equipment, some exceptions are can be with self-healing, such as the network section of some application program controllings Point, may during program updating or reconnect can self- recoverage, can in order to further improve diagnostic result By property, it is necessary to by diagnostic data come judge the network node in electric equipment whether failure.For example, it is determined that in electric equipment Network node there is communication abnormality after, then to network node a frame diagnostic data frame is sent, for the logical of diagnostic network node Whether letter breaks down, the diagnostic data in diagnostic data frame i.e. first embodiment in the present embodiment.
Alternatively, in electric equipment, if detect that communication abnormality occurs in the network node in equipment, such as in master control Between device and motor driving plate processed, after master controller sends control information to motor driving plate, motor driving plate is to master control Device processed sends reply message, if continuous 3 seconds do not detect the reply message that motor driving plate is sent to master controller, really Determine motor driving plate network node and communication abnormality occur, at this point it is possible to send a frame diagnostic data to the motor driving plate immediately Frame, the regular hour can also be waited, such as a frame diagnostic data frame is sent to the motor driving plate again after 10 seconds, wherein, Diagnostic data frame includes but is not limited to the abnormal position of deagnostic communication, the time of type and the communication abnormality generation of communication abnormality.
Alternatively, diagnostic data frame sends a frame at regular intervals, to confirm that diagnostic data frame is successfully sent to occur Whether the network node of exceptional communication, after this, detection network node have data answer after diagnostic data frame is received.
Alternatively, in order to reduce influence of the radiation interference of the frequency conversion equipment in surrounding environment etc. to diagnostic result, diagnose Data frame can be transmitted by multi-signal type, as long as detecting network node after diagnostic data frame is received to any one The diagnostic data frame that kind receives has carried out data answer, and be considered as network node has data to answer after diagnostic data is received It is multiple.
Step S204:Judge whether to recover proper communication.
It is determined that network node occurs sending diagnostic data frame to network node after communication abnormality, whether detection network node There is data answer, if receiving data answer, then it is assumed that the network node recovers proper communication, not communication failure, network The communication abnormality occurred in node is probably temporary transient, often reparation easier than communication failure problem, for example, some communications are different It can often be repaired by refreshing or restarting, recover normal by selfreparing as far as possible in this case, to reduce communication event The prompting number of barrier, to improve the reliability of diagnostic result.
If not detecting that the data of network node reply, illustrate that network node does not recover proper communication, perform step Rapid S206.
Step S205:Communication recovery is normal.
If after detecting that communication abnormality occurs in the network node in electric equipment, diagnostic data is sent to network node Whether frame, after this, detection network node have data answer after diagnostic data is received, if detecting that network node exists There is data answer after receiving diagnostic data, it is determined that network node recovers proper communication.
Step S206:Software inverts to communication.
In order to reduce the prompting number of communication failure, the treatment effeciency of communication failure is improved, if network node is receiving There is no data answer after to diagnostic data frame, communication is inverted using software, that is, the side of the AB lines to network node To being exchanged;Judge after being exchanged to the direction of the AB lines of network node, whether communication recovery is normal for network node;If Communication recovery is normal after network node inverts to communication, it is determined that network node selfreparing;If network node is not extensive It is multiple normal, it is determined that network node communication failure.
In addition to communicating and breaking down really, if AB lines are reversed, also occur that network node is receiving diagnosis number The situation of data answer can not be carried out after, and it is relatively common the problem of AB lines are reversed, in order to ensure the reliability service of communication, Network node is not detected by after having data answer after receiving diagnostic data, in software to the side of the AB lines of network node To being exchanged, after being exchanged to the direction of AB lines, judge whether network node recovers normal.Preferably, to AB After the direction of line is exchanged, judge whether network node recovers normal again after spending the regular hour, for example, spending 1 minute again Judge whether network node recovers normal.
Step S207:Judge whether communication recovers.
After sending diagnostic data frame to network node, if not detecting that the data of network node reply, to network The direction of the AB lines of node is exchanged, and after 1 minute exchanged to the direction of AB lines, judges whether network node communicates Recover normal, if network node communication recovers normal, it is determined that network node has been repaired, if network node is after one minute Communication is also normal without recovery, it is determined that network node communication failure.
Exchanged by the direction of the AB lines to network node, a number of communication failure can be repaired, improved The efficiency of communication failure processing, while the reliability of communication failure diagnosis is also improved, it ensure that communication reliability of operation.
It should be noted that can be in such as one group of computer executable instructions the flow of accompanying drawing illustrates the step of Performed in computer system, although also, show logical order in flow charts, in some cases, can be with not The order being same as herein performs shown or described step.
Another aspect according to embodiments of the present invention, there is provided the communication failure diagnostic device in a kind of electric equipment, should The communication failure that communication failure diagnostic device in electric equipment can be used for performing in the electric equipment of the embodiment of the present invention is examined Disconnected method, the communication failure diagnostic method in the electric equipment of the embodiment of the present invention can also pass through the electrical equipment of the embodiment of the present invention Communication failure diagnostic device in equipment performs.
Fig. 3 is the schematic diagram of communication failure diagnostic device according to a third embodiment of the present invention, as shown in figure 3, the device Including:
First detection unit 10, for detecting whether the network node in electric equipment communication abnormality occurs.
Preferably, the first detection unit 10 includes:Detection module, for entering to the communication reply message from network node Row detection;Timing module, the time for the communication reply message to being not detected by network node carry out timing;Judge module, For judging whether continuously to be not detected by the communication reply message of network node in the first preset time;And determining module, If the communication reply message for being continuously not detected by network node in the first preset time, it is determined that network node occurs Communication abnormality.
In electric equipment, during normal work, real-time Communication for Power is being carried out between each network node, to realize the transmission of signal With the control of order, in order to find existing communication abnormality in electric equipment in time, it is necessary to by detection module to come automatic network section The communication reply message of point is detected.Such as between master controller and motor driving plate, when master controller drives to motor After plate sends control information, motor driving plate sends reply message to master controller, if not detecting motor driving plate The reply message that is sent to master controller, the then timing by timing module, judge module judge whether continuous certain All the time the communication reply message of network node is not detected in time, such as in continuous 3 seconds, if it is determined that module judges one Interior detection module of fixing time does not detect the communication reply message of network node all the time, then determines network section by determining module There is communication abnormality in point.
Transmitting element 20, for detecting that communication abnormality occurs in the network node in electric equipment in the first detection unit 10 When, send diagnostic data to network node after preset time is spaced.
Preferably, transmitting element 20 includes:Timing module, based on since determining that communication abnormality occurs in network node When;Judge module, for judging to determine whether the time that communication abnormality occurs in network node reaches the second preset time;Send mould Block, for if it is determined that the time that communication abnormality occurs in network node reach the second preset time, then to network node send examine Disconnected data.
Preferably, transmitting element 20 sends a diagnostic data at interval of a preset time to network node;Second inspection Unit 30 is surveyed to be used to judge that whether receiving data after the diagnostic data of preset times is sent replies, wherein, diagnosis unit 40, which are additionally operable to the second detection unit 30 after transmitting element 20 sends the diagnostic data of preset times, does not receive data and answers Determine that communication failure occurs in network node when multiple.
Transmitting element 20 whether there is communication failure to the diagnostic data that network node is sent for diagnostic network node.With Second preset time is exemplified by 10 seconds, in electric equipment, if the first detection unit 10 detects the network node in equipment There is communication abnormality, such as between master controller and motor driving plate, when master controller sends control letter to motor driving plate After breath, motor driving plate sends reply message to master controller, if continuous 3 seconds do not detect motor driving plate to master control The reply message that device processed is sent, it is determined that communication abnormality occurs in motor driving plate network node, and communication abnormality occur from determination opens Transmitting element 20 sends diagnostic data to the motor driving plate again after it's 10 seconds pasts beginning timing, and transmitting element 20 is pre- at interval of one If the time sends a diagnostic data to network node, that is, diagnostic data is sent repeatedly.
Second detection unit 30, for detecting whether network node has data answer after diagnostic data is received.It is preferred that Ground, the second detection unit 30 are used to judge that whether receiving data after the diagnostic data of preset times is sent replies.Wherein, It is considered as have received data recovery as long as receiving data after the diagnostic data of preset times is sent and replying.
After first detection unit 10 detects that communication abnormality occurs in the network node in electric equipment, by transmitting element 20 Diagnostic data is sent to network node, diagnostic data whether there is communication failure for diagnostic network node, and diagnostic data is sent Repeatedly, after this, network node is detected by the second detection unit 30 received and replied either with or without data after diagnostic data, also It is that the diagnostic data received is given to respond, after the diagnostic data that transmitting element 20 have sent certain number, the second inspection Survey unit 30 to judge whether to receive data answer, such as transmitting element 20 have sent the second detection unit after 15 diagnostic datas 30 detections reply either with or without data are received.
Diagnosis unit 40, for when being not detected by network node and having data answer after receiving diagnostic data, it is determined that There is communication failure in network node.
After communication abnormality occurs in the network node that the first detection unit 10 is detected in electric equipment, transmitting element 20 exists It is spaced after preset time and sends diagnostic data to network node, after this, the second detection unit 30 detection network node is connecing Whether there is data answer after receiving diagnostic data, if not detecting that network node there are data to answer after diagnostic data is received Multiple, then diagnosis unit 40 determines that communication failure occurs in network node.Preferably, transmitting element 20 at interval of certain time to network Node sends a diagnostic data, and whether detection network node has after diagnostic data is received after multiple diagnostic data is sent Data reply, if not detecting that the data of network node reply all the time, determine that network node occurs by diagnosis unit 40 Communication failure.
Preferably, device also includes:Unit is exchanged, for having being not detected by network node after diagnostic data is received After data reply, the direction of the AB lines of network node is exchanged;Judging unit, for judging in the AB to network node After the direction of line is exchanged, network node whether in the 3rd preset time communication recovery is normal;Wherein, diagnosis unit 40 is also used In when communication recovery is normal in the 3rd preset time for network node, network node selfreparing is determined;Exist in network node When communication does not recover normal in 3rd preset time, network node communication failure is determined.
Because the problem of AB lines are reversed is relatively common, in order to ensure the reliability service of communication, do not have in the second detection unit 30 Network node is detected after having data answer after receiving diagnostic data, by exchange unit in software to network node The directions of AB lines exchanged, exchange after unit exchanges to the direction of AB lines, judging unit judges that network node exists Whether recover normal after 3rd preset time.
That is, after communication abnormality occurs in the network node that the first detection unit 10 is detected in electric equipment, send single Member 20 sends diagnostic data after preset time is spaced to network node, and the second detection unit 30 does not detect that network node exists There is data answer after receiving diagnostic data, exchange unit and the direction of the AB lines of network node is exchanged;It is default with the 3rd Time is that after 1 minute, diagnosis unit 40 judges network node, and whether communication recovery is normal, if network section exemplified by 1 minute O'clock communication recovery is normal in 1 minute, and diagnosis unit 40 then determines network node selfreparing, if network node was at one minute After communicate also without recovering normal, then diagnosis unit 40 determines network node communication failure.
The present embodiment detects whether the network node in electric equipment communication abnormality occurs by the first detection unit 10, sends out When communication abnormality occurs in the network node for sending unit 20 to be detected in the first detection unit 10 in electric equipment, when interval is default Between after to network node send diagnostic data, the second detection unit 30 detection network node whether have after diagnostic data is received Data reply, and diagnosis unit 40 determines network when being not detected by network node and having data answer after receiving diagnostic data There is communication failure in node.The abnormal self-reparing capability of network node communication is improved, ensure that the reliability service of electric equipment.
The embodiment of the present invention additionally provides a kind of electric equipment, it is necessary to which explanation, the electric equipment include the present invention's Communication failure diagnostic device.The electric equipment of the embodiment of the present invention can be air conditioner or refrigerator.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific Hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (11)

  1. A kind of 1. communication failure diagnostic method in electric equipment, it is characterised in that including:
    Whether the network node in detection electric equipment there is communication abnormality;
    If detecting that communication abnormality occurs in the network node in the electric equipment, to the net after preset time is spaced Network node sends diagnostic data;
    Detect whether the network node has data answer after the diagnostic data is received;And
    If be not detected by the network node has data answer after the diagnostic data is received, it is determined that the network section There is communication failure in point.
  2. 2. according to the method for claim 1, it is characterised in that whether the network node in detection electric equipment communicates Exception includes:
    Communication reply message from the network node is detected;
    The time of communication reply message to being not detected by the network node carries out timing;
    Judge whether continuously to be not detected by the communication reply message of the network node in the first preset time;And
    If the communication reply message of the network node is continuously not detected by the first preset time, it is determined that the network There is communication abnormality in node.
  3. 3. according to the method for claim 1, it is characterised in that send and examine to the network node after preset time is spaced Disconnected data include:
    The timing since determining that communication abnormality occurs in the network node;
    Judge to determine whether the time that communication abnormality occurs in the network node reaches the second preset time;
    If it is determined that the time that communication abnormality occurs in the network node reaches second preset time, then to the network section Point sends diagnostic data.
  4. 4. according to the method for claim 1, it is characterised in that
    Sending diagnostic data to the network node after preset time is spaced includes:At interval of a preset time to the net Network node sends a diagnostic data;
    Detect whether the network node has data answer to include after the diagnostic data is received:Judge sending default time The data whether are received after several diagnostic datas to reply,
    Wherein, replied if not receiving the data after the diagnostic data of preset times is sent, it is determined that institute State network node and communication failure occur.
  5. 5. according to the method for claim 1, it is characterised in that receiving described examine being not detected by the network node After having data answer after disconnected data, methods described also includes:
    The direction of the AB lines of the network node is exchanged;
    Judge after being exchanged to the direction of the AB lines of the network node, whether the network node is in the 3rd preset time Communication recovery is normal;
    If network node communication recovery in the 3rd preset time is normal, it is determined that the network node has been reviewed one's lessons by oneself It is multiple;And
    If the network node communicates in the 3rd preset time does not recover normal, it is determined that the network node communication Failure.
  6. A kind of 6. communication failure diagnostic device in electric equipment, it is characterised in that including:
    First detection unit, for detecting whether the network node in electric equipment communication abnormality occurs;
    Transmitting element, for when detecting that communication abnormality occurs in the network node in the electric equipment, when interval is default Between after to the network node send diagnostic data;
    Second detection unit, for detecting whether the network node has data answer after the diagnostic data is received;With And
    Diagnosis unit, for when being not detected by the network node and having data answer after receiving the diagnostic data, really There is communication failure in the fixed network node.
  7. 7. device according to claim 6, it is characterised in that first detection unit includes:
    Detection module, for being detected to the communication reply message from the network node;
    Timing module, the time for the communication reply message to being not detected by the network node carry out timing;
    Judge module, for judging whether that the communication that the network node is continuously not detected by the first preset time replies letter Breath;And
    Determining module, if the communication reply message for being continuously not detected by the network node in the first preset time, Then determine that communication abnormality occurs in the network node.
  8. 8. device according to claim 6, it is characterised in that the transmitting element includes:
    Timing module, for the timing since determining that communication abnormality occurs in the network node;
    Judge module, for judging to determine whether the time that communication abnormality occurs in the network node reaches the second preset time;
    Sending module, for when it is determined that the time that communication abnormality occurs in the network node reaches second preset time, Diagnostic data is sent to the network node.
  9. 9. device according to claim 6, it is characterised in that
    The transmitting element is used to send a diagnostic data to the network node at interval of a preset time;
    Second detection unit is used to judge whether receive the number after the diagnostic data of preset times is sent According to answer,
    Wherein, the diagnosis unit is additionally operable to not receive the data after the diagnostic data of preset times is sent Determine that communication failure occurs in the network node during answer.
  10. 10. device according to claim 6, it is characterised in that described device also includes:
    Unit is exchanged, for being not detected by the network node after having data answer after receiving the diagnostic data, The direction of the AB lines of the network node is exchanged;And
    Judging unit, for judge to the direction of the AB lines of the network node exchange after, the network node whether Communication recovery is normal in 3rd preset time,
    Wherein, the diagnosis unit is additionally operable to when communication recovery is normal in the 3rd preset time for the network node, Determine network node selfreparing, the network node communicated in the 3rd preset time do not recover normal when, Determine the network node communication failure.
  11. 11. a kind of electric equipment, it is characterised in that diagnose dress including the communication failure any one of claim 6 to 10 Put.
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 CN105223949A (en) 2016-01-06
CN105223949B true 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)

Families Citing this family (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
CN108255091B (en) * 2016-12-29 2021-04-13 佛山市顺德区美的电热电器制造有限公司 Control method and device
CN107087285B (en) * 2017-04-18 2019-10-11 珠海格力电器股份有限公司 A kind of radio frequency interference detection method and device
CN107634890B (en) * 2017-09-05 2020-10-09 深圳市沃特沃德股份有限公司 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
CN113137690B (en) * 2021-03-03 2023-08-15 青岛海尔空调电子有限公司 Motor parameter configuration method and air conditioner
CN115046287B (en) * 2022-05-24 2023-12-08 珠海格力电器股份有限公司 Equipment interaction control method, device and system, air conditioner and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105223949A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105223949B (en) Electric equipment and its communication failure diagnostic method and device
CN107741078B (en) Detection device and detection method
CN109591025A (en) Computer room method for inspecting, device, electronic equipment and computer readable storage medium
CN103139011A (en) Integrated fault diagnosis and prognosis for in-vehicle communications
CN104044969A (en) Elevator fault early warning method and system
CN104678850B (en) A kind of method of vehicle mounted communication device intelligence self diagnosis
CN104735706A (en) Internet of Things terminal fault diagnosis method and device
CN104898485B (en) The localization method and device of household electrical appliance, server
US20100214075A1 (en) Apparatus and method for failure management of rfid middleware management system
CN114244686B (en) Communication fault detection method, device and system
CN110238878A (en) Self checking method and device for robot
WO2013159294A1 (en) A fast detecting and locating fault method for intercom system and a system thereof
CN115888001A (en) Fire hydrant water monitoring system based on Internet of things
CN110749046B (en) Air conditioner control method and device, air conditioner and computer readable storage medium
CN208953929U (en) A kind of remote on-line monitoring device
CN106453012A (en) Serial bus communication method and apparatus
CN101316202B (en) On-line diagnosis method and system of embedded software, embedded software device
CN110308712A (en) Fault detection method, electronic equipment and the terminal device of a kind of electronic equipment
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
CN110493247A (en) A kind of distribution terminal communication check method, system, equipment and computer media
CN109067567A (en) A kind of network communication method for diagnosing interruption
CN109633379A (en) The Fault Locating Method of electricity load management terminal
CN110057594A (en) Automotive diagnostic installation detection method, system, diagnostic clients end and computer media
CN113423084B (en) LoRa gateway and equipment pairing arrangement method and application in bridge pier impact detection
CN113992778B (en) Equipment detection method, device, chip and module equipment

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