CN208548904U - Communication circuit, controller and consumer - Google Patents
Communication circuit, controller and consumer Download PDFInfo
- Publication number
- CN208548904U CN208548904U CN201821230769.2U CN201821230769U CN208548904U CN 208548904 U CN208548904 U CN 208548904U CN 201821230769 U CN201821230769 U CN 201821230769U CN 208548904 U CN208548904 U CN 208548904U
- Authority
- CN
- China
- Prior art keywords
- slave
- switching device
- photoelectrical coupler
- data
- host
- 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
Links
- 238000004891 communication Methods 0.000 title abstract description 16
- 239000003990 capacitor Substances 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000005622 photoelectricity Effects 0.000 claims description 7
- 230000001052 transient effect Effects 0.000 claims description 6
- 230000008878 coupling Effects 0.000 claims description 5
- 238000010168 coupling process Methods 0.000 claims description 5
- 238000005859 coupling reaction Methods 0.000 claims description 5
- 239000004020 conductor Substances 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 10
- 230000005611 electricity Effects 0.000 description 4
- 238000002955 isolation Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
The utility model provides a communication circuit, controller and consumer relates to the communication field. The communication circuit comprises a host circuit and a slave circuit, wherein the host circuit is configured to receive roll call data sent by a host, send the roll call data to the slave circuit, receive response data sent by the slave circuit and send the response data to the host; the slave circuit is configured to transmit roll call data to the corresponding slave circuits through the slave data receiving ports, receive response data returned by the slave devices responding to the roll call data from the slave devices through the corresponding slave data transmitting ports, and transmit the response data to the master circuit; one slave data receiving port corresponds to one slave, and one slave corresponds to one slave data sending port. The utility model discloses can realize a plurality of slave computer communication sharing from the electromechanical way, reduce the communication cost to the PCB size has been reduced.
Description
Technical field
The utility model relates to communication field more particularly to a kind of communicating circuits, controller and electrical equipment.
Background technique
Using UART, (Universal Asynchronous Receiver/Transmitter leads to air-conditioner controller at present
With asynchronous receiving-transmitting transmitter) communicating circuit is mostly the corresponding slave of a host, if it is two or more to need a host to correspond to
Slave then generally requires and builds multiple clumps of machine circuits, considerably increases hardware cost and increases PCB cloth plate suqare.
Summary of the invention
A technical problem to be solved in the utility model is to provide a kind of communicating circuit, controller and electrical equipment, drop
Low communication cost.
On the one hand according to the utility model, a kind of communicating circuit is proposed, comprising: host circuit is configured as receiving host
The roll-call data of transmission, and roll-call data are sent to slave circuit, and receive the reply data that slave circuit is sent, and will
Reply data is sent to host;Slave circuit is configured as through multiple slave data receiver ports to corresponding multiple slaves
Sending point name data, and the slave of response point name data is returned by corresponding slave data sending terminal mouth in the multiple slaves of reception
The reply data returned, and reply data is sent to host circuit;Wherein, corresponding one of slave data receiver port from
Machine, the corresponding slave data sending terminal mouth of a slave.
Optionally, communicating circuit, further includes: multiple switch device, wherein slave circuit is connected by each switching device
Connect corresponding slave data sending terminal mouth.
Optionally, slave circuit includes: the first photoelectrical coupler, the photophore first end and power supply of the first photoelectrical coupler
Connection, the photophore second end of the first photoelectrical coupler and the output end of host circuit connect, the light of the first photoelectrical coupler
Device first end connects multiple slave data receiver ports, and is connected to power supply by second resistor, the first photoelectrical coupler
Light-receiving device second end ground connection;The photophore first end of second photoelectrical coupler, the second photoelectrical coupler connects to power supply, and leads to
It crosses multiple switching devices and connects corresponding multiple slave data sending terminal mouths, wherein the corresponding slave number of a switching device
According to sending port, the photophore second end of the second photoelectrical coupler is grounded, the light-receiving device first end of the second photoelectrical coupler and master
The host data receiving port on electromechanical road connects, and is connected to power supply by first resistor device, the second photoelectrical coupler by
Light device second end ground connection.
Optionally, slave circuit includes: the first photoelectrical coupler, the photophore first end and power supply of the first photoelectrical coupler
Connection, the photophore second end of the first photoelectrical coupler and the output end of host circuit connect, the light of the first photoelectrical coupler
Device first end connects multiple slave data receiver ports, and is connected to power supply by second resistor, the first photoelectrical coupler
Light-receiving device second end ground connection;The photophore first end of second photoelectrical coupler, the second photoelectrical coupler connects to power supply, and second
The photophore second end of photoelectrical coupler connects multiple slave data sending terminal mouths, the light-receiving device first end of the second photoelectrical coupler
It connect with the host data receiving port of host circuit, and is connected to power supply by first resistor device, the second photoelectrical coupler
Light-receiving device second end ground connection.
Optionally, the control terminal of each switching device connects corresponding slave data sending terminal mouth, each switching device
First end connects the photophore first end of the second photoelectrical coupler, the second end ground connection of each switching device.
Optionally, switching device is the first NPN type triode;The base stage of first NPN type triode is the control of switching device
End processed, the first end of current collection extremely switching device, the second end of transmitting extremely switching device.
Optionally, switching device is N-type Metal-oxide-semicondutor NMOS transistor;The grid of NMOS transistor is to open
The control terminal for closing device drains as the first end of switching device, and source electrode is the second end of switching device.
Optionally, switching device is insulated gate bipolar transistor IGBT;The gate pole of IGBT is the control terminal of switching device,
The first end of current collection extremely switching device, the second end of transmitting extremely switching device.Optionally, switching device is the first NPN type
Triode;The base stage of first PNP type triode is the control terminal of switching device, the first end of transmitting extremely switching device, current collection
The extremely second end of switching device.
Optionally, switching device is p-type Metal-oxide-semicondutor PMOS transistor;The grid of PMOS transistor is to open
The control terminal of device is closed, source electrode is the first end of switching device, is drained as the second end of switching device.
Optionally, the control terminal of each switching device is connected by current-limiting resistance with corresponding slave data sending terminal mouth.
Optionally, the photophore first end of the first photoelectrical coupler is connected to power supply by second resistor, and with
First capacitor device is connected between the photophore second end of one photoelectrical coupler;The light-receiving device first end of first photoelectrical coupler passes through
3rd resistor device connects to power supply;The photophore first end of second photoelectrical coupler is connected to power supply by the 4th resistor.
Optionally, host circuit includes: the first PNP type triode, and the emitter of the first PNP type triode connects power supply,
The base stage of first PNP type triode connect by the 5th resistor with host data sending port, and pass through the 6th resistor and
Power supply connection;Second NPN type triode, the emitter ground connection of the second NPN type triode, the base stage of the second NPN type triode are logical
It crosses the 7th resistor to connect with the collector of the first PNP type triode, and passes through the 8th resistance-grounded system, three pole of the second NPN type
The collector of pipe is connected to power supply by the 9th resistor, wherein the collector of the second NPN type triode is the defeated of host circuit
Outlet;Tenth resistor, the first end of the tenth resistor connect host data receiving port, the second end of the tenth resistor and the
The light-receiving device first end of two photoelectrical couplers, and connect with the first end of eleventh resistor device;Eleventh resistor device, the 11st electricity
The first end of device is hindered by the second capacitor grounding, and the second end of eleventh resistor device connects power supply.
Optionally, host circuit further includes third capacitor, the 4th capacitor and transient diode;Third capacitor and
Eight capacitor in parallel;The first end of 4th capacitor is connect with the collector of the second NPN type triode, second end ground connection;Transient state
The plus earth of diode, cathode are connect with the collector of the second NPN type triode.
Another aspect according to the present utility model, it is also proposed that a kind of controller, including above-mentioned communicating circuit.
Another aspect according to the present utility model, it is also proposed that a kind of electrical equipment, including above-mentioned controller.
Compared with prior art, one slave circuit of the utility model is by multiple slave data receiver ports to corresponding
Multiple slave sending point name data, and the slave for receiving response point name data in multiple slaves is sent by corresponding slave data
The reply data that port returns, and reply data is sent to host circuit, so as to realize that multiple slave communications share one
A slave circuit, reduces communication cost, and reduces PCB size.
By the detailed description referring to the drawings to the exemplary embodiment of the utility model, the utility model it is other
Feature and its advantage will become apparent.
Detailed description of the invention
The attached drawing for constituting part of specification describes the embodiments of the present invention, and uses together with the description
In explanation the principles of the present invention.
The utility model can be more clearly understood according to following detailed description referring to attached drawing, in which:
Fig. 1 is the structural schematic diagram of one embodiment of the utility model communicating circuit.
Fig. 2 is the structural schematic diagram of another embodiment of the utility model communicating circuit.
Fig. 3 is the structural schematic diagram of the further embodiment of the utility model communicating circuit.
Fig. 4 is the structural schematic diagram of another embodiment of the utility model communicating circuit.
Fig. 5 is the structural schematic diagram of a specific embodiment of the utility model communicating circuit.
Specific embodiment
The various exemplary embodiments of the utility model are described in detail now with reference to attached drawing.It should also be noted that unless another
It illustrates outside, the component and the positioned opposite of step, numerical expression and numerical value otherwise illustrated in these embodiments is unlimited
The scope of the utility model processed.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality
Proportionate relationship draw.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to this is practical
Novel and its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
For the purpose of this utility model, technical solution and advantage is more clearly understood, below in conjunction with specific embodiment, and
Referring to attached drawing, the utility model is further described.
Fig. 1 is the structural schematic diagram of one embodiment of the utility model communicating circuit.The communicating circuit includes a master
Electromechanical road 1 and a slave circuit 2, wherein host circuit 1 is connect with slave circuit 2.
Host circuit 1 passes through the roll-call data that host data sending port TX receiving host is sent, and roll-call data are sent out
It send to slave circuit 2.Slave circuit 2 is by multiple slave data receiver port RXS to corresponding multiple slave sending points concrete number
According to multiple to refer to two or more, wherein the corresponding slave of a slave data receiver port.Each slave receives
After roll-call data, whether comparison point name data check bit and itself check bit are consistent, if unanimously, can receive communication number
According to rear return reply data.In the embodiment, three slave data receiver port RXS, corresponding three slaves are only shown.This field
It will be appreciated by the skilled person that multiple slave data receiver port RXS can be arranged, wherein each RXS can according to slave quantity
With common port.Wherein, host is, for example, master control borad, and slave is, for example, compressor, display screen etc..
The slave that slave circuit 2 receives response point name data in multiple slaves passes through corresponding slave data sending terminal mouth
The reply data that TXS is returned, and reply data is sent to host circuit 1.Wherein, a slave data sending terminal mouth corresponding one
A slave.In this embodiment, three slave data sending terminal mouths TXS1, TXS2 and TXS3 are shown, wherein slave 1 is corresponding
Slave data sending terminal mouth be TXS1, the corresponding slave data sending terminal mouth of slave 2 be TXS2, and so on.If slave 1 is sent out
Reply data out then exports reply data by TXS1.Reply data is sent to host circuit 1 by slave circuit 2.Host circuit
1 receives the reply data that slave circuit 2 is sent, and reply data is sent to host by host data receiving port RX.
In this embodiment, a slave circuit is sent by multiple slave data receiver ports to corresponding multiple slaves
Roll-call data, and the slave for receiving response point name data in multiple slaves is answered by what corresponding slave data sending terminal mouth returned
Answer evidence, and reply data is sent to host circuit, a slave circuit is shared so as to realize that multiple slaves communicate, drop
Low communication cost, and reduce PCB size.
Fig. 2 is the structural schematic diagram of another embodiment of the utility model communicating circuit.The communicating circuit includes host
Circuit 1, slave circuit 2 and multiple switch device 3, a host circuit 1 are connect with a slave circuit 2, and slave circuit 2 connects
Multiple switch device 3, wherein multiple to refer to two or more.Slave circuit 2 by each switching device 3 with it is corresponding
Slave data sending terminal mouth TXS connection.
In this embodiment, due to being provided with multiple switch device in communicating circuit, each switching device passes through slave
Data sending terminal mouth is connected with corresponding slave, and different slave signals can be isolated, and prevents the mutual crosstalk of common port, while one
A slave network does not interfere with other slave circuits when breaking down, and therefore, which can be realized multiple slave communications
A slave circuit is shared, reduces communication cost, and reduce PCB size.
Fig. 3 is the structural schematic diagram of the further embodiment of the utility model communicating circuit.Wherein, the communicating circuit from
Electromechanical road 2 includes the first photoelectrical coupler U1 and the second photoelectrical coupler U2.Wherein, the photophore of the first photoelectrical coupler U1
One end connects to power supply, and photophore second end is connect with the output end of host circuit 1, the light-receiving device first of the first photoelectrical coupler
End connects multiple slave data receiver port RXS, and is connected to power supply by second resistor R2, and light-receiving device second terminates
Ground.
The photophore first end of second photoelectrical coupler U2 connects to power supply, and is corresponded to by the connection of multiple switch device 3
Multiple slave data sending terminal mouth TXS, wherein the corresponding slave data sending terminal mouth TXS of switching device 3 shines
Device second end ground connection, the light-receiving device first end of the second photoelectrical coupler and the host data receiving port of host circuit connect, and
And it is connected to power supply by first resistor device R1, second end ground connection.Wherein, photophore can be light emitting diode, and light-receiving device can
Think photosensitive semiconductor pipe.
In one embodiment, the control terminal of each switching device 3 connects corresponding slave data sending terminal mouth TXS, the
One end connects the photophore first end of the second photoelectrical coupler U2, second end ground connection;Wherein, each switching device 3 is in response to height
Electric conducts, in response to ending when low level.In specific implementation, switching device 3 can be NPN type triode, NMOS (N-
Metal-Oxide-Semiconductor, N-type Metal-oxide-semicondutor) transistor or IGBT (Insulated Gate
Bipolar Transistor, insulated gate bipolar transistor).Switching device 3 is if NPN type triode, then NPN type triode
Base stage be switching device control terminal, the first end of current collection extremely switching device, the second end of transmitting extremely switching device.It opens
Device 3 is closed if NMOS transistor, then the grid of NMOS transistor is the control terminal of switching device, and draining is the of switching device
One end, source electrode are the second end of switching device.Switching device 3 is if IGBT, then the gate pole of IGBT is the control terminal of switching device,
The first end of current collection extremely switching device, the second end of transmitting extremely switching device.
In the above-described embodiments, slave circuit receive host circuit transmission data be high level when, photoelectrical coupler
The cut-off of U1 photophore, photoelectrical coupler U1 light-receiving device are not turned on, and RXS is high level;When slave circuit receives host circuit hair
When the data sent are low level, the conducting of photoelectrical coupler U1 photophore, the conducting of photoelectrical coupler U1 light-receiving device, RXS is low level,
It is consistent to send and receive end signal level.When slave sends reply data, if transmission data are high level, switching device 3 is connected,
The cut-off of photoelectrical coupler U2 photophore, the cut-off of photoelectrical coupler U2 light-receiving device, the host data receiving port that host circuit 1 connects
It is high level that RX, which receives data,.When it is low level that slave, which sends signal, switching device 3 ends, photoelectrical coupler U2 photophore
Conducting, the conducting of photoelectrical coupler U2 light-receiving device, it is low electricity that the host data receiving port RX that host circuit 1 connects, which receives data,
It is flat, it is consistent to send and receive end signal level.
Since transmitting terminal is consistent with receiving end signal level, also, switching device plays the role of signal isolation, prevents altogether
With the mutual crosstalk in port, while a when slave network breaks down, does not interfere with other slave circuits and therefore can be realized
Multiple slaves, which communicate, shares a slave circuit.
In another embodiment, the control terminal of each switching device 3 connects corresponding slave data sending terminal mouth TXS,
First end connects the photophore first end of the second photoelectrical coupler U2, second end ground connection;Wherein, each switching device 3 in response to
It is connected when low level, in response to ending when high level.In specific implementation, switching device 3 can be PNP type triode, PMOS
Transistor.Switching device 3 is if PNP type triode, then the base stage of PNP type triode is the control terminal of switching device, emitter
For the first end of switching device, the second end of current collection extremely switching device.Switching device 3 is if PMOS transistor, then PMOS is brilliant
The grid of body pipe is the control terminal of switching device, and source electrode is the first end of switching device, is drained as the second end of switching device.
In the above-described embodiments, slave circuit receive host circuit transmission data be high level when, photoelectrical coupler
The cut-off of U1 photophore, photoelectrical coupler U1 light-receiving device are not turned on, and RXS is high level;When slave circuit receives host circuit hair
When the data sent are low level, the conducting of photoelectrical coupler U1 photophore, the conducting of photoelectrical coupler U1 light-receiving device, RXS is low level,
It is consistent to send and receive end signal level.When slave sends reply data, if transmission data are low level, switching device 3 is connected,
The cut-off of photoelectrical coupler U2 photophore, the cut-off of photoelectrical coupler U2 light-receiving device, the host data receiving port that host circuit 1 connects
It is high level that RX, which receives data,.When it is high level that slave, which sends signal, switching device 3 ends, photoelectrical coupler U2 photophore
Conducting, the conducting of photoelectrical coupler U2 light-receiving device, it is low electricity that the host data receiving port RX that host circuit 1 connects, which receives data,
It is flat.
Although it is inconsistent to send and receive end signal level, signal can be carried out after host receives level signal
Reversion identification, or the slave level signal information opposite with host level signal is saved in host side, so that host can be known
Not Chu the answer signal that returns of which slave, and then can be realized multiple slaves and communicate and share a slave circuits.Also, it switchs
Device plays the role of signal isolation, prevents the mutual crosstalk of common port, while will not shadow when a slave network failure
It rings and arrives other slave circuits.
Fig. 4 is the structural schematic diagram of another embodiment of the utility model communicating circuit.The communicating circuit includes one
Host circuit 1 and a slave circuit 2, wherein host circuit 1 is connect with slave circuit 2, wherein slave circuit 2 includes first
Photoelectrical coupler U1 and the second photoelectrical coupler U2.
The photophore first end of first photoelectrical coupler U1 connects to power supply, and the output end of second end and host circuit connects
It connects, the light-receiving device first end of the first photoelectrical coupler U1 connects multiple slave data receiver port RXS, and passes through second resistance
Device R2 is connected to power supply, light-receiving device second end ground connection.
The photophore first end of second photoelectrical coupler U2 connects to power supply, and second end connects multiple slave data sending terminals
Mouth TXS, the light-receiving device first end of the second photoelectrical coupler U2 is connect with the host data receiving port of host circuit 1, and is led to
It crosses first resistor device R1 to connect to power supply, light-receiving device second end ground connection.
Wherein, photophore can be light emitting diode, and light-receiving device can be photosensitive semiconductor pipe.
Slave circuit receive host circuit transmission data be high level when, photoelectrical coupler U1 photophore cut-off, light
Electric coupler U1 light-receiving device is not turned on, and RXS is high level;When the data that slave circuit receives host circuit transmission are low level
When, the conducting of photoelectrical coupler U1 photophore, the conducting of photoelectrical coupler U1 light-receiving device, RXS is low level, sends and receives end signal
Level is consistent.When slave sends reply data, if transmission data are high level, the cut-off of photoelectrical coupler U2 photophore, photoelectricity coupling
The cut-off of clutch U2 light-receiving device, it is high level that the host data receiving port RX that host circuit 1 connects, which receives data,.When slave is sent
When signal is low level, the conducting of photoelectrical coupler U2 photophore, the conducting of photoelectrical coupler U2 light-receiving device, what host circuit 1 connected
It is low level that host data receiving port RX, which receives data, and it is consistent to send and receive end signal level.
In the above-described embodiments, slave circuit is by multiple slave data receiver ports to corresponding multiple slave sending points
Name data, transmitting terminal is consistent with receiving end signal level, and when so that host is to slave sending point data, slave can be with comparison point
Whether name data check bit is consistent with itself check bit, determines whether to return to reply data;Slave circuit simultaneously receives multiple
The slave of response point name data passes through the reply data that corresponding slave data sending terminal mouth returns in slave, and by reply data
It is sent to host circuit, a slave circuit is shared so as to realize that slave communicates, reduces communication cost, and reduce
PCB size.
Fig. 5 is the structural schematic diagram of a specific embodiment of the utility model communicating circuit.Switching device will be with below
It is introduced for NPN type triode.As shown in figure 5, multiple first NPN type triodes of setting, such as Q8, Q9, Q10 in figure.
Host circuit 1 is connect with slave circuit 2 by interface.
The emitter of first PNP type triode Q1 connects power supply, and base stage is sent by the 5th resistor R5 and host data
Port TX connection, and connected to power supply by the 6th resistor R6.
The emitter of second NPN type triode Q2 is grounded, and base stage passes through the 7th resistor R7 and the first PNP type triode Q1
Collector connection, and be grounded by the 8th resistor R8, collector connected to power supply by the 9th resistor R9.
The photophore first end of first photoelectrical coupler U1 is connected to power supply by 3rd resistor device R3, photophore second end
It is connected to the collector of the second NPN type triode Q2, light-receiving device first end connects multiple slave data receiver port RXS, and leads to
Second resistance R2 connection power supply is crossed, light-receiving device second end ground connection connects first between photophore first end and photophore second end
Capacitor C1.
Tenth resistor R10 connection host data receiving port RX, and pass through eleventh resistor device R11 connection power supply, the
The other end of 11 resistor R11 is grounded by capacitor C2.
The photophore first end of second photoelectrical coupler U2 is connected to power supply by the 4th resistor R4, and connects first
The collector of NPN type triode Q8, Q9, Q10, photophore second end ground connection, light-receiving device first end by the tenth resistor R10 with
The RX connection of host data receiving port, light-receiving device second end ground connection.
The base stage of base stage connection slave data sending terminal the mouth TXS1, Q9 of first NPN type triode Q8 connect slave data
The emitter ground connection of base stage connection slave data sending terminal the mouth TXS3, Q8, Q9, Q10 of sending port TXS2, Q10.
In the above-described embodiments, the same time, only to a slave sending point name data, each slave has respectively right host
The check bit answered.When host is called the roll, when it is high level that TX, which sends signal, the first PNP type triode Q1 cut-off;Second NPN type
Triode Q2 ground level is low level, the second NPN type triode Q2 cut-off;Second NPN type triode Q2 current collection extremely high level, light
The cut-off of electric coupler U1 photophore;Photoelectrical coupler U1 light-receiving device is not turned on, and RXS is high level.It is low electricity when TX sends signal
Usually, the first PNP type triode Q1 is connected;Second NPN type triode Q2 ground level is high level, and the second NPN type triode Q2 is led
It is logical;Second NPN type triode Q2 current collection extremely low level, the conducting of photoelectrical coupler U1 photophore;Photoelectrical coupler U1 light-receiving device
Triode ON, RXS are low level.It is consistent to send and receive end signal level.
For slave by RXS receiving point name data, whether slave comparison point name data check bit and itself check bit are consistent, if
It is consistent then can receive data and return to response.Wherein, each RXS can be with common port, due to slave comparison point concrete number
According to check bit and itself check bit, therefore, multiple slaves can directly common port receive extremely without data.
After slave receives data, reply data is sent by the port TXS, carries out corresponding response.The corresponding transmission of slave 1
Port is TXS1, and the corresponding sending port of slave 2 is TXS2, and so on.It is height when slave 1 sends signal by taking slave 1 as an example
When level, the first NPN type triode Q8 conducting, photoelectrical coupler U2 photophore anode is low level, diode cut-off;Photoelectricity coupling
The cut-off of clutch U2 light-receiving device triode, it is high level that RX, which receives data,.When it is low level that slave 1, which sends signal, the first NPN type
Triode Q8 cut-off, photoelectrical coupler U2 photophore anode are high level, diode current flow;Three pole of photoelectrical coupler U2 light-receiving device
Pipe conducting, it is low level that host RX, which receives data,.It is consistent to send and receive end signal level.
In the above-described embodiments, since transmitting terminal is consistent with receiving end signal level, also, the first NPN type triode rises
To the effect of signal isolation, the mutual crosstalk of common port is prevented, while not interfering with it when a slave network failure
Therefore he can be realized multiple slaves and communicates a shared slave circuit, realize PORT COM multiplexing slave circuit.
In another embodiment of the utility model, the base stage of the first NPN type triode by current-limiting resistance with it is corresponding
Slave data sending terminal mouth connection.As shown in figure 5, the base stage of Q8 passes through current-limiting resistance R101 and slave data sending terminal mouth
The base stage of TXS1 connection, Q9 is connect by current-limiting resistance R102 with slave data sending terminal mouth TXS2, and the base stage of Q10 passes through current limliting
Resistance R103 is connect with slave data sending terminal mouth TXS3.Wherein, the resistance value of current-limiting resistance is according to the fan-out capability of slave chip
It is adjusted, prevents from burning communicating circuit when electric current is excessive.
In another embodiment of the utility model, host circuit further includes third capacitor C3, the 4th capacitor C4
With transient diode TVS1.Wherein, third capacitor C3 is in parallel with the 8th resistor R8, can guarantee the second NPN type triode
Q2 opens the reliability of shutdown.The first end of 4th capacitor C4 is connect with the collector of the second NPN type triode Q2, second end
Ground connection, can play filter action.The plus earth of transient diode TVS1, the current collection of cathode and the second NPN type triode Q2
Pole connection, can prevent moment big voltage, play pressure stabilization function, protect the reliability of communicating circuit.
In another embodiment of the utility model, a kind of controller is also protected, wherein the controller includes above-mentioned reality
The communicating circuit in example is applied, which is, for example, air-conditioner controller.
In another embodiment of the utility model, a kind of electrical equipment is also protected, wherein the electrical equipment includes upper
The controller stated.The utility model can reduce communication cost, and then reduce the hardware cost of the entire electrical equipment user and set
Standby for example, air-conditioning, refrigerator, TV etc..
So far, the utility model is described in detail.In order to avoid covering the design of the utility model, this is not described
Some details well known to field.Those skilled in the art as described above, completely it can be appreciated how implementing public here
The technical solution opened.
Although being described in detail by some specific embodiments of the example to the utility model, this field
It is to be understood by the skilled artisans that above example merely to be illustrated, rather than in order to limit the scope of the utility model.This
Field it is to be understood by the skilled artisans that can not depart from the scope of the utility model and spirit in the case where, to above embodiments
It modifies.The scope of the utility model is defined by the following claims.
Claims (16)
1. a kind of communicating circuit characterized by comprising
Host circuit, is configured as the roll-call data of receiving host transmission, and roll-call data are sent to slave circuit, Yi Jijie
The reply data that the slave circuit is sent is received, and reply data is sent to host;
Slave circuit, is configured as through multiple slave data receiver ports to corresponding multiple slave sending points name data, with
And it receives and responds the answer number that the slave of the roll-call data is returned by corresponding slave data sending terminal mouth in multiple slaves
According to, and reply data is sent to the host circuit;Wherein, the corresponding slave of a slave data receiver port,
The corresponding slave data sending terminal mouth of one slave.
2. communicating circuit according to claim 1, which is characterized in that further include:
Multiple switch device, wherein the slave circuit connects the corresponding slave data sending terminal by each switching device
Mouthful.
3. communicating circuit according to claim 2, which is characterized in that the slave circuit includes:
The photophore first end of first photoelectrical coupler, first photoelectrical coupler connects to power supply, the first photoelectricity coupling
The photophore second end of clutch is connect with the output end of the host circuit, the light-receiving device first end of first photoelectrical coupler
Connect multiple slave data receiver ports, and connected to power supply by second resistor, first photoelectrical coupler by
Light device second end ground connection;
The photophore first end of second photoelectrical coupler, second photoelectrical coupler connects to power supply, and by multiple described
Switching device connects corresponding multiple slave data sending terminal mouths, wherein the corresponding slave data of a switching device are sent
Port, second photoelectrical coupler photophore second end ground connection, the light-receiving device first end of second photoelectrical coupler with
The host data receiving port of the host circuit connects, and is connected to power supply by first resistor device, second photoelectricity
The light-receiving device second end of coupler is grounded.
4. communicating circuit according to claim 1, which is characterized in that the slave circuit includes:
The photophore first end of first photoelectrical coupler, first photoelectrical coupler connects to power supply, the first photoelectricity coupling
The photophore second end of clutch is connect with the output end of the host circuit, the light-receiving device first end of first photoelectrical coupler
Connect multiple slave data receiver ports, and connected to power supply by second resistor, first photoelectrical coupler by
Light device second end ground connection;
The photophore first end of second photoelectrical coupler, second photoelectrical coupler connects to power supply, the second photoelectricity coupling
The photophore second end of clutch connects multiple slave data sending terminal mouths, the light-receiving device first end of second photoelectrical coupler with
The host data receiving port of the host circuit connects, and is connected to power supply by first resistor device, second photoelectricity
The light-receiving device second end of coupler is grounded.
5. communicating circuit according to claim 3, which is characterized in that the control terminal of each switching device, which connects, to be corresponded to
Slave data sending terminal mouth, the first end of each switching device connects the photophore first of second photoelectrical coupler
End, the second end ground connection of each switching device.
6. communicating circuit according to claim 5, which is characterized in that the switching device is the first NPN type triode;
The base stage of first NPN type triode is the control terminal of the switching device, the of the extremely described switching device of current collection
One end emits the second end of the extremely described switching device.
7. communicating circuit according to claim 5, which is characterized in that the switching device is N-type metal-oxide-half
Conductor NMOS transistor;
The grid of the NMOS transistor is the control terminal of the switching device, is drained as the first end of the switching device, source
The second end of the extremely described switching device.
8. communicating circuit according to claim 5, which is characterized in that the switching device is insulated gate bipolar transistor
IGBT;
The gate pole of the IGBT is the control terminal of the switching device, the first end of the extremely described switching device of current collection, emitter
For the second end of the switching device.
9. communicating circuit according to claim 5, which is characterized in that the switching device is the first PNP type triode;
The base stage of first PNP type triode is the control terminal of the switching device, emits the of extremely described switching device
One end, the second end of the extremely described switching device of current collection.
10. communicating circuit according to claim 5, which is characterized in that the switching device is p-type metal-oxide-half
Conductor PMOS transistor;
The grid of the PMOS transistor is the control terminal of the switching device, and source electrode is the first end of the switching device, leakage
The second end of the extremely described switching device.
11. communicating circuit according to claim 5, which is characterized in that
The control terminal of each switching device is connected by current-limiting resistance with corresponding slave data sending terminal mouth.
12. according to any communicating circuit of claim 3-11, which is characterized in that
The photophore first end of first photoelectrical coupler is connected to power supply by 3rd resistor device, and with first light
First capacitor device is connected between the photophore second end of electric coupler;
The photophore first end of second photoelectrical coupler is connected to power supply by the 4th resistor.
13. communicating circuit according to claim 12, which is characterized in that the host circuit includes:
The emitter of second NPN type triode, second NPN type triode connects power supply, second NPN type triode
Base stage is connect by the 5th resistor with the host data sending port, and is connected to power supply by the 6th resistor;
Second NPN type triode, the emitter ground connection of second NPN type triode, the base stage of second NPN type triode
It is connect by the 7th resistor with the collector of second NPN type triode, and passes through the 8th resistance-grounded system, described second
The collector of NPN type triode is connected to power supply by the 9th resistor, wherein the collector of second NPN type triode
For the output end of the host circuit;
Tenth resistor, the first end of the tenth resistor connect host data receiving port, and the of the tenth resistor
The light-receiving device first end at two ends and second photoelectrical coupler, and connect with the first end of eleventh resistor device;
The first end of eleventh resistor device, the eleventh resistor device passes through the second capacitor grounding, the eleventh resistor device
Second end connect power supply.
14. communicating circuit according to claim 13, which is characterized in that the host circuit further include third capacitor,
4th capacitor and transient diode;
The third capacitor and the 8th capacitor in parallel;
The first end of 4th capacitor is connect with the collector of second NPN type triode, second end ground connection;
The plus earth of the transient diode, cathode are connect with the collector of second NPN type triode.
15. a kind of controller, which is characterized in that including any communicating circuit of claim 1-14.
16. a kind of electrical equipment, which is characterized in that including the controller described in claim 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821230769.2U CN208548904U (en) | 2018-08-01 | 2018-08-01 | Communication circuit, controller and consumer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821230769.2U CN208548904U (en) | 2018-08-01 | 2018-08-01 | Communication circuit, controller and consumer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208548904U true CN208548904U (en) | 2019-02-26 |
Family
ID=65425788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821230769.2U Active CN208548904U (en) | 2018-08-01 | 2018-08-01 | Communication circuit, controller and consumer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208548904U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880599A (en) * | 2018-08-01 | 2018-11-23 | 珠海格力电器股份有限公司 | Communication circuit, communication method thereof, controller and electric equipment |
-
2018
- 2018-08-01 CN CN201821230769.2U patent/CN208548904U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880599A (en) * | 2018-08-01 | 2018-11-23 | 珠海格力电器股份有限公司 | Communication circuit, communication method thereof, controller and electric equipment |
CN108880599B (en) * | 2018-08-01 | 2023-10-27 | 珠海格力电器股份有限公司 | Communication circuit, communication method thereof, controller and electric equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN216596246U (en) | Self-adaptive circuit compatible with multi-serial port protocol and communication equipment | |
CN219552984U (en) | Serial port multiplexing and protecting circuit | |
MXPA02002773A (en) | I2C OPTOminus;ISOLATOR CIRCUIT. | |
CN108880599A (en) | Communication circuit, communication method thereof, controller and electric equipment | |
CN208548904U (en) | Communication circuit, controller and consumer | |
CN104363404B (en) | Terminal multiplexing circuit and multimedia terminal equipment | |
CN108616292A (en) | Communication circuit, communication method thereof, controller and electric equipment | |
CN106095708A (en) | The electric current loop means of communication of two-wire system half-duplex one master and multiple slaves multi computer communication and system | |
CN208548903U (en) | Communication circuit, controller and consumer | |
CN117271416A (en) | Interface circuit of self-adaptation RS232 and RS485 | |
CN103118143B (en) | Multiplex circuit of serial interface and Ethernet interface | |
CN203178787U (en) | Switch control device and intelligent household system | |
CN102236630A (en) | Multi-equipment connecting system | |
CN216248808U (en) | Expansion circuit and system | |
CN215419641U (en) | Communication system | |
CN206224464U (en) | A kind of communicator with antijamming capability | |
CN213990825U (en) | Switching matrix | |
CN202523068U (en) | Imaging device with information protection function | |
CN110334038A (en) | A kind of monitoring system of serial communication | |
CN206686066U (en) | Frequency converter digital signal input end and frequency converter | |
CN220711484U (en) | Anti-interference single-wire bidirectional communication circuit | |
CN214314543U (en) | Anti-interference isolation communication circuit | |
CN214670183U (en) | Zero-live wire communication device and electrical equipment | |
CN210958358U (en) | Network perception system | |
CN113849437B (en) | Communication interface device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |