CN211826943U - Communication control circuit and device - Google Patents

Communication control circuit and device Download PDF

Info

Publication number
CN211826943U
CN211826943U CN202020272099.1U CN202020272099U CN211826943U CN 211826943 U CN211826943 U CN 211826943U CN 202020272099 U CN202020272099 U CN 202020272099U CN 211826943 U CN211826943 U CN 211826943U
Authority
CN
China
Prior art keywords
resistor
communication
control
controller
pull
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.)
Expired - Fee Related
Application number
CN202020272099.1U
Other languages
Chinese (zh)
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.)
Huizhou Topband Electronic Technology Co Ltd
Original Assignee
Huizhou Topband Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Topband Electronic Technology Co Ltd filed Critical Huizhou Topband Electronic Technology Co Ltd
Priority to CN202020272099.1U priority Critical patent/CN211826943U/en
Application granted granted Critical
Publication of CN211826943U publication Critical patent/CN211826943U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model is suitable for a communication control technical field provides a communication control circuit and device, and communication control circuit includes: the gating module is respectively connected with the enabling end of the master controller and the enabling ends of the two slave controllers; and control modules respectively connected with the communication end of the master controller, the control ends and the communication ends of the two slave controllers; the gating module is used for outputting an enable signal output by the enable end of the master controller to the enable ends of the two slave controllers; the slave controllers are used for correspondingly controlling the control ends thereof to output control signals according to the enabling signals, wherein the enabling signals for communication control of the two slave controllers are different; the control module is used for correspondingly controlling the on-off state between the communication end of the slave controller and the communication end of the master controller according to the control signal. Therefore, shared serial port communication is realized, and meanwhile serial port resources of the MCU are saved, and control ICs are saved, so that cost is saved.

Description

Communication control circuit and device
Technical Field
The utility model belongs to the technical field of communication control, especially, relate to a communication control circuit and device.
Background
With social development and technological progress, communication is indispensable in people's life, however, current serial ports can only connect a equipment for when the host computer carries out serial port communication to a plurality of equipment, need adopt a plurality of serial ports, make greatly increased the quantity of serial ports.
In the existing communication control scheme in which a host communicates with a plurality of devices through a serial port, that is, a master and a plurality of slaves, for example, 482 and 232, a control IC (Integrated Circuit) is required for switching and isolating the communication components, so that the hardware cost is increased.
SUMMERY OF THE UTILITY MODEL
The embodiment of the utility model provides a communication control circuit aims at solving prior art, and the problem that hardware is with high costs when a plurality of equipment carry out the serial ports communication.
The embodiment of the utility model provides a communication control circuit, the circuit includes:
the gating module is respectively connected with the enabling end of the master controller and the enabling ends of the two slave controllers; and
the control modules are respectively connected with the communication end of the master controller, the control ends and the communication ends of the two slave controllers;
the gating module is used for outputting an enable signal output by an enable end of the master controller to enable ends of the two slave controllers;
the slave controllers are used for correspondingly controlling the control ends thereof to output control signals according to the enabling signals, wherein the enabling signals for communication control of the two slave controllers are different;
the control module is used for correspondingly controlling the on-off state between the communication end of the slave controller and the communication end of the master controller according to the control signal.
Still further, the control module includes:
the first control unit is respectively connected with the sending communication end of the master controller, and the receiving communication ends and the receiving control ends of the two slave controllers; and
the second control unit is respectively connected with the receiving communication end of the master controller, the sending communication ends of the two slave controllers and the sending control end;
the first control unit is used for correspondingly controlling the on-off state between the receiving communication end of the slave controller and the sending communication end of the master controller according to the control signal;
the second control unit is used for correspondingly controlling the on-off state between the sending communication end of the slave controller and the receiving communication end of the master controller according to the control signal.
Still further, the first control unit includes: a first on-off subunit and a second on-off subunit;
the first on-off subunit is respectively connected with the sending communication end of the main controller, and the receiving communication end and the receiving control end of the first slave controller;
and the second on-off subunit is respectively connected with the sending communication end of the main controller, and the receiving communication end and the receiving control end of the second slave controller.
Still further, the second control unit includes: a third on-off subunit and a fourth on-off subunit;
the third switching-off subunit is respectively connected with the receiving communication end of the main controller, the sending communication end of the first slave controller and the sending control end;
and the fourth break subunit is respectively connected with the receiving communication end of the main controller, the sending communication end of the second slave controller and the sending control end.
Still further, the gating module includes: a pull-up unit, a first gating unit, and a second gating unit;
the pull-up unit is respectively connected with an enabling end and a power supply end of the main controller, the first gating unit and the second gating unit;
the first gating unit is respectively connected with an enabling end and a power supply end of the first slave controller and the pull-up unit;
the second gating unit is respectively connected with an enabling end and a power supply end of the second slave controller and the pull-up unit.
Still further, the first switching subunit includes: the first pull-up resistor and the first MOS tube are connected with a sending communication end of the main controller, and the first resistor and the second resistor are connected with the first MOS tube;
one end of the first pull-up resistor is connected with a sending communication end of the main controller and a first end of the first MOS tube, the other end of the first pull-up resistor is connected with a power supply end of the main controller, a second end of the first MOS tube is connected with one end of the first resistor and a receiving communication end of the first slave controller, a third end of the first MOS tube is connected with the other end of the first resistor and one end of the second resistor, and the other end of the second resistor is connected with a receiving control end of the first slave controller;
the second switching subunit includes: the second pull-up resistor and the second MOS tube are connected with the sending communication end of the main controller, and the third resistor and the fourth resistor are connected with the second MOS tube;
one end of the second pull-up resistor is connected with the sending communication end of the main controller and the first end of the second MOS tube, the other end of the second pull-up resistor is connected with the power supply end of the main controller, the second end of the second MOS tube is connected with one end of the third resistor and the receiving communication end of the second slave controller, the third end of the second MOS tube is connected with the other end of the third resistor and one end of the fourth resistor, and the other end of the fourth resistor is connected with the receiving control end of the second slave controller.
Still further, the third disconnection subunit includes: the third pull-up resistor and the third MOS tube are connected with the receiving communication end of the main controller, and the fifth resistor and the sixth resistor are connected with the third MOS tube;
one end of the third pull-up resistor is connected with the receiving communication end of the main controller and the first end of the third MOS tube, the other end of the third pull-up resistor is connected with the power supply end of the main controller, the second end of the third MOS tube is connected with one end of the fifth resistor and the sending communication end of the first slave controller, the third end of the third MOS tube is connected with the other end of the fifth resistor and one end of the sixth resistor, and the other end of the sixth resistor is connected with the sending control end of the first slave controller;
the fourth disconnect sub-unit includes: a fourth pull-up resistor and a fourth MOS tube connected with a receiving communication end of the main controller, and a seventh resistor and an eighth resistor connected with the fourth MOS tube;
one end of the fourth pull-up resistor is connected with the receiving communication end of the master controller and the first end of the fourth MOS tube, the other end of the fourth pull-up resistor is connected with the power supply end of the master controller, the second end of the fourth MOS tube is connected with one end of the seventh resistor and the sending communication end of the second slave controller, the third end of the fourth MOS tube is connected with the other end of the seventh resistor and one end of the eighth resistor, and the other end of the eighth resistor is connected with the sending control end of the second slave controller.
Furthermore, the pull-up unit is a fifth pull-up resistor, one end of the fifth pull-up resistor is connected with the power supply end of the main controller, and the other end of the fifth pull-up resistor is connected with the enable end of the main controller, the first gating unit and the second gating unit;
the first gating unit comprises a fifth MOS (metal oxide semiconductor) tube connected with the fifth pull-up resistor and a ninth resistor connected with the fifth MOS tube, wherein the first end of the fifth MOS tube is connected with the fifth pull-up resistor and the enabling end of the master controller, the second end of the fifth MOS tube is connected with one end of the ninth resistor and the enabling end of the first slave controller, and the third end of the fifth MOS tube is connected with the other end of the ninth resistor and the power supply end of the first slave controller;
the second gating unit comprises a sixth MOS tube connected with the fifth pull-up resistor and a tenth resistor connected with the sixth MOS tube, wherein the first end of the sixth MOS tube is connected with the fifth pull-up resistor and the enabling end of the master controller, the second end of the sixth MOS tube is connected with one end of the tenth resistor and the enabling end of the second slave controller, and the third end of the sixth MOS tube is connected with the other end of the tenth resistor and the power supply end of the second slave controller.
The embodiment of the utility model provides a still provide a communication control device, the device includes as above communication control circuit.
The utility model discloses the beneficial effect who reaches, this scheme is through being provided with gating module and control module between a main control unit and two follow controllers, wherein gating module can be with main control unit's enable signal transmission to each from among the controller, it can realize each from the different mains voltage work of controller simultaneously, and can not produce crosstalk each other, wherein control module is used for when from its control end output control signal of the corresponding control of enable signal from the controller, switch on the communication line between the communication end of following controller and main control unit's communication end, make and realize the communication control from between controller and the main control unit. The shared serial port communication can be realized, and meanwhile, the serial port resource of the MCU is saved, and the control IC is saved, so that the cost is saved.
Drawings
Fig. 1 is a schematic block diagram of a communication control circuit according to an embodiment of the present invention;
fig. 2 is a circuit diagram of a communication control circuit according to an embodiment of the present invention;
fig. 3 is a circuit diagram of a control module according to an embodiment of the present invention;
fig. 4 is a circuit diagram of a first control unit according to an embodiment of the present invention;
fig. 5 is a circuit diagram of a second control unit according to an embodiment of the present invention;
fig. 6 is a circuit diagram of a gating module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
According to the scheme, the gating module and the control module are arranged between the master controller and the two slave controllers, wherein the gating module can transmit the enabling signals of the master controller to the slave controllers, different power supply voltages of the slave controllers can work simultaneously, crosstalk cannot be generated between the gating module and the slave controllers, the control module is used for conducting a communication line between the communication end of the slave controller and the communication end of the master controller when the slave controllers output control signals according to the corresponding control ends of the control terminals of the enable signals, and communication control between the slave controllers and the master controller can be achieved. The shared serial port communication can be realized, and meanwhile, the serial port resource of the MCU is saved, and the control IC is saved, so that the cost is saved.
Example one
As shown in fig. 1, fig. 1 is a schematic block diagram of a communication control circuit according to an embodiment of the present invention; the embodiment of the utility model provides a communication control circuit, include: the gating module 2 is respectively connected with the enabling end of the master controller 1 and the enabling ends of the two slave controllers; and the control module 5 is respectively connected with the communication end of the master controller 1, and the control ends and the communication ends of the two slave controllers; the gating module 2 is used for outputting an enable signal output by an enable end of the master controller 1 to enable ends of the two slave controllers; the slave controllers are used for correspondingly controlling the control ends thereof to output control signals according to the enabling signals, wherein the enabling signals for communication control of the two slave controllers are different; and the control module 5 is used for correspondingly controlling the on-off state between the communication end of the slave controller and the communication end of the master controller 1 according to the control signal.
In the embodiment, the master controller 1 outputs an enable signal to control the first slave controller 3 and the second slave controller 4 which need to correspondingly communicate to work; for example, when the master controller 1 outputs an enable signal of high level, the control terminal of the first slave controller 3 starts to output high level, so that the first slave controller 3 controls itself to perform data communication with the master controller 1.
In specific implementation, referring to fig. 2, fig. 2 is a circuit diagram of a communication control circuit according to an embodiment of the present invention.
In fig. 2, the enable terminal of the main controller 1 is used for sending an enable signal, and the enable terminal of the main controller 1 is denoted by EN. One of the two slave controllers is a first slave controller 3 and can also be called as a first slave controller; the other is a second slave controller 4, which may also be referred to as slave two. The enable terminal of the slave controller is used for receiving the enable signal sent by the master controller 1, and the enable terminal of the slave controller is denoted by en. The enable terminal of the first slave controller 3 is denoted by en1, and the enable terminal of the second slave controller 4 is denoted by en 2. The enable signal may be high or low.
The communication terminal of the main controller 1 includes a transmitting communication terminal of the main controller 1 and a receiving communication terminal of the main controller 1, which are denoted by-TX and-RX, respectively.
The control end of the slave controller includes a transmission control end and a reception control end of the slave controller, which are respectively denoted by TX and RX. It should be noted that the control end of the first slave controller 3 may include a transmission control end of the first slave controller 3 and a reception control end of the first slave controller 3, and in fig. 2, the transmission control end of the first slave controller 3 and the reception control end of the first slave controller 3 are denoted by TX1 and RX1, respectively. The control terminals of the second slave controller 4 may include a transmission control terminal of the second slave controller 4 and a reception control terminal of the second slave controller 4, and in fig. 2, the transmission control terminal of the second slave controller 4 and the reception control terminal of the second slave controller 4 are denoted by TX2 and RX2, respectively.
The communication end of the slave controller comprises a sending communication end and a receiving communication end of the slave controller, which are respectively represented by tx and rx. It should be noted that the communication terminals of the first slave controller 3 may include a transmitting communication terminal of the first slave controller 3 and a receiving communication terminal of the first slave controller 3, and in fig. 2, the transmitting communication terminal of the first slave controller 3 and the receiving communication terminal of the first slave controller 3 are denoted by tx1 and rx1, respectively. The communication terminals of the second slave controller 4 may include a transmitting communication terminal of the second slave controller 4 and a receiving communication terminal of the second slave controller 4, and in fig. 2, the transmitting communication terminal of the second slave controller 4 and the receiving communication terminal of the second slave controller 4 are denoted by tx2 and rx2, respectively.
The master controller 1 and the slave controllers may be a single chip microcomputer, a DSP (Digital Signal Processing), or other controller having a function of controlling and Processing signals.
In an embodiment of the present invention, referring to fig. 3, the control module 5 controls the on-off state between the communication end of the slave controller and the communication end of the master controller 1 according to the control signal. The control module 5 includes: a first control unit 6 respectively connected with the sending communication terminal (-TX) of the master controller 1, and the receiving communication terminals (RX) and the receiving control terminals (RX) of the two slave controllers; and a second control unit 7 respectively connected with the receiving communication terminal (-RX) of the master controller 1, and the transmitting communication terminals (RX) and the transmitting control terminals (RX) of the two slave controllers. The first control unit 6 is configured to correspondingly control an on-off state between the receiving communication terminal (rx) of the slave controller and the sending communication terminal (-TX) of the master controller 1 according to the control signal. The second control unit 7 is configured to correspondingly control the on-off state between the sending communication terminal (tx) of the slave controller and the receiving communication terminal (-RX) of the master controller 1 according to the control signal.
In an embodiment of the present invention, referring to fig. 4, the first control unit 6 includes: a first on-off subunit 8 and a second on-off subunit 9. The first on-off subunit 8 is respectively connected with a sending communication terminal (-TX) of the master controller 1, and a receiving communication terminal (RX1) and a receiving control terminal (RX1) of the first slave controller 3; the second on-off subunit 9 is respectively connected to the transmitting communication terminal (-TX) of the master controller 1, and the receiving communication terminal (RX2) and the receiving control terminal (RX2) of the second slave controller 4.
The first switching subunit 8 includes: a first pull-up resistor 15 and a first MOS transistor 16 connected to a transmitting communication terminal (-TX) of the master controller 1, and a first resistor 17 and a second resistor 18 connected to the first MOS transistor 16; one end of the first pull-up resistor 15 is connected to the transmitting communication terminal (-TX) of the master controller 1 and the first end (drain) of the first MOS transistor 16, the other end of the first pull-up resistor 15 is connected to the power supply terminal (host VCC) of the master controller 1, the second end (source) of the first MOS transistor 16 is connected to one end of the first resistor 17 and the receiving communication terminal (-RX) of the first slave controller 3, the third end (gate) of the first MOS transistor 16 is connected to the other end of the first resistor 17 and one end of the second resistor 18, and the other end of the second resistor 18 is connected to the receiving control terminal (RX1) of the first slave controller 3.
The second switching subunit 9 includes: a second pull-up resistor 19 and a second MOS transistor 20 connected to the transmitting communication terminal (-TX) of the main controller 1, and a third resistor 21 and a fourth resistor 22 connected to the second MOS transistor 20. One end of the second pull-up resistor 19 is connected to the sending communication terminal (-TX) of the main controller 1 and the first end (drain) of the second MOS transistor 20, the other end of the second pull-up resistor 19 is connected to the power supply terminal (host VCC) of the main controller 1, the second end (source) of the second MOS transistor 20 is connected to one end of the third resistor 21 and the receiving communication terminal (-RX) of the second slave controller 4, the third end (gate) of the second MOS transistor 20 is connected to the other end of the third resistor 21 and one end of the fourth resistor 22, and the other end of the fourth resistor 22 is connected to the receiving control terminal (RX2) of the second slave controller 4.
In an embodiment of the present invention, referring to fig. 5, the second control unit 7 includes: a second switching subunit 10 and a fourth switching subunit 11. Wherein, the second switching sub-unit 10 is respectively connected with the receiving communication terminal (-RX) of the master controller 1, and the transmitting communication terminal (TX1) and the transmitting control terminal (TX1) of the first slave controller 3; the fourth disconnection sub-unit 11 is respectively connected to the receiving communication terminal (-RX) of the master controller 1, and the transmitting communication terminal (TX2) and the transmitting control terminal (TX2) of the second slave controller 4.
The second switching subunit 10 includes: a third pull-up resistor 23 and a third MOS transistor 24 connected to the receiving communication terminal (-RX) of the main controller 1, and a fifth resistor 25 and a sixth resistor 26 connected to the third MOS transistor 24. One end of the third pull-up resistor 23 is connected to the receiving communication terminal (-RX) of the main controller 1 and the first terminal (drain) of the third MOS transistor 24, the other end of the third pull-up resistor 23 is connected to the power supply terminal (host VCC) of the main controller 1, the second terminal (source) of the third MOS transistor 24 is connected to one end of the fifth resistor 25 and the sending communication terminal (TX1) of the first slave controller 3, the third terminal (gate) of the third MOS transistor 24 is connected to the other end of the fifth resistor 25 and one end of the sixth resistor 26, and the other end of the sixth resistor 26 is connected to the sending control terminal (TX1) of the first slave controller 3.
The fourth break subunit 11 includes: a fourth pull-up resistor 27 and a fourth MOS transistor 28 connected to the receiving communication terminal (-RX) of the main controller 1, and a seventh resistor 29 and an eighth resistor 30 connected to the fourth MOS transistor 28. One end of the fourth pull-up resistor 27 is connected to the receiving communication terminal (-RX) of the main controller 1 and the first terminal (drain) of the fourth MOS transistor 28, the other end of the fourth pull-up resistor 27 is connected to the power supply terminal (host VCC) of the main controller 1, the second terminal (source) of the fourth MOS transistor 28 is connected to one end of the seventh resistor 29 and the sending communication terminal (TX2) of the second slave controller 4, the third terminal (drain) of the fourth MOS transistor 28 is connected to the other end of the seventh resistor 29 and one end of the eighth resistor 30, and the other end of the eighth resistor 30 is connected to the sending control terminal (TX2) of the second slave controller 4.
When the master controller 1 outputs the enable signal of low level, the control terminal of the second slave controller 4 starts to output high level, so that the second slave controller 4 controls itself to perform data communication with the master controller 1.
In this embodiment, the utility model discloses a be provided with gating module 2 and control module 5 between a main control unit 1 and two follow controllers, wherein gating module 2 can be with main control unit 1's enable signal transmission to each from among the controller, it can realize each from the different mains voltage work of controller simultaneously, and can not produce crosstalk each other, wherein control module 5 is used for when from its control end output control signal of the corresponding control of the enable signal of controller, switch on the communication line between the communication end of following controller and main control unit 1's communication end, make and realize the communication control from between controller and main control unit 1. The shared serial port communication can be realized, and meanwhile, the serial port resource of the MCU is saved, and the control IC is saved, so that the cost is saved.
Example two
Referring to fig. 2 and also to fig. 6, in the present embodiment, the gating module 2 includes: a pull-up unit 12, a first gate unit 13, and a second gate unit 14.
The pull-up unit 12 is connected to an enable terminal (EN) and a power supply terminal (host VCC) of the main controller 1, the first gating unit 13, and the second gating unit 14, respectively.
The first gating unit 13 is connected to the enable terminal (en1) and the power supply terminal (slave VCC) of the first slave controller 3, and the pull-up unit 12, respectively.
The second gating unit 14 is connected to the enable terminal (en2) and the power supply terminal (slave unit two VCC) of the second slave controller 4, and the pull-up unit 12, respectively.
The gating module 2 is arranged such that the supply voltage of the first slave controller 3 and the second slave controller 4 may not coincide with the supply voltage of the master controller 1. The gating module 2 outputs an enable signal output from an enable terminal (EN) of the master controller 1 to an enable terminal (EN1) of the first slave controller 3 and an enable terminal (EN2) of the second slave controller 4.
Further, the pull-up unit 12 is a fifth pull-up resistor 31, one end of the fifth pull-up resistor 31 is connected to a power supply terminal (host VCC) of the main controller 1, and the other end of the fifth pull-up resistor 31 is connected to an enable terminal (EN) of the main controller 1, the first gating unit 13, and the second gating unit 14, respectively;
further, the first gating unit 13 includes a fifth MOS transistor 32 connected to the fifth pull-up resistor 31, and a ninth resistor 33 connected to the fifth MOS transistor 32. A first end (drain) of the fifth MOS transistor 32 is connected to the fifth pull-up resistor 31 and the enable End (EN) of the master controller, a second end (source) of the fifth MOS transistor 32 is connected to one end of the ninth resistor 33 and the enable end (EN1) of the first slave controller 3, and a third end (gate) of the fifth MOS transistor 32 is connected to the other end of the ninth resistor 33 and the power supply end (slave-first VCC) of the first slave controller 3;
the second gating unit 14 includes a sixth MOS transistor 34 connected to the fifth pull-up resistor 31, and a tenth resistor 35 connected to the sixth MOS transistor 34. A first end (drain) of the sixth MOS transistor 34 is connected to the fifth pull-up resistor 31 and the enable End (EN) of the master controller, a second end (source) of the sixth MOS transistor 34 is connected to one end of the tenth resistor 35 and the enable end (EN2) of the second slave controller 4, and a third end (gate) of the sixth MOS transistor 34 is connected to the other end of the tenth resistor 35 and the power supply end (slave second VCC) of the second slave controller 4.
The second end (drain) of the fifth MOS transistor 32 is connected to one end of the ninth resistor 33 and the enable end (EN1) of the first slave controller 3, and the second end (source) of the sixth MOS transistor 34 is connected to one end of the tenth resistor 35 and the enable end (EN2) of the second slave controller 4, so that the gating module 2 outputs the enable signal output by the enable End (EN) of the master controller 1 to the enable end (EN1) of the first slave controller 3 and the enable end (EN2) of the second slave controller 4.
In the embodiment of the present invention, the enable signal outputted from the enable terminal (EN) of the master controller 1 is outputted to the enable terminal (EN1) of the first slave controller 3 and the enable terminal (EN2) of the second slave controller 4 through the gating module 2, and the control terminals of the first slave controller 3 and the second slave controller 4 are controlled to output control signals according to the enable signal, wherein the enable signals for communication control performed by the first slave controller 3 and the second slave controller 4 are different; the control module 1 correspondingly controls the on-off state between the communication ends of the first slave controller 3 and the second slave controller 4 and the communication end of the master controller 1 according to the control signal. Therefore, shared serial port communication can be realized, and meanwhile, serial port resources of the MCU are saved, and control ICs are saved, so that the cost is saved.
EXAMPLE III
The utility model also provides a communication control device, the device includes the communication control circuit that provides in the above-mentioned embodiment.
The communication control circuit comprises a communication control circuit, a gating module and two slave controllers, wherein the gating module in the communication control circuit is used for outputting an enable signal output by an enable end of the master controller to enable ends of the two slave controllers; the slave controllers are used for correspondingly controlling the control ends thereof to output control signals according to the enabling signals, wherein the enabling signals for communication control of the two slave controllers are different; the control module is used for correspondingly controlling the on-off state between the communication end of the slave controller and the communication end of the master controller according to the control signal. Through being provided with gating module and control module between a master controller and two slave controllers, wherein gating module can be with master controller's enable signal transmission to each from among the controller, it can realize each from the different mains voltage work of controller simultaneously, and can not produce the crosstalk each other, wherein control module is used for when controlling its control end output control signal according to the corresponding enable signal from the controller, switch on the communication line between the communication end of slave controller and the communication end of master controller, make can realize from the communication control between controller and the master controller. The shared serial port communication can be realized, and meanwhile, the serial port resource of the MCU is saved, and the control IC is saved, so that the cost is saved. And then make this communication control device can carry out work through two slave controllers of master controller control under the condition of not expanding serial resources for can realize sharing serial communication, practiced thrift MCU's serial resources and saved control IC simultaneously and make the saving cost.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, as any modifications, equivalents, improvements and the like made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. A communication control circuit, the circuit comprising:
the gating module is respectively connected with the enabling end of the master controller and the enabling ends of the two slave controllers; and
the control modules are respectively connected with the communication end of the master controller, the control ends and the communication ends of the two slave controllers;
the gating module is used for outputting an enable signal output by an enable end of the master controller to enable ends of the two slave controllers;
the slave controllers are used for correspondingly controlling the control ends thereof to output control signals according to the enabling signals, wherein the enabling signals for communication control of the two slave controllers are different;
the control module is used for correspondingly controlling the on-off state between the communication end of the slave controller and the communication end of the master controller according to the control signal.
2. The communication control circuit of claim 1, wherein the control module comprises:
the first control unit is respectively connected with the sending communication end of the master controller, and the receiving communication ends and the receiving control ends of the two slave controllers; and
the second control unit is respectively connected with the receiving communication end of the master controller, the sending communication ends of the two slave controllers and the sending control end;
the first control unit is used for correspondingly controlling the on-off state between the receiving communication end of the slave controller and the sending communication end of the master controller according to the control signal;
the second control unit is used for correspondingly controlling the on-off state between the sending communication end of the slave controller and the receiving communication end of the master controller according to the control signal.
3. The communication control circuit of claim 2, wherein the first control unit comprises:
a first on-off subunit and a second on-off subunit;
the first on-off subunit is respectively connected with the sending communication end of the main controller, and the receiving communication end and the receiving control end of the first slave controller;
and the second on-off subunit is respectively connected with the sending communication end of the main controller, and the receiving communication end and the receiving control end of the second slave controller.
4. The communication control circuit according to claim 2, wherein the second control unit comprises:
a third on-off subunit and a fourth on-off subunit;
the third switching-off subunit is respectively connected with the receiving communication end of the main controller, the sending communication end of the first slave controller and the sending control end;
and the fourth break subunit is respectively connected with the receiving communication end of the main controller, the sending communication end of the second slave controller and the sending control end.
5. The communication control circuit of claim 1, wherein the gating module comprises:
a pull-up unit, a first gating unit, and a second gating unit;
the pull-up unit is respectively connected with an enabling end and a power supply end of the main controller, the first gating unit and the second gating unit;
the first gating unit is respectively connected with an enabling end and a power supply end of the first slave controller and the pull-up unit;
the second gating unit is respectively connected with an enabling end and a power supply end of the second slave controller and the pull-up unit.
6. The communication control circuit of claim 3,
the first switching subunit includes: the first pull-up resistor and the first MOS tube are connected with a sending communication end of the main controller, and the first resistor and the second resistor are connected with the first MOS tube;
one end of the first pull-up resistor is connected with a sending communication end of the main controller and a first end of the first MOS tube, the other end of the first pull-up resistor is connected with a power supply end of the main controller, a second end of the first MOS tube is connected with one end of the first resistor and a receiving communication end of the first slave controller, a third end of the first MOS tube is connected with the other end of the first resistor and one end of the second resistor, and the other end of the second resistor is connected with a receiving control end of the first slave controller;
the second switching subunit includes: the second pull-up resistor and the second MOS tube are connected with the sending communication end of the main controller, and the third resistor and the fourth resistor are connected with the second MOS tube;
one end of the second pull-up resistor is connected with the sending communication end of the main controller and the first end of the second MOS tube, the other end of the second pull-up resistor is connected with the power supply end of the main controller, the second end of the second MOS tube is connected with one end of the third resistor and the receiving communication end of the second slave controller, the third end of the second MOS tube is connected with the other end of the third resistor and one end of the fourth resistor, and the other end of the fourth resistor is connected with the receiving control end of the second slave controller.
7. The communication control circuit of claim 4,
the third interruption subunit includes: the third pull-up resistor and the third MOS tube are connected with the receiving communication end of the main controller, and the fifth resistor and the sixth resistor are connected with the third MOS tube;
one end of the third pull-up resistor is connected with the receiving communication end of the main controller and the first end of the third MOS tube, the other end of the third pull-up resistor is connected with the power supply end of the main controller, the second end of the third MOS tube is connected with one end of the fifth resistor and the sending communication end of the first slave controller, the third end of the third MOS tube is connected with the other end of the fifth resistor and one end of the sixth resistor, and the other end of the sixth resistor is connected with the sending control end of the first slave controller;
the fourth disconnect sub-unit includes: a fourth pull-up resistor and a fourth MOS tube connected with a receiving communication end of the main controller, and a seventh resistor and an eighth resistor connected with the fourth MOS tube;
one end of the fourth pull-up resistor is connected with the receiving communication end of the master controller and the first end of the fourth MOS tube, the other end of the fourth pull-up resistor is connected with the power supply end of the master controller, the second end of the fourth MOS tube is connected with one end of the seventh resistor and the sending communication end of the second slave controller, the third end of the fourth MOS tube is connected with the other end of the seventh resistor and one end of the eighth resistor, and the other end of the eighth resistor is connected with the sending control end of the second slave controller.
8. The communication control circuit of claim 5,
the pull-up unit is a fifth pull-up resistor, one end of the fifth pull-up resistor is connected with the power supply end of the main controller, and the other end of the fifth pull-up resistor is connected with the enable end of the main controller, the first gating unit and the second gating unit;
the first gating unit comprises a fifth MOS (metal oxide semiconductor) tube connected with the fifth pull-up resistor and a ninth resistor connected with the fifth MOS tube, wherein the first end of the fifth MOS tube is connected with the fifth pull-up resistor and the enabling end of the master controller, the second end of the fifth MOS tube is connected with one end of the ninth resistor and the enabling end of the first slave controller, and the third end of the fifth MOS tube is connected with the other end of the ninth resistor and the power supply end of the first slave controller;
the second gating unit comprises a sixth MOS tube connected with the fifth pull-up resistor and a tenth resistor connected with the sixth MOS tube, wherein the first end of the sixth MOS tube is connected with the fifth pull-up resistor and the enabling end of the master controller, the second end of the sixth MOS tube is connected with one end of the tenth resistor and the enabling end of the second slave controller, and the third end of the sixth MOS tube is connected with the other end of the tenth resistor and the power supply end of the second slave controller.
9. A communication control device, characterized in that the device comprises a communication control circuit according to any of claims 1-8.
CN202020272099.1U 2020-03-06 2020-03-06 Communication control circuit and device Expired - Fee Related CN211826943U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020272099.1U CN211826943U (en) 2020-03-06 2020-03-06 Communication control circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020272099.1U CN211826943U (en) 2020-03-06 2020-03-06 Communication control circuit and device

