[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111309663A - Power adapter with dual role ports - Google Patents

Power adapter with dual role ports Download PDF

Info

Publication number
CN111309663A
CN111309663A CN201811520605.8A CN201811520605A CN111309663A CN 111309663 A CN111309663 A CN 111309663A CN 201811520605 A CN201811520605 A CN 201811520605A CN 111309663 A CN111309663 A CN 111309663A
Authority
CN
China
Prior art keywords
port
role
bus
power
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811520605.8A
Other languages
Chinese (zh)
Inventor
王三辅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pudeng Co ltd
Original Assignee
Pudeng Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pudeng Co ltd filed Critical Pudeng Co ltd
Priority to CN201811520605.8A priority Critical patent/CN111309663A/en
Publication of CN111309663A publication Critical patent/CN111309663A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

A power adapter with dual role ports includes a first converter, a first bus port, a second bus port, a first switch device and a controller. The controller initially sets the power adapter to a downstream port role when the output of the first converter generates a dc voltage. When the external dual-role port electronic device is connected with the first bus port, the controller is in handshake with the external dual-role port electronic device through the configuration channel, the controller conducts the first switch device to provide direct-current voltage to the first power pin of the first bus port, then the controller is in handshake with the external dual-role port electronic device through the configuration channel again to enable the external dual-role port electronic device to be set to be in a data downlink port role, and the power adapter is set to be in a data uplink port role, and therefore the external dual-role port electronic device can transmit and receive data through the data pins of the first bus port and the second bus port.

Description

Power adapter with dual role ports
Technical Field
The present invention relates to a power adapter, and more particularly, to a power adapter with dual role ports.
Background
With the technological progress, electronic products (such as notebook computers, mobile phones, etc.) play an important role in general daily life. The power supply is an indispensable part for driving electronic products. Generally, a power supply (i.e., a commercial power supply) supplied to a general household is an Alternating Current (AC) power supply, and a power supply used by an electronic product is a Direct Current (DC) power supply, so that the AC-DC adapter is used to convert an AC power supply into a DC power supply and supply the DC power supply to the electronic product, so that the AC-DC adapter plays an important role in the industry and daily life of the electronic product.
In many mobile devices or electronic products with low power requirements, a Universal Serial Bus (USB) port is used as an interface for connecting with an AC-DC adapter. Therefore, the USB interface is often used for the dc power output interface of most low-voltage and low-power adapters.
However, the currently developed USB Type-C port has integrated many signals, such as D +/D of USB2.0, SSRX/SSTX of USB3.0, Display port (Display port), HDMI, and audio (audio). Therefore, in many Type-C electronic products, other conventional signal interfaces are eliminated or reduced. For example, some electronic devices have eliminated the USBType-A port and HDMI port. Therefore, the device with the Type-A port cannot be used, and a docking interface with a USB Type-A port, such as a docking station (Dock station) with a Type-C port or a Dongle (Dongle) with a Type-C port, needs to be connected externally to use the device.
On an AC-DC adapter having a Type-C port, power can be supplied to a connection device having a Type-C port. The AC-DC adapter may be configured to handshake with the connection device through a Configuration Channel (CC) of the Type-C port. If the handshake is successful, the AC-DC adapter may output power to the connection device. At this time, the adapter plays a role of a Downstream Facing Port (DFP), which is a power supplier, and the connection device plays a role of an Upstream Facing Port (UFP). However, the Type-C port is not compatible with the conventional Type-A port, so that another adapter having both the Type-C port and the Type-A port needs to be developed to provide two power outputs at the same time.
The downstream data flow port may be understood as a Host (Host), and the downstream data flow port may provide power and may also provide data. A typical downstream data flow port device is a power adapter because it is always only powered.
However, an adapter with Type-C and Type-A ports can provide power outputs of two different specifications, but such an adapter can only provide power outputs and does not have data transmission capability. Once the Type-C port of the Type-C connecting device with data transmission capability is connected with the adapter, the number of the ports of the connecting device with data transmission capability is reduced by one, namely, the ports of the connecting device connected with the adapter can only be used for power transmission.
Moreover, in the case of such an adapter without an AC power source (i.e., the adapter is not connected to the mains), the Type-a port of the adapter cannot obtain power, and thus the Type-a port does not output power.
In addition, the adapter with Type-C and Wireless charging Module (Wireless charging Module) can provide power outputs with two different specifications. However, in the case of such an adapter without an AC power source (i.e., the adapter is not connected to the commercial power), the wireless charging module of the adapter cannot obtain power, and thus the wireless charging module cannot work. Therefore, the AC-DC adapter still has room for improvement.
Disclosure of Invention
The invention provides a power adapter with dual role ports, which has the function of data transmission under the condition of charging an external dual role port electronic device so as to increase the convenience in use.
The invention provides a power adapter with double role ports, which comprises a first converter, a first bus port, a second bus port, a first switch device and a controller. The first converter, when receiving the alternating voltage, converts the alternating voltage and generates a direct voltage at an output terminal of the first converter. The first bus port is at least provided with a first power pin, a plurality of first data pins and a configuration channel. The second bus port is at least provided with a second power supply pin and a plurality of second data pins, wherein the first data pins are electrically connected with the second data pins, the second power supply pin is electrically coupled with the first converter, and the first data pins and the second data pins are data pins of USB2.0 or USB3.0 respectively. The first switching device connects the output of the first converter with the first power pin of the first bus port. The controller is coupled to the output terminal of the first converter, and is connected to the configuration channel of the first bus port and the control terminal of the first switch device.
The controller initially sets the power adapter to a downstream port role when the output of the first converter generates a dc voltage. When the external dual-role port electronic device is connected with the first bus port, the controller conducts the first switch device after successfully handshaking with the external dual-role port electronic device through the configuration channel to provide direct current voltage to the first power pin of the first bus port, then the controller again conducts handshaking with the external dual-role port electronic device through the configuration channel to set the external dual-role port electronic device to be in a data downlink port role and set the power adapter to be in a data uplink port role, therefore, the external dual-role port electronic device can receive and transmit data through the first data pins of the first bus and the second data pins of the second bus port, and the second data pins of the second bus port have the data downlink port role function of USB2.0 or USB 3.0. Wherein the first bus port is a universal serial bus type C bus port.
The invention discloses a power adapter with double role ports, which is characterized in that when the output end of a first converter generates direct current voltage, a controller initially sets the power adapter to be in a downlink port role, when an external double role port electronic device is connected with a first bus port, the controller is successfully handed over with the external double role port electronic device through a configuration channel, the controller conducts a first switch device to provide the direct current voltage to a first power pin of the first bus port, then the controller is handed over with the external double role port electronic device through the configuration channel again to set the external double role port electronic device to be in a data downlink port role, and the power adapter is set to be in a data uplink port role, so that the external double role port electronic device can transmit the direct current voltage to the second data pins (namely data pins of USB2.0 or USB 3.0) of a second bus port through the first data pins of the first bus (namely data pins of USB2.0 or USB 3.0) of the first bus port and the second data pins of the second bus port (namely data pins of USB2.0 or USB3 The second data pins of the second bus port have a data downstream port role of USB2.0 or USB 3.0. Therefore, the function of data transmission is still provided under the condition of charging the external dual-role port electronic device, so that the convenience in use is improved.
Drawings
FIG. 1 is a diagram of a power adapter with dual role ports according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a correspondence relationship between a host terminal and a connected device terminal according to an embodiment of the invention.
FIG. 3 is an operational schematic diagram of the power adapter of FIG. 1 having dual role ports.
FIG. 4 is a diagram of a power adapter with dual role ports according to an embodiment of the present invention.
FIG. 5 is an operational schematic diagram of the power adapter of FIG. 4 having dual role ports.
FIG. 6 is another operational schematic diagram of the power adapter of FIG. 4 having dual angled ports.
Description of reference numerals:
100. 400: power adapter with dual role ports
110: first converter
111: output end
120: first bus port
121: first power supply pin
122: first data pin
123: configuring a channel
130: second bus port
131: second power supply pin
132: second data pin
140: first switch device
150: controller
160: external dual-role port electronic device
210: host computer terminal
220: connected device end
410: second switch device
420: second converter
430: wireless charging module
CC1, CC 2: configuration channel pin
And Rp: pull-up resistor
Rd: pull-down resistor
M1: MOS transistor
VBUS: output end
VAC: alternating voltage
VDC: direct voltage
DP1, DP2, DP 3: data transmission path
PP1, PP2, PP 3: power transmission path
Detailed Description
In each of the embodiments listed below, the same or similar elements or components will be denoted by the same reference numerals.
FIG. 1 is a diagram of a power adapter with dual role ports according to an embodiment of the present invention. Referring to fig. 1, a power adapter 100 with dual role ports of the present embodiment includes a first converter 110, a first bus port 120, a second bus port 130, a first switch device 140 and a controller 150.
When the first converter 110 receives the alternating voltage VAC, the alternating voltage VAC is converted and the direct voltage VDC is generated at the output terminal 111 of the first converter 110. In this embodiment, the first converter 110 is, for example, an ac-dc converter, and the ac voltage signal VAC may be a commercial power, for example, 100V to 240V.
The first bus port 120 is at least provided with a first power pin 121, a plurality of first data pins 122 and a Configuration Channel (CC) 123. In the present embodiment, the first Bus port 120 is, for example, a Universal Serial Bus (USB) Type C (Type C) Bus port. The configuration channel 123 includes, for example, a configuration channel pin 1(CC1) and a configuration channel pin 2(CC2) of USB Type C, as shown in fig. 2.
The second bus port 130 at least has a second power pin 131 and a plurality of second data pins 132, wherein the first data pin 122 of the first bus port 120 is electrically connected to the second data pin 132 of the second bus port 130, the first data pin 122 and the second data pin 132 are USB2.0 or USB3.0 data pins, respectively, and the second power pin 131 is electrically coupled to the output 111 of the first converter 110. In this embodiment, the second bus port 130 may be a usb type C bus port or a usb type a bus port. The USB a-type bus port includes, for example, a USB2.0 bus port and a USB3.0 bus port.
For example, when the first bus port 120 and the second bus port 130 are both USB Type C bus ports, the second data pins 132 (e.g., D +, D-, SSTX, and SSRX in the data pins) of the second bus port 130 are electrically connected to the first data pins 122 (e.g., D +, D-, SSTX, and SSRX in the data pins) of the first bus port 120 correspondingly. When the first bus port 120 is USB Type C and the second bus port 130 is USB2.0, the second data pin 132 (e.g., D + and D-in the data pins) of the second bus port 130 is electrically connected to the first data pin 122 (e.g., D + and D-in the data pins) of the first bus port 120 correspondingly. When the first bus port 120 is USB Type C and the second bus port 130 is USB3.0, the second data pins 132 (e.g., D +, D-, SSTX, and SSRX in the data pins) of the second bus port 130 are electrically connected to the first data pins 122 (e.g., D +, D-, SSTX, and SSRX in the data pins) of the first bus port 120 correspondingly.
The first switching device 140 connects the output 111 of the first converter 110 and the first power pin 121 of the first bus port 120, i.e. the input of the first switching device 140 is connected to the output 111 of the first converter 110, and the output VBUS of the first switching device 140 is connected to the first power pin 121 of the first bus port 120. In the present embodiment, the first switch device 140 may include a MOS transistor M1, the first terminal of the MOS transistor M1 is an input terminal of the first switch device 140, the second terminal of the MOS transistor M1 is an output terminal VBUS of the first switch device 140, and the control terminal of the MOS transistor M1 is a control terminal of the first switch device 140.
The controller 150 is coupled to the output 111 of the first converter 110, and is connected to the configuration channel 123 of the first bus port 120 and the control terminal of the first switch device 140 (i.e., the control terminal of the MOS transistor M1). The controller 150 is provided with a pull-up resistor Rp and a pull-down resistor Rd corresponding to the channel handshake processing, as shown in fig. 2. Moreover, the pull-up resistor Rp and the pull-down resistor Rd are connected to the configuration channel 123 (i.e., the configuration channel pins CC1 and CC2) of the first bus port 120, and the power adapter 100 with the dual role ports is determined to be in a role of a downstream port (DFP) (corresponding to the pull-up resistor Rp) or a role of an upstream port (UFP) (corresponding to the pull-down resistor Rd) by switching the pull-up resistor Rp and the pull-down resistor Rd.
For example, when the controller 150 switches to the pull-up resistor Rp (i.e., the pull-up resistors Rp are connected to both the configuration channel pins CC1 and CC2), the control unit 150 sets the Power adapter 100 with dual Role ports to the downstream port (DFP) Role, i.e., the Power adapter 100 with dual Role ports is the Host 210, the Power Role (Power Role) of the Power adapter 100 with dual Role ports is the provider and the Data Role (Data Role) is the Host (Host) Role.
In addition, when the controller 150 switches to the pull-down resistor Rd (i.e. the pull-down resistor Rd is connected to both the configured channel pins CC1 and CC2), the control unit 150 sets the power adapter 100 with dual role ports to the up port (UFP) role, i.e. the power adapter 100 with dual role ports is the connected device side 220, the power role of the power adapter 100 with dual role ports is the receiver and the data role is the device role.
Having described the components and their arrangement in the power adapter 100 with dual role ports, the operation of the power adapter 100 with dual role ports will be described with reference to fig. 3.
FIG. 3 is an operational schematic diagram of the power adapter of FIG. 1 having dual role ports. Referring to fig. 3, in the operation of the power adapter 100 with dual role ports, when the first converter 110 receives the ac voltage VAC and generates the dc voltage VDC at the output terminal 111, the controller 150 initially sets the power adapter 100 with dual role ports to the downstream port role, i.e. the controller 150 switches to the pull-up resistor Rp, so that the power role of the power adapter 100 with dual role ports is the provider and the data role is the host role.
When the external dual role port electronics 160 is connected to the first bus port 120, the controller 150 handshakes with the external dual role port electronics 160 by configuring the channel 123. Since the controller 150 is initially set to the downstream port role and has switched to the pull-up resistor Rp, the external dual role port electronic device 160 switches to the pull-down resistor Rd (not shown) and set to the upstream port role, such that the power role of the external dual role port electronic device 160 is the receiver and the data role is the device role.
After the controller 150 successfully handshakes with the external dual role port electronic device 160 via the configuration channel 123, the controller 150 turns on the first switching device 140 to provide the dc voltage VDC to the first power pin 121 of the first bus port 120. That is, the direct-current voltage VDC supplied from the power adapter 100 having the dual character ports may be transmitted through the power transmission path PP1 shown in fig. 3.
Then, since the controller 150 detects that the output end 111 of the first converter 110 generates the dc voltage VDC, the controller 150 will again handshake with the external dual Role port electronic device 160 through the configuration channel 123 to request the external dual Role port electronic device 160 to perform Data Role Swap (DRS), so that the external dual Role port electronic device 160 is set to be in a Data downlink port Role, and the controller 150 sets the power adapter 100 with the dual Role port to be in a Data uplink port Role, whereby the external dual Role port electronic device 160 can transmit or receive Data through the first Data pins 122 of the first bus port 120 and the second Data pins 132 of the second bus port 130, and the second Data pins 132 of the second bus port 130 have a Data downlink port Role function of USB2.0 or USB 3.0. That is, data of the external dual role port electronic device 160 may be transmitted through the data transmission path DP1 shown in fig. 3.
Therefore, when the external dual role port electronic device 160 obtains the dc voltage VDC provided by the power adapter 100 with dual role ports through the power transmission path PP1 for charging (i.e. the connection port of the external dual role port electronic device 160 is occupied), the external dual role port electronic device 160 can still transmit (i.e. transmit through the data transmission path DP 1) or receive data through the first data pins 122 of the first bus port 120 and the second data pins 132 of the second bus port 130, which can increase the convenience of use.
FIG. 4 is a diagram of a power adapter with dual role ports according to an embodiment of the present invention. Referring to fig. 4, the power adapter 400 with dual-role ports of the present embodiment includes a first converter 110, a first bus port 120, a second bus port 130, a first switch device 140, a controller 150, a second switch device 410, and a second converter 420.
In this embodiment, the first converter 110, the first bus port 120, the second bus port 130, the first switch device 140, and the controller 150 are the same as or similar to the first converter 110, the first bus port 120, the second bus port 130, the first switch device 140, and the controller 150 in fig. 1, and reference may be made to the description of the embodiments in fig. 1, fig. 2, and fig. 3, so that no further description is provided herein.
The second switching device 410 is connected to the first power pin 121 of the first bus port 120. The second switching device 410 may also include a MOS transistor, for example, the same as or similar to the first switching device 140, and the description of the first switching device 140 may be referred to for the implementation of the second switching device 410, so that the description thereof is omitted here. The second converter 420 connects the second switching device 410, the output 111 of the first converter 110 and the second power pin 131 of the second bus port 130. In this embodiment, the second converter 420 is also a dc-dc converter, for example. Furthermore, the controller 150 is further connected to the first power pin 121 of the first bus port 120 and the control terminal of the second switch device 410 to control the conduction and non-conduction of the second switch device 410.
While the above describes the components and their arrangement in the power adapter 400 with dual role ports, the operation of the power adapter 400 with dual role ports will be described with reference to fig. 5 and 6.
FIG. 5 is an operational schematic diagram of the power adapter of FIG. 4 having dual role ports. Referring to fig. 5, in the overall operation of the power adapter 400 with dual role ports, when the first converter 110 does not receive the ac voltage VAC and the output 111 does not generate the dc voltage VDC ("X" in fig. 5), and the external dual role port electronic device 160 is connected to the first bus port 120, the external dual role port electronic device 160 is handshake with the controller 150 through the configuration channel 123 of the first bus port 120.
Since the output 111 of the first converter 110 does not generate the dc voltage VDC, such that the controller 150 has switched to the pull-down resistor Rd, the external dual role port electronic device 160 switches to the pull-up resistor Rp and is set to the downlink port role, i.e. the power role of the external dual role port electronic device 160 is the provider and the data role is the host role. Therefore, the external dual-role port electronic device 160 can transmit or receive data through the first data pins 122 of the first bus port 120 and the second data pins 132 of the second bus port 130, and the second data pins 132 of the second bus port 130 have the data downlink port role function of USB2.0 or USB 3.0. That is, data of the external dual role port electronic device 160 may be transmitted through the data transmission path DP2 shown in fig. 5.
In addition, the controller 150 has switched to the pull-down resistor Rd, and the power adapter 400 with dual role ports is set to the uplink port role, i.e. the power role of the power adapter 400 with dual role ports is the receiver and the data role is the device role.
Then, the external dual-role port electronic device 160 provides a power source through the first power pin 121 of the first bus port 120 to enable the controller 150 to start and operate. At this time, the controller 150 detects that the output terminal 111 of the first converter 110 does not generate the dc voltage VDC, and the controller 150 turns on the second switching device 410 to transmit the power provided by the external dual role port electronic device 160 to the second power pin 131 of the second bus port 130 through the first power pin 121 of the first bus port 120, the second switching device 410, and the second converter 420. That is, the power supplied from the external dual role port electronic device 160 can be transmitted through the power transmission path PP2 shown in fig. 5.
In this way, when the external dual role port electronic device 160 is connected to the power adapter 400 having the dual role port without receiving the ac voltage VAC (i.e. the output 111 of the first converter 110 does not generate the dc voltage VDC), the power provided by the external dual role port electronic device 160 can be transmitted through the power transmission path PP2 shown in fig. 5 and the data of the external dual role port electronic device 160 can be transmitted through the data transmission path DP2 shown in fig. 5, so that the device connected to the second bus port 130 can receive the power provided by the external dual role port electronic device 160 for charging and the data of the external dual role port electronic device 160, and the like, thereby increasing the convenience of use.
FIG. 6 is another operational schematic diagram of the power adapter of FIG. 4 having dual angled ports. Referring to fig. 6, after the output 111 of the first converter 110 does not generate the dc voltage VDC and the external dual Role port electronic device 160 is connected to the first bus port 120, when the first converter 110 receives the ac voltage VAC again and generates the dc voltage VDC at the output 111 of the first converter 110, the controller 150 may handshake with the external dual Role port electronic device 160 through the configuration channel 123 to request the external dual Role port electronic device 160 to perform Power Role Swap (PRS), so that the external dual Role port electronic device 160 is set to the Power up port Role, that is, the Power Role of the external dual Role port electronic device 160 is switched from the supplier to the receiver, and the controller 150 sets the Power adapter 400 with the dual Role port to the Power down port Role.
The controller 150 then turns on the first switching device 140 to transmit the dc voltage VDC to the external dual role port electronic device 160 through the first power pin 121 of the first bus port 120. That is, the power adapter 400 with dual role ports of the present embodiment is converted from the power transmission path PP2 shown in fig. 5 to the power transmission path PP3 shown in fig. 6, so that the dc voltage VDC provided by the power adapter 400 with dual role ports can be transmitted through the power transmission path PP 3.
Then, the controller 150 controls the second switch device 410 to be turned off to disconnect the first power pin 121 of the first bus port 120 from the second converter 420, i.e., to cut off the power transmission path PP2 shown in fig. 5. At this time, the direct current voltage VDC may be transmitted to the second power pin 131 of the second bus port 130 through the second converter 420, so that an external device (not shown) connected to the second bus port 130 may be charged with the direct current voltage VDC.
Since the data role of the external dual-role port electronic device 160 is still the host role, the external dual-role port electronic device 160 can still transmit or receive data through the first data pins 122 of the first bus 120 and the second data pins 132 of the second bus port 130, and the second data pins 132 of the second bus port 130 have the data downlink port role function of USB2.0 or USB 3.0. That is, data of the external dual role port electronic device 160 can be transmitted through the data transmission path DP3 (the same as the data transmission path DP2 of fig. 5) as shown in fig. 6.
Further, the power adapter 400 with dual role ports further includes a wireless charging module 430, and the wireless charging module 430 is connected to the second converter 420. That is, in the case where the power adapter 400 having the dual role port does not receive the ac voltage VAC (i.e., the output 111 of the first converter 110 does not generate the dc voltage VDC), the wireless charging module 430 may receive the power provided by the external dual role port electronic device 160 through the second converter 420 and transmit the power provided by the external dual role port electronic device 160 to the external device by wireless transmission.
In addition, in the case where the power adapter 400 having the dual character ports receives the ac voltage VAC (i.e., the output terminal 111 of the first converter 110 generates the dc voltage VDC), the wireless charging module 430 may receive the dc voltage VDC through the second converter 420 and transmit the dc voltage VDC to the external device by wireless transmission.
In summary, the power adapter with dual role ports disclosed in the present invention initially sets the power adapter to a downstream port role by the controller when the output terminal of the first converter generates a dc voltage, and performs handshaking with the external dual role port electronic device through the configuration channel when the external dual role port electronic device is connected to the first bus port, the controller turns on the first switch device to provide the dc voltage to the first power pin of the first bus port, and then the controller performs handshaking with the external dual role port electronic device through the configuration channel again to set the external dual role port electronic device to a data downstream port role and set the power adapter to a data upstream port role, so that the external dual role port electronic device can communicate with the second data pins of the second bus port (i.e. the data pins of USB2.0 or USB 3.0) through the first data pins of the first bus (i.e. the data pins of USB2.0 or USB 3.0) through the external dual role port electronic device Pins) transmit or receive data, and the second data pins of the second bus port have a USB2.0 or USB3.0 data downstream port role function.
In addition, under the condition that no direct current voltage is generated at the output end of the first converter and the external dual role port electronic device is connected with the first bus port, the power adapter with the dual role port can transmit the power provided by the external dual role port electronic device through the first power pin of the first bus port and the second power pin of the second bus port or the wireless charging module. Then, after the dc voltage is not generated at the output terminal of the first converter and the external dual role port electronic device is connected to the first bus port, when the first converter receives the ac voltage again and generates the dc voltage at the output terminal of the first converter, the configuration channel may be used for performing handshaking to request the external dual role port electronic device to perform power role switching so as to provide the dc voltage to the external dual role port electronic device through the first power pin of the first bus port.
Therefore, under the condition of charging the external dual-role port electronic device, the external dual-role port electronic device still has the function of data transmission; if the power adapter with the dual-role port does not receive alternating voltage and the external dual-role port electronic device is connected with the power adapter with the dual-role port, the power adapter with the dual-role port can transmit power provided by the external dual-role port electronic device; after the power adapter with the dual-role port does not receive the alternating-current voltage and the external dual-role port electronic device is connected with the power adapter with the dual-role port, if the power adapter with the dual-role port receives the alternating-current voltage again, the power adapter with the dual-role port can be handed over with the external dual-role port electronic device through the configuration channel to request the external dual-role port electronic device to perform power role exchange, so that a power supplier can switch the external dual-role port electronic device into a receiver to receive the direct-current voltage provided by the power adapter with the dual-role port, and the convenience in use can be improved.
Although the present invention has been described with reference to the above embodiments, it should be understood that the scope of the present invention is not limited to the above embodiments, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention.

Claims (6)

1. A power adapter having dual role ports comprising:
a first converter, for converting an ac voltage and generating a dc voltage at an output terminal of the first converter when receiving the ac voltage;
a first bus port at least provided with a first power pin, a plurality of first data pins and a configuration channel;
the second bus port is at least provided with a second power supply pin and a plurality of second data pins; the plurality of first data pins and the plurality of second data pins are electrically connected, the plurality of first data pins and the plurality of second data pins are respectively data pins of USB2.0 or USB3.0, and the second power supply pin is electrically coupled with the output end of the first converter;
a first switch device connecting the output terminal of the first converter and the first power pin of the first bus port; and
a controller coupled to the output terminal of the first converter, connected to the configuration channel of the first bus port and a control terminal of the first switch device;
wherein, when the output terminal of the first converter generates the dc voltage, the controller initially sets the power adapter to a downstream port role;
wherein, when an external dual-role port electronic device is connected with the first bus port, the controller is held with the external dual-role port electronic device through the configuration channel, the controller turns on the first switch device to provide the DC voltage to the first power pin of the first bus port, then the controller performs handshaking with the external dual-role port electronic device through the configuration channel to set the external dual-role port electronic device to be in a data downlink port role, and setting the power adapter to a data upstream port role, whereby the external dual-role port electronic device transmits and receives data through the plurality of first data pins of the first bus and the plurality of second data pins of the second bus port, the plurality of second data pins of the second bus port have the role function of a data downlink port of USB2.0 or USB 3.0;
wherein the first bus port is a Universal Serial Bus (USB) type-C bus port.
2. The power adapter with dual role ports of claim 1, further comprising:
a second switch device connected to the first power pin of the first bus port; and
the second converter is connected with the second switch unit, the output end of the first converter and the second power supply pin of the second bus port;
wherein the controller is further connected to the first power pin of the first bus port and a control terminal of the second switch device;
wherein, when the output terminal of the first converter does not generate the dc voltage and the external dual role port electronic device is connected to the first bus port, the external dual role port electronic device is handshake with the controller through the configuration channel to set the external dual role port electronic device to a downlink port role and the power adapter to an uplink port role, the external dual role port electronic device transmits and receives data through the plurality of first data pins of the first bus and the plurality of second data pins of the second bus port, and the external dual role port electronic device provides a power through the first power pin of the first bus port to operate the controller, when the controller detects that the output terminal of the first converter does not generate the dc voltage, the controller turns on the second switch device, the power provided by the external dual-role port electronic device is transmitted to the second power pin of the second bus port through the first power pin of the first bus port, the second switch device and the second converter.
3. The power adapter with dual role ports as claimed in claim 2, wherein after the DC voltage is not generated at the output terminal of the first converter and the external dual role port electronic device is connected to the first bus port, when the first converter re-receives the AC voltage and generates the DC voltage at the output terminal of the first converter, the controller performs handshaking with the external dual role port electronic device through the configuration channel to set the external dual role port electronic device to a power up port role and set the power adapter to a power down port role, the controller turns on the first switch device to transmit the DC voltage to the external dual role port electronic device through the first power pin of the first bus port, and the controller controls the second switch device to be turned off, so as to disconnect the first power pin of the first bus port from the second converter, and the dc voltage is transmitted to the second power pin of the second bus port through the second converter.
4. The power adapter with dual-role port of claim 1, further comprising a wireless charging module, the wireless charging module being connected to the second converter.
5. The power adapter having dual role ports as claimed in claim 1, wherein said second bus port is a Universal Serial Bus (USB) type C bus port.
6. The power adapter having dual role ports as claimed in claim 1, wherein said second bus port is a universal serial bus type a bus port.
CN201811520605.8A 2018-12-12 2018-12-12 Power adapter with dual role ports Pending CN111309663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811520605.8A CN111309663A (en) 2018-12-12 2018-12-12 Power adapter with dual role ports

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811520605.8A CN111309663A (en) 2018-12-12 2018-12-12 Power adapter with dual role ports

Publications (1)

Publication Number Publication Date
CN111309663A true CN111309663A (en) 2020-06-19

Family

ID=71158125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811520605.8A Pending CN111309663A (en) 2018-12-12 2018-12-12 Power adapter with dual role ports

Country Status (1)

Country Link
CN (1) CN111309663A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200987161Y (en) * 2006-08-18 2007-12-05 良维科技股份有限公司 Multifunctional charging data transmission line
CN201466247U (en) * 2009-07-10 2010-05-12 珠海全志科技有限公司 USB connecting wire
CN103309835A (en) * 2012-03-12 2013-09-18 祥硕科技股份有限公司 Universal serial bus device and power supply method thereof
CN106776428A (en) * 2016-12-06 2017-05-31 广州视源电子科技股份有限公司 Terminal device, read-write device, data transmission system and hardware initialization method
CN107465060A (en) * 2016-06-03 2017-12-12 台达电子工业股份有限公司 USB Type-C switching module and starting method thereof
CN107544653A (en) * 2017-09-05 2018-01-05 深圳天珑无线科技有限公司 A kind of USB Type C interface and mobile device
CN107562168A (en) * 2017-09-12 2018-01-09 深圳凯晖电子科技有限公司 Power supply adaptor with usb data read-write

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200987161Y (en) * 2006-08-18 2007-12-05 良维科技股份有限公司 Multifunctional charging data transmission line
CN201466247U (en) * 2009-07-10 2010-05-12 珠海全志科技有限公司 USB connecting wire
CN103309835A (en) * 2012-03-12 2013-09-18 祥硕科技股份有限公司 Universal serial bus device and power supply method thereof
CN107465060A (en) * 2016-06-03 2017-12-12 台达电子工业股份有限公司 USB Type-C switching module and starting method thereof
CN106776428A (en) * 2016-12-06 2017-05-31 广州视源电子科技股份有限公司 Terminal device, read-write device, data transmission system and hardware initialization method
CN107544653A (en) * 2017-09-05 2018-01-05 深圳天珑无线科技有限公司 A kind of USB Type C interface and mobile device
CN107562168A (en) * 2017-09-12 2018-01-09 深圳凯晖电子科技有限公司 Power supply adaptor with usb data read-write

Similar Documents

Publication Publication Date Title
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
TWI528674B (en) Devices, systems, and methods of wireless charging
US11169569B2 (en) USB expanding device
CN100461143C (en) Device operable as both a host and a non-host (i.e. dual-mode device)
CN112671084B (en) USB device and operation method thereof
CN211405512U (en) Adapter
WO2020233445A1 (en) Power adapter and charging method
CN111224438A (en) Electronic device with universal sequence bus C-type connector
CN109491493B (en) Dynamic power control technique and docking station with dynamic power control technique
KR100541728B1 (en) computer system
US10193286B2 (en) Electronic device and control method thereof
CN111309663A (en) Power adapter with dual role ports
TWI806769B (en) Power delivery device and control method of power supply path
US10558601B2 (en) Electronic device and control system
CN215495009U (en) Hand-held industrial electronic device
US10754805B1 (en) USB adapter
CN211208842U (en) USB3.0 data line, interface module and terminal equipment
CN220254683U (en) Network card
CN209895336U (en) Connecting device
CN111400225B (en) USB switching circuit
CN114691570A (en) Electronic equipment and signal switching method
CN107306000B (en) A kind of method and apparatus of interface configuration
TWI615704B (en) Electronic device and the control method thereof
CN209913192U (en) Network power supply switching device
CN217134842U (en) Wire concentrator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200619

WD01 Invention patent application deemed withdrawn after publication