CN103246210A - Communication polarity control circuit and air conditioner - Google Patents

Communication polarity control circuit and air conditioner Download PDF

Info

Publication number
CN103246210A
CN103246210A CN2012100321056A CN201210032105A CN103246210A CN 103246210 A CN103246210 A CN 103246210A CN 2012100321056 A CN2012100321056 A CN 2012100321056A CN 201210032105 A CN201210032105 A CN 201210032105A CN 103246210 A CN103246210 A CN 103246210A
Authority
CN
China
Prior art keywords
communication
contact
communication chip
relay
polarity
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
CN2012100321056A
Other languages
Chinese (zh)
Other versions
CN103246210B (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 CN201210032105.6A priority Critical patent/CN103246210B/en
Publication of CN103246210A publication Critical patent/CN103246210A/en
Application granted granted Critical
Publication of CN103246210B publication Critical patent/CN103246210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a communication polarity control circuit and an air conditioner. The control circuit comprises a relay and a microprocessor, wherein the relay is arranged on a communication line which is connected with a communication chip and used for turning the communication polarity of the communication line; and the microprocessor is connected with the communication chip and the relay respectively and used for detecting whether communication polarity errors occur to the communication chip, and controls the relay to turn the communication polarity of the communication line when the communication polarity errors occur to the communication chip. According to the communication polarity control circuit and the air conditioner, the problem that communication faults are prone to happen to the communication chip of an air conditioner in the prior art is solved, and further the effects of reducing the occurring frequency of the communication faults of the communication chip and improving the normal communication frequency of the communication chip are achieved.

Description

The control circuit of communication polarity and air conditioner
Technical field
The present invention relates to circuit field, in particular to a kind of control circuit and air conditioner of communication polarity.
Background technology
The communication signal that adopts in the existing air-conditioner system mostly is 2 core differential signals, as 485 communications, CAN communication, HBS communication etc.Because the communication chip interface polarity of 2 core differential signals is stipulated, but when the communication connection of carrying out between the equipment, the interface that each product is drawn is different, or on the engineering during wiring connection turn, all cause signal polarity to connect instead easily, and then cause the communication chip of air conditioner communication failure to occur.
Occur the problem of communication failure easily at the communication chip of air conditioner in the correlation technique, do not propose effective solution at present as yet.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of control circuit and air conditioner of communication polarity, occurs the problem of communication failure easily with the communication chip that solves air conditioner in the prior art.
To achieve these goals, according to an aspect of the present invention, provide a kind of control circuit of communication polarity, having comprised: relay, be arranged on communication line that communication chip is connected on, be used for the communication polarity of turning communication line; And microprocessor, be connected respectively with relay with communication chip, whether the communication incorrect polarity appears for detection of communication chip, and the communication polarity that pilot relay is turned communication line when the communication incorrect polarity appears in communication chip.
Further, relay is the twin coil magnetic latching relay.
Further, microprocessor comprises: detection module, be connected with communication chip, and in Preset Time, whether receive identification head sign indicating number for detection of communication chip; Judge module, be connected with detection module, be used for judging whether communication chip the communication incorrect polarity occurs, wherein, if the testing result of detection module is for being, then judge module judges that the communication incorrect polarity does not appear in communication chip, if the testing result of detection module is not, then judge module judges that the communication incorrect polarity appears in communication chip; And output module, be connected respectively with relay with judge module, be used for when judge module judges that the communication incorrect polarity appears in communication chip, the output action signal to be turning the connection status of relay, and then regulates the communication polarity of communication line.
Further, described actuating signal comprises first signal and secondary signal, and control circuit also comprises: the first transistor, and first end of the first transistor is connected with output module, second end of the first transistor is connected with first coil of relay, is used for conducting when receiving first signal; And transistor seconds, first end of transistor seconds is connected with output module, and second end of transistor seconds is connected with second coil of relay, is used for conducting when receiving secondary signal.
Further, communication chip comprises first communication chip and second communication chip, relay comprises first contact, second contact, the 3rd contact, the 4th contact, the 5th contact and the 6th contact, wherein, first contact is connected with first communication terminal of first communication chip, the 6th contact is connected with second communication terminal of first communication chip, second contact all is connected with first communication terminal of second communication chip with the 4th contact, the 3rd contact all is connected with second communication terminal of second communication chip with the 5th contact, wherein, when the first transistor conducting, first contact is connected with the 3rd contact, and the 6th contact is connected with the 4th contact, when the transistor seconds conducting, first contact is connected with second contact, and the 6th contact is connected with the 5th contact.
Further, control circuit also comprises: first diode, and first end of first diode is connected in direct supply, and second end of first diode is connected in first node, wherein, first node is the node between first coil of second end of the first transistor and relay; And second diode, first end of second diode is connected in direct supply, and second end of second diode is connected in Section Point, and wherein, Section Point is the node between second coil of second end of transistor seconds and relay.
Further, control circuit also comprises: first resistance is connected between first end and output module of first diode; And second resistance, be connected between first end and output module of second diode.
To achieve these goals, according to a further aspect in the invention, provide a kind of air conditioner, comprised the control circuit of any one communication polarity that foregoing of the present invention provides.
By the present invention, adopt the control circuit of the communication polarity comprise following structure: relay, be arranged on communication line that communication chip is connected on, be used for the communication polarity of turning communication line; And microprocessor, be connected respectively with relay with communication chip, whether the communication incorrect polarity appears for detection of communication chip, and the communication polarity that pilot relay is turned communication line when the communication incorrect polarity appears in communication chip, by the relay of adjustable crossover polarity is set at the communication line that is connected with communication chip, adopt microprocessor that communication chip is detected to judge whether communication chip the communication incorrect polarity occurs, when the communication incorrect polarity appears in communication chip, the microprocessor pilot relay is turned the communication polarity of communication line, avoided the signal polarity of communication chip to connect instead, to guarantee that communication chip is in the normal state of communication polarity, solved the problem that communication failure appears in the communication chip of air conditioner easily in the prior art, and then reached and reduce the frequency that communication failure appears in communication chip, improve the effect of communication chip normal communication frequency.
Description of drawings
The accompanying drawing that constitutes the application's a part is used to provide further understanding of the present invention, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not constitute improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the theory diagram according to the control circuit of first embodiment of the invention;
Fig. 2 is the theory diagram according to the control circuit of second embodiment of the invention; And
Fig. 3 is the physical circuit schematic diagram according to the control circuit of the embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 is the theory diagram according to the control circuit of first embodiment of the invention, and as shown in Figure 1, the control circuit of the communication polarity of first embodiment of the invention comprises relay and microprocessor.
Particularly, relay, be arranged on communication line that communication chip is connected on, be used for the communication polarity of turning communication line; Microprocessor is connected respectively with relay with communication chip, the communication incorrect polarity whether occurs for detection of communication chip, and the communication polarity that pilot relay is turned communication line when the communication incorrect polarity appears in communication chip.
Wherein, microprocessor comprises: detection module, judge module and output module, and detection module is connected with communication chip, whether receives identification head sign indicating number for detection of communication chip in Preset Time; Judge module, be connected with detection module, be used for judging whether communication chip the communication incorrect polarity occurs, wherein, if the testing result of detection module is for being, then judge module judges that the communication incorrect polarity does not appear in communication chip, if the testing result of detection module is not, then judge module judges that the communication incorrect polarity appears in communication chip; Output module is connected respectively with relay with judge module, is used for when judge module judges that the communication incorrect polarity appears in communication chip, and the output action signal to be turning the connection status of relay, and then regulates the communication polarity of communication line.Microprocessor is turned the connection status of relay by actuating signal, to turn the communication polarity of communication line.When relay is the twin coil magnetic latching relay, actuating signal comprises first signal and secondary signal, and when output module was exported first signal, relay was in a kind of connection status, when output module output secondary signal, relay is in another connection status.
For 485, CAN, the communication signal of differential signals such as HBS, its signal wire is 2 cores, be used for the relay that polarity is turned by before signal wire incoming communication chip, adding one, when microprocessor judges goes out communication chip and the communication incorrect polarity occurs, the microprocessor pilot relay is turned the communication polarity of communication line, connection status by pilot relay, turn the communication polarity of communication line, make communication polarity reach the state that can make the communication chip operate as normal, guarantee the correct communication signal of incoming communication chip, avoided the signal polarity of communication chip to connect instead.
Fig. 2 is the theory diagram according to the control circuit of second embodiment of the invention, as shown in Figure 2, in this embodiment, be illustrated with two communication chips, relay is arranged on two communication lines between the communication chip, and the principle that provides in the principle that the control circuit pilot relay is turned communication polarity and the first embodiment of the invention is identical.
Fig. 3 is the physical circuit schematic diagram according to the control circuit of the embodiment of the invention, as shown in Figure 3, be illustrated with two communication chips in this embodiment, the control circuit of this embodiment comprises twin coil magnetism holding type relay K 10, the first transistor Q1, transistor seconds Q2, the first diode D14, the second diode D17, first resistance R 40 and second resistance R 39.
Wherein, first end of the first transistor Q1 is by first resistance R 40 (not shown) that is connected with the output module of microprocessor, and second end of the first transistor Q1 is connected with first coil of relay K 10; First end of transistor seconds Q2 is by second resistance R 39 (not shown) that is connected with the output module of microprocessor, and second end of transistor seconds Q2 is connected with second coil of relay; Relay K 10 comprises first contact 4, second contact 6, the 3rd contact 8, the 4th contact 9, the 5th contact 11 and the 6th contact 13, first contact 4 is connected with first communication terminal of first communication chip, the 6th contact 13 is connected with second communication terminal of first communication chip, second contact 6 all is connected with first communication terminal of second communication chip with the 4th contact 9, and the 3rd contact 8 all is connected with second communication terminal of second communication chip with the 5th contact 11; First end of the first diode D14 is connected in direct supply, and second end of the first diode D14 is connected in first node, and wherein, first node is the node between first coil of second end of the first transistor Q1 and relay; First end of the second diode D17 is connected in direct supply, and second end of the second diode D17 is connected in Section Point, and wherein, Section Point is the node between second coil of second end of transistor seconds Q2 and relay.
Particularly, triode Q1, Q2 provide drive current respectively for two coils of relay K 10, when control circuit need be turned the communication polarity chron of communication line, only need provide trigger current can make the action of relay K 10 contacts.Whether polarity needs upset to be handled by microprocessor judges, an identification head of agreement sign indicating number in the CAN communications protocol, before each secured transmission of payload data, send identification head sign indicating number earlier, when certain communication chip of receiving CAN bus when (such as 5 seconds or 10 seconds) do not receive identification head sign indicating number within a certain period of time, the microprocessor that is connected with this communication chip is namely judged the line polarity mistake, sends actuating signal to relay.
When the microprocessor judges communication polarity chron that goes out need not to overturn, CAN-RLY_SET signal of microprocessor output, drive triode Q2 conducting, coil this moment " 1 " and " 16 " is triggered, relay K 10 actions, the CANH of first communication chip connects 2 pin (that is the CANH communication terminal of second communication chip) of the second communication chip CN11, the CANL communication terminal of first communication chip is connected 3 pin (that is the CANL communication terminal of second communication chip) of the second communication chip CN11; Communication polarity chron when microprocessor judges goes out to need upset, CAN-RLY_RST signal of microprocessor output, drive triode Q1 conducting, coil this moment " 2 " and " 15 " is triggered, relay K 10 resets, 3 pin that the CANH communication terminal of first communication chip is connected the second communication chip CN11 (namely, the CANL communication terminal of second communication chip), 2 pin that the CANL communication terminal of first communication chip is connected the second communication chip CN11 (namely, the CANH communication terminal of second communication chip), realized the nonpolarity communication of CAN communication.
In addition, the embodiment of the invention also provides a kind of air conditioner, and this air conditioner can be any air conditioner with control circuit of the communication polarity that the embodiment of the invention provides.
By above description as can be seen, the control circuit of the embodiment of the invention has been realized the function of turning of communication polarity, the unit communication failure that can avoid communication wiring error on the engineering or communication interface definition error and cause, solved the problem that communication failure appears in the communication chip of air conditioner easily in the prior art, and then reached and reduce the frequency that communication failure appears in communication chip, improve the effect of communication chip normal communication frequency.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the control circuit of a communication polarity is characterized in that, comprising:
Relay, be arranged on communication line that communication chip is connected on, be used for the communication polarity of turning described communication line; And
Microprocessor, be connected respectively with described relay with described communication chip, the communication incorrect polarity whether occurs for detection of described communication chip, and when the communication incorrect polarity appears in described communication chip, control the communication polarity that described relay is turned described communication line.
2. control circuit according to claim 1 is characterized in that, described relay is the twin coil magnetic latching relay.
3. control circuit according to claim 2 is characterized in that, described microprocessor comprises:
Detection module is connected with described communication chip, whether receives identification head sign indicating number for detection of described communication chip in Preset Time;
Judge module, be connected with described detection module, be used for judging whether described communication chip the communication incorrect polarity occurs, wherein, if the testing result of described detection module is for being, then described judge module judges that the communication incorrect polarity does not appear in described communication chip, if the testing result of described detection module is that then described judge module does not judge that the communication incorrect polarity appears in described communication chip; And
Output module is connected respectively with described relay with described judge module, is used for when described judge module judges that the communication incorrect polarity appears in described communication chip, and the output action signal is to turn the connection status of described relay.
4. control circuit according to claim 3 is characterized in that, described actuating signal comprises first signal and secondary signal, and described control circuit also comprises:
The first transistor (Q1), first end of described the first transistor (Q1) is connected with described output module, and second end of described the first transistor (Q1) is connected with first coil of described relay, is used for conducting when receiving described first signal; And
Transistor seconds (Q2), first end of described transistor seconds (Q2) is connected with described output module, and second end of described transistor seconds (Q2) is connected with second coil of described relay, is used for conducting when receiving described secondary signal.
5. control circuit according to claim 4 is characterized in that,
Described communication chip comprises first communication chip and second communication chip,
Described relay comprises first contact (4), second contact (6), the 3rd contact (8), the 4th contact (9), the 5th contact (11) and the 6th contact (13), wherein, described first contact (4) is connected with first communication terminal of described first communication chip, described the 6th contact (13) is connected with second communication terminal of described first communication chip, described second contact (6) all is connected with first communication terminal of described second communication chip with described the 4th contact (9), described the 3rd contact (8) all is connected with second communication terminal of described second communication chip with described the 5th contact (11)
Wherein,
When described the first transistor (Q1) conducting, described first contact (4) is connected with described the 3rd contact (8), and described the 6th contact (13) is connected with described the 4th contact (9),
When described transistor seconds (Q2) conducting, described first contact (4) is connected with described second contact (6), and described the 6th contact (13) is connected with described the 5th contact (11).
6. control circuit according to claim 4 is characterized in that, also comprises:
First diode (D14), first end of described first diode (D14) is connected in direct supply, second end of described first diode (D14) is connected in first node, wherein, described first node is the node between first coil of second end of described the first transistor (Q1) and described relay; And
Second diode (D17), first end of described second diode (D17) is connected in direct supply, second end of described second diode (D17) is connected in Section Point, wherein, described Section Point is the node between second coil of second end of described transistor seconds (Q2) and described relay.
7. control circuit according to claim 6 is characterized in that, also comprises:
First resistance (R40) is connected between first end and described output module of described first diode (D14); And
Second resistance (R39) is connected between first end and described output module of described second diode (D17).
8. an air conditioner is characterized in that, comprises the control circuit of each described communication polarity in the claim 1 to 7.
CN201210032105.6A 2012-02-13 2012-02-13 Communication polarity control circuit and air conditioner Active CN103246210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210032105.6A CN103246210B (en) 2012-02-13 2012-02-13 Communication polarity control circuit and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210032105.6A CN103246210B (en) 2012-02-13 2012-02-13 Communication polarity control circuit and air conditioner

Publications (2)

Publication Number Publication Date
CN103246210A true CN103246210A (en) 2013-08-14
CN103246210B CN103246210B (en) 2015-05-13

Family

ID=48925799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210032105.6A Active CN103246210B (en) 2012-02-13 2012-02-13 Communication polarity control circuit and air conditioner

Country Status (1)

Country Link
CN (1) CN103246210B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342924A (en) * 2017-06-30 2017-11-10 珠海格力电器股份有限公司 CAN nonpolarity communication means and device, electronic equipment
CN111412630A (en) * 2020-04-22 2020-07-14 珠海格力电器股份有限公司 Communication interface control circuit and air conditioning unit
CN112332887A (en) * 2020-11-24 2021-02-05 山东朗进科技股份有限公司 485 communication automatic switching circuit and control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201207647Y (en) * 2008-05-27 2009-03-11 青岛海科森科技有限公司 Two-wire system non-polarity master-slave type communication transceiver
CN101806487A (en) * 2010-03-12 2010-08-18 江苏蓝深远望系统集成有限公司 Two-wire power supply communication circuit of air conditioner controllers
CN201615567U (en) * 2010-03-12 2010-10-27 江苏蓝深远望系统集成有限公司 Two-wire power supply communication circuit of air-conditioner controller
CN102324952A (en) * 2011-09-30 2012-01-18 深圳麦克维尔空调有限公司 Non-polar two-line system communication circuit
CN202522868U (en) * 2012-02-13 2012-11-07 珠海格力电器股份有限公司 Communication polarity control circuit and air conditioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201207647Y (en) * 2008-05-27 2009-03-11 青岛海科森科技有限公司 Two-wire system non-polarity master-slave type communication transceiver
CN101806487A (en) * 2010-03-12 2010-08-18 江苏蓝深远望系统集成有限公司 Two-wire power supply communication circuit of air conditioner controllers
CN201615567U (en) * 2010-03-12 2010-10-27 江苏蓝深远望系统集成有限公司 Two-wire power supply communication circuit of air-conditioner controller
CN102324952A (en) * 2011-09-30 2012-01-18 深圳麦克维尔空调有限公司 Non-polar two-line system communication circuit
CN202522868U (en) * 2012-02-13 2012-11-07 珠海格力电器股份有限公司 Communication polarity control circuit and air conditioner

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342924A (en) * 2017-06-30 2017-11-10 珠海格力电器股份有限公司 CAN nonpolarity communication means and device, electronic equipment
CN107342924B (en) * 2017-06-30 2020-01-21 珠海格力电器股份有限公司 Non-polar communication method and device of CAN and electronic equipment
CN111412630A (en) * 2020-04-22 2020-07-14 珠海格力电器股份有限公司 Communication interface control circuit and air conditioning unit
CN112332887A (en) * 2020-11-24 2021-02-05 山东朗进科技股份有限公司 485 communication automatic switching circuit and control method

Also Published As

Publication number Publication date
CN103246210B (en) 2015-05-13

Similar Documents

Publication Publication Date Title
US9160451B2 (en) Active optical cable connector plug and active optical cable using same
US20140281079A1 (en) Fault-tolerant loop for a communication bus
US10572428B2 (en) Bus system
US10614013B2 (en) Input/output module for a bus system
CN103384184A (en) Transmitter circuit and method for controlling operation thereof
US8680712B2 (en) Power delivery over digital interaction interface for video and audio (DiiVA)
CN103178405A (en) Connecting device capable of detecting connecting states, electric connection assembly and electronic device
CN103246210B (en) Communication polarity control circuit and air conditioner
CN104090511B (en) Circuit and method for achieving non-polar 485 communication
CN102394734B (en) RS 485 communication system with nonpolarized connection and control method thereof
CN104901813B (en) For electric installation and electric power system
WO2018125761A1 (en) Method and apparatus for automatic detection and selection of power over ethernet and power over powered data lines
US20160217053A1 (en) Interpreting signals received from redundant buses
CN202522868U (en) Communication polarity control circuit and air conditioner
CN106154071A (en) A kind of device and method detecting intelligent electric energy meter RS485 bus failure
CN107979083B (en) Fault tolerant power network
CN216449904U (en) Communication protocol loop switching circuit
CN202795352U (en) Wiring method for recommend standard (RS) 232 interface and RS 485 interface
US7543044B2 (en) Automatic configuration system
CN209497473U (en) Loop bus automatic fault isolation device
US9811496B2 (en) Method and apparatus for detecting interface connection between devices
CN207543128U (en) A kind of communication equipment for being used to prevent RS485 equipment misconnection
CN204390224U (en) A kind of fault-tolerant master-slave synchronisation serial communication system based on FPGA
CN107770017A (en) The processing unit and method that a kind of CAN reversal connection can not communicate
CN111625491A (en) Multi-machine serial communication device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant