A circuit, device and method for blind plugging role switching of multiple Type C devices
By designing a multi-Type C device blind plug role switching circuit, the Type C interface module, OR gate power module and role switching module are used to realize multi-device role configuration, which solves the high cost and complex circuit problems of Type C device role switching in the existing technology. , realizing low-cost, high-reliability multi-device role switching.
Patent Information
- Application Number
- CN202210882474.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-07-25
AI Technical Summary
Existing Type C protocol chips can only support one Type C device role switching. Adding multiple protocol chips to support multiple device role switching is costly and the circuit structure is complex.
Design a multi-Type C device blind insertion role switching circuit, including a Type C interface module, an OR gate power module, a role switching module and a logic control module. By detecting the insertion and charging and discharging roles of the signal source device, multiple Type C devices can be realized. Role configuration, reducing hardware costs and improving reliability.
It realizes the role switching configuration of multiple Type C devices, reduces hardware costs, improves system reliability, and meets the application needs of various occasions.
Smart Images

Figure CN115207724B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Type C technology, and in particular to a circuit, device and method for blind plugging role switching of multiple Type C devices. Background Art
[0002] The Type C interface is a USB interface currently used by the mainstream, and its full name is USB Type-C. It has a smaller size than Type-A and Type-B, and can be used in both PCs (host devices) and external devices (slave devices, such as mobile phones).
[0003] The traditional TypeC role change is realized by the TypeC protocol chip, and the TypeC protocol chip in the prior art generally only supports one TypeC device role switch. If there are multiple TypeC devices to switch roles, multiple protocol chips need to be added, which is costly and has a complex circuit structure. Therefore, inventing a high-reliability, low-cost multi-TypeC device blind plug role switching circuit is an urgent problem to be solved by technicians in this field. Summary of the invention
[0004] The purpose of the present application is to provide a circuit, device and method for blind-plugging role switching of multiple TypeC devices. In this scheme, the first TypeC interface module detects the insertion of the first signal source device and determines the charging and discharging role of the first signal source device; the OR gate power supply module induces electricity to the first role switching module according to the insertion signal of the first signal source device; the first role switching module controls the logic control module to work according to the induced electricity signal; the logic control module controls the first role switching module and the second role switching module to work according to the charging and discharging role of the first signal source to realize the role configuration of the first signal source device and the second signal source device, so that the present application can realize the blind-plugging role switching configuration of multiple TypeC devices with low cost and high reliability.
[0005] To solve the above technical problems, the present application provides a multi-TypeC device blind plug role switching circuit, including a first TypeC interface module, a second TypeC interface module, an OR gate power module, a first role switching module, a second role switching module and a logic control module;
[0006] The first TypeC interface module is used to be electrically connected to a first signal source device, and the second TypeC interface module is used to be electrically connected to a second signal source device;
[0007] The first TypeC interface module is electrically connected to the OR gate power module, the first role switching module and the logic control module respectively, and the second TypeC interface module is electrically connected to the OR gate power module, the second role switching module and the logic control module respectively;
[0008] The OR gate power supply module is electrically connected to the first role switching module and the second role switching module respectively, and the logic control module is electrically connected to the first role switching module and the second role switching module respectively;
[0009] The first TypeC interface module is used to detect the insertion of the first signal source device and determine the charging and discharging role of the first signal source device;
[0010] The OR gate power supply module is used to induce power to the first role switching module to work according to the insertion signal of the first signal source device;
[0011] The first role switching module is used to control the operation of the logic control module according to the electromotive force signal;
[0012] The logic control module is used to control the first role switching module and the second role switching module to operate according to the charging and discharging role of the first signal source to implement the role configuration of the first signal source device and the second signal source device.
[0013] Preferably, the multi-TypeC device blind plug role switching circuit further includes a third TypeC interface module and a third role switching module;
[0014] The third TypeC interface module is used to be electrically connected to a third signal source device, and the third TypeC interface module is electrically connected to the OR gate power supply module, the third role switching module and the logic control module respectively;
[0015] The OR gate power supply module is electrically connected to the third role switching module, and the logic control module is electrically connected to the third role switching module.
[0016] Preferably, the OR gate power supply module includes a first diode, a second diode, a third diode, a fourth diode, a fifth diode and a sixth diode;
[0017] The anode of the first diode is electrically connected to the VBUS line of the first TypeC interface module, the anode of the second diode is electrically connected to the VBUS line of the second TypeC interface module, and the cathode of the first diode and the cathode of the second diode are both connected to the first role switching module and the second role switching module through the VBUS power line;
[0018] The anode of the third diode is electrically connected to the first CC line of the first TypeC interface module, the anode of the fourth diode is electrically connected to the second CC line of the first TypeC interface module, the anode of the fifth diode is electrically connected to the first CC line of the second TypeC interface module, the anode of the sixth diode is electrically connected to the second CC line of the second TypeC interface module, and the cathode of the third diode, the cathode of the fourth diode, the cathode of the fifth diode and the cathode of the sixth diode are all connected to the first role switching module and the second role switching module through the VBUS power line.
[0019] Preferably, the OR gate power supply module further includes a seventh diode, an eighth diode and a ninth diode;
[0020] The anode of the seventh diode is electrically connected to the VBUS line of the third Type C interface module, and the cathode of the seventh diode is connected to the first role switching module, the second role switching module and the third role switching module through the VBUS power line;
[0021] The anode of the eighth diode is electrically connected to the first CC line of the third TypeC interface module, the anode of the ninth diode is electrically connected to the second CC line of the third TypeC interface module, and the cathode of the eighth diode and the cathode of the ninth diode are both connected to the first role switching module, the second role switching module and the third role switching module through the VBUS power line.
[0022] Preferably, the first role switching module includes a first switch, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor;
[0023] The first end of the first switching switch is electrically connected to the first end of the first resistor and the logic control module respectively, the second end of the first resistor is grounded, the second end of the first switching switch is electrically connected to the first end of the second resistor, the second end of the second resistor is grounded, the third end of the first switching switch is electrically connected to the first end of the third resistor, the second end of the third resistor is connected to the logic control module through the VBUS line, the fourth end of the first switching switch is electrically connected to the first CC line of the first TypeC interface module, the fifth end of the first switching switch is grounded, the sixth end of the first switching switch is electrically connected to the second CC line of the first TypeC interface module, the seventh end of the first switching switch is electrically connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the logic control module through the VBUS line, the eighth end of the first switching switch is electrically connected to the first end of the fifth resistor, the second end of the fifth resistor is grounded, the ninth end of the first switching switch is grounded, and the tenth end of the first switching switch is electrically connected to the OR gate power supply module.
[0024] Preferably, the logic control module includes a first logic control unit and a second logic control unit;
[0025] The first logic control unit is electrically connected to the first TypeC interface module, the second TypeC interface module, the third TypeC interface module, the first role switching module and the OR gate power supply module respectively;
[0026] The second logic control unit is electrically connected to the first Type C interface module, the second Type C interface module, the third Type C interface module, the second role switching module and the OR gate power supply module respectively.
[0027] Preferably, the first logic control unit includes a first transistor, a tenth diode and an eleventh diode;
[0028] The base of the first transistor is electrically connected to the VBUS line of the first TypeC interface module, the collector of the first transistor is electrically connected to the VBUS power line of the OR gate power module and the cathode of the tenth diode, the anode of the tenth diode is electrically connected to the first role switching module and the cathode of the eleventh diode, and the anode of the eleventh diode is electrically connected to the VBUS line of the second TypeC interface module.
[0029] Preferably, the second logic control unit includes a second triode, a twelfth diode and a thirteenth diode;
[0030] The base of the second transistor is electrically connected to the VBUS line of the second TypeC interface module, the collector of the second transistor is electrically connected to the VBUS power line of the OR gate power module and the cathode of the twelfth diode, the anode of the tenth diode is electrically connected to the second role switching module and the cathode of the thirteenth diode, and the anode of the thirteenth diode is electrically connected to the VBUS line of the first TypeC interface module.
[0031] In order to solve the above technical problems, the present application provides a device for blind plugging role switching of multiple TypeC devices, including the aforementioned circuit for blind plugging role switching of multiple TypeC devices.
[0032] In order to solve the above technical problems, the present application provides a method for blind plugging role switching of multiple TypeC devices, which is applied to a circuit for blind plugging role switching of multiple TypeC devices. The switching method includes:
[0033] Controlling the first Type C interface module to detect the insertion of the first signal source device and determine the charging and discharging role of the first signal source device;
[0034] Control the OR gate power supply module to induce power to the first role switching module to work according to the insertion signal of the first signal source device;
[0035] The logic control module works according to the induced electric signal control;
[0036] According to the charging and discharging role of the first signal source, the first role switching module and the second role switching module are controlled to work so as to realize the role configuration of the first signal source device and the second signal source device.
[0037] A multi-TypeC device blind plug role switching circuit, device and method of the present invention have the following beneficial effects. A multi-TypeC device blind plug role switching circuit disclosed in the present invention includes a first TypeC interface module, a second TypeC interface module, an OR gate power module, a first role switching module, a second role switching module and a logic control module; the first TypeC interface module is used to detect the insertion of the first signal source device and judge the charging and discharging role of the first signal source device; the OR gate power module is used to induce electricity to the first role switching module to work according to the insertion signal of the first signal source device; the first role switching module is used to control the logic control module to work according to the induced electricity signal; the logic control module is used to control the first role switching module and the second role switching module to work according to the charging and discharging role of the first signal source to realize the role configuration of the first signal source device and the second signal source device. Therefore, the present invention can realize the blind plug role switching configuration of multiple TypeC devices, with low cost and high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:
[0039] Figure 1 It is a principle block diagram of a multi-TypeC device blind plug role switching circuit in a preferred embodiment of the present invention;
[0040] Figure 2 It is a principle block diagram of a multi-TypeC device blind plug role switching circuit according to another preferred embodiment of the present invention;
[0041] Figure 3 It is a circuit diagram of a first Type C interface module of a preferred embodiment of the present invention;
[0042] Figure 4 It is a circuit diagram of an OR gate power supply module of a preferred embodiment of the present invention;
[0043] Figure 5 is a circuit diagram of a first role switching module of a preferred embodiment of the present invention;
[0044] Figure 6 is a circuit diagram of a first logic control unit of a preferred embodiment of the present invention;
[0045] Figure 7 is a circuit diagram of a second logic control unit of a preferred embodiment of the present invention;
[0046] Figure 8 is a circuit diagram of a third logic control unit of a preferred embodiment of the present invention;
[0047] Fig. 9 It is a charge and discharge role switching logic table of a preferred embodiment of the present invention.
[0048] Fig.10 It is a flowchart of a method for blind plugging roles of multiple Type C devices in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0049] The core of this application is to provide a circuit, device and method for blind plugging role switching of multiple TypeC devices. In this solution, the first TypeC interface module detects the insertion of the first signal source device and determines the charging and discharging role of the first signal source device; the OR gate power supply module induces electricity to the first role switching module according to the insertion signal of the first signal source device; the first role switching module controls the logic control module to work according to the induced electricity signal; the logic control module controls the first role switching module and the second role switching module to work according to the charging and discharging role of the first signal source to realize the role configuration of the first signal source device and the second signal source device, so that the present application can realize the blind plugging role switching configuration of multiple TypeC devices with low cost and high reliability.
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] See also Figure 1 , Figure 1 A principle block diagram of a multi-TypeC device blind plug role switching circuit provided in the present application, including a first TypeC interface module 1, a second TypeC interface module 2, an OR gate power module 3, a first role switching module 4, a second role switching module 5 and a logic control module 6;
[0052] The first TypeC interface module 1 is used to be electrically connected to a first signal source device, and the second TypeC interface module 2 is used to be electrically connected to a second signal source device;
[0053] The first TypeC interface module 1 is electrically connected to the OR gate power module 3, the first role switching module 4 and the logic control module 6 respectively, and the second TypeC interface module 2 is electrically connected to the OR gate power module 3, the second role switching module 5 and the logic control module 6 respectively;
[0054] The OR gate power supply module 3 is electrically connected to the first role switching module 4 and the second role switching module 5 respectively, and the logic control module 6 is electrically connected to the first role switching module 4 and the second role switching module 5 respectively;
[0055] The first TypeC interface module 1 is used to detect the insertion of the first signal source device and determine the charging and discharging role of the first signal source device;
[0056] The OR gate power supply module 3 is used to induce power to the first role switching module 4 to work according to the insertion signal of the first signal source device;
[0057] The first role switching module 4 is used to control the logic control module 6 to work according to the electro-inducing signal;
[0058] The logic control module 6 is used to control the first role switching module 4 and the second role switching module 5 to operate according to the charging and discharging role of the first signal source so as to realize the role configuration of the first signal source device and the second signal source device.
[0059] In the prior art, the traditional Type C role change is realized by the Type C protocol chip, and the Type C protocol chip in the prior art generally only supports one Type C device role switching. If there are multiple Type C device role switchings, multiple protocol chips need to be added, which is costly and has a complex circuit structure.
[0060] In response to the above shortcomings, the cooperation of the first TypeC interface module 1, the second TypeC interface module 2, the OR gate power supply module 3, the first role switching module 4, the second role switching module 5 and the logic control module 6 in the present application realizes the blind plug role switching configuration of multiple TypeC devices, which is low-cost and meets the application needs of various occasions.
[0061] Specifically, the first signal source device is inserted into the first TypeC interface module 1. If the first signal source device can play the role of discharge, the CC line of the first TypeC interface module 1 outputs a high-level signal, the OR gate power supply module 3 works, and the VBUS_5V pin of the OR gate power supply module 3 outputs a 5V voltage to the first role switching module 4, and the first role switching module 4 works; since the first role switching module 4 is connected to the first TypeC interface module 1, the CC communication line of the first TypeC interface module 1 is pulled down, the C0-VBUS pin of the first TypeC interface module 1 outputs a 5V power supply, the OR gate power supply module 3 is locked to output 5V, and the logic control module 6 works, thereby controlling the first signal source device to be locked as the discharge role and the second signal source device to be locked as the charging role.
[0062] Specifically, by the same token, when the second signal source device is inserted into the second TypeC interface module 2, if the second signal source device can play the role of discharge, the CC line of the second TypeC interface module 2 outputs a high-level signal, the OR gate power supply module 3 works, and the VBUS_5V pin of the OR gate power supply module 3 outputs a 5V voltage to the second role switching module 5, and the second role switching module 5 works; since the second role switching module 5 is connected to the second TypeC interface module 2, the CC communication line of the second TypeC interface module 2 is pulled down, the C0-VBUS pin of the second TypeC interface module 2 outputs a 5V power supply, the OR gate power supply module 3 is locked to output 5V, and the logic control module 6 works, thereby controlling the second signal source device to be locked as the discharge role and the first signal source device to be locked as the charging role.
[0063] In summary, the present application provides a blind plug role switching circuit for multiple TypeC devices. In this scheme, it includes a first TypeC interface module 1, a second TypeC interface module 2, an OR gate power module 3, a first role switching module 4, a second role switching module 5 and a logic control module 6; the first TypeC interface module 1 detects the insertion of the first signal source device and determines the charging and discharging role of the first signal source device; the OR gate power module 3 induces electricity to the first role switching module 4 according to the insertion signal of the first signal source device; the first role switching module 4 controls the logic control module 6 to work according to the induced electricity signal; the logic control module 6 controls the first role switching module 4 and the second role switching module 5 according to the charging and discharging role of the first signal source to realize the role configuration of the first signal source device and the second signal source device, so that the present application can realize the blind plug role switching configuration of multiple TypeC devices with low cost and high reliability.
[0064] Based on the above embodiments:
[0065] See also Figure 2 , Figure 2 A principle block diagram of a multi-TypeC device blind plug role switching circuit provided in this application.
[0066] As a preferred embodiment, a multi-TypeC device blind plug role switching circuit also includes a third TypeC interface module 7 and a third role switching module 8;
[0067] The third Type C interface module 7 is used to be electrically connected to the third signal source device, and the third Type C interface module 7 is electrically connected to the OR gate power supply module 3, the third role switching module 8 and the logic control module 6 respectively;
[0068] The OR gate power supply module 3 is electrically connected to the third role switching module 8 , and the logic control module 6 is electrically connected to the third role switching module 8 .
[0069] Specifically, the first signal source device is inserted into the first TypeC interface module 1. If the first signal source device can play the role of discharge, the CC line of the first TypeC interface module 1 outputs a high-level signal, the OR gate power supply module 3 works, and the VBUS_5V pin of the OR gate power supply module 3 outputs a 5V voltage to the first role switching module 4, and the first role switching module 4 works; since the first role switching module 4 is connected to the first TypeC interface module 1, the CC communication line of the first TypeC interface module 1 is pulled down, the C0-VBUS pin of the first TypeC interface module 1 outputs a 5V power supply, the OR gate power supply module 3 is locked to output 5V, and the logic control module 6 works, thereby controlling the first signal source device to be locked as the discharge role, the second signal source device to be locked as the charging role, and the third signal source device to be locked as the charging role.
[0070] Specifically, in this embodiment, when multiple Type C interface modules all output high-level signals, the one with the highest control voltage is connected, and the signal source device corresponding to the Type C interface module is locked as the discharge role, and the other signal source devices are locked as the charging role. It is understandable that the Type C interface module can be set to multiple channels, and the role switching module matches the number of Type C interface modules, which is not specifically limited here. Therefore, the present invention can realize the blind plug role switching configuration of multiple Type C devices, reduce hardware costs, and have high reliability.
[0071] See also Figure 3 , Figure 3 A circuit diagram of a first Type C interface module 1 provided in this application.
[0072] See also Figure 4 , Figure 4 A circuit diagram of an OR gate power supply module 3 provided in this application.
[0073] As a preferred embodiment, the OR gate power supply module 3 includes a first diode D10, a second diode D8, a third diode D6, a fourth diode D5, a fifth diode D4 and a sixth diode D3;
[0074] The anode of the first diode D10 is electrically connected to the VBUS line of the first TypeC interface module 1, the anode of the second diode D8 is electrically connected to the VBUS line of the second TypeC interface module 2, and the cathode of the first diode D10 and the cathode of the second diode D8 are both connected to the first role switching module 4 and the second role switching module 5 through the VBUS power line;
[0075] The anode of the third diode D6 is electrically connected to the first CC line of the first TypeC interface module 1, the anode of the fourth diode D5 is electrically connected to the second CC line of the first TypeC interface module 1, the anode of the fifth diode D4 is electrically connected to the first CC line of the second TypeC interface module 2, the anode of the sixth diode D3 is electrically connected to the second CC line of the second TypeC interface module 2, and the cathode of the third diode D6, the cathode of the fourth diode D5, the cathode of the fifth diode D4 and the cathode of the sixth diode D3 are all connected to the first role switching module 4 and the second role switching module 5 through the VBUS power line.
[0076] Specifically, in this embodiment, when any one of the VBUS line C0-VBUS of the first Type C interface module 1, the VBUS line C1-VBUS of the second Type C interface module 2, the CC lines USB-C0-CC1 and USB-C0-CC2 of the first Type C interface module 1, and the CC lines USB-C1-CC1 and USB-C1-CC2 of the second Type C interface module 2 is at a high level, the VBUS power line VBUS_5V is at a high level; when any multiple paths are at a high level, the path with the highest voltage is connected, and the other paths are disconnected.
[0077] As a preferred embodiment, the OR gate power supply module 3 further includes a seventh diode D7, an eighth diode D2 and a ninth diode D1;
[0078] The anode of the seventh diode D7 is electrically connected to the VBUS line of the third Type C interface module 7, and the cathode of the seventh diode D7 is connected to the first role switching module 4, the second role switching module 5 and the third role switching module 8 through the VBUS power line;
[0079] The anode of the eighth diode D2 is electrically connected to the first CC line of the third TypeC interface module 7, the anode of the ninth diode D1 is electrically connected to the second CC line of the third TypeC interface module 7, and the cathode of the eighth diode D2 and the cathode of the ninth diode D1 are both connected to the first role switching module 4, the second role switching module 5 and the third role switching module 8 through the VBUS power line.
[0080] Specifically, in this embodiment, when any one of the VBUS line C0-VBUS of the first Type C interface module 1, the VBUS line C1-VBUS of the second Type C interface module 2, the VBUS line C2-VBUS of the third Type C interface module 7, the CC lines USB-C0-CC1 and USB-C0-CC2 of the first Type C interface module 1, the CC lines USB-C1-CC1 and USB-C1-CC2 of the second Type C interface module 2, and the CC lines USB-C2-CC1 and USB-C2-CC2 of the third Type C interface module 7 are at a high level, the VBUS power line VBUS_5V is at a high level; when any multiple paths are at a high level, the path with the highest voltage is connected, and the other paths are disconnected.
[0081] See also Figure 5 , Figure 5 A circuit diagram of a first role switching module 4 provided in the present application.
[0082] As a preferred embodiment, the first role switching module 4 includes a first switch SW0, a first resistor R4, a second resistor R14, a third resistor R12, a fourth resistor R13 and a fifth resistor R15;
[0083] The first end of the first switching switch SW0 is electrically connected to the first end of the first resistor R4 and the logic control module 6 respectively, the second end of the first resistor R4 is grounded, the second end of the first switching switch SW0 is electrically connected to the first end of the second resistor R14, the second end of the second resistor R14 is grounded, the third end of the first switching switch SW0 is electrically connected to the first end of the third resistor R12, the second end of the third resistor R12 is connected to the logic control module 6 through the VBUS line, the fourth end of the first switching switch SW0 is electrically connected to the first CC line of the first TypeC interface module 1, the fifth end of the first switching switch SW0 is grounded, the sixth end of the first switching switch SW0 is electrically connected to the second CC line of the first TypeC interface module 1, the seventh end of the first switching switch SW0 is electrically connected to the first end of the fourth resistor R13, the second end of the fourth resistor R13 is connected to the logic control module 6 through the VBUS line, the eighth end of the first switching switch SW0 is electrically connected to the first end of the fifth resistor R15, the second end of the fifth resistor R15 is grounded, the ninth end of the first switching switch SW0 is grounded, and the tenth end of the first switching switch SW0 is electrically connected to the OR gate power supply module 3.
[0084] Specifically, in this embodiment, the resistance of the second resistor R14 and the fifth resistor R15 is 5.1K, and the resistance of the third resistor R12 and the fourth resistor R13 is 56K. After the first switch SW0 is powered on, the initial value of Pin1 is low level, Pin4 / Pin6 and Pin2 / Pin8 are connected, and pull down 5.1K; if Pin1 is changed to high level, Pin4 / Pin6 and Pin3 / Pin7 are connected to pull up 56K.
[0085] Specifically, the first signal source device is inserted into the first TypeC interface module 1. If the first signal source device can play the role of discharge, the CC line of the first TypeC interface module 1 outputs a high-level signal or the gate power module 3 works, and the VBUS_5V pin of the gate power module 3 outputs a 5V voltage to the first role switching module 4, and the first role switching module 4 works; since the first role switching module 4 is connected to the first TypeC interface module 1, the CC line USB-C0-CC1 / USB-C0-CC2 of the first TypeC interface module 1 is pulled down to 5.1K, the C0-VBUS pin of the first TypeC interface module 1 outputs a 5V power supply, the gate power module 3 is locked, the VBUS_5V of the gate power module 3 is locked to output 5V, the logic control module 6 works, the first role switching module 4 is locked to pull down 5.1K; the second role switching module 5 is locked to pull up 56K; the third role switching module 8 is locked to pull up 56K, the first signal source device is locked as the discharge role, the second signal source device is locked as the charging role, and the third signal source device is locked as the charging role.
[0086] Specifically, the circuit structures and principles of the second role switching module 5 and the third role switching module 8 are the same as those of the first role switching module 4 , and are not described in detail herein.
[0087] See also Figure 6 , Figure 6 A circuit diagram of a first logic control unit provided in the present application.
[0088] See also Figure 7 , Figure 7 A circuit diagram of a second logic control unit provided in this application.
[0089] See also Figure 8 , Figure 8 A circuit diagram of a third logic control unit provided in this application.
[0090] As a preferred embodiment, the logic control module 6 includes a first logic control unit and a second logic control unit;
[0091] The first logic control unit is electrically connected to the first TypeC interface module 1, the second TypeC interface module 2, the third TypeC interface module 7, the first role switching module 4 and the OR gate power supply module 3 respectively;
[0092] The second logic control unit is electrically connected to the first Type C interface module 1 , the second Type C interface module 2 , the third Type C interface module 7 , the second role switching module 5 and the OR gate power supply module 3 respectively.
[0093] As a preferred embodiment, the first logic control unit includes a first transistor Q1, a tenth diode D9 and an eleventh diode D14;
[0094] The base of the first transistor Q1 is electrically connected to the VBUS line of the first TypeC interface module 1, the collector of the first transistor Q1 is electrically connected to the VBUS power line of the OR gate power module 3 and the cathode of the tenth diode D9, the anode of the tenth diode is electrically connected to the first role switching module 4 and the cathode of the eleventh diode D14, and the anode of the eleventh diode D14 is electrically connected to the VBUS line of the second TypeC interface module 2.
[0095] As a preferred embodiment, the second logic control unit includes a second transistor Q2, a twelfth diode D11 and a thirteenth diode D17;
[0096] The base of the second transistor Q2 is electrically connected to the VBUS line of the second TypeC interface module 2, the collector of the second transistor Q2 is electrically connected to the VBUS power line of the OR gate power module 3 and the cathode of the twelfth diode D11, the anode of the tenth diode is electrically connected to the second role switching module 5 and the cathode of the thirteenth diode D17, and the anode of the thirteenth diode D17 is electrically connected to the VBUS line of the first TypeC interface module 1.
[0097] Specifically, when the VBUS line C0-VBUS of the first TypeC interface module 1 outputs 5V power, the first transistor Q1 is turned on, Pin3 of the first transistor Q1 is at a low level, Pin2 of the tenth diode D9 is at a low level, Pin1 of the tenth diode D9 is at a low level, Pin1 of the pin SW0 connected to the first role switching module 4 is at a low level, and the first signal source device is locked as a discharge role;
[0098] When the VBUS line C0-VBUS of the first TypeC interface module 1 outputs 5V power supply, Pin1 of the thirteenth diode D17 is at a high level, Pin2 of the thirteenth diode D17 is at a high level, Pin1 of the pin SW1 connected to the second role switching module 5 is at a high level, and the second signal source device is locked as the charging role.
[0099] As a preferred embodiment, the logic control module 6 includes a third logic control unit;
[0100] The third logic control unit is electrically connected to the first TypeC interface module 1, the second TypeC interface module 2, the third TypeC interface module 7, the third role switching module 8 and the OR gate power supply module 3 respectively;
[0101] As a preferred embodiment, the first logic control unit also includes a fourteenth diode D13; the anode of the fourteenth diode D13 is electrically connected to the VBUS line of the third TypeC interface module 7, and the cathode of the fourteenth diode D13 is electrically connected to the cathode of the first role switching module 4 and the eleventh diode D14.
[0102] As a preferred embodiment, the second logic control unit also includes a fifteenth diode D15; the anode of the fifteenth diode D15 is electrically connected to the VBUS line of the third TypeC interface module 7, and the cathode of the fifteenth diode D15 is electrically connected to the second role switching module 5 and the cathode of the twelfth diode D11.
[0103] Specifically, when the VBUS line C0-VBUS of the first TypeC interface module 1 outputs 5V power, the first transistor Q1 is turned on, Pin3 of the first transistor Q1 is at a low level, Pin2 of the tenth diode D9 is at a low level, Pin1 of the tenth diode D9 is at a low level, Pin1 of the pin SW0 connected to the first role switching module 4 is at a low level, and the first signal source device is locked as a discharge role;
[0104] When the VBUS line C0-VBUS of the first TypeC interface module 1 outputs 5V power supply, Pin1 of the thirteenth diode D17 is at a high level, Pin2 of the thirteenth diode D17 is at a high level, Pin1 of the pin SW1 connected to the second role switching module 5 is at a high level, and the second signal source device is locked as the charging role.
[0105] When the VBUS line C0-VBUS of the first TypeC interface module 1 outputs 5V power, Pin1 of the diode D18 is high, Pin2 of the diode D18 is high, Pin1 of the pin SW2 connected to the third role switching module 8 is high, and the third signal source device is locked as the charging role.
[0106] See also Fig. 9 , Fig. 9 A charge and discharge role switching logic table provided in this application.
[0107] It is worth noting that the circuit structure of the second logic control unit can be found in Figure 8 The principle when the second signal source device and the third signal source device act as dischargers can be obtained in the same way, which will not be described in detail here.
[0108] The present application also provides a device for blind plugging role switching of multiple TypeC devices, including the aforementioned blind plugging role switching circuit of multiple TypeC devices.
[0109] For an introduction to a blind-plug role switching circuit for multiple Type C devices in a charging pile provided in the present application, please refer to the above-mentioned embodiment, and the present application will not go into details here.
[0110] See also Fig.10 , Fig.10 A flowchart of a method for blind plugging roles of multiple Type C devices provided in this application.
[0111] The present application provides a method for blind plugging role switching of multiple TypeC devices, which is applied to a circuit for blind plugging role switching of multiple TypeC devices. The switching method includes:
[0112] S1, controlling the first Type C interface module 1 to detect the insertion of the first signal source device and determine the charging and discharging role of the first signal source device;
[0113] S2, controlling the OR gate power supply module 3 to induce power to the first role switching module 4 to work according to the insertion signal of the first signal source device;
[0114] S3, controlling the logic control module 6 to work according to the electro-induced signal;
[0115] S4. According to the charging and discharging roles of the first signal source, control the first role switching module 4 and the second role switching module 5 to operate to implement role configuration of the first signal source device and the second signal source device.
[0116] It should be noted that, in this specification, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0117] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A multi-TypeC device blind plug role switching circuit, characterized in that: It includes a first TypeC interface module, a second TypeC interface module, an OR gate power module, a first role switching module, a second role switching module and a logic control module; The first TypeC interface module is used to be electrically connected to a first signal source device, and the second TypeC interface module is used to be electrically connected to a second signal source device; The first TypeC interface module is electrically connected to the OR gate power module, the first role switching module and the logic control module respectively, and the second TypeC interface module is electrically connected to the OR gate power module, the second role switching module and the logic control module respectively; The OR gate power supply module is electrically connected to the first role switching module and the second role switching module respectively, and the logic control module is electrically connected to the first role switching module and the second role switching module respectively; The first TypeC interface module is used to detect the insertion of the first signal source device and determine the charging and discharging role of the first signal source device; The OR gate power supply module is used to induce power to the first role switching module to work according to the insertion signal of the first signal source device; The first role switching module is used to control the operation of the logic control module according to the electromotive force signal; The logic control module is used to control the first role switching module and the second role switching module to operate according to the charging and discharging role of the first signal source to implement the role configuration of the first signal source device and the second signal source device.
2. A multi-TypeC device blind plug role switching circuit according to claim 1, characterized in that: The multi-TypeC device blind plug role switching circuit also includes a third TypeC interface module and a third role switching module; The third TypeC interface module is used to be electrically connected to a third signal source device, and the third TypeC interface module is electrically connected to the OR gate power supply module, the third role switching module and the logic control module respectively; The OR gate power supply module is electrically connected to the third role switching module, and the logic control module is electrically connected to the third role switching module.
3. A multi-TypeC device blind plug role switching circuit according to claim 2, characterized in that: The OR gate power supply module includes a first diode, a second diode, a third diode, a fourth diode, a fifth diode and a sixth diode; The anode of the first diode is electrically connected to the VBUS line of the first TypeC interface module, the anode of the second diode is electrically connected to the VBUS line of the second TypeC interface module, and the cathode of the first diode and the cathode of the second diode are both connected to the first role switching module and the second role switching module through the VBUS power line; The anode of the third diode is electrically connected to the first CC line of the first TypeC interface module, the anode of the fourth diode is electrically connected to the second CC line of the first TypeC interface module, the anode of the fifth diode is electrically connected to the first CC line of the second TypeC interface module, the anode of the sixth diode is electrically connected to the second CC line of the second TypeC interface module, and the cathode of the third diode, the cathode of the fourth diode, the cathode of the fifth diode and the cathode of the sixth diode are all connected to the first role switching module and the second role switching module through the VBUS power line.
4. A multi-TypeC device blind plug role switching circuit according to claim 3, characterized in that: The OR gate power supply module also includes a seventh diode, an eighth diode and a ninth diode; The anode of the seventh diode is electrically connected to the VBUS line of the third Type C interface module, and the cathode of the seventh diode is connected to the first role switching module, the second role switching module and the third role switching module through the VBUS power line; The anode of the eighth diode is electrically connected to the first CC line of the third TypeC interface module, the anode of the ninth diode is electrically connected to the second CC line of the third TypeC interface module, and the cathode of the eighth diode and the cathode of the ninth diode are both connected to the first role switching module, the second role switching module and the third role switching module through the VBUS power line.
5. A multi-TypeC device blind plug role switching circuit according to claim 1, characterized in that: The first role switching module includes a first switch, a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor; The first end of the first switching switch is electrically connected to the first end of the first resistor and the logic control module respectively, the second end of the first resistor is grounded, the second end of the first switching switch is electrically connected to the first end of the second resistor, the second end of the second resistor is grounded, the third end of the first switching switch is electrically connected to the first end of the third resistor, the second end of the third resistor is connected to the logic control module through the VBUS line, the fourth end of the first switching switch is electrically connected to the first CC line of the first TypeC interface module, the fifth end of the first switching switch is grounded, the sixth end of the first switching switch is electrically connected to the second CC line of the first TypeC interface module, the seventh end of the first switching switch is electrically connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the logic control module through the VBUS line, the eighth end of the first switching switch is electrically connected to the first end of the fifth resistor, the second end of the fifth resistor is grounded, the ninth end of the first switching switch is grounded, and the tenth end of the first switching switch is electrically connected to the OR gate power supply module.
6. A multi-TypeC device blind plug role switching circuit according to claim 2, characterized in that: The logic control module includes a first logic control unit and a second logic control unit; The first logic control unit is electrically connected to the first TypeC interface module, the second TypeC interface module, the third TypeC interface module, the first role switching module and the OR gate power supply module respectively; The second logic control unit is electrically connected to the first Type C interface module, the second Type C interface module, the third Type C interface module, the second role switching module and the OR gate power supply module respectively.
7. A multi-TypeC device blind plug role switching circuit according to claim 6, characterized in that: The first logic control unit includes a first triode, a tenth diode and an eleventh diode; The base of the first transistor is electrically connected to the VBUS line of the first TypeC interface module, the collector of the first transistor is electrically connected to the VBUS power line of the OR gate power module and the cathode of the tenth diode, the anode of the tenth diode is electrically connected to the first role switching module and the cathode of the eleventh diode, and the anode of the eleventh diode is electrically connected to the VBUS line of the second TypeC interface module.
8. A multi-TypeC device blind plug role switching circuit according to claim 7, characterized in that: The second logic control unit includes a second triode, a twelfth diode and a thirteenth diode; The base of the second transistor is electrically connected to the VBUS line of the second TypeC interface module, the collector of the second transistor is electrically connected to the VBUS power line of the OR gate power module and the cathode of the twelfth diode, the anode of the tenth diode is electrically connected to the second role switching module and the cathode of the thirteenth diode, and the anode of the thirteenth diode is electrically connected to the VBUS line of the first TypeC interface module.
9. A device for blind plugging role switching of multiple Type C devices, comprising a circuit for blind plugging role switching of multiple Type C devices as claimed in any one of claims 1 to 8.
10. A method for blind plugging role switching of multiple Type C devices, characterized in that: A multi-TypeC device blind plug role switching circuit applied to any one of claims 1 to 8, the switching method comprising: Controlling the first Type C interface module to detect the insertion of the first signal source device and determine the charging and discharging role of the first signal source device; Control the OR gate power supply module to induce power to the first role switching module to work according to the insertion signal of the first signal source device; The logic control module works according to the induced electric signal control; According to the charging and discharging role of the first signal source, the first role switching module and the second role switching module are controlled to work so as to realize the role configuration of the first signal source device and the second signal source device.
