CN108732452A - The communication detecting method and device of air-conditioning system and its current-loop communication circuit - Google Patents

The communication detecting method and device of air-conditioning system and its current-loop communication circuit Download PDF

Info

Publication number
CN108732452A
CN108732452A CN201810551798.7A CN201810551798A CN108732452A CN 108732452 A CN108732452 A CN 108732452A CN 201810551798 A CN201810551798 A CN 201810551798A CN 108732452 A CN108732452 A CN 108732452A
Authority
CN
China
Prior art keywords
time interval
level signal
persistently
threshold value
current
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
CN201810551798.7A
Other languages
Chinese (zh)
Other versions
CN108732452B (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.)
Guangdong Meizhi Compressor Co Ltd
Original Assignee
Guangdong Meizhi Compressor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Meizhi Compressor Co Ltd filed Critical Guangdong Meizhi Compressor Co Ltd
Priority to CN201810551798.7A priority Critical patent/CN108732452B/en
Publication of CN108732452A publication Critical patent/CN108732452A/en
Application granted granted Critical
Publication of CN108732452B publication Critical patent/CN108732452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Air Conditioning Control Device (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The present invention proposes the communication detecting method and device of a kind of air-conditioning system and its current-loop communication circuit, wherein method includes:In power-on of air conditioner, the indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside are controlled, high level signal is persistently exported in first time interval, low level signal is persistently exported in the second time interval;Judge the indoor of current-loop communication circuit or the receiving terminal of outside, in first time interval, whether the time for persistently receiving high level signal is more than preset first time interval threshold value, and in the second time interval, whether the time for persistently receiving low level signal is more than preset second time interval threshold value;If so, interprocess communication is opened in the indoor of control air-conditioning with outside;If it is not, then sending out fault cues, and control transmitting terminal optocoupler and persistently export low level signal, can accurate judgement current-loop communication circuit whether wiring faults.

Description

The communication detecting method and device of air-conditioning system and its current-loop communication circuit
Technical field
The present invention relates to air conditioner technical field more particularly to the communication detecting methods and dress of a kind of current-loop communication circuit It sets.
Background technology
Split air conditioner includes indoor unit and outdoor unit, and indoor unit and outdoor unit exchange data by current loop circuit, To achieve the effect that airconditioning control.But the relevant technologies the problem is that, since communicating circuit only needs other than power cord Again plus a signal line will result in the electronic device damage of current loop circuit but if wrong line when wiring.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of communication detecting method of current-loop communication circuit, with reality It is existing.
Second object of the present invention is to propose a kind of apparatus communication detection device of current-loop communication circuit.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 5th purpose of the present invention is to propose a kind of air-conditioning system.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of communication detection side of current-loop communication circuit Method, including:In power-on of air conditioner, the indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside are controlled, at first Between interval in persistently export high level signal, persistently export low level signal in the second time interval;Judge the electric current loop The indoor of communicating circuit or the receiving terminal of outside persistently receive the high level letter in the first time interval Number time whether be more than preset first time interval threshold value, and in second time interval, persistently receive described Whether the time of low level signal is more than preset second time interval threshold value, and the first time interval threshold value is equal to or small In the first time interval, the second time interval threshold value is equal to or less than second time interval;If so, control Interprocess communication is opened in the indoor and outside for making the air-conditioning;If it is not, then sending out fault cues, and control the transmitting terminal light Coupling persistently exports the low level signal.
Communication detecting method according to the ... of the embodiment of the present invention controls the interior of current-loop communication circuit in power-on of air conditioner The transmitting terminal optocoupler of side or outside, persistently exports high level signal in first time interval, is held in the second time interval Continuous output low level signal, then judges the indoor of current-loop communication circuit or the receiving terminal of outside, between first time Whether it is more than preset first time interval threshold value every the interior time for persistently receiving high level signal, and in the second time interval Whether the time for persistently receiving low level signal is more than preset second time interval threshold value, if so, the room of control air-conditioning Interprocess communication is opened in inside with outside, if it is not, then sending out fault cues, and controls transmitting terminal optocoupler and persistently exports low level letter Number.As a result, the detection method of the embodiment of the present invention can accurate judgement current-loop communication circuit whether wiring faults, and in electric current When loop circuit wiring faults, current-loop communication circuit is not protected.
According to one embodiment of present invention, in the power-on of air conditioner, by the detection number zeros data of storage;It is described If it is not, fault cues are then sent out, including:If it is not, the detection number data are then added one, and in described detection number data etc. When preset frequency threshold value, the fault cues are sent out.
According to one embodiment of present invention, it is described the detection number data are added one after, further include:In the inspection When surveying number data less than the preset frequency threshold value, the transmitting terminal optocoupler is controlled again, in the first time interval The high level signal is inside persistently exported, the low level signal is persistently exported in second time interval.
According to one embodiment of present invention, when sending out the fault cues, start timing and generate the first timing number According to;When first chronometric data is equal to preset first time threshold, by the detection number zeros data of storage, and Again the transmitting terminal optocoupler is controlled, the high level signal is persistently exported in the first time interval, described second The low level signal is persistently exported in time interval.
According to one embodiment of present invention, when sending out the fault cues, start timing and generate the second timing number According to;When second chronometric data is equal to preset second time threshold, the transmitting terminal optocoupler is controlled again, described the The high level signal is persistently exported in one time interval, and the low level letter is persistently exported in second time interval Number.
According to one embodiment of present invention, the first time interval threshold value accounts for the percentage of the first time interval More than 20%, and it is less than 60%;And/or the second time interval threshold value accounts for the percentage of second time interval and is more than 20%, and it is less than 60%.
According to one embodiment of present invention, the preset frequency threshold value is more than 1, and is less than 30.
In order to achieve the above objectives, a kind of communication detection for current-loop communication circuit that second aspect of the present invention embodiment proposes Device, including:First control module controls the indoor or outside of current-loop communication circuit in power-on of air conditioner Transmitting terminal optocoupler, persistently exports high level signal in first time interval, and low level is persistently exported in the second time interval Signal;Judgment module, the receiving terminal of indoor or outside for judging the current-loop communication circuit, at described first Between in interval, whether the time for persistently receiving the high level signal is more than preset first time interval threshold value, and in institute It states in the second time interval, whether the time for persistently receiving the low level signal is more than preset second time interval threshold Value, the first time interval threshold value are equal to or less than the first time interval, and the second time interval threshold value is equal to Or it is less than second time interval;If so, the second control module of triggering, if it is not, then triggering third control module;Second Interprocess communication is opened in control module, the indoor for controlling the air-conditioning with outside;Third control module, for sending out event Barrier prompt, and control the transmitting terminal optocoupler and persistently export the low level signal.
The apparatus communication detection device of current-loop communication circuit according to the ... of the embodiment of the present invention, by the first control module in air-conditioning When powering on, the indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside are controlled, is continued in first time interval defeated Go out high level signal, low level signal is persistently exported in the second time interval, judgment module judges current-loop communication circuit The receiving terminal of indoor or outside, in first time interval, whether the time for persistently receiving high level signal is more than in advance If first time interval threshold value, and in the second time interval, persistently receive low level signal time whether be more than it is pre- If the second time interval threshold value, if so, triggering the second control module, the second control module control air-conditioning indoor and room Interprocess communication is opened in outside, if it is not, then triggering third control module, third control module sends out fault cues, and controls transmission End optocoupler persistently exports low level signal.The detection device of the embodiment of the present invention being capable of accurate judgement electric current loop communication electricity as a result, Road whether wiring faults, and in current loop circuit wiring faults, current-loop communication circuit is not protected.
According to one embodiment of present invention, the first control module is additionally operable to:In the power-on of air conditioner, by the inspection of storage Survey number zeros data;Third control module is specifically used for:The detection number data are added one, and in the detection number number When according to equal to preset frequency threshold value, the fault cues are sent out.
According to one embodiment of present invention, the first control module is additionally operable to:It is less than in the detection number data described When preset frequency threshold value, the transmitting terminal optocoupler is controlled again, and the high electricity is persistently exported in the first time interval Ordinary mail number persistently exports the low level signal in second time interval.
According to one embodiment of present invention, the first control module is additionally operable to:When sending out the fault cues, start to count When and generate the first chronometric data;When first chronometric data is equal to preset first time threshold, described in storage Number zeros data is detected, and controls the transmitting terminal optocoupler again, the height is persistently exported in the first time interval Level signal persistently exports the low level signal in second time interval.
According to one embodiment of present invention, the first control module is additionally operable to:When sending out the fault cues, start to count When and generate the second chronometric data;When second chronometric data is equal to preset second time threshold, again described in control Transmitting terminal optocoupler persistently exports the high level signal in the first time interval, is held in second time interval The continuous output low level signal.
According to one embodiment of present invention, the first time interval threshold value accounts for the percentage of the first time interval More than 20%, and it is less than 60%;And/or the second time interval threshold value accounts for the percentage of second time interval and is more than 20%, and it is less than 60%.
According to one embodiment of present invention, the preset frequency threshold value is more than 1, and is less than 30.
In order to achieve the above objectives, third aspect present invention embodiment propose a kind of electronic equipment, memory, processor and It is stored in the computer program that can be run on the memory and on the processor, the processor executes described program, To realize the communication detecting method of the current-loop communication circuit.
In order to achieve the above objectives, a kind of non-transitory computer-readable storage medium that fourth aspect present invention embodiment proposes Matter is stored thereon with computer program, which is executed by processor, for realizing the logical of the current-loop communication circuit Interrogate detection method.
In order to achieve the above objectives, a kind of air-conditioning system that fifth aspect present invention embodiment proposes, including the electric current The apparatus communication detection device of ring communicating circuit.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of the communication detecting method of the current-loop communication circuit of the embodiment of the present invention;
Fig. 2 is the block diagram of the air-conditioning system of one embodiment of the invention;
Fig. 3 is the flow chart of the communication detecting method of the current-loop communication circuit of a specific embodiment of the invention;
Fig. 4 is the block diagram of the apparatus communication detection device of the current-loop communication circuit of the embodiment of the present invention;
Fig. 5 is the block diagram of the air-conditioning system of the embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Illustrate the air-conditioning system in the embodiment of the present invention below with reference to Fig. 2.As shown in Fig. 2, the host 10 of air-conditioning system It is connected by current-loop communication circuit 30 with the slave 20 of air-conditioning system, the host 10 of air-conditioning system passes through firewire L, zero curve respectively N and data line S are connected with current-loop communication circuit 30, and the slave 20 of air-conditioning system also passes through firewire L, zero curve N and data respectively Line S is connected with current-loop communication circuit 30.Wherein, the host 10 of air-conditioning system can be in the indoor unit or outdoor unit of air-conditioning system One, the slave 20 of air-conditioning system can be the indoor unit of air-conditioning system or another in outdoor unit, in other words, when indoor unit is When the host 10 of air-conditioning system, outdoor unit is the slave 20 of air-conditioning system, indoor when outdoor unit is the host 10 of air-conditioning system Machine be air-conditioning system slave 20, current-loop communication circuit 30 include four optocouplers, one group of each two optocoupler respectively with indoor unit It is connected with outdoor unit, in other words, a transmitting terminal for current-loop communication circuit indoor in two optocouplers being connected with indoor unit Optocoupler, another is the receiving terminal optocoupler of current-loop communication circuit indoor, and one is in two optocouplers being connected with outdoor unit The transmitting terminal optocoupler of current-loop communication circuit outside, another is the receiving terminal optocoupler of current-loop communication circuit outside, when When indoor unit is the host 10 of air-conditioning system and slave 20 that outdoor unit is air-conditioning system, the hair of current-loop communication circuit indoor Sending end optocoupler sends signal, and the receiving terminal optocoupler of current-loop communication circuit outside receives signal, when outdoor unit is air-conditioning system Host 10 and indoor unit be air-conditioning system slave 20 when it is on the contrary.
Specifically, in 100 course of work of air-conditioning system, pass through the fixed duty of 10 transmitting terminal of host output of air-conditioning system The square wave of ratio, then this square wave by current-loop communication circuit 30 two optocouplers (transmitting terminal optocoupler of host computer side and from pusher side Receiving terminal optocoupler), air-conditioning system slave 20 receiving terminal formed feedback waveform, according to the wiring feelings of air-conditioning system 100 Condition, when the host 10 of air-conditioning system sends high level, the receiving terminal of the slave 20 of air-conditioning system is according to wiring condition difference energy Enough receive different signals:
When wiring is correct, the receiving terminal of L-L, N-N, S-S, the slave 20 of air-conditioning system receive high level signal;
When wiring error:
The receiving terminal of L-N, N-L, S-S, the slave 20 of air-conditioning system receive 50Hz square waves;
The receiving terminal of L-L, N-S, S-N, the slave 20 of air-conditioning system receive low level signal;
The receiving terminal of L-S, N-N, S-L, the slave 20 of air-conditioning system receive low level signal;
The receiving terminal of L-S, N-L, S-N, the slave 20 of air-conditioning system receive low level signal;
The receiving terminal of L-N, N-S, S-L, the slave 20 of air-conditioning system receive low level signal.
It follows that the wiring only between the host 10 and current-loop communication circuit 30 of air-conditioning system and electric current loop communication When wiring between circuit 30 and the slave of air-conditioning system 20 is correct, the receiving terminal of the slave 20 of air-conditioning system can receive with The 10 identical signal of host of air-conditioning system.
Based on this, the communication detecting method that the present invention proposes a kind of current-loop communication circuit breathes out current-loop communication circuit Apparatus communication detection device.
Below with reference to the accompanying drawings communication detecting method and the electric current loop for describing the current-loop communication circuit of the embodiment of the present invention are logical Interrogate the apparatus communication detection device of circuit.
The flow chart of the communication detecting method for the current-loop communication circuit that Fig. 1 is provided by the embodiment of the present invention.Such as Fig. 1 institutes Show, the communication detecting method of the current-loop communication circuit of the embodiment of the present invention includes the following steps:
S1:In power-on of air conditioner, the indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside are controlled, first High level signal is persistently exported in time interval, and low level signal is persistently exported in the second time interval.
Wherein, first time interval and the second time interval be alternately.
S2:Judge that the indoor of current-loop communication circuit or the receiving terminal of outside persistently connect in first time interval Whether the time for receiving high level signal is more than preset first time interval threshold value, and in the second time interval, persistently connects Whether the time for receiving low level signal is more than preset second time interval threshold value.
Wherein, first time interval threshold value be equal to or less than first time interval, the second time interval threshold value be equal to or Person is less than the second time interval.
It should be understood that when the indoor of electric current loop is transmitting terminal optocoupler, the room of corresponding current-loop communication circuit Outside is receiving terminal optocoupler, and when the outside of electric current loop is transmitting terminal optocoupler, corresponding current-loop communication circuit indoor is Receiving terminal optocoupler.
S3:If the receiving terminal of outside persistently receives the time of high level signal more than default in first time interval First time interval threshold value, and the time for persistently receiving in the second time interval low level signal be more than preset second Interprocess communication is opened in time interval, the then indoor and outside for controlling air-conditioning.
S4:If the receiving terminal in outside persistently receives the time of high level signal less than preset in first time interval The time that low level signal is persistently received in first time interval threshold value or the second time interval is less than preset second time Interval, then send out fault cues, and control transmitting terminal optocoupler and persistently export low level signal.
That is, by taking the indoor of current-loop communication circuit is transmitting terminal optocoupler as an example.In power-on of air conditioner, control electricity The transmitting terminal optocoupler for flowing the indoor of ring communicating circuit, persistently exports high level signal in first time interval, then the Low level signal is persistently exported in two time intervals, the receiving terminal of the outside of current-loop communication circuit persistently receives signal, sentences For the receiving terminal of disconnected outside in first time interval, whether the time for persistently receiving high level signal is more than preset first Time interval threshold value, and in the second time interval, whether the time for persistently receiving low level signal is more than preset second Time interval threshold value, if the receiving terminal of outside persistently receives the time of high level signal more than pre- in first time interval If first time interval threshold value, and the time for persistently receiving in the second time interval low level signal be more than preset the Two time intervals then judge that the wiring of current-loop communication circuit is correct, control the indoor of air-conditioning opened with outside communicate into Journey, if the time that the receiving terminal of outside persistently receives high level signal in first time interval is less than preset first Between persistently receive time of low level signal in interval threshold or the second time interval and be less than preset second time interval, then Judge current-loop communication circuit wiring faults, send out fault cues, and control transmitting terminal optocoupler and persistently export low level signal, makes Current-loop communication circuit disconnects, to prevent indoor unit or outdoor unit to be damaged.
It should be understood that when current loop circuit wiring is correct, the signal that the optocoupler of electric current loop receiving terminal receives is answered The signal that optocoupler identical or electric current loop receiving terminal as the signal that the optocoupler of electric current loop transmitting terminal is sent receives should be with electric current loop The signal identical time that transmitting terminal optocoupler is sent is more than preset time interval, when the optocoupler that electric current loop connects receiving terminal receives The signal that sends of optocoupler of signal and electric current loop transmitting terminal different time when being more than preset time interval, then show electric current Loop circuit wiring faults.
As a kind of feasible embodiment, the step S4 in above-described embodiment can further include:If it is not, will then detect number number According to adding one, and when detecting number data and being equal to preset frequency threshold value, send out fault cues;It is less than in detection number data pre- If frequency threshold value when, again control transmitting terminal optocoupler, high level signal is persistently exported in first time interval, at second Between interval in persistently export low level signal.
Further, the step S1 in above-described embodiment further includes:In power-on of air conditioner, by the detection number data of storage It resets.
That is, when carrying out communication detection to current-loop communication circuit, need to carry out current-loop communication circuit more Secondary communication detection, to prevent from judging by accident.Wherein, preset frequency threshold value is more than 1 and is less than 30.
Specifically, in power-on of air conditioner, by the detection number zeros data of storage, current-loop communication circuit is then controlled The transmitting terminal optocoupler of indoor or outside, persistently exports high level signal in first time interval, in the second time interval Low level signal is inside persistently exported, the indoor of current-loop communication circuit or the receiving terminal of outside are then judged, at first Between in interval, whether the time for persistently receiving high level signal is more than preset first time interval threshold value, and at second Between interval in, persistently receive low level signal time whether be more than preset second time interval, if between first time Every interior, the time for persistently receiving high level signal is less than preset first time interval threshold value, or in the second time interval, When persistently receiving time of low level signal and being less than preset second time interval threshold value, detection number data are added one, and Judge whether current detection number data are equal to preset frequency threshold value, if current detection number data are equal to preset number Threshold value then judges current-loop communication circuit wiring faults, sends out fault cues, and controls transmitting terminal optocoupler and persistently export low level Signal controls transmitting terminal optocoupler, between first time again if current detection number data are less than preset frequency threshold value High level signal is persistently exported every interior, low level signal is persistently exported in the second time interval, is recycled with this.
Further, when sending out fault cues, start timing and generate the first chronometric data;In first chronometric data etc. When preset first time threshold, by the detection number zeros data of storage, and transmitting terminal optocoupler is controlled again, at first Between interval in persistently export high level signal, persistently export low level signal in the second time interval.
That is, the communication detection in current-loop communication circuit is concurrently out of order prompt to current-loop communication circuit failure When, start timing and generate the first chronometric data, whether the first chronometric data of real-time judge is equal to first time threshold, when first When chronometric data is equal to preset first time threshold, by the detection number zeros data of storage, and transmitting terminal light is controlled again Coupling persistently exports high level signal in first time interval, second electrical level signal is persistently exported in the second time interval, i.e., When the first chronometric data is equal to preset first time threshold, restart to carry out communication detection to current-loop communication circuit.
As another embodiments possible, the step S4 in above-described embodiment may also include:When sending out fault cues, Start timing and generates the second chronometric data;When the second chronometric data is equal to preset second time threshold, control again is sent out Sending end optocoupler, persistently exports high level signal in first time interval, and low level letter is persistently exported in the second time interval Number.
That is, detecting current loop circuit wiring error by the communication detecting method of current loop circuit and sending out event When barrier prompt, starts timing and generate the second chronometric data, when the second chronometric data is equal to preset second time threshold, weight New control transmitting terminal optocoupler, high level signal is persistently exported in first time interval, is persistently exported in the second time interval Low level signal is detecting that current loop circuit wiring faults are concurrently out of order after prompt by detection method in other words, can not be right Testing result carries out multiple authentication, and by being detected again to current loop circuit after being spaced second time threshold.
In above-mentioned implementation, the percentage that first time interval threshold value accounts for first time interval is more than 20%, and is less than 60%;And/or second time interval threshold value account for the second time interval percentage be more than 20%, and be less than 60%.
Below with reference to the accompanying drawings 3 come describe the present invention a specific embodiment.In embodiments of the present invention, between first time Every can be 100ms, the second time interval can be 900ms, and first time interval threshold value and the second time interval threshold value are equal and be 30ms, preset frequency threshold value are 3 times, and preset time threshold can be 100s.
Specifically, the communication detecting method of the current loop circuit of the embodiment of the present invention, includes the following steps:
S101:Power-on of air conditioner.
S102:By pre-stored detection number zeros data.
S103:The indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside are controlled, in first time interval High level signal is persistently exported, low level signal is persistently exported in the second time interval.
S104:In first time interval, the indoor of current-loop communication circuit or the receiving terminal of outside are judged, continue Whether the time for receiving high level signal is more than preset first time interval threshold value.
If so, thening follow the steps S105;If it is not, thening follow the steps S107.
S105:In the second time interval, judge that whether receiving terminal persistently receives the time of low level signal more than pre- If the second time interval threshold value.
If so, thening follow the steps S106;If it is not, thening follow the steps S107.
S106:Interprocess communication is opened in the indoor and outside for controlling air-conditioning.
S107:Detection number data are added one, and judge to detect whether number data are equal to preset times threshold value.
If so, thening follow the steps S108;If it is not, then return to step S103.
S108:Fault cues are sent out, in time and generated time data, control transmitting terminal optocoupler export low level signal.
S109:Judge whether time data is equal to preset time threshold.
If so, return to step S102;If it is not, then return to step S109.
In conclusion communication detecting method according to the ... of the embodiment of the present invention, in power-on of air conditioner, control electric current loop communication electricity The indoor on road or the transmitting terminal optocoupler of outside, persistently export high level signal, in the second time in first time interval Low level signal is persistently exported in interval, then judges the indoor of current-loop communication circuit or the receiving terminal of outside, the Whether the time that high level signal is persistently received in one time interval is more than preset first time interval threshold value, and when second Between be spaced in persistently receive low level signal time whether be more than preset second time interval threshold value, if so, control Interprocess communication is opened in the indoor of air-conditioning with outside, if it is not, then sending out fault cues, and controls transmitting terminal optocoupler and persistently exports Low level signal.As a result, the detection method of the embodiment of the present invention can accurate judgement current-loop communication circuit whether wiring faults, And in current loop circuit wiring faults, current-loop communication circuit is not protected.
Fig. 4 is the block diagram of the apparatus communication detection device of the current-loop communication circuit of the embodiment of the present invention.
As shown in figure 4, the apparatus communication detection device 30 of the current-loop communication circuit of the embodiment of the present invention includes:First control mould Block 31, judgment module 32, the second control module 33 and third control module 34.
Wherein, the first control module 31 is used in power-on of air conditioner, controls the indoor or outdoor of current-loop communication circuit The transmitting terminal optocoupler of side, persistently exports high level signal in first time interval, is persistently exported in the second time interval low Level signal;Judgment module 32 is used to judge the indoor of current-loop communication circuit or the receiving terminal of outside, at the first time In interval, whether the time for persistently receiving high level signal is more than preset first time interval threshold value, and in the second time In interval, whether the time for persistently receiving low level signal is more than preset second time interval threshold value, first time interval Threshold value is equal to or less than first time interval, and the second time interval threshold value is equal to or less than the second time interval;If so, The second control module is triggered, if it is not, then triggering third control module;Second control module 33 be used to control the indoor of air-conditioning with Open interprocess communication in outside;Third control module 34 for sending out fault cues, and control transmitting terminal optocoupler persistently export it is low Level signal.
Further, in a kind of possible realization method of the embodiment of the present invention, the first control module 31 is additionally operable to:? When power-on of air conditioner, by the detection number zeros data of storage;Third control module is specifically used for:Detection number data are added one, And when detecting number data equal to preset frequency threshold value, send out fault cues.
Further, in a kind of possible realization method of the embodiment of the present invention, the first control module 31 is additionally operable to:? When detecting number data less than preset frequency threshold value, transmitting terminal optocoupler is controlled again, is persistently exported in first time interval High level signal persistently exports low level signal in the second time interval.
Further, the first control module 31 is additionally operable to:When sending out fault cues, starts timing and generate the first timing Data;When the first chronometric data is equal to preset first time threshold, by the detection number zeros data of storage, and control again Transmitting terminal optocoupler processed, persistently exports high level signal in first time interval, and low electricity is persistently exported in the second time interval Ordinary mail number.
Further, first time interval threshold value account for first time interval percentage be more than 20%, and be less than 60%; And/or second time interval threshold value account for the second time interval percentage be more than 20%, and be less than 60%.
Further, preset frequency threshold value is more than 1, and is less than 30.
It should be noted that the explanation of the aforementioned communication detecting method embodiment to current-loop communication circuit is also suitable In the apparatus communication detection device of the current-loop communication circuit of the embodiment, details are not described herein again.
Based on above-described embodiment, the embodiment of the present invention additionally provides a kind of apparatus communication detection device of current-loop communication circuit Possible realization method, on the basis of a upper embodiment, the first control module 31 is additionally operable to:When sending out fault cues, open Beginning timing simultaneously generates the second chronometric data;When the second chronometric data is equal to preset second time threshold, control again is sent Optocoupler is held, high level signal is persistently exported in first time interval, low level signal is persistently exported in the second time interval.
In conclusion the apparatus communication detection device of current-loop communication circuit according to the ... of the embodiment of the present invention, passes through the first control Module controls the indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside, between first time in power-on of air conditioner High level signal is persistently exported every interior, low level signal is persistently exported in the second time interval, judgment module judges electric current loop The indoor of communicating circuit or the receiving terminal of outside persistently receive the time of high level signal in first time interval Whether it is more than preset first time interval threshold value, and in the second time interval, persistently receives the time of low level signal Whether preset second time interval threshold value is more than, if so, the second control module of triggering, the second control module control air-conditioning Interprocess communication is opened in indoor with outside, if it is not, then triggering third control module, third control module sends out fault cues, And it controls transmitting terminal optocoupler and persistently exports low level signal.The detection device of the embodiment of the present invention being capable of accurate judgement electricity as a result, Flow ring communicating circuit whether wiring faults, and in current loop circuit wiring faults, current-loop communication circuit is not protected.
In order to realize that above-described embodiment, the present invention also propose a kind of electronic equipment, including:Memory, processor and storage On the memory and the computer program that can run on the processor, the processor executes described program, with reality The communication detecting method of existing current-loop communication circuit above-mentioned.
In order to realize that above-described embodiment, the present invention also propose a kind of non-transitorycomputer readable storage medium, the program It is executed by processor, for realizing the communication detecting method of current-loop communication circuit as the aforementioned.
In order to realize above-described embodiment, as shown in figure 5, the present invention also proposes a kind of air-conditioning system 100, including electricity above-mentioned Flow the apparatus communication detection device 30 of ring communicating circuit.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.Such as, if realized in another embodiment with hardware, following skill well known in the art can be used Any one of art or their combination are realized:With for data-signal realize logic function logic gates from Logic circuit is dissipated, the application-specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (17)

1. a kind of communication detecting method of current-loop communication circuit, which is characterized in that include the following steps:
In power-on of air conditioner, the indoor of current-loop communication circuit or the transmitting terminal optocoupler of outside are controlled, between first time High level signal is persistently exported every interior, low level signal is persistently exported in the second time interval;
Judge the indoor of the current-loop communication circuit or the receiving terminal of outside, in the first time interval, continues Whether the time for receiving the high level signal is more than preset first time interval threshold value, and in second time interval Interior, whether the time for persistently receiving the low level signal is more than preset second time interval threshold value, the first time Interval threshold is equal to or less than the first time interval, and the second time interval threshold value is equal to or less than described second Time interval;
If so, controlling indoor and the outside unlatching interprocess communication of the air-conditioning;
If it is not, then sending out fault cues, and controls the transmitting terminal optocoupler and persistently export the low level signal.
2. communication detecting method according to claim 1, which is characterized in that further include:
In the power-on of air conditioner, by the detection number zeros data of storage;
It is described if it is not, then send out fault cues, including:
If it is not, the detection number data are then added one, and when the detection number data are equal to preset frequency threshold value, hair Go out the fault cues.
3. communication detecting method according to claim 2, which is characterized in that it is described by the detection number data add one it Afterwards, further include:
When the detection number data are less than the preset frequency threshold value, the transmitting terminal optocoupler is controlled again, described The high level signal is persistently exported in first time interval, and the low level letter is persistently exported in second time interval Number.
4. communication detecting method according to claim 2, which is characterized in that further include:
When sending out the fault cues, starts timing and generate the first chronometric data;
When first chronometric data is equal to preset first time threshold, by the detection number zeros data of storage, And the transmitting terminal optocoupler is controlled again, the high level signal is persistently exported in the first time interval, described The low level signal is persistently exported in two time intervals.
5. communication detecting method according to claim 1, which is characterized in that further include:
When sending out the fault cues, starts timing and generate the second chronometric data;
When second chronometric data is equal to preset second time threshold, the transmitting terminal optocoupler is controlled again, described The high level signal is persistently exported in first time interval, and the low level letter is persistently exported in second time interval Number.
6. communication detecting method according to claim 2, which is characterized in that the first time interval threshold value accounts for described The percentage of one time interval is more than 20%, and is less than 60%;And/or
The percentage that the second time interval threshold value accounts for second time interval is more than 20%, and is less than 60%.
7. communication detecting method according to claim 2, which is characterized in that the preset frequency threshold value is more than 1, and small In 30.
8. a kind of apparatus communication detection device of current-loop communication circuit, which is characterized in that including:
First control module, in power-on of air conditioner, controlling the indoor of current-loop communication circuit or the transmitting terminal of outside Optocoupler persistently exports high level signal in first time interval, and low level signal is persistently exported in the second time interval;
Judgment module, the receiving terminal of indoor or outside for judging the current-loop communication circuit, at described first Between in interval, whether the time for persistently receiving the high level signal is more than preset first time interval threshold value, and in institute It states in the second time interval, whether the time for persistently receiving the low level signal is more than preset second time interval threshold Value, the first time interval threshold value are equal to or less than the first time interval, and the second time interval threshold value is equal to Or it is less than second time interval;If so, the second control module of triggering, if it is not, then triggering third control module;
Interprocess communication is opened in second control module, the indoor for controlling the air-conditioning with outside;
Third control module for sending out fault cues, and controls the transmitting terminal optocoupler and persistently exports the low level signal.
9. apparatus communication detection device according to claim 8, which is characterized in that the first control module is additionally operable to:
In the power-on of air conditioner, by the detection number zeros data of storage;
Third control module is specifically used for:
The detection number data are added one, and when the detection number data are equal to preset frequency threshold value, are sent out described Fault cues.
10. apparatus communication detection device according to claim 9, which is characterized in that the first control module is additionally operable to:
When the detection number data are less than the preset frequency threshold value, the transmitting terminal optocoupler is controlled again, described The high level signal is persistently exported in first time interval, and the low level letter is persistently exported in second time interval Number.
11. apparatus communication detection device according to claim 9, which is characterized in that the first control module is additionally operable to:
When sending out the fault cues, starts timing and generate the first chronometric data;
When first chronometric data is equal to preset first time threshold, by the detection number zeros data of storage, And the transmitting terminal optocoupler is controlled again, the high level signal is persistently exported in the first time interval, described The low level signal is persistently exported in two time intervals.
12. apparatus communication detection device according to claim 8, which is characterized in that the first control module is additionally operable to:
When sending out the fault cues, starts timing and generate the second chronometric data;
When second chronometric data is equal to preset second time threshold, the transmitting terminal optocoupler is controlled again, described The high level signal is persistently exported in first time interval, and the low level letter is persistently exported in second time interval Number.
13. requiring apparatus communication detection device described in 9 according to power, which is characterized in that the first time interval threshold value accounts for described the The percentage of one time interval is more than 20%, and is less than 60%;And/or
The percentage that the second time interval threshold value accounts for second time interval is more than 20%, and is less than 60%.
14. requiring the apparatus communication detection device described in 9 according to power, which is characterized in that the preset frequency threshold value is more than 1, and small In 30.
15. a kind of electronic equipment, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute The computer program run on processor is stated, the processor executes described program, to realize such as any one of claim 1-7 institutes The communication detecting method for the current-loop communication circuit stated.
16. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program It is executed by processor, for realizing the communication detecting method such as claim 1-7 any one of them current-loop communication circuits.
17. a kind of air-conditioning system, which is characterized in that include such as claim 8-14 any one of them current-loop communication circuits Apparatus communication detection device.
CN201810551798.7A 2018-05-31 2018-05-31 Air conditioning system and communication detection method and device of current loop communication circuit of air conditioning system Active CN108732452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810551798.7A CN108732452B (en) 2018-05-31 2018-05-31 Air conditioning system and communication detection method and device of current loop communication circuit of air conditioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810551798.7A CN108732452B (en) 2018-05-31 2018-05-31 Air conditioning system and communication detection method and device of current loop communication circuit of air conditioning system

Publications (2)

Publication Number Publication Date
CN108732452A true CN108732452A (en) 2018-11-02
CN108732452B CN108732452B (en) 2020-05-15

Family

ID=63931223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810551798.7A Active CN108732452B (en) 2018-05-31 2018-05-31 Air conditioning system and communication detection method and device of current loop communication circuit of air conditioning system

Country Status (1)

Country Link
CN (1) CN108732452B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110749046A (en) * 2019-10-31 2020-02-04 广东美的制冷设备有限公司 Control method and device of air conditioner, air conditioner and computer readable storage medium
CN110848934A (en) * 2019-11-22 2020-02-28 广州视源电子科技股份有限公司 Test system for current loop communication circuit and air conditioner
CN111230324A (en) * 2019-11-15 2020-06-05 济南邦德激光股份有限公司 Anti-collision control method and anti-collision control device for laser cutting head
CN111580175A (en) * 2020-04-28 2020-08-25 无锡小天鹅电器有限公司 Infrared signal processing method and device and household appliance
CN112443939A (en) * 2019-09-04 2021-03-05 青岛海尔空调电子有限公司 Outdoor unit active detection method for communication miswiring of indoor unit and outdoor unit of air conditioner
WO2021042948A1 (en) * 2019-09-04 2021-03-11 青岛海尔空调电子有限公司 Active indoor unit detection method used for communication miswiring between indoor and outdoor units of air conditioner
CN114963477A (en) * 2022-06-07 2022-08-30 海信空调有限公司 Outdoor unit, communication control method thereof and air conditioner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080095046A1 (en) * 2006-10-24 2008-04-24 Samsung Gwangju Electronics Co., Ltd. Apparatus and method for detecting a communication abnormality in a multi-type air conditioner
CN103091573A (en) * 2011-11-03 2013-05-08 珠海格力电器股份有限公司 Testing method, testing device and testing system of air conditioner
CN103837820A (en) * 2012-11-27 2014-06-04 广东美的制冷设备有限公司 Communication detecting method and system for electric current loop communication circuit
CN103837821A (en) * 2012-11-27 2014-06-04 广东美的制冷设备有限公司 Communication detecting method and system for electric current loop communication circuit
CN106199381A (en) * 2016-07-04 2016-12-07 深圳创维空调科技有限公司 The automatic testing method of convertible frequency air-conditioner mainboard and device
CN107741078A (en) * 2017-09-28 2018-02-27 广东美的制冷设备有限公司 Detection means and detection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080095046A1 (en) * 2006-10-24 2008-04-24 Samsung Gwangju Electronics Co., Ltd. Apparatus and method for detecting a communication abnormality in a multi-type air conditioner
CN103091573A (en) * 2011-11-03 2013-05-08 珠海格力电器股份有限公司 Testing method, testing device and testing system of air conditioner
CN103837820A (en) * 2012-11-27 2014-06-04 广东美的制冷设备有限公司 Communication detecting method and system for electric current loop communication circuit
CN103837821A (en) * 2012-11-27 2014-06-04 广东美的制冷设备有限公司 Communication detecting method and system for electric current loop communication circuit
CN106199381A (en) * 2016-07-04 2016-12-07 深圳创维空调科技有限公司 The automatic testing method of convertible frequency air-conditioner mainboard and device
CN107741078A (en) * 2017-09-28 2018-02-27 广东美的制冷设备有限公司 Detection means and detection method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112443939A (en) * 2019-09-04 2021-03-05 青岛海尔空调电子有限公司 Outdoor unit active detection method for communication miswiring of indoor unit and outdoor unit of air conditioner
WO2021042949A1 (en) * 2019-09-04 2021-03-11 青岛海尔空调电子有限公司 Active outdoor unit detection method used for communication miswiring between indoor and outdoor units of air conditioner
WO2021042948A1 (en) * 2019-09-04 2021-03-11 青岛海尔空调电子有限公司 Active indoor unit detection method used for communication miswiring between indoor and outdoor units of air conditioner
CN110749046A (en) * 2019-10-31 2020-02-04 广东美的制冷设备有限公司 Control method and device of air conditioner, air conditioner and computer readable storage medium
CN110749046B (en) * 2019-10-31 2023-08-25 广东美的制冷设备有限公司 Air conditioner control method and device, air conditioner and computer readable storage medium
CN111230324A (en) * 2019-11-15 2020-06-05 济南邦德激光股份有限公司 Anti-collision control method and anti-collision control device for laser cutting head
CN110848934A (en) * 2019-11-22 2020-02-28 广州视源电子科技股份有限公司 Test system for current loop communication circuit and air conditioner
CN111580175A (en) * 2020-04-28 2020-08-25 无锡小天鹅电器有限公司 Infrared signal processing method and device and household appliance
CN114963477A (en) * 2022-06-07 2022-08-30 海信空调有限公司 Outdoor unit, communication control method thereof and air conditioner

Also Published As

Publication number Publication date
CN108732452B (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN108732452A (en) The communication detecting method and device of air-conditioning system and its current-loop communication circuit
US7535687B2 (en) Alarm system sensor topology apparatus and method
CN107078499B (en) Detect the ground connection isolated fault in Ethernet PoDL system
KR101559885B1 (en) Power over ethernet on data pairs and spare pairs
CN104821886B (en) For the method and system via four lines in Ethernet cable to supply electric power
US7505819B2 (en) Redundant fieldbus system
US7705741B2 (en) Detection of a broken wire between power sourcing equipment and a powered device
CN104106236B (en) To four pairs of detections for being powered equipment
CN103947159B (en) Selfreparing communication network
EP2760165B1 (en) Systems and methods to detect bus network fault and topology
EP1001554B1 (en) Line shunt and ground fault detection apparatus and method
CN107409055B (en) POE four-pair active detection device and method
US9037918B2 (en) Systems and methods to detect bus network fault and topology
US11372796B2 (en) Bus subscriber and method for operating a bus subscriber
WO2007121162A1 (en) Alarm system sensor topology apparatus and method
EP3182641A1 (en) Remote powering system and method
JP6556801B2 (en) Fault tolerant power network
US10222411B2 (en) Grounding safety control point monitoring method, measuring circuit and equipment grounding measuring system
CN208999785U (en) Safe adapter and tandem type safe control loop
CN206894659U (en) A kind of reverse power supply device
CN108958019A (en) Safe adapter, tandem type safe control loop and method of controlling security
CN114285439B (en) Current loop communication circuit and air conditioner
CN106954290A (en) The determination methods and semiconductor microwave firing equipment of power
CN107522051B (en) Elevator short-circuit door lock plugging assembly and plugging method thereof
JP3060035B2 (en) Terminal receiving circuit

Legal Events

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