CN210725281U - Single-wire bidirectional communication charging circuit and electronic equipment - Google Patents

Single-wire bidirectional communication charging circuit and electronic equipment Download PDF

Info

Publication number
CN210725281U
CN210725281U CN201922445455.5U CN201922445455U CN210725281U CN 210725281 U CN210725281 U CN 210725281U CN 201922445455 U CN201922445455 U CN 201922445455U CN 210725281 U CN210725281 U CN 210725281U
Authority
CN
China
Prior art keywords
resistor
slave
master
equipment
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201922445455.5U
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.)
Xian TCL Software Development Co Ltd
Original Assignee
Xian TCL Software Development 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 Xian TCL Software Development Co Ltd filed Critical Xian TCL Software Development Co Ltd
Priority to CN201922445455.5U priority Critical patent/CN210725281U/en
Application granted granted Critical
Publication of CN210725281U publication Critical patent/CN210725281U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model discloses a single line both-way communication charging circuit and electronic equipment. The single-wire bidirectional communication charging circuit comprises a master equipment circuit and a slave equipment circuit; the master equipment circuit is respectively connected with the signal end, the output end and the power supply end of the master equipment, and the slave equipment circuit is respectively connected with the detection end, the signal end, the output end and the power supply input end of the slave equipment; the master equipment circuit is switched on or switched off according to the level signal sent by the output end of the master equipment so as to output a voltage signal or transmit a communication signal to the slave equipment circuit; when the slave equipment circuit detects that the master equipment circuit is connected with the slave equipment circuit, the slave equipment circuit is switched on or switched off according to the level signal sent by the output end of the slave equipment so as to receive the voltage signal and then supply power to the slave equipment or transmit a communication signal. The charging and bidirectional communication functions can be realized by using common interfaces of the master and slave devices and circuits of the master and slave devices without a special chip when the master and slave devices are connected, so that the cost of the product is reduced.

Description

Single-wire bidirectional communication charging circuit and electronic equipment
Technical Field
The utility model relates to the field of electronic technology, especially, relate to a single line both-way communication charging circuit and electronic equipment.
Background
With the development of technology, more portable electronic products, such as True Wireless Stereo (TWS) earphones, tablet computers, etc., generally use metal contacts for contact charging and communication between a master device and a slave device.
Electronic products on the market at present usually use 2 contacts and special chips to realize charging and communication functions, that is, a main device (such as an earphone box) and a slave device (such as an earphone end) are respectively provided with one special chip for single-wire communication and charging, the main device and the slave device are respectively provided with two metal contacts, when the metal contacts of the main device and the slave device are contacted, the charging and bidirectional communication of the main device and the slave device are controlled through a program, and the scheme has higher cost because the special chip is needed to be used.
SUMMERY OF THE UTILITY MODEL
A primary object of the utility model is to provide a single line both-way communication charging circuit and electronic equipment aims at solving and needs to use special chip to realize both-way communication and charge among the prior art and lead to the technical problem that the electronic product is with high costs.
In order to achieve the above object, the present invention provides a single-line two-way communication charging circuit, which comprises a master device circuit and a slave device circuit; the master equipment circuit is respectively connected with a signal end, an output end and a power supply end of the master equipment, and the slave equipment circuit is respectively connected with a detection end, a signal end, an output end and a power supply input end of the slave equipment; wherein the content of the first and second substances,
the master equipment circuit is used for conducting on or off according to the level signal sent by the output end of the master equipment so as to output a voltage signal or transmit a communication signal to the slave equipment circuit;
and the slave equipment circuit is used for conducting on or off according to a level signal sent by an output end of the slave equipment when the connection between the master equipment circuit and the slave equipment circuit is detected, so as to supply power to the slave equipment or transmit the communication signal after receiving the voltage signal.
Preferably, the main device circuit includes a main signal switch unit, a first power switch unit, and a first contact unit; the first contact unit comprises a first contact and a grounding contact; wherein the content of the first and second substances,
the main signal switch unit is respectively connected with a signal end of the main equipment, an output end of the main equipment, the first power switch unit and the first contact;
the first power switch unit is respectively connected with a power supply end of the master device, an output end of the master device and the first contact;
the ground contact of the first contact unit is grounded.
Preferably, the main signal switch unit includes a first MOS transistor, a first resistor, and a second resistor; the drain electrode of the first MOS tube is connected with the signal end of the main equipment, the source electrode of the first MOS tube is connected with the first end of the first resistor, and the grid electrode of the first MOS tube is connected with the output end of the main equipment through the second resistor; the second end of the first resistor is connected with the first power switch unit and the first contact respectively.
Preferably, the first power switch unit includes a second MOS transistor, a third resistor, a fourth resistor, a fifth resistor, and a first triode; wherein the content of the first and second substances,
the source electrode of the second MOS tube is connected with the first contact, the drain electrode of the second MOS tube is connected with the drain electrode of the third MOS tube, and the grid electrode of the second MOS tube is connected with the first end of the third resistor;
the grid electrode of the third MOS tube is connected with the first end of the fourth resistor, and the source electrode of the third MOS tube is respectively connected with the power supply end of the master device and the first end of the fifth resistor;
the second end of the third resistor, the second end of the fourth resistor and the second end of the fifth resistor are connected with the collector of the first triode;
and the base electrode of the first triode is connected with the output end of the main equipment through the sixth resistor, and the emitting electrode of the first triode is grounded.
Preferably, the slave device circuit comprises a slave signal switch unit, a master-slave connection detection unit, a second power switch unit and a second contact unit; the second contact unit comprises a second contact and a grounding contact; wherein the content of the first and second substances,
the slave signal switch unit is respectively connected with a signal end of the slave equipment, an output end of the slave equipment, the second contact, the second power switch unit and the master-slave connection detection unit;
the master-slave connection detection unit is also connected with the detection end of the slave equipment;
the second power switch unit is also respectively connected with a power input end of the slave equipment and an output end of the slave equipment;
the ground contact of the second contact unit is grounded.
Preferably, the slave signal switch unit includes a fourth MOS transistor, a seventh resistor, and an eighth resistor; the drain electrode of the fourth MOS tube is connected with the signal end of the slave device, the grid electrode of the fourth MOS tube is connected with the output end of the slave device through the seventh resistor, and the source electrode of the fourth MOS tube is connected with the first end of the eighth resistor; and the second end of the eighth resistor is connected with the master-slave connection detection unit.
Preferably, the master-slave connection detection unit includes a ninth resistor; the first end of the ninth resistor is connected to the second end of the eighth resistor, the second contact and the second power switch unit, respectively, and the second end of the ninth resistor is connected to the power input end of the slave device.
Preferably, the second power switch unit includes a fifth MOS transistor, a sixth MOS transistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, and a second triode; wherein the content of the first and second substances,
a first end of the tenth resistor is connected with the second contact and the source electrode of the fifth MOS transistor respectively, and a second end of the tenth resistor is connected with a first end of the eleventh resistor, a first end of the twelfth resistor and a collector electrode of the second triode respectively;
the grid electrode of the fifth MOS tube is connected with the second end of the eleventh resistor, and the drain electrode of the fifth MOS tube is connected with the drain electrode of the sixth MOS tube;
the grid electrode of the sixth MOS tube is connected with the second end of the twelfth resistor, and the source electrode of the sixth MOS tube is connected with the power supply input end of the slave device;
and the base electrode of the second triode is connected with the output end of the slave equipment through the thirteenth resistor, and the emitting electrode of the second triode is grounded.
Preferably, the second power switching unit further includes a capacitor; and the first end of the capacitor is respectively connected with the source electrode of the sixth MOS tube and the power input end of the slave device, and the second end of the capacitor is grounded.
The utility model also provides an electronic equipment, electronic equipment includes as above single line both way communication charging circuit.
The utility model arranges the main equipment circuit and the slave equipment circuit in the single-wire two-way communication charging circuit; the master equipment circuit is respectively connected with the signal end, the output end and the power supply end of the master equipment, and the slave equipment circuit is respectively connected with the detection end, the signal end, the output end and the power supply input end of the slave equipment; the master equipment circuit is switched on or switched off according to a level signal sent by an output end of the master equipment so as to output a voltage signal or transmit a communication signal to the slave equipment circuit; when the slave equipment circuit detects that the master equipment circuit is connected with the slave equipment circuit, the slave equipment circuit is switched on or switched off according to the level signal sent by the output end of the slave equipment so as to receive the voltage signal and then supply power to the slave equipment or transmit a communication signal. The charging and bidirectional communication functions can be realized by using common interfaces of the master and slave devices and circuits of the master and slave devices without a special chip when the master and slave devices are connected, so that the cost of the product is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a functional block diagram of an embodiment of the single-line bidirectional communication charging circuit of the present invention;
FIG. 2 is a schematic diagram of an alternative configuration of the master device circuit of FIG. 1;
fig. 3 is an alternative configuration of the slave device circuit of fig. 1.
The reference numbers illustrate:
Figure BDA0002345870810000041
Figure BDA0002345870810000051
the objects, features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
It should be noted that, if directional indications (such as upper, lower, left, right, front and rear … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description relating to "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions in the embodiments may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
The utility model provides a single line both-way communication charging circuit.
Referring to fig. 1, in one embodiment, the circuit includes a master device circuit 10 and a slave device circuit 20; the master device circuit 10 is respectively connected with a signal terminal SIG1, an output terminal IO1 and a power supply terminal VCC of a master device, and the slave device circuit 20 is respectively connected with a detection terminal VCC-DET, a signal terminal SIG2, an output terminal IO2 and a power supply input terminal VCC-SYS of a slave device; the master device circuit 10 is configured to turn on or off according to a level signal sent by an output end IO1 of the master device, so as to output a voltage signal or transmit a communication signal to the slave device circuit 20; the slave device circuit 20 is configured to, when it is detected that the master device circuit 10 is connected to the slave device circuit 20, turn on or off according to a level signal sent by an output terminal IO2 of the slave device, so as to supply power to the slave device or transmit the communication signal after receiving the voltage signal.
It should be understood that the master device and the slave device refer to devices that need to be charged and bi-directionally communicate, wherein the master device provides a charging voltage to the slave device. For example, in a TWS headset, the master device is a headset case and the slave device is a headset. When the earphone contacts with the metal contact of the earphone box, the earphone box can charge the earphone or know the using state of the earphone (including but not limited to battery power information, earphone Bluetooth state, earphone volume information, earphone abnormity and the like) through communication. In a specific implementation, the number of slave devices may be 1 or more, and this embodiment is not limited thereto.
The signal terminal SIG1 of the master device refers to an interface through which the master device outputs or inputs communication signals; the output port IO1 of the master device refers to an output interface, such as an IO port, in the master device; the power supply terminal VCC of the host device refers to a power output interface of the host device, and can output a voltage of 3V to 9V. For the sake of convenience of distinction, the communication signal transmitted from the master device to the slave device is hereinafter referred to as a first signal.
The detection terminal VCC-DET of the slave device refers to an interface for detection of the slave device, the signal terminal SIG2 of the slave device refers to an interface for inputting or outputting a communication signal from the device, and the power input terminal VCC-SYS of the slave device refers to a power input interface of the slave device. For the sake of convenience of distinction, the communication signal transmitted from the slave device to the master device is hereinafter referred to as a second signal.
As an embodiment, when charging is required, the output terminal IO1 of the master device sends a high level, the master device circuit 10 outputs a voltage signal to the slave device circuit 20 through switching on and off of a switch, and when the slave device circuit 20 detects that the slave device circuit 10 is connected to the master device circuit and receives the high level sent by the output terminal IO2 of the slave device, the slave device circuit receives the voltage signal through switching on and off of the switch, and transmits the voltage signal to the power input terminal VCC-SYS of the slave device, so as to implement charging.
When the master device transmits a first signal to the slave device, the output terminal IO1 of the master device transmits a low level, the master device circuit 10 outputs the first signal to the slave device circuit 20 through the on-off of the switch, and when the slave device circuit 20 detects that the slave device is connected to the master device circuit 10 and receives the low level transmitted by the output terminal IO2 of the slave device, the slave device circuit receives the first signal through the on-off of the switch and transmits the first signal to the signal terminal SIG2 of the slave device, so that the first signal transmitted by the master device is transmitted to the slave device.
When the slave device transmits a second signal to the master device, the output terminal IO2 of the slave device transmits a low level, the slave device circuit 20 outputs the second signal to the master device circuit 10 by switching on and off the switch, and the output terminal IO1 of the master device transmits a low level to receive the second signal by switching on and off the switch, and transmits the second signal to the signal terminal SIG1 of the master device, so that the second signal transmitted by the slave device is transmitted to the master device.
In the embodiment, a master equipment circuit and a slave equipment circuit are arranged in a single-wire bidirectional communication charging circuit; the master equipment circuit is respectively connected with the signal end, the output end and the power supply end of the master equipment, and the slave equipment circuit is respectively connected with the detection end, the signal end, the output end and the power supply input end of the slave equipment; the master equipment circuit is switched on or switched off according to a level signal sent by an output end of the master equipment so as to output a voltage signal or transmit a communication signal to the slave equipment circuit; when the slave equipment circuit detects that the master equipment circuit is connected with the slave equipment circuit, the slave equipment circuit is switched on or switched off according to the level signal sent by the output end of the slave equipment so as to receive the voltage signal and then supply power to the slave equipment or transmit a communication signal. The charging and bidirectional communication functions can be realized by using common interfaces of the master and slave devices and circuits of the master and slave devices without a special chip when the master and slave devices are connected, so that the cost of the product is reduced.
Further, referring to fig. 1 and fig. 2 together, fig. 2 is an alternative structural schematic diagram of the main device circuit of fig. 1.
In this embodiment, the main device circuit 10 includes a main signal switch unit 100, a first power switch unit 110, and a first contact unit 120; the first contact unit 120 includes a first contact VCC-OUT and a ground contact GNDA; the main signal switch unit 100 is respectively connected to the signal terminal SIG1 of the main device, the output terminal IO1 of the main device, the first power switch unit 110, and the first contact VCC-OUT; the first power switch unit 110 is respectively connected to the power supply terminal VCC of the master device, the output terminal IO1 of the master device, and the first contact VCC-OUT; the ground contact GNDA of the first contact unit 120 is grounded.
It can be understood that the main signal switching unit 100 is used to turn on or off the output or input of the first signal; the first power switch unit 110 is used to turn on or off the output of the voltage signal; the first contact VCC-OUT is a metal contact or interface for a voltage signal, a first signal output, or a second signal input.
Further, the main signal switch unit 100 includes a first MOS transistor MOS1, a first resistor R1, and a second resistor R2; the drain of the first MOS transistor MOS1 is connected to the signal terminal SIG1 of the master device, the source of the first MOS transistor MOS1 is connected to the first terminal of the first resistor R1, and the gate of the first MOS transistor MOS1 is connected to the output terminal IO1 of the master device through the second resistor R2; a second end of the first resistor R1 is connected to the first power switch unit 110 and the first contact VCC-OUT, respectively.
Further, the first power switch unit 110 includes a second MOS transistor MOS2, a third MOS transistor MOS3, a third resistor R3, a fourth resistor R4, a fifth resistor R5, and a first transistor Q1; the source of the second MOS transistor MOS2 is connected to the first contact VCC-OUT, the drain of the second MOS transistor MOS2 is connected to the drain of the third MOS transistor MOS3, and the gate of the second MOS transistor MOS2 is connected to the first end of the third resistor R3; the gate of the third MOS transistor MOS3 is connected to the first end of the fourth resistor R4, and the source of the third MOS transistor MOS3 is connected to the power supply terminal VCC of the host device and the first end of the fifth resistor R5, respectively; a second end of the third resistor R3, a second end of the fourth resistor R4 and a second end of the fifth resistor R5 are all connected to a collector of the first transistor Q1; the base of the first transistor Q1 is connected to the output IO1 of the master device through the sixth resistor R6, and the emitter of the first transistor Q1 is grounded.
It is easy to understand that the first resistor R1 to the fifth resistor R5 are all current limiting resistors, and are used for protecting the MOS transistor or the triode from being damaged by overcurrent; the first MOS transistor MOS1 to the third MOS transistor MOS3 are P-channel MOS transistors.
Further, referring to fig. 1 and fig. 3 together, fig. 3 is an optional structural schematic diagram of the slave device circuit of fig. 1.
In this embodiment, the slave device circuit 20 includes a slave signal switch unit 210, a master-slave connection detection unit 220, a second power switch unit 230, and a second contact unit 240; the second contact unit 240 includes a second contact VCC-IN and a ground contact GNDB; wherein the slave signal switch unit 210 is respectively connected to the signal terminal SIG2 of the slave device, the output terminal IO2 of the slave device, the second contact VCC-IN, the second power switch unit 230, and the master-slave connection detection unit 220; the master-slave connection detection unit 220 is further connected to the detection terminal VCC-DET of the slave device; the second power switch unit 230 is further connected to a power input terminal VCC-SYS of the slave device and an output terminal IO2 of the slave device respectively; the ground contact GNDB of the second contact unit 240 is grounded.
Specifically, the slave signal switching unit 210 includes a fourth MOS transistor MOS4, a seventh resistor R7, and an eighth resistor R8; a drain of the fourth MOS transistor MOS4 is connected to the signal terminal SIG2 of the slave device, a gate of the fourth MOS transistor MOS4 is connected to the output terminal IO2 of the slave device through the seventh resistor R7, and a source of the fourth MOS transistor MOS4 is connected to a first terminal of the eighth resistor R8; a second end of the eighth resistor R8 is connected to the master-slave connection detection unit 220.
Further, the master-slave connection detection unit 220 includes a ninth resistor R9; a first end of the ninth resistor R9 is connected to the second end of the eighth resistor R8, the second contact VCC-IN, and the second power switch unit 230, respectively, and a second end of the ninth resistor R9 is connected to the power input terminal VCC-SYS of the slave device. The second power switch unit 230 includes a fifth MOS transistor MOS5, a sixth MOS transistor MOS6, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, and a second transistor Q2; a first end of the tenth resistor R10 is connected to the second contact VCC-IN and the source of the fifth MOS transistor MOS5, respectively, and a second end of the tenth resistor R10 is connected to the first end of the eleventh resistor R11, the first end of the twelfth resistor R12, and the collector of the second transistor Q2, respectively; the gate of the fifth MOS transistor MOS5 is connected to the second end of the eleventh resistor R11, and the drain of the fifth MOS transistor MOS5 is connected to the drain of the sixth MOS transistor MOS 6; the gate of the sixth MOS transistor MOS6 is connected to the second end of the twelfth resistor R12, and the source of the sixth MOS transistor MOS6 is connected to the power input terminal VCC-SYS of the slave device; the base of the second transistor Q2 is connected with the output terminal IO2 of the slave device through the thirteenth resistor R13, and the emitter of the second transistor Q2 is grounded.
Further, the second power switch unit 230 further includes a capacitor C1; a first end of the capacitor C1 is connected to the source of the sixth MOS transistor MOS6 and the power input terminal VCC-SYS of the slave device, respectively, and a second end of the capacitor C1 is grounded.
It is easy to understand that the sixth resistor R6 to the thirteenth resistor R13 are all current-limiting resistors, and are used for protecting the MOS transistor or the triode from being damaged by overcurrent; the fourth MOS transistor MOS4 to the sixth MOS transistor MOS6 are all P-channel MOS transistors; the capacitor C1 is a filter capacitor, and can provide a more stable charging voltage for the slave device.
Referring to fig. 1, fig. 2 and fig. 3, in the specific implementation, after the master device circuit 10 and the slave device circuit 20 are connected through the contacts, there are two working phases: let t1 be the master-to-slave charging phase, and t2 be the master-to-slave communication phase.
At stage t1, when the master device charges the slave device, the working principle is as follows:
in the master device, an output end IO1 of the master device is set to be high-level output, a voltage difference Vbe between a base electrode and an emitter electrode of a first triode Q1 is greater than 0.7V, the first triode Q1 is conducted, a voltage difference Vgs between a grid electrode and a source electrode of a second MOS transistor MOS2 and a third MOS transistor MOS3 meets the conduction voltage of the MOS transistors, the second MOS transistor MOS2 and the third MOS transistor MOS3 are conducted, and a first contact VCC-OUT outputs a voltage signal for supplying power to the slave device. At this time, since the output terminal IO1 of the master device outputs a high level, the voltage difference Vgs between the gate and the source of the first MOS transistor MOS1 is 0, the first MOS transistor MOS1 is turned off, and the first signal cannot be output.
IN the slave device, when the master device circuit 10 is connected to the slave device circuit 20, the voltage signal is transmitted to the detection terminal VCC-DET of the slave device through the second contact VCC-IN, and the detection terminal VCC-DET detects a high level, and determines that the charging mode is entered when the power supply voltage is input. At this time, the output port IO2 of the slave device is set to be high-level output, the voltage difference Vbe between the base and the emitter of the second triode Q2 is greater than 0.7V, the second triode Q2 is turned on, the voltage difference Vgs between the gate and the source of the fifth MOS transistor MOS5 and the sixth MOS transistor MOS6 meets the turn-on voltage of the MOS transistors, and the fifth MOS transistor MOS5 and the sixth MOS transistor MOS6 are turned on. The voltage difference Vgs between the gate and the source of the fourth MOS transistor MOS4 is 0, and the fourth MOS transistor MOS4 is turned off. The voltage signal passes through the fifth MOS5 and the sixth MOS6, and is filtered to activate the power input terminal VCC-SYS of the slave device to start charging the battery of the slave device.
At stage t2, when the master device sends communication information (i.e., the first signal) to the slave device, the operation principle is as follows:
in the main device, the output IO1 of the main device is set to be a low level output, the first triode Q1 is cut off, the voltage difference Vgs between the gate and the source of the second MOS transistor MOS2 and the third MOS transistor MOS3 is 0, the second MOS transistor MOS2 and the third MOS transistor MOS3 are cut off, and no voltage signal is output from the first contact VCC-OUT. And because the output terminal IO1 of the master device outputs a low level, a voltage difference Vgs between the gate and the source of the first MOS transistor MOS1 satisfies a turn-on voltage, the first MOS transistor MOS1 is turned on, and a first signal output by the signal terminal SIG1 of the master device is output through the first contact VCC-OUT.
IN the slave device, when the master device circuit 10 is connected to the slave device circuit 20, the first signal is input through the second contact VCC-IN, and the detection terminal VCC-DET of the slave device does not detect the voltage signal, and it is determined that the communication mode is entered. At this time, the output port IO2 of the slave device is set to be a low level output, the second transistor Q2 is turned off, the voltage difference Vgs between the gate and the source of the fifth MOS transistor MOS5 and the sixth MOS transistor MOS6 is equal to 0, and the fifth MOS transistor MOS5 and the sixth MOS transistor MOS6 are turned off. The voltage difference Vgs between the gate and the source of the fourth MOS transistor MOS4 satisfies the turn-on voltage of the MOS transistor, the fourth MOS transistor MOS4 is turned on, and the signal terminal SIG2 of the slave device receives the first signal from the master device.
At stage t2, when the slave device sends communication information (i.e., the second signal) to the master device, the working principle is as follows:
in the slave device, the output port IO2 of the slave device is set to be a low-level output, the second transistor Q2 is turned off, the voltage difference Vgs between the gate and the source of the fifth MOS transistor MOS5 and the sixth MOS transistor MOS6 is equal to 0, and the fifth MOS transistor MOS5 and the sixth MOS transistor MOS6 are both turned off. The voltage difference Vgs between the gate and the source of the fourth MOS transistor MOS4 satisfies the turn-on voltage of the MOS transistor, the fourth MOS transistor MOS4 is turned on, and the second signal sent from the signal terminal SIG2 of the device is output through the second contact VCC-IN.
In the master device, when the master device circuit 10 is connected to the slave device circuit 20, the first contact VCC-OUT has a second signal input, the output IO1 of the master device is set to a low level output, the first transistor Q1 is turned off, the voltage difference Vgs between the gate and the source of the second MOS transistor MOS2 and the third MOS transistor MOS3 is 0, and the second MOS transistor MOS2 and the third MOS transistor MOS3 are turned off. The voltage difference Vgs between the gate and the source of the first MOS transistor MOS1 satisfies the turn-on voltage Vgs of the MOS transistor, the first MOS transistor MOS1 is turned on, and the signal terminal SIG1 of the master device receives the second signal from the slave device.
The voltage, control port and communication status of the above modes can be seen in the following table:
Figure BDA0002345870810000111
of course, in the specific implementation process, the working logic at stage t2 may be adjusted according to the practical application, for example, the time duration of t2 and the content of the communication protocol are not limited in this embodiment.
This embodiment utilizes the output, the signal end commonly used of main equipment and slave unit through the concrete design of main equipment circuit and slave unit circuit, realizes single line both-way communication and the function of charging through components and parts such as simple switch tube, triode, resistance, saves space and cost, promotes product industry competitiveness.
The utility model also provides an electronic device, the electronic device includes the single-wire two-way communication charging circuit as described above, the circuit structure of the single-wire two-way communication charging circuit of the electronic device can refer to the above-mentioned embodiment, and the description is omitted herein; it can be understood that, since the electronic device of this embodiment adopts the technical solution of the above-mentioned single-wire bidirectional communication charging circuit, the electronic device has all the above-mentioned beneficial effects.
The above is only the preferred embodiment of the present invention, and not the scope of the present invention, all the equivalent structures or equivalent flow changes made by the contents of the specification and the drawings or the direct or indirect application in other related technical fields are included in the patent protection scope of the present invention.

Claims (10)

1. A single-wire bidirectional communication charging circuit is characterized by comprising a master equipment circuit and a slave equipment circuit; the master equipment circuit is respectively connected with a signal end, an output end and a power supply end of the master equipment, and the slave equipment circuit is respectively connected with a detection end, a signal end, an output end and a power supply input end of the slave equipment; wherein the content of the first and second substances,
the master equipment circuit is used for conducting on or off according to the level signal sent by the output end of the master equipment so as to output a voltage signal or transmit a communication signal to the slave equipment circuit;
and the slave equipment circuit is used for conducting on or off according to a level signal sent by an output end of the slave equipment when the connection between the master equipment circuit and the slave equipment circuit is detected, so as to supply power to the slave equipment or transmit the communication signal after receiving the voltage signal.
2. The single-wire two-way communication charging circuit of claim 1, wherein the master device circuit comprises a master signal switch unit, a first power switch unit, and a first contact unit; the first contact unit comprises a first contact and a grounding contact; wherein the content of the first and second substances,
the main signal switch unit is respectively connected with a signal end of the main equipment, an output end of the main equipment, the first power switch unit and the first contact;
the first power switch unit is respectively connected with a power supply end of the master device, an output end of the master device and the first contact;
the ground contact of the first contact unit is grounded.
3. The single-wire bidirectional communication charging circuit as claimed in claim 2, wherein the main signal switch unit comprises a first MOS transistor, a first resistor and a second resistor; the drain electrode of the first MOS tube is connected with the signal end of the main equipment, the source electrode of the first MOS tube is connected with the first end of the first resistor, and the grid electrode of the first MOS tube is connected with the output end of the main equipment through the second resistor; the second end of the first resistor is connected with the first power switch unit and the first contact respectively.
4. The single-wire bidirectional communication charging circuit as claimed in claim 3, wherein the first power switch unit comprises a second MOS transistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor and a first triode; wherein the content of the first and second substances,
the source electrode of the second MOS tube is connected with the first contact, the drain electrode of the second MOS tube is connected with the drain electrode of the third MOS tube, and the grid electrode of the second MOS tube is connected with the first end of the third resistor;
the grid electrode of the third MOS tube is connected with the first end of the fourth resistor, and the source electrode of the third MOS tube is respectively connected with the power supply end of the master device and the first end of the fifth resistor;
the second end of the third resistor, the second end of the fourth resistor and the second end of the fifth resistor are connected with the collector of the first triode;
and the base electrode of the first triode is connected with the output end of the main equipment through the sixth resistor, and the emitting electrode of the first triode is grounded.
5. The single-wire bidirectional communication charging circuit according to any one of claims 1 to 4, wherein the slave device circuit includes a slave signal switching unit, a master-slave connection detection unit, a second power switching unit, and a second contact unit; the second contact unit comprises a second contact and a grounding contact; wherein the content of the first and second substances,
the slave signal switch unit is respectively connected with a signal end of the slave equipment, an output end of the slave equipment, the second contact, the second power switch unit and the master-slave connection detection unit;
the master-slave connection detection unit is also connected with the detection end of the slave equipment;
the second power switch unit is also respectively connected with a power input end of the slave equipment and an output end of the slave equipment;
the ground contact of the second contact unit is grounded.
6. The single-wire bidirectional communication charging circuit as claimed in claim 5, wherein the slave signal switch unit comprises a fourth MOS transistor, a seventh resistor and an eighth resistor; the drain electrode of the fourth MOS tube is connected with the signal end of the slave device, the grid electrode of the fourth MOS tube is connected with the output end of the slave device through the seventh resistor, and the source electrode of the fourth MOS tube is connected with the first end of the eighth resistor; and the second end of the eighth resistor is connected with the master-slave connection detection unit.
7. The single-wire bidirectional communication charging circuit according to claim 6, wherein said master-slave connection detecting unit includes a ninth resistor; the first end of the ninth resistor is connected to the second end of the eighth resistor, the second contact and the second power switch unit, respectively, and the second end of the ninth resistor is connected to the power input end of the slave device.
8. The single-wire bidirectional communication charging circuit as recited in claim 7, wherein the second power switch unit comprises a fifth MOS transistor, a sixth MOS transistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor and a second triode; wherein the content of the first and second substances,
a first end of the tenth resistor is connected with the second contact and the source electrode of the fifth MOS transistor respectively, and a second end of the tenth resistor is connected with a first end of the eleventh resistor, a first end of the twelfth resistor and a collector electrode of the second triode respectively;
the grid electrode of the fifth MOS tube is connected with the second end of the eleventh resistor, and the drain electrode of the fifth MOS tube is connected with the drain electrode of the sixth MOS tube;
the grid electrode of the sixth MOS tube is connected with the second end of the twelfth resistor, and the source electrode of the sixth MOS tube is connected with the power supply input end of the slave device;
and the base electrode of the second triode is connected with the output end of the slave equipment through the thirteenth resistor, and the emitting electrode of the second triode is grounded.
9. The single-wire two-way communication charging circuit of claim 8, wherein the second power switch unit further comprises a capacitor; and the first end of the capacitor is respectively connected with the source electrode of the sixth MOS tube and the power input end of the slave device, and the second end of the capacitor is grounded.
10. An electronic device comprising a single-wire two-way communication charging circuit as claimed in any one of claims 1 to 9.
CN201922445455.5U 2019-12-30 2019-12-30 Single-wire bidirectional communication charging circuit and electronic equipment Active CN210725281U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922445455.5U CN210725281U (en) 2019-12-30 2019-12-30 Single-wire bidirectional communication charging circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922445455.5U CN210725281U (en) 2019-12-30 2019-12-30 Single-wire bidirectional communication charging circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN210725281U true CN210725281U (en) 2020-06-09

Family

ID=70936761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922445455.5U Active CN210725281U (en) 2019-12-30 2019-12-30 Single-wire bidirectional communication charging circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN210725281U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363106A (en) * 2020-09-29 2022-04-15 深圳英集芯科技股份有限公司 Single-wire communication apparatus, communication system, and single-wire communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363106A (en) * 2020-09-29 2022-04-15 深圳英集芯科技股份有限公司 Single-wire communication apparatus, communication system, and single-wire communication method
CN114363106B (en) * 2020-09-29 2024-01-05 深圳英集芯科技股份有限公司 Single-wire communication device, communication system, and single-wire communication method

Similar Documents

Publication Publication Date Title
CN108494058B (en) Charging box circuit of wireless earphone, wireless earphone and earphone charging communication device
CN104239240A (en) Electronic device with universal serial bus (USB) interface with integration function
CN110611856B (en) Communication control method, device and system, charging box and wireless earphone
US20070075680A1 (en) Charging mode control circuit
JP2017525053A5 (en)
JP2020039243A (en) Bluetooth(r) earphone, and charging case and charging system thereof
WO2015131335A1 (en) Charging circuit and terminal
CN210725272U (en) Earphone charging box
CN210725281U (en) Single-wire bidirectional communication charging circuit and electronic equipment
CN211669346U (en) Connection detection system
CN202798652U (en) Signal conversion circuit and interface switching equipment
CN212486771U (en) Reset circuit and TWS earphone
TWI534631B (en) Dongle for electronic apparatus
CN113365185A (en) Wireless earphone and earphone system
CN108197057B (en) Portable equipment
CN216052683U (en) MCU long press reset disaster prevention circuit
CN212751846U (en) Time division multiplexing circuit and TWS device
CN205335900U (en) Electronic equipment and externally fill electrical detection circuitry thereof
CN112086830B (en) Data line circuit communicating with iOS device
CN212484136U (en) Time division multiplexing circuit and TWS device
CN212486763U (en) Earphone box-entering detection circuit and TWS earphone
CN108155531B (en) Connecting device and data transmission system using same
CN212013016U (en) Wireless earphone reset circuit and wireless earphone
CN109960677B (en) Extension circuit for USB interface
CN210577869U (en) Charging and power conversion circuit and connector thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant