Gate circuit device and charging and discharging device
The gating circuit device simplifies the charging and discharging process of the power bank, enables bidirectional charging and discharging, reduces the number of times the cable is plugged and unplugged, and extends the product's lifespan.
Patent Information
- Application Number
- CN202422709474.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2034-11-07
AI Technical Summary
Traditional power bank charging circuits lack input/output circuit design, resulting in cumbersome charging and discharging processes that require repeatedly switching between the connection cable and the charging/discharging device's interface.
The device employs a gating circuit, which includes a control circuit module, an interface socket, and three circuit components. By detecting the connection status of the circuit components, a bidirectional charging and discharging gating circuit design is achieved, simplifying the charging and discharging process.
Charging or discharging can be performed without repeatedly switching the connection methods of circuit components, reducing the number of times cables are plugged and unplugged and extending the product's lifespan.
Smart Images

Figure CN223567329U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of charging, in particular to a gating circuit device and a charging and discharging device. BACKGROUND
[0002] A mobile power supply, also known as a portable charger, is used to charge electronic products in a mobile manner. However, the charging circuit of a conventional mobile power supply is one-to-one charging or one-to-two charging, and lacks circuit design for input and output, resulting in the need to repeatedly switch the connection of the connection line and the connection interface of the charging and discharging equipment when in use, and thus causing the charging and discharging process to be relatively cumbersome. CONTENT OF THE UTILITY MODEL
[0003] Therefore, it is necessary to provide a gating circuit device and a charging and discharging device.
[0004] In an embodiment of the present application, a gating circuit device includes a control circuit module, an interface socket, and three circuit components.
[0005] The control circuit module connects the three circuit components through the interface socket and detects the connection state of the three circuit components.
[0006] In a state in which the three circuit components are connected to the interface socket as access terminals, the control circuit module disconnects the output of the three circuit components.
[0007] In a state in which at least one of the three circuit components is connected as an access terminal and at least one is connected to a terminal to be charged as a charging output terminal, the control circuit module turns on the output of the charging output terminal.
[0008] In a state in which at least one of the three circuit components is connected as an access terminal and at least one is connected to a charging adapter as a charging input terminal, the control circuit module turns on the input of the charging input terminal.
[0009] The above-mentioned gating circuit device, through the cooperation of the control circuit module, the interface socket, and the three circuit components, can obtain the application state of the three circuit components, including the access terminal, the charging output terminal, and the charging input terminal, by simply detecting the connection state of the three circuit components. The control circuit module can thus select to turn on or cut off the input and output of the circuit components, and thus provides a gating circuit design that can be applied to bidirectional charging and discharging. In use, the connection mode of the circuit components does not need to be repeatedly switched, and charging work or discharging work can be performed, thereby simplifying the charging and discharging use mode and also being beneficial to reducing the number of times of plugging and unplugging the wire, and thus ensuring the service life of the product.
[0010] In one of the embodiments, the control circuit module turns on the output of the access end when two of the three circuit assemblies are access ends and the other is a charging output end, or turns on the input of the access end when the other is a charging input end.
[0011] The control circuit module turns on the output of the access end when one of the three circuit assemblies is an access end and the other two are charging output ends, or turns on the input and output of the access end when one of the other two is a charging output end and the other is a charging input end, or turns on the input of the access end when both of the other two are charging input ends.
[0012] In one of the embodiments, the control circuit module connects the three circuit assemblies through the interface sockets respectively by the conductive lines, and obtains the connection state of the three circuit assemblies by detecting the conduction or disconnection of the conductive lines; or,
[0013] The gating circuit device further comprises three interface sockets, the control circuit module is connected to the interface sockets, and the three circuit assemblies are respectively and correspondingly and detachably connected to the three interface sockets; or,
[0014] Each of the circuit assemblies comprises an interface and a circuit module connected thereto; one of the circuit modules is connected to the other two circuit modules through separate wires.
[0015] For example, the first circuit assembly comprises a first interface and a first circuit module connected thereto, the second circuit assembly comprises a second interface and a second circuit module connected thereto, and the third circuit assembly comprises a third interface and a third circuit module connected thereto; the third circuit module is connected to the first circuit module through a first wire and to the second circuit module through a second wire.
[0016] In one of the embodiments, the three circuit assemblies comprise a first circuit assembly, a second circuit assembly, and a third circuit assembly.
[0017] The control circuit module turns on the output of the first circuit assembly when the first circuit assembly is an access end, one of the second circuit assembly and the third circuit assembly is a charging output end, and the other is vacant or both are charging output ends, and turns on the output of the charging output end through the first circuit assembly.
[0018] In the state that the first circuit component is the access end, one of the second circuit component and the third circuit component is the charging output end, the other is the charging input end, or both are the charging input end, the control circuit module turns on the input and the output of the first circuit component respectively, and turns on the output of the charging output end through the first circuit component, and turns on the input of the charging input end through the first circuit component;
[0019] In the state that the first circuit component is the access end, one of the second circuit component and the third circuit component is the charging input end, the other is idle, or both are the charging input end, the control circuit module turns on the input of the first circuit component, and turns on the input of the charging input end through the first circuit component respectively;
[0020] In the state that the second circuit component is the access end, one of the first circuit component and the third circuit component is the charging output end, the other is idle, or both are the charging output end, the control circuit module turns on the output of the second circuit component, and turns on the output of the charging output end through the second circuit component respectively;
[0021] In the state that the second circuit component is the access end, one of the first circuit component and the third circuit component is the charging output end, the other is the charging input end, the control circuit module turns on the input and the output of the second circuit component respectively, and turns on the output of the charging output end through the second circuit component, and turns on the input of the charging input end through the second circuit component;
[0022] In the state that the second circuit component is the access end, one of the first circuit component and the third circuit component is the charging input end, the other is idle, or both are the charging input end, the control circuit module turns on the input of the second circuit component, and turns on the input of the charging input end through the second circuit component respectively;
[0023] In the state that the third circuit component is the access end, one of the first circuit component and the second circuit component is the charging output end, the other is idle, or both are the charging output end, the control circuit module turns on the output of the third circuit component, and turns on the output of the charging output end through the third circuit component respectively;
[0024] In the state that the third circuit component is the access end, one of the first circuit component and the second circuit component is the charging output end, the other is the charging input end, the control circuit module turns on the input and the output of the third circuit component respectively, and turns on the output of the charging output end through the third circuit component, and turns on the input of the charging input end through the third circuit component;
[0025] In a state where the third circuit component is as an access end, one of the first circuit component and the second circuit component is as a charging input end, the other is vacant, or both are as charging input ends, the control circuit module turns on the input of the third circuit component, and turns on the input of the charging input end through the third circuit component.
[0026] In one of the embodiments, one of the three circuit components is a circuit component with a Lightning interface, and the other two are circuit components with a Type-C interface.
[0027] In one of the embodiments, the control circuit module includes a switching reset circuit and two insertion detection reset circuits connected with the switching reset circuit respectively;
[0028] The two insertion detection reset circuits are configured to be connected with two different interface sockets, and detect the connection state of the circuit components through the corresponding interface sockets;
[0029] The switching reset circuit is configured to be connected with the three interface sockets respectively;
[0030] In a state where the three circuit components are all connected with the interface sockets, the switching reset circuit disconnects the outputs of the three circuit components respectively;
[0031] In a state where at least one of the three circuit components is as an access end, and at least one accesses a terminal to be charged to be as a charging output end, the switching reset circuit turns on the output of the charging output end;
[0032] In a state where at least one of the three circuit components is as an access end, and at least one accesses a charging adapter to be as a charging input end, the switching reset circuit turns on the input of the charging input end.
[0033] In one of the embodiments, the switching reset circuit includes:
[0034] A control channel switching circuit that controls channel switching by using two analog switches in cooperation;
[0035] A power line switching circuit connected with the control channel switching circuit and switching power lines by using six field effect transistors in cooperation; and
[0036] A control channel reset circuit connected with the control channel switching circuit and resetting the control channel by using three field effect transistors in cooperation.
[0037] In one of the embodiments, a gating circuit device includes a switching reset circuit and two insertion detection reset circuits connected with the switching reset circuit respectively;
[0038] The switching reset circuit includes:
[0039] The control channel switching circuit adopts two analog switches to switch the control channel.
[0040] The power line switching circuit adopts six field effect transistors to switch the power line.
[0041] The control channel reset circuit adopts three field effect transistors to reset the control channel.
[0042] In one embodiment, the control channel switching circuit comprises:
[0043] The first analog switch U1 has two output terminals connected to the T_CC channel and the L_CC channel respectively, a selection terminal connected to the T channel through a diode D10 and connected to a power supply terminal through a resistor R2.
[0044] The second analog switch U2 has an input terminal connected to the CC channel, one output terminal connected to the input terminal of the first analog switch U1, and the other output terminal connected to a voltage input terminal through a resistor R1; a selection terminal connected to the S channel and connected to a power supply terminal through a first parallel circuit composed of a resistor R22 and a capacitor C1; and
[0045] The voltage stabilizing circuit U5 has an input terminal connected to the voltage bus through a resistor R21 and an output terminal connected to the power supply terminal of the second analog switch U2 and connected to the ground through a capacitor C24.
[0046] The power line switching circuit comprises:
[0047] The first field effect transistor Q1 has a gate connected to the ground through a resistor R8 and connected to the voltage bus through a resistor R7; a source connected to the ground; and a drain connected to the OTG_EN channel through a resistor R35.
[0048] The second field effect transistor Q2 has a gate connected to the voltage bus through a resistor R3 and connected to the T channel through a resistor R5 and connected to the OTG_EN channel through a resistor R34; a source connected to the voltage bus; and a drain connected to the T_VOUT channel.
[0049] The third field effect transistor Q3 has a gate connected to the OTG_EN channel through a resistor R35; a source connected to the gate through a resistor R4; and a drain connected to the voltage bus.
[0050] The fourth field effect transistor Q4 has a gate connected to the gate of the second field effect transistor Q2; a source connected to the voltage bus; and a drain connected to the T_VOUT channel.
[0051] The fifth field effect transistor Q5 has a gate connected to the gate of the third field effect transistor Q3; a source connected to the source of the third field effect transistor Q3; and a drain connected to the L_VOUT channel.
[0052] a sixth field effect transistor Q6, wherein the gate is connected to the ground through a resistor R10, and further connected to the CC channel through a resistor R9, and connected to the voltage input terminal through a resistor R11, respectively; the source is connected to the ground; and the drain is connected to the gate of the first field effect transistor Q1;
[0053] The control channel reset circuit comprises:
[0054] a seventh field effect transistor Q7, wherein the gate is connected to the voltage bus through a resistor R13, and further connected to the CC channel through a resistor R14; the source is connected to the T channel; and the drain is connected to the CC channel through a resistor R12;
[0055] an eighth field effect transistor Q8, wherein the gate is connected to the ground through a second parallel circuit composed of a resistor R16 and a capacitor C2, and further connected to the S channel through a third parallel circuit composed of a resistor R33 and a capacitor C3; the source is connected to the ground; and the drain is connected to the CC channel through a resistor R15 and a resistor R12, respectively; and
[0056] a ninth field effect transistor Q9, wherein the gate is connected to the CC channel through a resistor R17 and a resistor R18, and further connected to the voltage bus through a resistor R19 and connected to the T channel through a resistor R20, respectively, after being connected to the ground through a capacitor C6; the source is connected to the CC channel through a resistor R18; and the drain is connected to the voltage bus.
[0057] In other embodiments, the control circuit module comprises a low dropout regulator module, a main control module, a port input and output module, a switch module, and a signal switching module;
[0058] The low dropout regulator module supplies power to the main control module and the port input and output module, respectively;
[0059] The three port input and output modules are connected to the three interface sockets one by one, respectively;
[0060] The three switch modules are connected to the three port input and output modules one by one, respectively;
[0061] The main control module is connected to the signal switching module, each port input and output module, and each switch module, and controls the switching of each port input and output module through each switch module;
[0062] The main control module is further connected to each interface socket through the signal switching module to switch the control channels of each interface socket.
[0063] In one embodiment, a charging and discharging device comprises a battery module and a gating circuit device of any embodiment;
[0064] The control circuit module of the gating circuit device is connected to the battery module.
[0065] In one of the embodiments, the charging and discharging device further comprises a connecting wire, the connecting wire comprising three connecting portions, and the three circuit assemblies are arranged in the three connecting portions one by one. BRIEF DESCRIPTION OF DRAWINGS
[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0067] Figure 1 The structure schematic diagram of an embodiment of the gating circuit device of the present application.
[0068] Figure 2 The first application state schematic diagram of the embodiment shown. Figure 1
[0069] Figure 3 The second application state schematic diagram of the embodiment shown. Figure 1
[0070] Figure 4 The third application state schematic diagram of the embodiment shown. Figure 1
[0071] Figure 5 The fourth application state schematic diagram of the embodiment shown. Figure 1
[0072] Figure 6 The fifth application state schematic diagram of the embodiment shown. Figure 1
[0073] Figure 7 The sixth application state schematic diagram of the embodiment shown. Figure 1
[0074] Figure 8 The seventh application state schematic diagram of the embodiment shown. Figure 1
[0075] Figure 9 The eighth application state schematic diagram of the embodiment shown. Figure 1
[0076] The control channel switching circuit schematic diagram of another embodiment of the gating circuit device of the present application. Figure 10
[0077] The power line switching circuit schematic diagram of the embodiment shown. Figure 11 Figure 10 The power line switching circuit schematic diagram of the embodiment shown.
[0078] Figure 12 For Figure 11 A part of the embodiment shown in the enlarged schematic view.
[0079] Figure 13 For Figure 11 B part of the embodiment shown in the enlarged schematic view.
[0080] Figure 14 For Figure 10 Control channel reset circuit schematic diagram of the embodiment shown.
[0081] Figure 15 For Figure 10 Output 4-core Type-C interface pad schematic diagram of the embodiment shown.
[0082] Figure 16 For Figure 10 Output 3-core Lightning interface pad schematic diagram of the embodiment shown.
[0083] Figure 17 For the structure schematic diagram of an embodiment of the charging and discharging device.
[0084] Figure 18 For the structure schematic diagram of another embodiment of the charging and discharging device.
[0085] Reference signs:
[0086] Connecting wire 100, first wire 101, second wire 102, first connecting part 110, second connecting part 120, main connecting part 130, first interface 112, first circuit module 113, first circuit component 114, second force receiving part 121, second interface 122, second circuit module 123, second circuit component 124, third force receiving part 131, third interface 132, third circuit module 133, third circuit component 134;
[0087] Charging and discharging device 200, charging and discharging equipment body 210, first interface socket 211, second interface socket 212, third interface socket 213, control circuit module 214, battery module 215;
[0088] Terminal to be charged 300, charging adapter 400, gating circuit device 500, first insertion detection reset circuit 510, second insertion detection reset circuit 520, switching reset circuit 530. DETAILED DESCRIPTION
[0089] In order to make the above objectives, features and advantages of the present application more clear and comprehensible, the detailed description of the specific embodiments of the present application will be made below with reference to the accompanying drawings. In the following description, a lot of specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many different ways other than the one described herein, and one of ordinary skill in the art can make similar improvements without departing from the scope of the present application, and therefore the present application is not limited to the specific embodiments disclosed below.
[0090] It is to be noted that when a component is referred to as being "on" or "disposed on" another component, it can be directly on the other component or there can be intervening components present. When a component is referred to as being "connected" to another component, it can be directly connected to the other component or there can be intervening components present. The terms "vertical", "horizontal", "upper", "lower", "left", "right", and similar terms as used in the description of the specification are for the purpose of illustration only and do not indicate an exclusive orientation.
[0091] In addition, the terms "first", "second", and the like, are used merely to describe items that differ from one another, without necessarily implying a relative importance or a quantity. Thus, a feature defined with "first" or "second" can implicitly or explicitly include at least one of the features. In the description of the specification, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically defined.
[0092] In the present application, unless otherwise explicitly specified and limited, "on", "under", "above", and "over" of a first feature to a second feature can mean that the first feature is in direct contact with the second feature, or the first feature is indirectly in contact with the second feature through an intermediate medium. Moreover, "above", "over", and "on" of a first feature to a second feature can mean that the first feature is directly above or obliquely above the second feature, or only means that the first feature is horizontally higher than the second feature. "Below", "under", and "underneath" of a first feature to a second feature can mean that the first feature is directly below or obliquely below the second feature, or only means that the first feature is horizontally lower than the second feature.
[0093] Unless otherwise defined, all technical and scientific terms used in the specification of the present application have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The term "and / or" used in the specification of the present application includes any and all combinations of one or more of the associated listed items.
[0094] The application discloses a gating circuit device and a charging and discharging device, and relates to the technical field of gating circuit devices. Figures 1 to 14 The gating circuit device and the charging and discharging device are described in detail below.
[0095] In an embodiment of the application, a gating circuit device 500 includes a control circuit module 214, an interface socket and three circuit components; the control circuit module 214 is connected to the three circuit components through the interface socket and detects the connection state of the three circuit components. Figure 1 In an embodiment, the control circuit module 214 is connected to the three circuit components through the interface socket by using conductive lines, and the connection state of the three circuit components is obtained by detecting the conduction or disconnection of the conductive lines.
[0096] As an example, Figure 1In the embodiment shown, the gating circuit device 500 further comprises three interface sockets, the control circuit module 214 is connected to the interface sockets, and the three circuit assemblies are respectively and correspondingly and detachably connected to the three interface sockets. Specifically, the gating circuit device 500 comprises three interface sockets, including a first interface socket 211, a second interface socket 212, and a third interface socket 213; the three circuit assemblies include a first circuit assembly 114, a second circuit assembly 124, and a third circuit assembly 134; the first circuit assembly 114 is detachably connected to the first interface socket 211, i.e., is detachably connected to the first interface socket 211; the second circuit assembly 124 is detachably connected to the second interface socket 212, i.e., is detachably connected to the second interface socket 212; and the third circuit assembly 134 is detachably connected to the third interface socket 213, i.e., is detachably connected to the third interface socket 213; the remaining embodiments are similar and will not be described in detail.
[0097] In the state where the three circuit assemblies are connected to the interface sockets as access terminals, the control circuit module 214 respectively disconnects the outputs of the three circuit assemblies; as an example, as shown in Figure 2 the first circuit assembly 114 is connected to the first interface socket 211, the second circuit assembly 124 is connected to the second interface socket 212, and the third circuit assembly 134 is connected to the third interface socket 213, the control circuit module 214 respectively disconnects the outputs of the first circuit assembly 114, the second circuit assembly 124, and the third circuit assembly 134, which can also be understood as that the control circuit module 214 respectively disconnects the outputs of the first interface socket 211, the second interface socket 212, and the third interface socket 213. In each embodiment, the interface socket can also be referred to as an interface, a socket, a connection terminal, a port, or a connection terminal, etc., for connecting a circuit assembly.
[0098] In the state where at least one of the three circuit assemblies is connected to the interface socket as an access terminal, and at least one is connected to the terminal to be charged 300 as a charging output terminal, the control circuit module 214 turns on the output of the charging output terminal; as an example, as shown in Figure 3 the first circuit assembly 114 is connected to the first interface socket 211 as an access terminal, the third circuit assembly 134 is connected to the third interface socket 213 as an access terminal, and the second circuit assembly 124 is disconnected from the second interface socket 212, and is connected to the terminal to be charged 300 as a charging output terminal, in this state, the control circuit module 214 turns on the output of the charging output terminal, i.e., turns on the second circuit assembly 124, i.e., turns on the first interface socket 211 and / or the third interface socket 213, and controls the charging output of the second interface socket 212 through the corresponding line, i.e., wire.
[0099] In the state that at least one of the three circuit components is connected as the access terminal, and at least one of the charging adapters 400 is connected as the charging input terminal, the control circuit module 214 turns on the input of the charging input terminal; for example, as shown in Figure 4 In the state that the first circuit component 114 is disconnected from the first interface socket 211, the second circuit component 124 is connected to the second interface socket 212 as the access terminal, the third circuit component 134 is disconnected from the third interface socket 213, and the first circuit component 114 is connected to the charging adapter 400 as the charging input terminal, the control circuit module 214 turns on the input of the charging input terminal, i.e. turns on the first circuit component 114, i.e. turns on the first interface socket 211 and the second interface socket 212, and controls the charging input of the second interface socket 212 through the corresponding line, i.e. the wire.
[0100] Alternatively, another embodiment is as shown in Figure 5 In the state that the first circuit component 114 is disconnected from the first interface socket 211 and connected to the terminal 300 to be charged as the charging output terminal, the second circuit component 124 is disconnected from the second interface socket 212 and connected to the charging adapter 400 as the charging input terminal, and the third circuit component 134 is connected to the third interface socket 213 as the access terminal, the control circuit module 214 turns on the input of the charging input terminal, i.e. turns on the second circuit component 124, i.e. turns on the second circuit component 124 and the third interface socket 213, so that the control circuit module 214 controls the second circuit component 124 to perform the charging input through the third interface socket 213 through the corresponding line; and the control circuit module 214 turns on the output of the charging output terminal, i.e. turns on the first circuit component 114, i.e. turns on the first circuit component 114 and the third interface socket 213, so that the control circuit module 214 controls the first circuit component 114 to perform the charging output through the third interface socket 213 through the corresponding line while performing the charging input. The remaining embodiments are similar and will not be described in detail.
[0101] Such a structure design, through the cooperation of the control circuit module 214, the interface socket and the three circuit components, only needs to simply detect the connection state of the three circuit components to obtain the application state of the three circuit components, including the access terminal, the charging output terminal and the charging input terminal, and the control circuit module 214 can select to turn on or cut off the input and output of the circuit component, thereby providing a gating circuit design applicable to bidirectional charging and discharging. In use, the charging work or the discharging work can be performed without repeatedly switching the connection mode of the circuit component, thereby simplifying the charging and discharging use mode, and also being beneficial to reducing the plugging and unplugging frequency of the wire, and further ensuring the service life of the product.
[0102] In one of the embodiments, the control circuit module 214 conducts the output of the access end when two of the three circuit components are the access end and the other is the charging output end, or conducts the input of the access end when two of the three circuit components are the access end and the other is the charging input end; as an example, as shown in Figure 3 the first circuit component 114 accesses the first interface socket 211 as the access end, the third circuit component 134 accesses the third interface socket 213 as the access end, the second circuit component 124 is unplugged from the second interface socket 212 and accesses the terminal to be charged 300 as the charging output end, and the control circuit module 214 conducts the output of the first circuit component 114 and / or the third circuit component 134; that is, the first circuit component 114 and / or the third circuit component 134 are used as the output circuit.
[0103] Alternatively, the first circuit component 114 accesses the first interface socket 211 as the access end, the third circuit component 134 accesses the third interface socket 213 as the access end, the second circuit component 124 is unplugged from the second interface socket 212 and accesses the charging adapter 400 as the charging input end, and the control circuit module 214 conducts the input of the first circuit component 114 and / or the third circuit component 134; that is, the first circuit component 114 and / or the third circuit component 134 are used as the input circuit. The remaining embodiments are similar and will not be described in detail.
[0104] As an example, the control circuit module 214 is connected to the first circuit component 114, the second circuit component 124 and the third circuit component 134 respectively; when the first circuit component 114, the second circuit component 124 and the third circuit component 134 are all in the plugged state, the control circuit module 214 disconnects the output of the first circuit component 114, the second circuit component 124 and the third circuit component 134; when two of the first circuit component 114, the second circuit component 124 and the third circuit component 134 are in the plugged state, the control circuit module 214 detects the connection state of the other one, in the state of connecting the terminal 300 to be charged, the control circuit module 214 turns on the output of at least one in the plugged state; in the state of connecting the charging adapter 400, the control circuit module 214 turns on the input of at least one in the plugged state; when one of the first circuit component 114, the second circuit component 124 and the third circuit component 134 is in the plugged state, the control circuit module 214 detects the connection state of the other two, in the state of connecting one or two terminals 300 to be charged, the control circuit module 214 turns on the output of one in the plugged state; in the state of connecting one terminal 300 to be charged and one charging adapter 400, the control circuit module 214 turns on the input and the output of one in the plugged state respectively; in the state of connecting one or two charging adapters 400, the control circuit module 214 turns on the input of one in the plugged state.
[0105] In one of the embodiments, when one of the three circuit components is an access terminal and the other two are charging output terminals, the control circuit module 214 turns on the output of the access terminal; as an example, as shown in Figure 6 , the first circuit component 114 is unplugged from the first interface socket 211 and accesses one terminal 300 to be charged as a charging output terminal; the second circuit component 124 is unplugged from the second interface socket 212 and accesses another terminal 300 to be charged as a charging output terminal; the third circuit component 134 accesses the third interface socket 213 as an access terminal, in this state, the control circuit module 214 turns on the output of the third circuit component 134, that is, charges two terminals 300 to be charged through the third circuit component 134 respectively via the first circuit component 114 and the second circuit component 124; the rest of the embodiments are similar and will not be repeated here.
[0106] Alternatively, when the other two circuit components are a charging output terminal and a charging input terminal respectively, the control circuit module 214 turns on the input and the output of the access terminal respectively; see the previous description of Figure 5 , which will not be repeated here.
[0107] Or, in the state that both of the two circuit components are as charging input, the control circuit module 214 turns on the input of the one circuit component in the access state; as an example, as shown in Figure 7 the first circuit component 114 is pulled out from the first interface socket 211, and one charging adapter 400 is accessed as charging input; the second circuit component 124 is pulled out from the second interface socket 212, and another charging adapter 400 is accessed as charging input; the third circuit component 134 is accessed to the third interface socket 213 as access end, in this state, the control circuit module 214 turns on the input of the third circuit component 134, that is, charging is carried out through the first circuit component 114 and the second circuit component 124 respectively and the third circuit component 134 simultaneously; the rest of the embodiments are similar, and are not described here.
[0108] In one of the embodiments, each circuit component includes an interface and a circuit module connected; one of the circuit modules is connected to the other two circuit modules through separate wires. As an example, in combination with Figure 1 and Figure 8 , the first circuit component 114 includes the first interface 112 and the first circuit module 113 connected, the second circuit component 124 includes the second interface 122 and the second circuit module 123 connected, and the third circuit component 134 includes the third interface 132 and the third circuit module 133 connected; the third circuit module 133 is connected to the first circuit module 113 through the first wire 101, and is also connected to the second circuit module 123 through the second wire 102.
[0109] In one of the embodiments, the three circuit components include the first circuit component 114, the second circuit component 124 and the third circuit component 134; the connection relationship is described as follows.
[0110] As an example, in the state that the first circuit component 114 is as access end, one of the second circuit component 124 and the third circuit component 134 is as charging output, the other is vacant, or both are as charging output, the control circuit module 214 turns on the output of the first circuit component 114, and turns on the output of the charging output through the first circuit component 114; that is, for the circuit component as charging output, its output is turned on, and for the vacant circuit component, its output is not turned on. In one of the embodiments, as shown in Figure 9 the first circuit component 114 is as access end, the second circuit component 124 is vacant, and the third circuit component 134 is as charging output, the control circuit module 214 turns on the output of the first circuit component 114, and turns on the output of the third circuit component 134 through the first circuit component 114; the rest of the embodiments are similar, and are not described here.
[0111] As an example, in the state that the first circuit component 114 is the access end, one of the second circuit component 124 and the third circuit component 134 is the charging output end, and the other is the charging input end, the control circuit module 214 respectively turns on the input and the output of the first circuit component 114, turns on the output of the charging output end through the first circuit component 114, and turns on the input of the charging input end through the first circuit component 114. In one of the embodiments, the first circuit component 114 is the access end, the second circuit component 124 is the charging output end, and the third circuit component 134 is the charging input end. The control circuit module 214 turns on the output of the first circuit component 114 and turns on the output of the second circuit component 124 through the first circuit component 114; and the control circuit module 214 turns on the input of the first circuit component 114 and turns on the input of the third circuit component 134 through the first circuit component 114; such a design can charge the mobile power supply through the charging adapter 400 while the mobile power supply or the charging adapter 400 can also charge the terminal. The remaining embodiments are similar and will not be repeated.
[0112] As an example, in the state that the first circuit component 114 is the access end, one of the second circuit component 124 and the third circuit component 134 is the charging input end, and the other is idle, or both are the charging input end, the control circuit module 214 turns on the input of the first circuit component 114 and turns on the input of the charging input end through the first circuit component 114.
[0113] As an example, in the state that the second circuit component 124 is the access end, one of the first circuit component 114 and the third circuit component 134 is the charging output end, and the other is idle, or both are the charging output end, the control circuit module 214 turns on the output of the second circuit component 124 and turns on the output of the charging output end through the second circuit component 124.
[0114] As an example, in the state that the second circuit component 124 is the access end, one of the first circuit component 114 and the third circuit component 134 is the charging output end, and the other is the charging input end, the control circuit module 214 respectively turns on the input and the output of the second circuit component 124, turns on the output of the charging output end through the second circuit component 124, and turns on the input of the charging input end through the second circuit component 124.
[0115] As an example, in the state that the second circuit component 124 is the access end, one of the first circuit component 114 and the third circuit component 134 is the charging input end, the other is vacant, or both are the charging input end, the control circuit module 214 turns on the input of the second circuit component 124, and turns on the input of the charging input end through the second circuit component 124; in one of the embodiments, as shown in FIG. 6, the first circuit component 114 is the charging input end, the second circuit component 124 is the access end, and the third circuit component 134 is vacant. The control circuit module 214 turns on the input of the second circuit component 124, and turns on the input of the first circuit component 114 through the second circuit component 124; the following embodiments are similar, and are not described in detail. Figure 4
[0116] As an example, in the state that the third circuit component 134 is the access end, one of the first circuit component 114 and the second circuit component 124 is the charging output end, the other is vacant, or both are the charging output end, the control circuit module 214 turns on the output of the third circuit component 134, and turns on the output of the charging output end through the third circuit component 134; in one of the embodiments, as shown in FIG. 7, the third circuit component 134 is the access end, and the first circuit component 114 and the second circuit component 124 are the charging output end. The control circuit module 214 turns on the output of the third circuit component 134, and turns on the output of the first circuit component 114 and the second circuit component 124 through the third circuit component 134. It is applied to the mobile power supply, that is, the charging of two terminals is realized at the same time. Figure 6
[0117] As an example, in the state that the third circuit component 134 is the access end, one of the first circuit component 114 and the second circuit component 124 is the charging output end, the other is the charging input end, the control circuit module 214 turns on the input and the output of the third circuit component 134 respectively, and turns on the output of the charging output end through the third circuit component 134, and turns on the input of the charging input end through the third circuit component 134; in one of the embodiments, as shown in FIG. 8, the third circuit component 134 is the access end, the first circuit component 114 is the charging output end, and the second circuit component 124 is the charging input end. The control circuit module 214 turns on the input of the third circuit component 134, and turns on the input of the second circuit component 124 through the third circuit component 134, so as to realize the charging of the mobile power supply through the charging adapter 400; at the same time, the control circuit module 214 turns on the output of the third circuit component 134, and turns on the output of the first circuit component 114 through the third circuit component 134, so as to realize the charging of the terminal to be charged 300 through the charging adapter 400 or the mobile power supply. Figure 6
[0118] As an example, in the state that the third circuit component 134 is the access end, one of the first circuit component 114 and the second circuit component 124 is the charging input end, the other is vacant, or both are the charging input end, the control circuit module 214 turns on the input of the third circuit component 134, and turns on the input of the charging input end through the third circuit component 134; in one of the embodiments, as shown in Figure 6 the third circuit component 134 is the access end, the first circuit component 114 and the second circuit component 124 are the charging input end, the control circuit module 214 turns on the input of the third circuit component 134, and turns on the input of the first circuit component 114 and the second circuit component 124 through the third circuit component 134.
[0119] In one of the embodiments, one of the three circuit components is a circuit component with a Lightning interface, and the other two are circuit components with a Type-C interface. As an example, the first circuit component 114 is a circuit component with a Lightning interface, and the second circuit component 124 and the third circuit component 134 are circuit components with a Type-C interface. Correspondingly, the first interface socket 211 is a Lightning interface socket, and the second interface socket 212 and the third interface socket 213 are Type-C interface sockets. As an example, for the embodiment that the first circuit component 114 is a circuit component with a Lightning interface and the first interface socket 211 is a Lightning interface socket, the first circuit component 114 is the access end or the charging output end, and is not the charging input end, so as to protect the circuit.
[0120] In one of the embodiments, a gating circuit device 500 includes a switching reset circuit 530 and two insertion detection reset circuits connected with the switching reset circuit respectively; as an example, as shown in Figure 8 the gating circuit device 500 includes a first insertion detection reset circuit 510, a second insertion detection reset circuit 520, and a switching reset circuit 530, the first insertion detection reset circuit 510 and the second insertion detection reset circuit 520 are connected with the switching reset circuit 530 respectively, the first insertion detection reset circuit 510 is further connected with the first interface socket 211, the second insertion detection reset circuit 520 is further connected with the second interface socket 212, and the switching reset circuit 530 is further connected with the first interface socket 211, the second interface socket 212, and the third interface socket 213 respectively.
[0121] As an example, the control circuit module 214 includes a switching reset circuit 530 and two plug-in detection reset circuits connected with the switching reset circuit respectively; the two plug-in detection reset circuits are configured to connect two different interface sockets respectively and detect the connection state of the circuit components through the corresponding interface socket detection circuit components; the switching reset circuit 530 is configured to connect three interface sockets respectively; in the state that the three circuit components are connected to the interface sockets, the switching reset circuit 530 disconnects the outputs of the three circuit components respectively; in the state that at least one of the three circuit components is connected as an access terminal and at least one is connected to the charging terminal 300 as a charging output terminal, the switching reset circuit 530 turns on the output of the charging output terminal; in the state that at least one of the three circuit components is connected as an access terminal and at least one is connected to the charging adapter 400 as a charging input terminal, the switching reset circuit 530 turns on the input of the charging input terminal. The remaining embodiments are similar, and are not described herein. It can be understood that those skilled in the art can realize the control circuit module 214 or the switching reset circuit 530 and the plug-in detection reset circuit thereof according to the present disclosure and conventional technologies, which are described below as examples.
[0122] In one of the embodiments, the switching reset circuit includes a control channel switching circuit, a power line switching circuit and a control channel reset circuit; the control channel is also called Control Channel, and the control channel switching is also called CC signal switching or CC path switching. The control channel switching circuit uses two analog switches to control the switching of the control channel; the power line switching circuit is connected with the control channel switching circuit, and the power line switching circuit uses six field effect transistors to switch the power line; the control channel reset circuit is connected with the control channel switching circuit, and the control channel reset circuit uses three field effect transistors to reset the control channel. As an example, the control channel switching circuit or the power line switching circuit is connected with two plug-in detection reset circuits respectively. As an example, the control channel switching circuit is configured to connect two different interface sockets through the two plug-in detection reset circuits respectively, and the control channel switching circuit is further configured to connect three different interface sockets respectively; the two plug-in detection reset circuits are configured to connect two different interface sockets and detect the connection state of the circuit components through the corresponding interface socket detection circuit components; as an example, in the state that the three circuit components are connected to the interface sockets, the control channel switching circuit disconnects the outputs of the three circuit components respectively; in the state that at least one of the three circuit components is connected as an access terminal and at least one is connected to the charging terminal as a charging output terminal, the control channel switching circuit turns on the output of the charging output terminal; in the state that at least one of the three circuit components is connected as an access terminal and at least one is connected to the charging adapter as a charging input terminal, the control channel switching circuit turns on the input of the charging input terminal.
[0123] In one of the embodiments, asFigure 10 As shown, the control channel switching circuit includes: a first analog switch U1, a second analog switch U2 and a voltage stabilizing circuit U5; in the first analog switch U1, two output terminals are connected to the T_CC channel and the L_CC channel respectively, the selection terminal is connected to the T channel through a diode D10, and is also connected to the power supply terminal through a resistor R2; that is, one output terminal of the first analog switch U1 is connected to the T_CC channel, the other output terminal of the first analog switch U1 is connected to the L_CC channel, the selection terminal of the first analog switch U1 is connected to the T channel through the diode D10, and the selection terminal of the first analog switch U1 is also connected to the power supply terminal through the resistor R2; the remaining embodiments are similar, and are not described herein. In the second analog switch U2, the input terminal is connected to the CC channel, one output terminal is connected to the input terminal of the first analog switch U1, and the other output terminal is connected to the voltage input terminal through a resistor R1; the selection terminal is connected to the S channel, and is also connected to the power supply terminal through a first parallel circuit composed of a resistor R22 and a capacitor C1; in the voltage stabilizing circuit U5, the input terminal is connected to the voltage bus through a resistor R21, and the output terminal is connected to the power supply terminal of the second analog switch U2, and is also grounded through a capacitor C24. The specific resistors, capacitors, analog switches and voltage stabilizing circuits can be selected according to requirements, and can be directly purchased in the market. The present application does not make additional limitations on the embodiments, and the following other components are also similar, and are not described herein.
[0124] For the embodiment in which the first circuit component 114 is a circuit component with a Lightning interface, the second circuit component 124 and the third circuit component 134 are both circuit components with a Type-C interface. In one of the embodiments, as shown in Figure 11 As shown, the power line switching circuit includes a first field effect transistor Q1, a second field effect transistor Q2, a third field effect transistor Q3, a fourth field effect transistor Q4, a fifth field effect transistor Q5 and a sixth field effect transistor Q6, in combination with Figure 12 and Figure 13In the first field-effect transistor Q1, the gate is grounded through resistor R8 and also connected to the voltage bus through resistor R7; the source is grounded; the drain is connected to the OTG_EN channel through resistor R35, which is the channel with OTG function enabled. In the second field-effect transistor Q2, the gate is connected to the voltage bus through resistor R3, also connected to the T channel through resistor R5, and connected to the OTG_EN channel through resistor R34; the source is connected to the voltage bus; the drain is connected to the T_VOUT channel. In the third field-effect transistor Q3, the gate is connected to the OTG_EN channel through resistor R35; the source is connected to the voltage bus through resistor R7, and the drain is connected to the OTG_EN channel through resistor R8. Resistor R4 is connected to the gate; the drain is connected to the voltage bus; in the fourth field-effect transistor Q4, the gate is connected to the gate of the second field-effect transistor Q2; the source is connected to the voltage bus; the drain is connected to the T_VOUT channel; in the fifth field-effect transistor Q5, the gate is connected to the gate of the third field-effect transistor Q3; the source is connected to the source of the third field-effect transistor Q3; the drain is connected to the L_VOUT channel; in the sixth field-effect transistor Q6, the gate is grounded through resistor R10, and after passing through resistor R9, it is connected to the L_CC channel and the voltage input terminal through resistor R11; the source is grounded; the drain is connected to the gate of the first field-effect transistor Q1.
[0125] In one embodiment, such as Figure 14 As shown, the control channel reset circuit includes a seventh field-effect transistor Q7, an eighth field-effect transistor Q8, and a ninth field-effect transistor Q9. In the seventh field-effect transistor Q7, the gate is connected to the voltage bus via resistor R13 and also to the CC channel via resistor R14; the source is connected to the T channel; and the drain is connected to the CC channel via resistor R12. In the eighth field-effect transistor Q8, the gate is grounded via a second parallel circuit composed of resistor R16 and capacitor C2, and also connected to the S channel via a third parallel circuit composed of resistor R33 and capacitor C3; the source is grounded; and the drain is sequentially connected to the CC channel via resistors R15 and R12. In the ninth field-effect transistor Q9, the gate is sequentially connected to the CC channel via resistors R17 and R18, and also connected to the voltage bus via resistor R19 and the T channel via resistor R20 after capacitor C6; the source is connected to the CC channel via resistor R18; and the drain is connected to the voltage bus. Based on the above embodiment, as an example, the output 4-pin Type-C interface pads are as follows: Figure 15 As shown, it is used for the second interface socket 212 and the third interface socket 213; the output 3-pin Lightning interface pad is as follows. Figure 16 As shown.
[0126] In other embodiments, the control circuit module 214 comprises a low dropout regulator module, a master control module, a port input and output module, a switch module, and a signal switching module; the low dropout regulator module supplies power to the master control module and the port input and output module; the three port input and output modules are respectively and correspondingly connected to the three interface sockets; the three switch modules are respectively and correspondingly connected to the three port input and output modules; the master control module is connected to the signal switching module, each port input and output module, and each switch module, and controls the switch of each port input and output module through each switch module; the master control module is also connected to each interface socket through the signal switching module to switch the control channel of each interface socket.
[0127] In one of the embodiments, a charging and discharging device 200 as shown in Figure 17 includes a battery module 215 and a gating circuit device 500; wherein the gating circuit device 500 is any embodiment of the gating circuit device 500; and the control circuit module 214 of the gating circuit device 500 is connected to the battery module 215. As an example, in this embodiment, the charging and discharging device 200 further includes a charging and discharging equipment body 210, and the control circuit module 214 and the battery module 215 are both arranged in the charging and discharging equipment body 210, or the control circuit module 214 and the battery module 215 are both part of the charging and discharging equipment body 210, that is, the charging and discharging equipment body 210 includes the control circuit module 214 and the battery module 215. The charging and discharging device 200 adopts the gating circuit device 500, and thus has the related advantages of the corresponding embodiments of the gating circuit device 500, which are not repeated here.
[0128] In one of the embodiments, as shown in Figure 18 , the charging and discharging device 200 further includes a connecting wire 100, and the connecting wire 100 includes three connecting parts, and the three circuit components are respectively and correspondingly arranged in the three connecting parts. In this way, one composite connecting wire 100 can be used to realize the connection of the three interface sockets.
[0129] The specific circuits of the charging and discharging device 200 and the gating circuit device 500 are described below with Figures 10 to 16 as an example.
[0130] The control channel switching circuit innovatively adopts two analog switches in cooperation to form a MOS structure to switch the control channel, thus saving the MCU and reducing the cost compared with the traditional design. Moreover, the double analog switch scheme is conducive to the switching of the control channel, that is, the fast charging and the general charging can be quickly switched. Since the double analog switch scheme is adopted, the switching speed is faster and the safety is higher compared with the MCU control scheme.
[0131] The control channel reset circuit is also innovatively adopted. The control channel reset circuit adopts six field effect transistors to switch the power line, replaces the function of the MCU in the traditional design, realizes the fast reset of the CC, and achieves the function of waking up the mobile phone as soon as it is inserted. In the following example, the first circuit component 114 is a circuit component with a Lightning interface, and the second circuit component 124 and the third circuit component 134 are circuit components with a Type-C interface. When the Type-C2 is inserted into the terminal to be charged 300, such as a mobile phone, the charging line pull-down resistor R12 is pulled down to GND through the T pin, the wake-up charging and discharging device 200, such as a mobile power supply, that is, a power bank, outputs to charge the mobile phone, and after the mobile phone is pulled out, the power bank automatically enters sleep mode to reduce power consumption.
[0132] The power line switching circuit is also innovatively adopted. In this way, when the TYPE-C2 is connected to the mobile phone and the Lightning is not connected to the mobile phone, the Lightning port output connected to the mobile phone is automatically cut off, and when the TYPE-C2 is not connected to the mobile phone, the TYPE-C2 port output is automatically cut off, so that when one-way high-voltage fast charging is output, the other way is in a safe state without output.
[0133] In addition, when the Lightning and the TYPE-C2 are connected to the terminal to be charged 300, that is, the charging device at the same time, the power switching circuit can switch the output from the single high-voltage fast charging state to the 5V output, so as to realize the dual-way safe output; when any one of the Lightning and the TYPE-C2 is pulled out, the switching circuit will switch back to the single high-voltage fast charging state, thereby improving the charging speed of the charging device.
[0134] The following continues to illustrate the specific application of the charging and discharging device 200 and the gating circuit device 500.
[0135] State 1, TYPE-C1 is inserted into the power bank, and TYPE-C2 is connected to the mobile phone:
[0136] TYPE-C1 is inserted into the power bank, and the power bank outputs 5V to the analog switch. The analog switch detects the state of the Lightning, TYPE-C1, and TYPE-C2. TYPE-C2 is connected to the mobile phone, and the power bank identifies that TYPE-C2 is connected to the mobile phone through the T channel of TYPE-C2, that is, the T pin. At the same time, the power bank detects whether the Lightning port is connected to the device through the Lightning L_CC pin. If the Lightning port is not connected to the device, the analog switch U1 and U2 switch the CC signal to the T_CC path, TYPE-C1 and TYPE-C2 handshake the fast charging protocol, at the same time, the two MOS transistors, that is, field effect transistors, Q2 and Q4 are opened, and Q3 and Q5 are closed, and TYPE-C2 realizes fast charging for the mobile phone.
[0137] State 2, TYPE-C1 inserted into the power bank, Lightning access to the phone case:
[0138] TYPE-C1 inserted into the power bank, the power bank outputs 5V to the analog switch, which detects the state of Lightning, TYPE-C1 and TYPE-C2 upon power-on. Lightning access to the phone, analog switch U2 recognizes Lightning access to the phone through L_CC pin pull-down, and also detects whether a device is connected through TYPE-C2 T channel, i.e. T pin. If no device is connected to TYPE-C2 port, analog switch U1, U2 switches to L_CC path, TYPE-C1 and Lightning two ports handshake fast charging protocol, and controls Q1 to open MOS Q3 and Q5, and to close Q2 and Q4. Lightning realizes fast charging to the phone.
[0139] State 3, TYPE-C1 inserted into the power bank, TYPE-C2 / Lightning access to the phone at the same time:
[0140] TYPE-C1 inserted into the power bank, the power bank outputs 5V to the analog switch, which detects the state of Lightning, TYPE-C1 and TYPE-C2 upon power-on. Lightning access to the phone, analog switch U2 recognizes Lightning access to the phone through L_CC pin pull-down, and also detects whether a device is connected through TYPE-C2 T pin. OTG_EN is pulled down to low level, analog switch U2 controls the analog switch to pull CC to high level, and the charging output is switched from fast charging to 5V output. Lightning and TYPE-C2 output 5V respectively, and VBUS controls Q1 to open MOS Q3 and Q5, and to open Q2 and Q4. TYPE-C2, Lightning realizes charging to the phone.
[0141] State 4, TYPE-C1 inserted into the charger for the phone charger logic, as with access to the power bank; no longer described.
[0142] State 5, TYPE-C1 inserted into the power bank, TYPE-C2 inserted into the charger;
[0143] TYPE-C1 inserts a power bank, and a charger outputs 5V to an analog switch, and the analog switch detects the state of Lightning, TYPE-C1 and TYPE-C2 upon power-on. TYPE-C2 accesses a charging adapter 400, that is, a charger, and the analog switch U1 identifies that TYPE-C2 accesses the charger through the T pin pull-down, and simultaneously detects whether Lightning accesses a device through the LT_CC pin of Lightning, and if the Lightning port does not access the device, the analog switch U1 controls switching to the T_CC path, TYPE-C1 and TYPE-C2 handshake fast charging protocols, and VBUS controls Q2 and Q4 to be opened, and Q3 and Q5 to be closed, and TYPE-C2 realizes fast charging to the power bank, that is, the charging adapter 400 fast charges the power bank through the TYPE-C2 port.
[0144] State 6, TYPE-C1 inserts a power bank, TYPE-C2 inserts a charger, and Lightning accesses a mobile phone.
[0145] TYPE-C2 accesses a charger, and a charger outputs 5V to an MCU, and the analog switch detects the state of Lightning, TYPE-C1 and TYPE-C2 upon power-on. TYPE-C2 accesses a charger, and the analog switch U1 identifies that TYPE-C2 accesses the charger through the T pin pull-down, and simultaneously VBUS controls Q2 and Q4 to be opened, and controls Q6 to be closed, Q1, Q3 and Q5 to be closed, and cuts off the Lightning output, thereby avoiding damage to the mobile phone from the TYPE-C1 and TYPE-C2 paths.
[0146] It should be noted that other embodiments of the present application also include the gating circuit device and the charging and discharging device capable of being implemented, which are formed by the mutual combination of the technical features in the above embodiments.
[0147] The technical features of the above embodiments can be combined in any manner, and for the sake of brevity, not all possible combinations of the technical features in the above embodiments are described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0148] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the patent application scope. It should be noted that for ordinary skilled persons in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.
Claims
1. A gating circuit arrangement (500) characterized by The control circuit module (214) is connected with the three circuit components (114, 124, 134) through the interface sockets (211, 212, 213) respectively, and detects the connection state of the three circuit components (114, 124, 134); In the state that the three circuit components (114, 124, 134) are connected with the interface sockets (211, 212, 213) as access terminals, the control circuit module (214) disconnects the outputs of the three circuit components (114, 124, 134) respectively; In the state that at least one of the three circuit components (114, 124, 134) is connected with the access terminal and at least one is connected with a charging output terminal (300) as a charging output terminal, the control circuit module (214) turns on the output of the charging output terminal; In the state that at least one of the three circuit components (114, 124, 134) is connected with the access terminal and at least one is connected with a charging adapter (400) as a charging input terminal, the control circuit module (214) turns on the input of the charging input terminal. In the state that two of the three circuit components (114, 124, 134) are connected with the access terminal and the other is connected with the charging output terminal, the control circuit module (214) turns on the output of the access terminal, or in the state that the other is connected with the charging input terminal, the control circuit module (214) turns on the input of the access terminal; 2. The gating circuit arrangement (500) according to claim 1, characterized in that In the state that one of the three circuit components (114, 124, 134) is connected with the access terminal and the other two are connected with the charging output terminal, the control circuit module (214) turns on the output of the access terminal, or in the state that the other two are connected with the charging output terminal and the charging input terminal respectively, the control circuit module (214) turns on the input and output of the access terminal respectively, or in the state that the other two are connected with the charging input terminal, the control circuit module (214) turns on the input of the access terminal. The control circuit module (214) is connected with the three circuit components (114, 124, 134) through the interface sockets (211, 212, 213) respectively, and detects the connection state of the three circuit components (114, 124, 134) by detecting the conduction or disconnection of the conductive lines; or, 3. The gating circuit arrangement (500) according to claim 1, characterized in that Each of the circuit assemblies (114, 124, 134) comprises an interface (112, 122, 132) and a circuit module (113, 123, 133) connected to each other; wherein one of the circuit modules (113, 123, 133) is connected to the other two of the circuit modules (113, 123, 133) through separate wires (101, 102).
4. The gating circuit arrangement (500) according to claim 1, characterized in that The three circuit assemblies (114, 124, 134) comprise a first circuit assembly (114), a second circuit assembly (124) and a third circuit assembly (134); In a state that the first circuit assembly (114) is the access end, one of the second circuit assembly (124) and the third circuit assembly (134) is the charging output end, the other is idle, or both are the charging output ends, the control circuit module (214) turns on the output of the first circuit assembly (114), and turns on the outputs of the charging output ends through the first circuit assembly (114) respectively; In a state that the first circuit assembly (114) is the access end, one of the second circuit assembly (124) and the third circuit assembly (134) is the charging output end, the other is the charging input end, the control circuit module (214) turns on the input and the output of the first circuit assembly (114) respectively, turns on the output of the charging output end through the first circuit assembly (114), and turns on the input of the charging input end through the first circuit assembly (114); In a state that the first circuit assembly (114) is the access end, one of the second circuit assembly (124) and the third circuit assembly (134) is the charging input end, the other is idle, or both are the charging input ends, the control circuit module (214) turns on the input of the first circuit assembly (114), and turns on the inputs of the charging input ends through the first circuit assembly (114) respectively; In a state that the second circuit assembly (124) is the access end, one of the first circuit assembly (114) and the third circuit assembly (134) is the charging output end, the other is idle, or both are the charging output ends, the control circuit module (214) turns on the output of the second circuit assembly (124), and turns on the outputs of the charging output ends through the second circuit assembly (124) respectively; In a state that the second circuit assembly (124) is the access end, one of the first circuit assembly (114) and the third circuit assembly (134) is the charging output end, the other is the charging input end, the control circuit module (214) turns on the input and the output of the second circuit assembly (124) respectively, turns on the output of the charging output end through the second circuit assembly (124), and turns on the input of the charging input end through the second circuit assembly (124); In the state that the second circuit component (124) is the access end, one of the first circuit component (114) and the third circuit component (134) is the charging input end, the other is vacant, or both are the charging input end, the control circuit module (214) turns on the input of the second circuit component (124), and turns on the input of the charging input end through the second circuit component (124) respectively; In the state that the third circuit component (134) is the access end, one of the first circuit component (114) and the second circuit component (124) is the charging output end, the other is vacant, or both are the charging output end, the control circuit module (214) turns on the output of the third circuit component (134), and turns on the output of the charging output end through the third circuit component (134) respectively; In the state that the third circuit component (134) is the access end, one of the first circuit component (114) and the second circuit component (124) is the charging output end, the other is the charging input end, the control circuit module (214) turns on the input and the output of the third circuit component (134) respectively, and turns on the output of the charging output end through the third circuit component (134), and turns on the input of the charging input end through the third circuit component (134); In the state that the third circuit component (134) is the access end, one of the first circuit component (114) and the second circuit component (124) is the charging input end, the other is vacant, or both are the charging input end, the control circuit module (214) turns on the input of the third circuit component (134), and turns on the input of the charging input end through the third circuit component (134) respectively.
5. The gating circuit arrangement (500) according to claim 1, characterized in that One of the three circuit components (114, 124, 134) is a circuit component with a Lightning interface, and the other two are circuit components with a Type-C interface.
6. The gating circuit arrangement (500) according to any one of claims 1 to 5, characterized in that The control circuit module (214) comprises a switching reset circuit (530) and two insertion detection reset circuits (510, 520) connected with the switching reset circuit respectively; The two insertion detection reset circuits (510, 520) are configured to connect two different interface sockets (211, 212, 213) respectively, and detect the connection state of the circuit component (114, 124, 134) through the corresponding interface socket (211, 212, 213); The switching reset circuit (530) is configured to connect three interface sockets (211, 212, 213) respectively; In the state that the three circuit components (114, 124, 134) are all connected to the interface socket (211, 212, 213), the switching reset circuit (530) disconnects the output of the three circuit components (114, 124, 134) respectively; When at least one of the three circuit components (114, 124, 134) serves as the access terminal and at least one is connected to the terminal to be charged (300) as the charging output terminal, the switching reset circuit (530) turns on the output of the charging output terminal. With at least one of the three circuit components (114, 124, 134) serving as the access terminal and at least one connected to the charging adapter (400) as the charging input terminal, the switching reset circuit (530) turns on the input of the charging input terminal.
7. A gating circuit arrangement (500), characterized by It includes a switching reset circuit (530) and two insertion detection reset circuits (510, 520) respectively connected to the switching reset circuit; The switching reset circuit includes: The control channel switching circuit uses two analog switches to switch control channels. A power line switching circuit, connected to the control channel switching circuit, uses six field-effect transistors to perform power line switching; and The control channel reset circuit is connected to the control channel switching circuit and uses three field-effect transistors to reset the control channel.
8. The gating circuit arrangement (500) according to claim 7, characterized in that The control channel switching circuit includes: The first analog switch U1 has two output terminals connected to the T_CC channel and the L_CC channel respectively, and the selection terminal is connected to the T channel through diode D10 and to the power supply terminal through resistor R2. The second analog switch U2 has an input terminal connected to the CC channel, one output terminal connected to the input terminal of the first analog switch U1, and another output terminal connected to the voltage input terminal via resistor R1; the selection terminal is connected to the S channel, and is also connected to the power supply terminal via a first parallel circuit consisting of resistor R22 and capacitor C1; and The voltage regulator circuit U5 has its input terminal connected to the voltage bus via resistor R21, its output terminal connected to the power supply terminal of the second analog switch U2, and its grounded via capacitor C24. The power line switching circuit includes: The first field-effect transistor Q1 has its gate grounded through resistor R8 and connected to the voltage bus through resistor R7; its source grounded; and its drain connected to the OTG_EN channel through resistor R35. The second field-effect transistor Q2 has its gate connected to the voltage bus via resistor R3, and also connected to the T channel via resistor R5, and to the OTG_EN channel via resistor R34; its source is connected to the voltage bus; and its drain is connected to the T_VOUT channel. The third field-effect transistor Q3 has its gate connected to the OTG_EN channel via resistor R35; its source connected to the gate via resistor R4; and its drain connected to the voltage bus. The fourth field-effect transistor Q4 has its gate connected to the gate of the second field-effect transistor Q2; its source is connected to the voltage bus; and its drain is connected to the T_VOUT channel. The fifth field-effect transistor Q5 has its gate connected to the gate of the third field-effect transistor Q3; its source connected to the source of the third field-effect transistor Q3; and its drain connected to the L_VOUT channel. The sixth field-effect transistor Q6 has its gate grounded through resistor R10, and then connected to the L_CC channel and the voltage input terminal via resistor R11 after passing through resistor R9; its source is grounded; and its drain is connected to the gate of the first field-effect transistor Q1. The control channel reset circuit comprises: a seventh field effect transistor Q7, wherein the gate is connected to the voltage bus through resistor R13 and to the CC channel through resistor R14; the source is connected to the T channel; and the drain is connected to the CC channel through resistor R12; an eighth field effect transistor Q8, wherein the gate is connected to the ground through a second parallel circuit composed of resistor R16 and capacitor C2 and to the S channel through a third parallel circuit composed of resistor R33 and capacitor C3; the source is connected to the ground; and the drain is connected to the CC channel through resistor R15 and resistor R12 in sequence; and a ninth field effect transistor Q9, wherein the gate is connected to the CC channel through resistor R17 and resistor R18 in sequence, and then connected to the voltage bus through resistor R19 and to the T channel through resistor R20 after passing through capacitor C6; the source is connected to the CC channel through resistor R18; and the drain is connected to the voltage bus.
9. A charge and discharge device (200), characterized by comprising: The battery module (215) and the gating circuit device (500) according to any one of claims 1 to 8 are included. The control circuit module (214) of the gating circuit device (500) is connected to the battery module (215).
10. The charge and discharge device (200) according to claim 9, characterized by The connecting wire (100) further comprises three connecting parts (110, 120, 130), and the three circuit components (114, 124, 134) are arranged in one-to-one correspondence in the three connecting parts (110, 120, 130) respectively.