Publications (1)

Publication Number Publication Date
CN211826943U true CN211826943U (en) 2020-10-30

Family

ID=73008642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020272099.1U Expired - Fee Related CN211826943U (en) 2020-03-06 2020-03-06 Communication control circuit and device

Country Status (1)

Country Link
CN (1) CN211826943U (en)

Similar Documents

Publication Publication Date Title
US10998737B2 (en) Intelligent switch system
CN108963673B (en) Data line and data transmission system capable of being set based on OTG function charge and discharge
CN111881072A (en) High-speed USB TYPE-C interface device supporting bidirectional transmission and graphic signal generator
CN109144929B (en) RS232 communication interface circuit supporting hot plug
US11616631B2 (en) Integrated circuit with radio frequency interconnect
CN211826943U (en) Communication control circuit and device
CN216873219U (en) Communication circuit and multi-master communication system
CN209570933U (en) Driving circuit
CN211826942U (en) Communication control circuit and system
CN107391411B (en) Interface circuit based on switch working mode selection
CN101304145B (en) Connector and method for connecting the connector and electronic device
CN111651393A (en) TYPE-C interface circuit
US11947484B2 (en) Universal serial bus (USB) hub with host bridge function and control method thereof
CN213661235U (en) Self-recognition power supply switching system
CN213402972U (en) Level conversion circuit and electric equipment
CN111193501B (en) Control circuit and handheld electronic equipment
CN112882967B (en) Serial port conversion circuit and debugging method
CN212515793U (en) USB high-speed serial port card
CN112199311B (en) Multi-channel power supply and data transmission switching circuit and data line
CN213342642U (en) Serial port control switch, serial port circuit and Bluetooth headset
WO2023137593A1 (en) Bus processing apparatus and system
CN113688079B (en) Multi-level switching circuit for realizing communication flow control
TWI779782B (en) Accessory device and electronic system and operation method thereof
CN219800110U (en) Circuit and device for supplying power from equipment to main equipment
CN111010156B (en) Dual-control method of electronic switch and application thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201030