CN105425669A - Communication interface circuit, control method thereof and household appliance applying communication interface circuit - Google Patents

Communication interface circuit, control method thereof and household appliance applying communication interface circuit Download PDF

Info

Publication number
CN105425669A
CN105425669A CN201510790731.5A CN201510790731A CN105425669A CN 105425669 A CN105425669 A CN 105425669A CN 201510790731 A CN201510790731 A CN 201510790731A CN 105425669 A CN105425669 A CN 105425669A
Authority
CN
China
Prior art keywords
communication interface
external communication
interface
interface circuit
internal
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
CN201510790731.5A
Other languages
Chinese (zh)
Other versions
CN105425669B (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 CN201510790731.5A priority Critical patent/CN105425669B/en
Publication of CN105425669A publication Critical patent/CN105425669A/en
Application granted granted Critical
Publication of CN105425669B publication Critical patent/CN105425669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention connects different types of external communication interfaces to a multiplexer, leads out the external communication interfaces to an internal communication interface through one path, and controls the multiplexer to strobe different external communication interfaces by means of a controller in a round-flow mode so as to realize automatic matching and connection to interfaces of other equipment or networks.

Description

Communication interface circuit and control method thereof and apply its household electrical appliance
Technical field
The present invention relates to circuit engineering field, be specifically related to a kind of communication interface circuit and control method thereof and apply its household electrical appliance.
Background technology
Prior art provides multiple different communication standard to meet different control needs for electromechanical equipment, such as, for the standard interface RS232 interface of point-to-point asynchronous transmission, be suitable for CAN (controller local area network, the ControllerAreaNetwork) bus interface and the RS485 interface that build manufactureing automation LAN.
The internal control circuit of the electromechanical equipment of different model usually only based on a certain transmitting-receiving carrying out control data in communication interface, receiving/send control command, and feedback states data.And when manufacturing corresponding circuit block, in order to improve compatibility, usually the communication interface likely used can be set up in parallel on communication interface circuit.Again the internal communications interface that internal control circuit and corresponding needs use is connected when electromechanical equipment assembles.Such as, the equipment of different model may use RS232 interface and RS485 interface and CAN interface for the moment, the RS232 interface circuit that chain intermittent weld three is different on communication interface circuit, RS485 interface circuit and CAN interface circuit, thus, communication interface circuit has simultaneously the internal communications interface that three can connect internal control circuit.Be easy to connection error when assembling electromechanical equipment, the equipment assembled can not be used.
Summary of the invention
In view of this, the invention provides a kind of communication interface circuit and control method thereof and apply its household electrical appliance, avoid occurring mistake when carrying out Product Assembly while the multiple different communication interface of compatibility.
First aspect, the invention provides a kind of communication interface circuit, comprising:
Internal communications interface;
Multiple external communication interface;
MUX, is connected between described internal communications interface and described multiple external communication interface, for one of external communication interface multiple described in gating and described internal communications interface;
Controller, is connected with described internal communications interface, and is connected to the control end of described MUX, selects to be switched to the external communication interface that can receive tentation data for controlling described MUX.
Preferably, described multiple external communication interface is respectively different classes of communication interface.
Preferably, described multiple external communication interface is respectively the communication interface based on distinct communication standards.
Preferably, described communication interface circuit comprises three external communication interface, and described three external communication interface are respectively RS485 interface, CAN interface and RS232 interface.
Preferably, described tentation data is the data meeting communication standard corresponding to current external communication interface.
Preferably, described controller for controlling described MUX gate internal communication interface and different external communication interface in turn, until described controller receives tentation data by the external communication interface of current gating in the given time.
Second aspect, a kind of control method of communication interface circuit is provided, described communication interface circuit comprises internal communications interface, multiple external communication interface and for the MUX of one of multiple external communication interface of gating with described internal communications interface, and described control method comprises:
S1, control gate internal communication interface and current external communication interface;
If S2 does not receive tentation data in the given time, then using next external communication interface as current external communication interface, return S1;
If S3 receives tentation data in the given time, keep gate internal communication interface and current external communication interface.
Preferably, described tentation data is the data meeting communication standard corresponding to current external communication interface.
The third aspect, provides a kind of household electrical appliance, comprising:
Communication interface circuit as above;
Internal control circuit, for carrying out data transmit-receive by described communication interface circuit.
Preferably, described household electrical appliance are air-conditioning.
The embodiment of the present invention is by being connected to MUX by dissimilar external communication interface, and be drawn out to internal communications interface by means of only a road, rely on controller control MUX in turn the different external communication interface of gating and internal communications interface to realize the automatic interface selecting to be connected to miscellaneous equipment or network, thus, while the communication interface of external compatible number of different types, mounted inside only provides an interface to connect, and avoids when carrying out Product Assembly and occurs mistake.
Accompanying drawing explanation
By referring to the description of accompanying drawing to the embodiment of the present invention, above-mentioned and other objects, features and advantages of the present invention will be more clear, in the accompanying drawings:
Fig. 1 is the schematic diagram of the household electrical appliance of the embodiment of the present invention;
Fig. 2 is the block diagram of the communication interface circuit of the embodiment of the present invention;
Fig. 3 is the control flow chart of the controller of the communication interface circuit of the embodiment of the present invention.
Embodiment
Based on embodiment, present invention is described below, but the present invention is not restricted to these embodiments.In hereafter details of the present invention being described, detailedly describe some specific detail sections.Do not have the description of these detail sections can understand the present invention completely for a person skilled in the art yet.In order to avoid obscuring essence of the present invention, known method, process, flow process, element and circuit do not describe in detail.
In addition, it should be understood by one skilled in the art that the accompanying drawing provided at this is all for illustrative purposes, and accompanying drawing is not necessarily drawn in proportion.
Meanwhile, should be appreciated that in the following description, " circuit " refers to the galvanic circle connected and composed by electrical connection or electromagnetism by least one element or electronic circuit.When " being connected to " another element when claiming element or circuit or claiming element/circuit " to be connected to " between two nodes, it can be directly couple or be connected to another element or can there is intermediary element, the connection between element can be physically, in logic or its combine.On the contrary, " be directly coupled to " when claiming element or " being directly connected to " another element time, mean that both do not exist intermediary element.
Unless the context clearly requires otherwise, similar words such as " comprising ", " comprising " otherwise in whole instructions and claims should be interpreted as the implication that comprises instead of exclusive or exhaustive implication; That is, be the implication of " including but not limited to ".
In describing the invention, it is to be appreciated that term " inside ", " outside " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Fig. 1 is the schematic diagram of the household electrical appliance of the embodiment of the present invention.
Be described for air-conditioning in embodiments of the present invention, but those skilled in the art's easy understand, the embodiment of the present invention also go for various other carry out based on industrial bus or network interface the household electrical appliance that control, such as, TV, washing machine, humidifier, air purifier, water heater etc.
As shown in Figure 1, air-conditioning 1 comprises internal control circuit 11 and communication interface circuit 12.Described communication interface circuit 12 is connected with the communications cable or communication component based on external communication interface, and and then is connected to host computer 2.Described host computer 2 can be other household electrical appliance possessing certain controlling functions, also can be intelligent appliance gateway.The internal control circuit 11 of air-conditioning 1 carries out data transmit-receive, to receive steering order and feedback status information by communication interface circuit 12 and described host computer 2.
Fig. 2 is the block diagram of the communication interface circuit of the embodiment of the present invention.
As shown in Figure 2, communication interface circuit 12 comprises internal communications interface 121, multiple external communication interface 122 (being three in the present embodiment), MUX 123 and controller 124.
Internal communications interface 121 is adaptive with internal control circuit 11, and for being connected with internal control circuit 11, it can be any standard or off-gauge signal transmission interface.
In the present embodiment, three external communication interface 121 are dissimilar communication interface.In the present embodiment, dissimilar communication interface can be respectively based on the communication interface of distinct communication standards, and such as, three external communication interface can be respectively RS485 interface, CAN interface and RS232 interface.Certainly, but one of ordinary skill in the art will readily recognize that dissimilar communication interface also can be based on the different interface of same communication standard specification.
MUX 123 is connected between described internal communications interface 121 and described multiple external communication interface 122, for one of internal communications interface described in gating 121 and described external communication interface 122.MUX 123 has control end ctr, and according to the control signal being applied to control end, one of external communication interface can be communicated with described internal communications interface by MUX 123.In order to make between internal and external communication interface can two-way communication, described MUX 123 can be set to two-way gating circuit.Should be understood that if only need one-way communication between internal communications interface and external communication interface, then MUX 123 can be set to unidirectional gating circuit.
Controller 124 is connected with described internal communications interface 1, and is connected to the control end ctr of MUX 123, selects to be switched to the external communication interface that can receive tentation data for controlling described MUX 123.
Particularly, controller 124 is switched to the external communication interface that can receive tentation data by polling mode, it controls MUX 123 gate internal communication interface and different external communication interface in turn, until described controller receives tentation data by current external communication interface in the given time.
Fig. 3 is the control flow chart of the controller of the communication interface circuit of the embodiment of the present invention.
As shown in Figure 3, described control flow comprises:
Step S310, control MUX gate internal communication interface 121 and current external communication interface 122.
Whether step S320, judgement receive tentation data in the given time, if fail to receive, then perform step S330, if received, perform step S340.
Described tentation data for meeting the data of communications standard specification corresponding to described current external communication interface, such as, can have the packet etc. of predetermined protocol form.Described controller can independently be resolved the data received, to judge that whether it is for tentation data.Described controller also can, by the data retransmission received to the internal control circuit be connected with interface circuit, judge whether to receive tentation data according to the analysis result of internal control circuit.
Step S330, using next external communication interface as current external communication interface, perform step S310.
Step S340, maintenance gate internal communication interface and current external communication interface.
Thus, can determine the external communication interface externally with signal connection fast by polling mode, this external communication interface of automatic switching on and unique internal communications interface, manually need not arrange, avoid loading error thus.
The embodiment of the present invention is by being connected to MUX by dissimilar external communication interface, and be drawn out to internal communications interface by means of only a road, the dependence controller control MUX in turn different external communication interface of gating is connected to the interface of miscellaneous equipment or network to realize selection automatically, thus, while the communication interface of external compatible number of different types, mounted inside only provides an interface to connect, and avoids when carrying out Product Assembly and occurs mistake.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, to those skilled in the art, the present invention can have various change and change.All do within spirit of the present invention and principle any amendment, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a communication interface circuit, is characterized in that, described communication interface circuit comprises:
Internal communications interface;
Multiple external communication interface;
MUX, is connected between described internal communications interface and described multiple external communication interface, for one of external communication interface multiple described in gating and described internal communications interface;
Controller, is connected with described internal communications interface, and is connected to the control end of described MUX, selects to be switched to the external communication interface that can receive tentation data for controlling described MUX.
2. communication interface circuit according to claim 1, is characterized in that, described multiple external communication interface is respectively different classes of communication interface.
3. communication interface circuit according to claim 1, is characterized in that, described multiple external communication interface is respectively the communication interface based on distinct communication standards.
4. communication interface circuit according to claim 3, is characterized in that, described communication interface circuit comprises three external communication interface, and described three external communication interface are respectively RS485 interface, CAN interface and RS232 interface.
5. communication interface circuit according to claim 3, is characterized in that, described tentation data is the data meeting communication standard corresponding to current external communication interface.
6. communication interface circuit according to claim 1, it is characterized in that, described controller for controlling described MUX gate internal communication interface and different external communication interface in turn, until described controller receives tentation data by the external communication interface of current gating in the given time.
7. the control method of a communication interface circuit, described communication interface circuit comprises internal communications interface, multiple external communication interface and for the MUX of one of multiple external communication interface of gating with described internal communications interface, it is characterized in that, described control method comprises:
S1, control gate internal communication interface and current external communication interface;
If S2 does not receive tentation data in the given time, then using next external communication interface as current external communication interface, return S1;
If S3 receives tentation data in the given time, keep gate internal communication interface and current external communication interface.
8. control method according to claim 7, is characterized in that, described tentation data is the data meeting communication standard corresponding to current external communication interface.
9. household electrical appliance, comprising:
Communication interface circuit according to any one of claim 1-6;
Internal control circuit, for carrying out data transmit-receive by described communication interface circuit.
10. household electrical appliance according to claim 9, is characterized in that, described household electrical appliance are air-conditioning.
CN201510790731.5A 2015-11-16 2015-11-16 Communication interface circuit, control method thereof and household appliance applying communication interface circuit Active CN105425669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510790731.5A CN105425669B (en) 2015-11-16 2015-11-16 Communication interface circuit, control method thereof and household appliance applying communication interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510790731.5A CN105425669B (en) 2015-11-16 2015-11-16 Communication interface circuit, control method thereof and household appliance applying communication interface circuit

Publications (2)

Publication Number Publication Date
CN105425669A true CN105425669A (en) 2016-03-23
CN105425669B CN105425669B (en) 2018-06-29

Family

ID=55503944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510790731.5A Active CN105425669B (en) 2015-11-16 2015-11-16 Communication interface circuit, control method thereof and household appliance applying communication interface circuit

Country Status (1)

Country Link
CN (1) CN105425669B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652880A (en) * 2017-03-10 2017-05-10 郑州云海信息技术有限公司 Multi-port display equipment
CN107037856A (en) * 2017-04-21 2017-08-11 金邦达有限公司 Wearable device, payment mechanism and payment system
CN109343387A (en) * 2018-09-29 2019-02-15 珠海格力电器股份有限公司 Data communication method, device, equipment and air conditioner
CN109606380A (en) * 2018-12-07 2019-04-12 英业达科技有限公司 Network control unit, method and vehicle electrically controlling unit
WO2019213997A1 (en) * 2018-05-07 2019-11-14 清华大学 Method, apparatus and system for matching user terminal with controller in communication network
CN110779084A (en) * 2019-10-22 2020-02-11 珠海格力电器股份有限公司 Indoor unit, communication control method thereof and storage medium
CN112286845A (en) * 2020-10-30 2021-01-29 重庆金美通信有限责任公司 Transmission line switching system supporting multiple devices and multiple interfaces

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2491901Y (en) * 2001-09-26 2002-05-15 郑肖惺 General analog and digital data acquisition and control signal regulator
CN201522716U (en) * 2009-09-30 2010-07-07 湖州师范学院 Radio-frequency card read-write device with three communication interfaces
CN202841212U (en) * 2012-10-16 2013-03-27 浪潮集团有限公司 Multifunctional communication interface
CN203232419U (en) * 2013-05-06 2013-10-09 北京超同步科技有限公司 Bus input/output interface circuit
CN104020682A (en) * 2013-02-28 2014-09-03 卡特彼勒公司 Machine communication system and communication unit
CN104656514A (en) * 2015-01-20 2015-05-27 成都信升斯科技有限公司 Intelligent data acquisition system
KR20150074485A (en) * 2013-12-24 2015-07-02 동부대우전자 주식회사 Home appliance based on wireless communication and method for controlling wireless communication connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2491901Y (en) * 2001-09-26 2002-05-15 郑肖惺 General analog and digital data acquisition and control signal regulator
CN201522716U (en) * 2009-09-30 2010-07-07 湖州师范学院 Radio-frequency card read-write device with three communication interfaces
CN202841212U (en) * 2012-10-16 2013-03-27 浪潮集团有限公司 Multifunctional communication interface
CN104020682A (en) * 2013-02-28 2014-09-03 卡特彼勒公司 Machine communication system and communication unit
CN203232419U (en) * 2013-05-06 2013-10-09 北京超同步科技有限公司 Bus input/output interface circuit
KR20150074485A (en) * 2013-12-24 2015-07-02 동부대우전자 주식회사 Home appliance based on wireless communication and method for controlling wireless communication connection
CN104656514A (en) * 2015-01-20 2015-05-27 成都信升斯科技有限公司 Intelligent data acquisition system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652880A (en) * 2017-03-10 2017-05-10 郑州云海信息技术有限公司 Multi-port display equipment
CN107037856A (en) * 2017-04-21 2017-08-11 金邦达有限公司 Wearable device, payment mechanism and payment system
WO2019213997A1 (en) * 2018-05-07 2019-11-14 清华大学 Method, apparatus and system for matching user terminal with controller in communication network
CN109343387A (en) * 2018-09-29 2019-02-15 珠海格力电器股份有限公司 Data communication method, device, equipment and air conditioner
CN109606380A (en) * 2018-12-07 2019-04-12 英业达科技有限公司 Network control unit, method and vehicle electrically controlling unit
CN109606380B (en) * 2018-12-07 2020-08-07 英业达科技有限公司 Network control device and method and vehicle electronic control unit
CN110779084A (en) * 2019-10-22 2020-02-11 珠海格力电器股份有限公司 Indoor unit, communication control method thereof and storage medium
CN112286845A (en) * 2020-10-30 2021-01-29 重庆金美通信有限责任公司 Transmission line switching system supporting multiple devices and multiple interfaces
CN112286845B (en) * 2020-10-30 2023-06-09 重庆金美通信有限责任公司 Transmission line switching system supporting multiple devices and multiple interfaces

Also Published As

Publication number Publication date
CN105425669B (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN105425669A (en) Communication interface circuit, control method thereof and household appliance applying communication interface circuit
CN203178784U (en) Intelligent household control system based on Internet of Things
CN103973532A (en) Communication network and method for communicating in a communication network
CN104380216A (en) Use of an IO link for linking field devices
CN103107940B (en) For the redundant gateway system of device level looped network
CN202721689U (en) Network assembly, display module and system
CN106789483A (en) A kind of distributed KNX intelligent domestic systems
CN104486783A (en) Multi-state wireless gateway system for multi-state wireless monitoring network and control method
CN106921542A (en) Home gateway and intelligent domestic system
CN110045709A (en) One kind being based on EtherCAT technical grade remote I/O module
CN201335955Y (en) CAN bus intelligent electric device based on CANopen protocol
CN104486182A (en) Serial Modbus communication extending method
CN105472041B (en) A kind of control system and method based on wireless communication
CN104852227B (en) A kind of intelligent socket and control system
CN208903099U (en) A kind of RCU host for hotel guest room control
CN205091580U (en) Communication interface circuit and household appliance using same
CN104181836A (en) Signal switching device
Li et al. Design and implementation of a wireless programmable logic controller system
CN104683209B (en) Coupling device and EtherCAT network coupled system between a kind of EtherCAT network main website
Pang et al. Design of intelligent home control system based on KNX/EIB bus network
CN103473206B (en) A kind of data transmission method and I2C Interface Extender
CN107272524B (en) Smart machine control device and system
JP2015159535A (en) Communication network hopping architecture
CN104703250A (en) Method for configuring PANID (personal area network identifier) on ZigBee terminal
CN103135483A (en) Protocol conversion module and intelligent circuit breaker of Profibus and Modbus

Legal Events

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