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

Communication polarity control circuit and air conditioner Download PDF

Info

Publication number
CN103246210B
CN103246210B CN201210032105.6A CN201210032105A CN103246210B CN 103246210 B CN103246210 B CN 103246210B CN 201210032105 A CN201210032105 A CN 201210032105A CN 103246210 B CN103246210 B CN 103246210B
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.)
Active
Application number
CN201210032105.6A
Other languages
Chinese (zh)
Other versions
CN103246210A (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

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 adopted in 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 specifies, but when carrying out the communication between equipment and connecting, the interface that each product is drawn is different, or in engineering during wiring connection turn, all easily cause signal polarity to connect instead, and then cause the communication chip of air conditioner to occur communication failure.
Easily there is the problem of communication failure in the communication chip for air conditioner in correlation technique, not yet proposes effective solution at present.
Summary of the invention
Fundamental purpose of the present invention is the control circuit and the air conditioner that provide a kind of communication polarity, easily occurs the problem of communication failure with the communication chip solving air conditioner in prior art.
To achieve these goals, according to an aspect of the present invention, providing a kind of control circuit of communication polarity, comprising: relay, being arranged on the communication line that is connected with communication chip, for turning the communication polarity of communication line; And microprocessor, being connected respectively with relay with communication chip, whether occur communication polarity mistake for detecting communication chip, and the communication polarity of communication line being turned by pilot relay when communication polarity mistake appears in communication chip.
Further, relay is twin coil magnetic latching relay.
Further, microprocessor comprises: detection module, is connected with communication chip, whether receives identification first code for detecting communication chip in Preset Time; Judge module, be connected with detection module, for judging whether communication chip occurs communication polarity mistake, wherein, if the testing result of detection module is yes, then judge module judges that communication polarity mistake does not appear in communication chip, if the testing result of detection module is no, then judge module judges that communication polarity mistake appears in communication chip; And output module, be connected respectively with relay with judge module, for when judge module judges that communication polarity mistake appears in communication chip, output action signal to turn the connection status of relay, and then regulates the communication polarity of communication line.
Further, described actuating signal comprises the first signal and secondary signal, and control circuit also comprises: the first transistor, and the first end of the first transistor is connected with output module, second end of the first transistor is connected with the first coil of relay, for the conducting when receiving the first signal; And transistor seconds, the first end of transistor seconds is connected with output module, and the second end of transistor seconds is connected with the second coil of relay, for the conducting when receiving secondary signal.
Further, communication chip comprises the first communication chip and the second communication chip, relay comprises the first contact, second contact, 3rd contact, 4th contact, 5th contact and the 6th contact, wherein, first contact is connected with the first communication terminal of the first communication chip, 6th contact is connected with the second communication terminal of the first communication chip, second contact is all connected with the first communication terminal of the second communication chip with the 4th contact, 3rd contact is all connected with the second communication terminal of the second communication chip with the 5th contact, wherein, when the first transistor conducting, first contact is connected with the 3rd contact, 6th contact is connected with the 4th contact, when transistor seconds conducting, first contact is connected with the second contact, 6th contact is connected with the 5th contact.
Further, control circuit also comprises: the first diode, and the first end of the first diode is connected to direct supply, and the second end of the first diode is connected to first node, wherein, first node is the node between the second end of the first transistor and the first coil of relay; And second diode, the first end of the second diode is connected to direct supply, and the second end of the second diode is connected to Section Point, and wherein, Section Point is the node between the second end of transistor seconds and the second coil of relay.
Further, control circuit also comprises: the first resistance, between the first end being connected to the first diode and output module; And second resistance, between the first end being connected to the second diode and output module.
To achieve these goals, according to a further aspect in the invention, provide a kind of air conditioner, comprise the control circuit of any one communication polarity that foregoing of the present invention provides.
By the present invention, adopting and comprise the control circuit of the communication polarity of following structure: relay, being arranged on the communication line that is connected with communication chip, for turning the communication polarity of communication line, and microprocessor, be connected respectively with relay with communication chip, communication polarity mistake whether is there is for detecting communication chip, and the communication polarity of communication line turned by pilot relay when communication polarity mistake appears in communication chip, by arranging the relay of adjustable crossover polarity on the communication line be connected with communication chip, microprocessor is adopted to detect to judge whether communication chip occurs communication polarity mistake to communication chip, when there is communication polarity mistake in communication chip, the communication polarity of communication line turned by Microprocessor S3C44B0X relay, the signal polarity avoiding communication chip connects instead, to ensure that communication chip is in the normal state of communication polarity, easily there is the problem of communication failure in the communication chip solving air conditioner in prior art, and then reach the frequency reducing communication chip and occur communication failure, improve the effect of communication chip normal communication frequency.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the theory diagram of control circuit according to a first embodiment of the present invention;
Fig. 2 is the theory diagram of control circuit according to a second embodiment of the present invention; And
Fig. 3 is the physical circuit schematic diagram of the control circuit according to the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Fig. 1 is the theory diagram of control circuit according to a first embodiment of the present 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, is arranged on the communication line that is connected with communication chip, for turning the communication polarity of communication line; Microprocessor, is connected with relay respectively with communication chip, whether occur communication polarity mistake, and the communication polarity of communication line is turned by pilot relay when communication polarity mistake appears in communication chip for detecting communication chip.
Wherein, microprocessor comprises: detection module, judge module and output module, and detection module is connected with communication chip, whether receives identification first code for detecting communication chip in Preset Time; Judge module, be connected with detection module, for judging whether communication chip occurs communication polarity mistake, wherein, if the testing result of detection module is yes, then judge module judges that communication polarity mistake does not appear in communication chip, if the testing result of detection module is no, then judge module judges that communication polarity mistake appears in communication chip; Output module, is connected with relay respectively with judge module, and for when judge module judges that communication polarity mistake appears in communication chip, output action signal to turn the connection status of relay, and then regulates the communication polarity of communication line.Microprocessor is turned by the connection status of actuating signal to relay, to turn the communication polarity of communication line.When relay is twin coil magnetic latching relay, actuating signal comprises the first signal and secondary signal, and when output module exports the first signal, relay is in a kind of connection status, when output module exports secondary signal, relay is in another connection status.
For 485, CAN, the communication signal of the differential signals such as HBS, its signal wire is 2 cores, by adding a relay turned for polarity before signal wire incoming communication chip, when microprocessor judges go out communication chip there is communication polarity mistake time, the communication polarity of communication line turned by Microprocessor S3C44B0X relay, by the connection status of pilot relay, turn the communication polarity of communication line, communication polarity is made to reach the state that communication chip can be made normally to work, guarantee the correct communication signal of incoming communication chip, the signal polarity avoiding communication chip connects instead.
Fig. 2 is the theory diagram of control circuit according to a second embodiment of the present invention, as shown in Figure 2, in this embodiment, be illustrated with two communication chips, relay is arranged on the communication line between two communication chips, and the principle that communication polarity turned by control circuit pilot relay is identical with the principle provided in first embodiment of the invention.
Fig. 3 is the physical circuit schematic diagram of the control circuit according to the embodiment of the present 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, the first resistance R40 and the second resistance R39.
Wherein, the first end of the first transistor Q1 to be connected with the output module of microprocessor (not shown) by the first resistance R40, and second end of the first transistor Q1 is connected with the first coil of relay K 10; The first end of transistor seconds Q2 to be connected with the output module of microprocessor (not shown) by the second resistance R39, and second end of transistor seconds Q2 is connected with the second coil of relay; Relay K 10 comprises the first contact 6, contact 4, second, the 3rd contact 8, the 4th contact 9, the 5th contact 11 and the 6th contact 13, first contact 4 is connected with the first communication terminal of the first communication chip, 6th contact 13 is connected with the second communication terminal of the first communication chip, second contact 6 is all connected with the first communication terminal of the second communication chip with the 4th contact 9, and the 3rd contact 8 is all connected with the second communication terminal of the second communication chip with the 5th contact 11; The first end of the first diode D14 is connected to direct supply, and second end of the first diode D14 is connected to first node, and wherein, first node is the node between second end of the first transistor Q1 and the first coil of relay; The first end of the second diode D17 is connected to direct supply, and second end of the second diode D17 is connected to Section Point, and wherein, Section Point is the node between second end of transistor seconds Q2 and the second coil of relay.
Particularly, two coils that triode Q1, Q2 are relay K 10 provide drive current respectively, when control circuit needs the communication polarity of turning communication line, only trigger current need be provided can to make relay K 10 contact action.Polarity is the need of overturning by microprocessor judges process, arrange one in CAN communication agreement and identify first code, before each secured transmission of payload data, first send and identify first code, when certain receive the communication chip of CAN within a certain period of time (such as 5 seconds or 10 seconds) do not receive identify first code time, namely the microprocessor be connected with this communication chip judges line polarity mistake, and sending action signal is to relay.
When microprocessor judges goes out without the need to overturning communication polarity, microprocessor exports a CAN-RLY_SET signal, drive triode Q2 conducting, now coil " 1 " and " 16 " are triggered, relay K 10 action, the CANH of the first communication chip connects 2 pin of the second communication chip CN11 (that is, the CANH communication terminal of the second communication chip), the CANL communication terminal of the first communication chip connects 3 pin (that is, the CANL communication terminal of the second communication chip) of the second communication chip CN11; When microprocessor judges goes out to need upset during communication polarity, microprocessor exports a CAN-RLY_RST signal, drive triode Q1 conducting, now coil " 2 " and " 15 " are triggered, relay K 10 resets, (namely the CANH communication terminal of the first communication chip connects 3 pin of the second communication chip CN11, the CANL communication terminal of the second communication chip), (namely the CANL communication terminal of the first communication chip connects 2 pin of the second communication chip CN11, the CANH communication terminal of the second communication chip), achieve the nonpolarity communication of CAN communication.
In addition, the embodiment of the present invention additionally provides a kind of air conditioner, and this air conditioner can be any air conditioner with the control circuit of the communication polarity that the embodiment of the present invention provides.
By describing above and can finding out, the control circuit of the embodiment of the present invention achieves the function of turning of communication polarity, communications line mistake or communication interface definition error can be avoided in engineering and the unit communication failure caused, easily there is the problem of communication failure in the communication chip solving air conditioner in prior art, and then reach the frequency reducing communication chip and occur communication failure, improve the effect of communication chip normal communication frequency.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a control circuit for communication polarity, is connected with communication chip, it is characterized in that, described control circuit comprises:
Relay, is arranged on the communication line that is connected with described communication chip, for turning the communication polarity of described communication line; And
Microprocessor, be connected respectively with described relay with described communication chip, whether there is communication polarity mistake for detecting described communication chip, and control the communication polarity that described communication line turned by described relay when communication polarity mistake appears in described communication chip.
2. control circuit according to claim 1, is characterized in that, described relay is 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 first code for detecting described communication chip in Preset Time;
Judge module, be connected with described detection module, for judging whether described communication chip occurs communication polarity mistake, wherein, if the testing result of described detection module is yes, then described judge module judges that communication polarity mistake does not appear in described communication chip, if the testing result of described detection module is no, then described judge module judges that communication polarity mistake appears in described communication chip; And
Output module, is connected with described relay respectively with described judge module, and for when described judge module judges that communication polarity mistake appears in described communication chip, 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 the first signal and secondary signal, and described control circuit also comprises:
The first transistor (Q1), the first end of described the first transistor (Q1) is connected with described output module, second end of described the first transistor (Q1) is connected with the first coil of described relay, for the conducting when receiving described first signal; And
Transistor seconds (Q2), the first end of described transistor seconds (Q2) is connected with described output module, second end of described transistor seconds (Q2) is connected with the second coil of described relay, for the conducting when receiving described secondary signal.
5. control circuit according to claim 4, is characterized in that,
Described communication chip comprises the first communication chip and the second communication chip,
Described relay comprises the first contact (4), second contact (6), 3rd contact (8), 4th contact (9), 5th contact (11) and the 6th contact (13), wherein, described first contact (4) is connected with the first communication terminal of described first communication chip, described 6th contact (13) is connected with the second communication terminal of described first communication chip, described second contact (6) is all connected with the first communication terminal of described second communication chip with described 4th contact (9), described 3rd contact (8) is all connected with the second communication terminal of described second communication chip with described 5th contact (11),
Wherein,
When described the first transistor (Q1) conducting, described first contact (4) is connected with described 3rd contact (8), and described 6th contact (13) is connected with described 4th contact (9),
When described transistor seconds (Q2) conducting, described first contact (4) is connected with described second contact (6), and described 6th contact (13) is connected with described 5th contact (11).
6. control circuit according to claim 4, is characterized in that, also comprises:
First diode (D14), the first end of described first diode (D14) is connected to direct supply, second end of described first diode (D14) is connected to first node, wherein, described first node is the node between the second end of described the first transistor (Q1) and the first coil of described relay; And
Second diode (D17), the first end of described second diode (D17) is connected to direct supply, second end of described second diode (D17) is connected to Section Point, wherein, described Section Point is the node between the second end of described transistor seconds (Q2) and the second coil of described relay.
7. control circuit according to claim 6, is characterized in that, also comprises:
First resistance (R40), between the first end being connected to described first diode (D14) and described output module; And
Second resistance (R39), between the first end being connected to described second diode (D17) and described output module.
8. an air conditioner, is characterized in that, comprises the control circuit of the communication polarity according to any one of 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 CN103246210A (en) 2013-08-14
CN103246210B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342924B (en) * 2017-06-30 2020-01-21 珠海格力电器股份有限公司 Non-polar communication method and device of CAN and electronic equipment
CN111412630B (en) * 2020-04-22 2021-06-25 珠海格力电器股份有限公司 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

Also Published As

Publication number Publication date
CN103246210A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
US9787482B2 (en) Redundantly powered and daisy chained power over ethernet
CN101520744B (en) Self-checking serial communication system and self-checking method thereof
US10572428B2 (en) Bus system
WO2014165224A2 (en) Fault-tolerant loop for a communication bus
CN103246210B (en) Communication polarity control circuit and air conditioner
CN103384984A (en) Directing a power signal from a port power controller to one of multiple physical ports
US9984033B2 (en) Systems and methods for biasing a bus
CN103701665A (en) Line connection error detecting method and device
CN105141480A (en) Power over ethernet (PoE) switch test device, system and method
US11165252B2 (en) Method and apparatus for automatic detection and selection of power over ethernet and power over powered data lines
CN102394734B (en) RS 485 communication system with nonpolarized connection and control method thereof
US9094295B2 (en) Communication device, and wiring state detection method and non-transitory computer-readable medium storing program using communication device
CN104901813A (en) Power supply device and power supply system
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
EP3446443B1 (en) Detection of non-powered device (non-pd) on a power-over-ethernet port based on the data link state information
US9811496B2 (en) Method and apparatus for detecting interface connection between devices
US7543044B2 (en) Automatic configuration system
CN207543128U (en) A kind of communication equipment for being used to prevent RS485 equipment misconnection
CN107110911A (en) Fault-tolerant communications system
CN111625491A (en) Multi-machine serial communication device and method
CN210405303U (en) HPLC communication module communication interface circuit for electric energy meter and electric energy meter
KR101463692B1 (en) Communication connection apparatus for communication network node

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