TWI676894B - Universal serial bus type-c apparatus with variable voltage - Google Patents
Universal serial bus type-c apparatus with variable voltage Download PDFInfo
- Publication number
- TWI676894B TWI676894B TW107116426A TW107116426A TWI676894B TW I676894 B TWI676894 B TW I676894B TW 107116426 A TW107116426 A TW 107116426A TW 107116426 A TW107116426 A TW 107116426A TW I676894 B TWI676894 B TW I676894B
- Authority
- TW
- Taiwan
- Prior art keywords
- voltage
- serial bus
- universal serial
- voltage signal
- generating unit
- Prior art date
Links
Landscapes
- Power Sources (AREA)
Abstract
本發明公開了一種可變電壓的USB type-C通用序列匯流排裝置,利用數位類比轉換器作可變電壓的電壓信號產生單元並搭配分壓電阻,達成type-C通用序列匯流排通信協定下雙用途介面(DRP,Dual Role Port)的功能:當通用序列匯流排裝置被識別為一種放電裝置時,電壓信號產生單元在配置通道接腳處建立特定非零電壓的分壓;當通用序列匯流排裝置被識別為一種被充電裝置時,配置通道接腳處獲得一分壓,並讓分壓電阻接地。外接裝置通過分壓確認通用序列匯流排裝置的放電能力,在元件數量與裝置體積獲得減少的好處下,同時達成合理的供電配置。 The invention discloses a variable voltage USB type-C universal serial bus device. A digital analog converter is used as a variable voltage voltage signal generating unit and a voltage dividing resistor is used to achieve a type-C universal serial bus communication protocol. The function of the dual-purpose interface (DRP, Dual Role Port): When the universal serial bus device is identified as a discharge device, the voltage signal generating unit establishes a specific non-zero voltage divider at the configuration channel pin; when the universal serial bus When the row device is identified as a charged device, a divided voltage is obtained at the configuration channel pin, and the divided resistor is grounded. The external device confirms the discharge capacity of the universal serial bus device through the voltage division, and at the same time, it achieves a reasonable power supply configuration under the advantage of reducing the number of components and the volume of the device.
Description
本發明涉及一種通用序列匯流排裝置,特別是有關一種可變電壓的通用序列匯流排裝置。 The invention relates to a universal serial bus device, in particular to a variable voltage universal serial bus device.
在type-C通用序列匯流排的通信協定規範中,一個雙用途的(Dual Role Port)type-C通用序列匯流排裝置透過配置通道接腳(configuration channel)間的電性連接以判斷所串連的外部裝置是否為正確的放電裝置或被充電裝置,同時還可據以使自身在該雙用途間進行相應的切換。當該type-C通用序列匯流排裝置被識別為被充電裝置時,其可透過於配置通道介面處所獲得的分壓以確認外部裝置的放電能力;另一方面,當其被識別為放電裝置時,其也可根據自身的供電能力於配置通道接腳處提供一相應的分壓,以使外部裝置得知其放電能力。 In the communication protocol specification of the type-C universal serial bus, a dual-purpose (Dual Role Port) type-C universal serial bus device determines the serial connection through the electrical connection between the configuration channel pins. Whether the external device is a correct discharge device or a charged device, and at the same time, it can also switch itself between the dual-use. When the type-C universal serial bus device is identified as a charged device, it can confirm the discharge capability of the external device through the partial voltage obtained at the configuration channel interface; on the other hand, when it is identified as a discharge device It can also provide a corresponding divided voltage at the pin of the configuration channel according to its own power supply capability, so that the external device knows its discharge capability.
當現有的type-C通用序列匯流排裝置被識別為放電裝置時,需要使用到一個上拉電阻(若是對應type-C通用序列匯流排協定的三種不同放電能力,則需要有三個上拉電阻Rp,並且通過開關切換);當現有的type-C通用序列匯流排裝置被識別為被充電裝置時,需要使用到一個下拉電阻以及開關,以對應至接 地狀態。因此,現有的type-C通用序列匯流排裝置至少需要使用到四個電阻與四個開關,這將不利於物料成本的低減與產品體積的縮減,在追求利潤與產品微型化的今日,使產品逐漸失去競爭力。 When the existing type-C universal serial bus device is identified as a discharge device, a pull-up resistor is required (if it is corresponding to three different discharge capabilities of the type-C universal serial bus agreement, three pull-up resistors Rp are required , And switch through the switch); when the existing type-C universal serial bus device is identified as a charged device, a pull-down resistor and switch are required to correspond to the connection Ground status. Therefore, the existing type-C universal serial bus device needs to use at least four resistors and four switches, which will not be conducive to reducing the cost of materials and reducing the volume of the product. In today's pursuit of profit and miniaturization of products, products Gradually lose competitiveness.
因此,本發明公開了一種可變電壓的USB type-C通用序列匯流排裝置以解決上述物料成本偏高與產品體積偏大的問題。 Therefore, the present invention discloses a variable voltage USB type-C universal serial bus device to solve the problems of high material cost and large product volume.
本發明公開了一種可變電壓的USB type-C通用序列匯流排裝置,包括連接介面、電壓信號產生單元以及分壓電阻。其中該連接介面用以電性連接一外部裝置且包括第一配置通道接腳,該第一配置通道接腳與該外部裝置的第二配置通道接腳電性連接以使該通用序列匯流排裝置被識別為一種放電裝置或一種被充電裝置。該電壓信號產生單元用以產生多種不同的電壓信號,該分壓電阻電性連接於該第一配置通道接腳以及該電壓信號產生單元之間,當該通用序列匯流排裝置被識別為一種放電裝置時,該電壓信號產生單元產生的一種電壓信號為非零電壓且該信號產生單元提供該第一配置通道接腳一第一分壓;當該通用序列匯流排裝置被識別為一種被充電裝置時,該電壓信號產生單元產生的一種電壓信號為零電壓且該第一配置通道接腳獲得一第二分壓。 The invention discloses a variable voltage USB type-C universal serial bus device, which comprises a connection interface, a voltage signal generating unit and a voltage dividing resistor. The connection interface is used to electrically connect an external device and includes a first configuration channel pin, and the first configuration channel pin is electrically connected to a second configuration channel pin of the external device to enable the universal serial bus device. Recognized as a discharge device or a charged device. The voltage signal generating unit is used to generate a plurality of different voltage signals. The voltage dividing resistor is electrically connected between the first configuration channel pin and the voltage signal generating unit. When the universal serial bus device is identified as a discharge When the device is installed, a voltage signal generated by the voltage signal generating unit is a non-zero voltage and the signal generating unit provides the first configuration channel pin a first divided voltage; when the universal serial bus device is identified as a charged device At this time, a voltage signal generated by the voltage signal generating unit is zero voltage and the first configuration channel pin obtains a second divided voltage.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置,另包括一控制單元,該控制單元連接於該分壓電組及該第一配置通道接腳之間,用以偵測該第一分壓或該第二分壓。 The variable-voltage USB type-C universal serial bus device disclosed in the present invention further includes a control unit, which is connected between the voltage dividing group and the first configuration channel pin for detecting The first partial pressure or the second partial pressure.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中 當該電壓信號產生單元產生的一種電壓信號為該零電壓時,該分壓電阻接地且該控制單元偵測到由零電壓上升而來的該第二分壓。 In the variable voltage USB type-C universal serial bus device disclosed in the present invention, wherein When a voltage signal generated by the voltage signal generating unit is the zero voltage, the voltage dividing resistor is grounded and the control unit detects the second voltage divided from the zero voltage rising.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中當該電壓信號產生單元產生的一種電壓信號為該非零電壓時,該控制單元偵測由該非零電壓下降而來的該第一分壓。 In the variable-voltage USB type-C universal serial bus device disclosed in the present invention, when a voltage signal generated by the voltage signal generating unit is the non-zero voltage, the control unit detects that the non-zero voltage drops. The first partial pressure.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中該電壓信號產生單元用以產生多種具有非零電壓的電壓信號,且該電壓信號產生單元提供該第一配置通道接腳的該第一分壓實質上為該電壓信號產生單元所產生的該電壓信號的電壓值的45%至55%。 In the variable-voltage USB type-C universal serial bus device disclosed in the present invention, the voltage signal generating unit is configured to generate a plurality of voltage signals having a non-zero voltage, and the voltage signal generating unit provides the first configuration channel. The first divided voltage of the pins is substantially 45% to 55% of the voltage value of the voltage signal generated by the voltage signal generating unit.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中該第一分壓實質上為該電壓信號產生單元所產生的該電壓信號的電壓值的50%。 In the variable-voltage USB type-C universal serial bus device disclosed in the present invention, the first divided voltage is substantially 50% of a voltage value of the voltage signal generated by the voltage signal generating unit.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中該電壓信號產生單元僅通過該分壓電阻電性連接該第一配置通道接腳。 In the variable-voltage USB type-C universal serial bus device disclosed in the present invention, the voltage signal generating unit is electrically connected to the first configuration channel pin only through the voltage dividing resistor.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中該電壓信號產生單元為一種數位類比轉換器。 In the variable-voltage USB type-C universal serial bus device disclosed in the present invention, the voltage signal generating unit is a digital analog converter.
本發明所公開的可變電壓的USB type-C通用序列匯流排裝置中,其中該連接介面另具有一第三配置通道接腳,該第三配置通道接腳用以電性連接於一另一外部裝置的一第四配置通道接腳,以使該通用序列匯流排裝置被識別為 該放電裝置或該被充電裝置。該通用序列匯流排裝置另具有一第二分壓電阻,該第二分壓電阻電性連接於該第三配置通道接腳以及該電壓信號產生單元之間。當該通用序列匯流排裝置被識別為該放電裝置時,該電壓信號產生單元產生的該電壓信號為非零電壓,且該信號產生單元提供該第三配置通道接腳該第一分壓;當該通用序列匯流排裝置被識別為該被充電裝置時,該電壓信號產生單元產生的另一電壓信號為零電壓,且該第三配置通道接腳獲得該第二分壓。 In the variable-voltage USB type-C universal serial bus device disclosed in the present invention, the connection interface further has a third configuration channel pin, and the third configuration channel pin is used to be electrically connected to another A fourth configuration channel pin of the external device, so that the universal serial bus device is identified as The discharging device or the charged device. The universal serial bus device further has a second voltage dividing resistor, and the second voltage dividing resistor is electrically connected between the third configuration channel pin and the voltage signal generating unit. When the universal serial bus device is identified as the discharge device, the voltage signal generated by the voltage signal generating unit is a non-zero voltage, and the signal generating unit provides the third configuration channel pin to the first divided voltage; when When the universal serial bus device is identified as the charged device, another voltage signal generated by the voltage signal generating unit is zero voltage, and the third configuration channel pin obtains the second divided voltage.
本發明所公開的可變電壓的通用序列匯流排裝置,不僅可作為具有上行資料流程埠(UFP,Upstream Facing Port)的裝置,也可作為具有下行資料流程埠(DFP,Downstream Facing Port)的裝置,換句話說,該通用序列匯流排裝置為一種雙用途介面(DRP,Dual Role Port)的裝置。除此以外,本發明實施方式所公開的通用序列匯流排裝置也具有符合type-C通用序列匯流排的通信協定所規範的運作機制;換句話說,通用序列匯流排裝置通過第一配置通道接腳與一外部裝置的第二配置通道接腳電性連接,除可確認該外部裝置為正確的放電裝置或被充電裝置,還可以讓通用序列匯流排裝置在該雙用途間進行相應的切換。同時,當該通用序列匯流排裝置被識別為一被充電裝置時,該通用序列匯流排裝置還可透過在第一配置通道介面處所獲得的分壓以確認該外部裝置的放電能力;另一方面,當該通用序列匯流排裝置被識別為一放電裝置時,該通用序列匯流排裝置也可根據自身的供電能力在該外部裝置的第二配置通道接腳處提供一相應的分壓,使該外部裝置得知該通用序列匯流排裝置的放電能力。本發明所公開的可變電壓的通用序列匯流排裝置僅利用一個數位類比轉換器用以產生不同的電壓信號並搭配一顆分壓電阻即可達成上述功能,並且大幅減少了物料成本與印製電路板面積,起到了減少元件數量與節省空間的功效。 The universal serial bus device with variable voltage disclosed by the present invention can be used not only as a device with an upstream data flow port (UFP), but also as a device with a downstream data flow port (DFP) In other words, the universal serial bus device is a dual role port (DRP) device. In addition, the universal serial bus device disclosed in the embodiment of the present invention also has an operation mechanism conforming to the communication protocol specified by the type-C universal serial bus communication protocol; in other words, the universal serial bus device is connected through the first configuration channel. The pin is electrically connected to the second configuration channel pin of an external device. In addition to confirming that the external device is the correct discharge device or device being charged, the universal serial bus device can also be switched between the dual-use. At the same time, when the universal serial bus device is identified as a charged device, the universal serial bus device can also confirm the discharge capability of the external device through the partial voltage obtained at the interface of the first configuration channel; When the universal serial bus device is identified as a discharge device, the universal serial bus device may also provide a corresponding partial voltage at the pin of the second configuration channel of the external device according to its own power supply capability, so that the The external device knows the discharge capability of the universal serial bus device. The variable-voltage universal serial bus device disclosed by the present invention can achieve the above functions by using only a digital analog converter to generate different voltage signals and a voltage divider resistor, and greatly reduces material costs and printed circuits. The board area reduces the number of components and saves space.
3‧‧‧另一外部裝置 3‧‧‧ another external device
31‧‧‧連接介面 31‧‧‧Connect Interface
314‧‧‧第四配置通道接腳 314‧‧‧Fourth configuration channel pin
2‧‧‧外部裝置 2‧‧‧ external device
21‧‧‧連接介面 21‧‧‧Connect Interface
212‧‧‧第二配置通道接腳 212‧‧‧Second configuration channel pin
1‧‧‧通用序列匯流排裝置 1‧‧‧Universal Serial Bus Device
11‧‧‧連接介面 11‧‧‧ Connect Interface
111‧‧‧第一配置通道接腳 111‧‧‧ first configuration channel pin
113‧‧‧第三配置通道接腳 113‧‧‧ third configuration channel pin
12‧‧‧電壓信號產生單元 12‧‧‧Voltage signal generating unit
13‧‧‧分壓電阻 13‧‧‧divider
14‧‧‧控制單元 14‧‧‧Control unit
15‧‧‧第二分壓電阻 15‧‧‧Second Voltage Divider
V0‧‧‧電壓信號 V0‧‧‧Voltage signal
V1‧‧‧第一分壓 V1‧‧‧ the first partial pressure
V2‧‧‧第二分壓 V2‧‧‧Second partial pressure
第1圖為本發明實施方式的可變電壓的通用序列匯流排裝置的架構示意圖。 FIG. 1 is a schematic structural diagram of a variable-voltage universal serial bus device according to an embodiment of the present invention.
第2圖為本發明實施方式的通用序列匯流排裝置被識別為一種放電裝置時的狀態示意圖。 FIG. 2 is a schematic diagram of a state when the universal serial bus device according to the embodiment of the present invention is recognized as a discharge device.
第3圖為本發明實施方式的通用序列匯流排裝置被識別為一種被充電裝置時的狀態示意圖。 FIG. 3 is a schematic diagram of a state when the universal serial bus device according to the embodiment of the present invention is identified as a charged device.
第4圖為本發明另一實施方式的可變電壓的通用序列匯流排裝置的架構示意圖。 FIG. 4 is a schematic structural diagram of a variable-voltage universal serial bus device according to another embodiment of the present invention.
在說明書及發明申請專利範圍之中使用了某些名稱來指稱特定的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同的名稱來稱呼同一個元件。本說明書及發明申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能及結構上的差異來作為區分的準則。在通篇說明書及發明申請專利範圍之中所提及的「包含」為一開放式的用語,故應解釋為「包含但不限定於」。此外,「耦接」或「連接」一詞在此包含任何直接及間接的電氣或結構連接手段。因此,若文中描述第一裝置耦接/連接於第二裝置,則代表該第一裝置可直接電氣/結構連接該第二裝置,或通過其他裝置或連接手段間接地電氣/結構連接該第二裝置。 Certain names are used in the description and the scope of the invention patent to refer to specific elements. Those of ordinary skill in the art should understand that manufacturers may refer to the same component by different names. The scope of this specification and the patent application for invention does not use the difference in names as a way to distinguish components, but rather uses the differences in functions and structures of components as criteria for distinguishing components. "Inclusion" mentioned throughout the specification and the scope of the patent application for invention is an open-ended term and should be interpreted as "including but not limited to." In addition, the term "coupled" or "connected" includes any direct or indirect means of electrical or structural connection. Therefore, if the first device is described as being coupled / connected to the second device, it means that the first device can be electrically / structured to the second device directly, or indirectly electrically / structured to be connected to the second device through other devices or connection means. Device.
請參考第1圖,第1圖是本發明實施方式的可變電壓的通用序列匯流 排裝置的架構示意圖。通用序列匯流排裝置1包括連接介面11、電壓信號產生單元12以及分壓電阻13。其中,連接介面11用以電性連接外部裝置2的連接介面21;連接介面11包括第一配置通道接腳111,外部裝置2的連接介面21包括第二配置通道接腳212,因此,連接介面11通過第一配置通道接腳111與外部裝置2的第二配置通道接腳212電性連接,讓通用序列匯流排裝置1被識別為一種被充電裝置(如第2圖所示)或一種放電裝置(如第3圖所示)。電壓信號產生單元12用以產生多種不同的電壓信號,在本發明的實施方式中,電壓信號產生單元12可以是存在於通用序列匯流排裝置1後端的控制系統、主機裝置的電源控制器或是其中的數位類比轉換器(Digital to Analog Converter,DAC)。分壓電阻13電性連接於第一配置通道接腳111以及電壓信號產生單元12之間。另外要說明的是,在分壓電阻13及第一配置通道接腳111之間另可設置一控制單元14,控制單元14可以電性連接於分壓電阻13及第一配置通道接腳111之間以偵測第一配置通道接腳111所獲得的分壓,但本發明不受此限;控制單元14可以是但不限於電腦、中央處理器(Central Processing Unit,CPU)、微控制器(Microcontroller,MCU)或數位信號處理器(Digital Signal Processor,DSP)、電錶或示波器等。 Please refer to FIG. 1. FIG. 1 is a general sequence bus of a variable voltage according to an embodiment of the present invention. Schematic diagram of the row device. The universal serial bus device 1 includes a connection interface 11, a voltage signal generating unit 12, and a voltage dividing resistor 13. The connection interface 11 is used to electrically connect the connection interface 21 of the external device 2. The connection interface 11 includes a first configuration channel pin 111, and the connection interface 21 of the external device 2 includes a second configuration channel pin 212. 11 is electrically connected to the second configuration channel pin 212 of the external device 2 through the first configuration channel pin 111, so that the universal serial bus device 1 is identified as a charged device (as shown in FIG. 2) or a discharge Device (as shown in Figure 3). The voltage signal generating unit 12 is used to generate a variety of different voltage signals. In the embodiment of the present invention, the voltage signal generating unit 12 may be a control system existing at the back end of the universal serial bus device 1, a power controller of the host device, or Among them are Digital to Analog Converter (DAC). The voltage dividing resistor 13 is electrically connected between the first configuration channel pin 111 and the voltage signal generating unit 12. It should also be noted that a control unit 14 may be provided between the voltage dividing resistor 13 and the first configuration channel pin 111. The control unit 14 may be electrically connected to the voltage dividing resistor 13 and the first configuration channel pin 111. To detect the divided voltage obtained by the first configuration channel pin 111, but the present invention is not limited to this; the control unit 14 may be, but is not limited to, a computer, a Central Processing Unit (CPU), and a microcontroller ( Microcontroller (MCU) or Digital Signal Processor (DSP), electricity meter or oscilloscope, etc.
以下對本發明實施方式的通用序列匯流排裝置1被識別為一種被充電裝置與被識別為一種放電裝置的兩種狀態分別進行描述。本發明實施方式的通用序列匯流排裝置1與外部裝置2可以分別為type-C通用序列匯流排裝置與具有type-C通用序列匯流排裝置的外部裝置;在type-C通用序列匯流排的通信協定下,當通用序列匯流排裝置1被識別為一種放電裝置時,分壓電阻13作為一種上拉電阻,當通用序列匯流排裝置1被識別為一種被充電裝置時,分壓電阻13作為一種下拉電阻。當通用序列匯流排裝置1作為符合type-C通用序列匯流排的通信 協定的介面裝置時,由於type-C通用序列匯流排的通信協定的下拉電阻的電阻值為5.1千歐姆,因此優選地,分壓電阻13的電阻值為5.1千歐姆。 The following describes the two states of the universal serial bus device 1 according to the embodiment of the present invention, which are identified as a type of a charged device and as a type of a discharge device. The universal serial bus device 1 and the external device 2 according to the embodiment of the present invention may be a type-C universal serial bus device and an external device having a type-C universal serial bus device, respectively; communication in the type-C universal serial bus Under the agreement, when the universal serial bus device 1 is identified as a discharge device, the voltage divider resistor 13 is used as a pull-up resistor, and when the universal serial bus device 1 is identified as a device to be charged, the voltage divider resistor 13 is used as a type Pull-down resistor. When the universal serial bus device 1 communicates with a type-C universal serial bus In the case of a protocol interface device, since the resistance value of the pull-down resistor of the communication protocol of the type-C universal serial bus is 5.1 kiloohms, the resistance value of the voltage dividing resistor 13 is preferably 5.1 kiloohms.
請參考第2圖,第2圖為本發明實施方式的通用序列匯流排裝置1被識別為一種放電裝置時的狀態示意圖。當通用序列匯流排裝置1與外部裝置2連接時,通用序列匯流排裝置1的連接介面11的第一配置通道接腳111與外部裝置2的連接介面21的第二配置通道接腳212電性連接。此時由於外部裝置2為具有上行資料流程埠(UFP,Upstream Facing Port)的裝置(或被充電裝置),因此根據電性連接的第一配置通道接腳111與第二配置通道接腳212之間的匹配狀態,通用序列匯流排裝置1被識別為一種放電裝置。被識別為放電裝置的通用序列匯流排裝置1即可提供一種或一種以上不同電壓的放電或充電能力,而外部裝置2可通過於第二配置通道接腳212處所獲得的分壓值確認通用序列匯流排裝置1的放電能力(即最大電流放電能力)。 Please refer to FIG. 2, which is a schematic diagram of a state when the universal serial bus device 1 according to an embodiment of the present invention is identified as a discharge device. When the universal serial bus device 1 is connected to the external device 2, the first configuration channel pin 111 of the connection interface 11 of the universal serial bus device 1 and the second configuration channel pin 212 of the connection interface 21 of the external device 2 are electrically connection. At this time, since the external device 2 is a device (or a charged device) having an upstream data flow port (UFP, Upstream Facing Port), the first configuration channel pin 111 and the second configuration channel pin 212 are electrically connected according to The matching status of the universal serial bus device 1 is recognized as a discharge device. The universal sequence bus device 1 identified as the discharge device can provide one or more discharge or charging capabilities of different voltages, and the external device 2 can confirm the universal sequence by the partial voltage value obtained at the second configuration channel pin 212 The discharge capacity (ie, the maximum current discharge capacity) of the busbar device 1.
作為一種放電裝置,通用序列匯流排裝置1的電壓信號產生單元12可依據通用序列匯流排裝置1的供電能力產生3.38伏特、1.88伏特或0.83伏特等非零電壓的電壓信號V0。由於第一配置通道接腳111與電壓信號產生單元12之間僅具有一個分壓電阻13,並且如果分壓電阻13的電阻值為5.1千歐姆時,對於連接通用序列匯流排裝置1的外部裝置2(具有電阻值為5.1千歐姆的下拉電阻)來說,非零電壓的電壓信號V0通過分壓電阻13進行分壓後於第一配置通道接腳111處提供的第一分壓V1為1.69伏特、0.94伏特或0.41伏特(為電壓信號產生單元12所產生的非零電壓的電壓信號V0的電壓值的45%至55%;換言之,在一最佳實施方示中,第一分壓V1的理論值實質上為電壓信號V0的電壓值的一半)。外部裝置2即 可透過第一分壓V1的分壓值確認通用序列匯流排裝置1的放電能力,相應的充電電流為3安培、1.5安培或預設的通用序列匯流排裝置充電功率(Default USB Power)。 As a discharge device, the voltage signal generating unit 12 of the universal serial bus device 1 can generate a non-zero voltage signal V0 such as 3.38 volts, 1.88 volts, or 0.83 volts according to the power supply capability of the universal serial bus device 1. Because there is only one voltage dividing resistor 13 between the first configuration channel pin 111 and the voltage signal generating unit 12, and if the resistance value of the voltage dividing resistor 13 is 5.1 kiloohms, for an external device connected to the universal serial bus device 1 2 (with a pull-down resistor with a resistance value of 5.1 kiloohms), the non-zero voltage voltage signal V0 is divided by the voltage dividing resistor 13 and the first divided voltage V1 provided at the first configuration channel pin 111 is 1.69 Volts, 0.94 volts, or 0.41 volts (45% to 55% of the voltage value of the non-zero voltage signal V0 generated by the voltage signal generating unit 12; in other words, in a preferred embodiment, the first partial voltage V1 The theoretical value of is substantially half of the voltage value of the voltage signal V0). External device 2 is The discharge capacity of the universal serial bus device 1 can be confirmed through the partial voltage value of the first partial voltage V1. The corresponding charging current is 3 amps, 1.5 amps or the preset universal serial bus device charging power (Default USB Power).
在實際應用中,在通用序列匯流排裝置1與外部裝置2匹配(或電性連接)前,通用序列匯流排裝置1的電壓信號產生單元12所產生的初始電壓信號V0會在零電壓及一非零電壓之間輪替。若一具有上行資料埠的外部裝置2與通用序列匯流排裝置1的第一配置通道接腳111電性連接,電壓信號產生單元12所產生的達到該非零電壓的電壓信號V0即可相對於外部裝置2的零電壓建立一電壓差。當通用序列匯流排裝置1藉由該電壓差與外部裝置2匹配,第一配置通道接腳111即獲得由電壓信號V0經分壓電阻13壓降而來的第一分壓V1。於是,連接於分壓電阻13與第一配置通道接腳111之間的控制單元14偵測到由電壓信號V0下降而來的第一分壓V1(以及相應的壓降),並據以將通用序列匯流排裝置1設定(且識別)為一種放電裝置,以讓通用序列匯流排裝置1對外部裝置2進行供電。在type-C通用序列匯流排的通信協定下,根據通用序列匯流排裝置1的供電能力,控制單元可以調控電壓信號產生單元12產生相應的3.38伏特、1.88伏特或0.38伏特的電壓信號V0,以將通用序列匯流排裝置1的供電功率限制在合理的範圍內。 In actual application, before the universal serial bus device 1 is matched (or electrically connected) with the external device 2, the initial voltage signal V0 generated by the voltage signal generating unit 12 of the universal serial bus device 1 will be at zero voltage and one Rotation between non-zero voltages. If an external device 2 with an uplink data port is electrically connected to the first configuration channel pin 111 of the universal serial bus device 1, the voltage signal V0 generated by the voltage signal generating unit 12 and reaching the non-zero voltage can be compared with the external The zero voltage of the device 2 establishes a voltage difference. When the universal serial bus device 1 matches the external device 2 through the voltage difference, the first configuration channel pin 111 obtains the first divided voltage V1 obtained from the voltage signal V0 through the voltage dividing resistor 13. Therefore, the control unit 14 connected between the voltage dividing resistor 13 and the first configuration channel pin 111 detects the first divided voltage V1 (and the corresponding voltage drop) from the voltage signal V0, and accordingly The universal serial bus device 1 is set (and identified) as a discharge device, so that the universal serial bus device 1 supplies power to the external device 2. Under the type-C universal serial bus communication protocol, according to the power supply capability of the universal serial bus device 1, the control unit can regulate the voltage signal generating unit 12 to generate a corresponding 3.38 volt, 1.88 volt, or 0.38 volt voltage signal V0. The power supply of the universal serial bus device 1 is limited to a reasonable range.
請參考第3圖,第3圖為本發明實施方式的通用序列匯流排裝置1被識別為一種被充電裝置時的狀態示意圖。當連接於通用序列匯流排裝置1的外部裝置2為一具有下行資料流程埠(DFP,Downstream Facing Port)的裝置(或提供電壓的一充電裝置)時,透過電性連接的第一配置通道接腳111與第二配置通道接腳212進行判斷,使通用序列匯流排裝置1被識別為一種被充電裝置且分壓電阻 13作為下拉電阻,電壓信號產生單元12產生一零電壓的電壓信號V0,相當於透過下拉電阻接地而使通用序列匯流排裝置1作為被充電裝置。 Please refer to FIG. 3, which is a schematic diagram of a state when the universal serial bus device 1 according to an embodiment of the present invention is identified as a type of charged device. When the external device 2 connected to the universal serial bus device 1 is a device having a downstream data flow port (DFP, Downstream Facing Port) (or a charging device that provides voltage), it is connected through the first configuration channel of the electrical connection Pin 111 and the second configuration channel pin 212 are judged, so that the universal serial bus device 1 is identified as a charged device and a voltage dividing resistor 13 is a pull-down resistor, and the voltage signal generating unit 12 generates a zero-voltage voltage signal V0, which is equivalent to grounding the pull-down resistor to make the universal serial bus device 1 as a charged device.
作為被充電裝置的通用序列匯流排裝置1也透過第一配置通道接腳111處的第二分壓V2確認外部裝置2放電能力(即最大電流放電能力),此確認過程與前面介紹過的確認過程具有相同的運作機制:外部裝置2可提供一特定的電壓,或是根據本身的供電能力提供不同的電壓,並於第一配置通道接腳111處產生第二分壓V2,通用序列匯流排裝置1即依據第二分壓V2的電壓值確認外部裝置2的放電能力。 The universal serial bus device 1 as a charged device also confirms the discharge capability (that is, the maximum current discharge capability) of the external device 2 through the second partial voltage V2 at the first configuration channel pin 111. This confirmation process is the same as that described earlier. The process has the same operating mechanism: the external device 2 can provide a specific voltage, or provide different voltages according to its own power supply capacity, and generate a second divided voltage V2 at the first configuration channel pin 111, a universal serial bus The device 1 confirms the discharge capability of the external device 2 according to the voltage value of the second partial voltage V2.
在實際應用中,若一具有下行資料埠的外部裝置2與通用序列匯流排裝置1的第一配置通道接腳111電性連接,由於外部裝置2產生一非零電壓訊號,該非零電壓訊號可相對於通用序列匯流排裝置1的電壓信號產生單元12所產生的達到零電壓的電壓信號V0建立一電壓差。當外部裝置2藉由該電壓差與通用序列匯流排裝置1匹配,第一配置通道接腳111即獲得由外部裝置2所提供的第二分壓V2。於是,連接於分壓電阻13與第一配置通道接腳111之間的控制單元14偵測到由零電壓上升而來的第二分壓V2(以及相應的壓升),並據以將通用序列匯流排裝置1設定(且識別)為一種被充電裝置,以讓外部裝置2對通用序列匯流排裝置1進行供電。在type-C通用序列匯流排的通信協定下,外部裝置2根據自身的供電能力產生不同電壓值的該非零電壓訊號,而通用序列匯流排裝置1的控制單元14即根據相應的第二分壓V2評估外部裝置2的放電能力。 In practical applications, if an external device 2 with a downlink data port is electrically connected to the first configuration channel pin 111 of the universal serial bus device 1, since the external device 2 generates a non-zero voltage signal, the non-zero voltage signal may be A voltage difference is established with respect to the voltage signal V0 reaching the zero voltage generated by the voltage signal generating unit 12 of the universal serial bus device 1. When the external device 2 matches the universal serial bus device 1 by the voltage difference, the first configuration channel pin 111 obtains the second divided voltage V2 provided by the external device 2. Therefore, the control unit 14 connected between the voltage dividing resistor 13 and the first configuration channel pin 111 detects the second voltage division V2 (and the corresponding voltage increase) from the zero voltage rise, and accordingly uses the general voltage The serial bus device 1 is set (and identified) as a charged device, so that the external device 2 can supply power to the universal serial bus device 1. Under the type-C universal serial bus communication protocol, the external device 2 generates the non-zero voltage signal with different voltage values according to its own power supply capability, and the control unit 14 of the universal serial bus device 1 according to the corresponding second partial voltage V2 evaluates the discharge capability of the external device 2.
如上所述,本發明實施方式的通用序列匯流排裝置1不只可以作為具 有上行資料流程埠(UFP,Upstream Facing Port)的裝置,也可以作為具有下行資料流程埠(DFP,Downstream Facing Port)的裝置,因此本發明的通用序列匯流排裝置1進一步可以是一種雙用途介面(DRP,Dual Role Port)的裝置。 As described above, the universal serial bus device 1 according to the embodiment of the present invention can be used not only as a tool A device having an upstream data flow port (UFP, Upstream Facing Port) can also be used as a device having a downstream data flow port (DFP, Downstream Facing Port). Therefore, the universal serial bus device 1 of the present invention can further be a dual-purpose interface (DRP, Dual Role Port).
在符合type-C通用序列匯流排的通信協定的規範下,通用序列匯流排裝置1透過第一配置通道接腳111與外部裝置2的第二配置通道接腳212電性連接,除了可以確認外部裝置2為一正確的放電裝置或被充電裝置,還可以依據確認結果在雙用途間進行相應的切換。當通用序列匯流排裝置1被識別為放電裝置時,通用序列匯流排裝置1也可以依據自身的供電能力在第一配置通道接腳111處提供一相應的第一分壓V1,讓外部裝置2得知通用序列匯流排裝置1的放電能力;當通用序列匯流排裝置1被識別為被充電裝置時,通用序列匯流排裝置1還可以通過於第一配置通道接腳111處所獲得的第二分壓V2來確認外部裝置2的放電能力。 Under the specifications of the type-C universal serial bus communication protocol, the universal serial bus device 1 is electrically connected to the second configuration channel pin 212 of the external device 2 through the first configuration channel pin 111, except that the external The device 2 is a correct discharging device or a charged device, and can also be switched between dual-use according to the confirmation result. When the universal serial bus device 1 is identified as a discharge device, the universal serial bus device 1 may also provide a corresponding first partial voltage V1 at the first configuration channel pin 111 according to its own power supply capability, so that the external device 2 Know the discharge capability of the universal serial bus device 1; when the universal serial bus device 1 is identified as a charged device, the universal serial bus device 1 can also obtain the second score obtained at the first configuration channel pin 111 Press V2 to confirm the discharge capability of the external device 2.
請參考第4圖,第4圖為本發明另一實施方式的可變電壓的通用序列匯流排裝置的架構示意圖。在本發明的另一實施方式中,通用序列匯流排裝置1的連接介面11另具有一第三配置通道接腳113,第三配置通道接腳113用以電性連接於一另一外部裝置3的連接介面31。另一外部裝置3的連接介面31具有一第四配置通道接腳314,因此,通用序列匯流排裝置1的連接介面11通過第三配置通道接腳113與另一外部裝置3的第四配置通道接腳314電性連接,讓通用序列匯流排裝置1被識別為一種被充電裝置或一種放電裝置。通用序列匯流排裝置1另具有一第二分壓電阻15,第二分壓電阻15電性連接於第三配置通道接腳113與電壓信號產生單元12之間。當通用序列匯流排裝置1被識別為一種放電裝置時,電 壓信號產生單元12產生非零電壓的電壓信號V0並提供第三配置通道接腳113第一分壓V1;當通用序列匯流排裝置1被識別為一種被充電裝置時,電壓信號產生單元12產生零電壓的另一電壓信號V0,且第三配置通道接腳113獲得第二分壓V2。 Please refer to FIG. 4, which is a schematic structural diagram of a variable-voltage universal serial bus device according to another embodiment of the present invention. In another embodiment of the present invention, the connection interface 11 of the universal serial bus device 1 further has a third configuration channel pin 113, and the third configuration channel pin 113 is used to be electrically connected to another external device 3.的 连接 Interface 31. The connection interface 31 of the other external device 3 has a fourth configuration channel pin 314. Therefore, the connection interface 11 of the universal serial bus device 1 is connected to the fourth configuration channel of the other external device 3 through the third configuration channel pin 113. The pin 314 is electrically connected, so that the universal serial bus device 1 is identified as a charged device or a discharge device. The universal serial bus device 1 further has a second voltage dividing resistor 15, and the second voltage dividing resistor 15 is electrically connected between the third configuration channel pin 113 and the voltage signal generating unit 12. When the universal serial bus device 1 is identified as a discharge device, The voltage signal generating unit 12 generates a non-zero voltage signal V0 and provides a third configuration channel pin 113 with a first divided voltage V1. When the universal serial bus device 1 is identified as a charged device, the voltage signal generating unit 12 generates Another voltage signal V0 of zero voltage, and the third configuration channel pin 113 obtains the second divided voltage V2.
由於第三配置通道接腳113以及第二分壓電阻15與前一實施方式的第一配置通道接腳111以及分壓電阻13具有相同的運作原則,為求簡潔,於此不再贅述。透過同時設置於通用序列匯流排裝置1的連接介面11的第一配置通道接腳111、第三配置通道接腳113以及其他更多個配置通道接腳,本發明另一實施方式的通用序列匯流排裝置1可以相對於兩個或兩個以上的外部裝置達成同時作為上行資料流程埠裝置、下行資料流程埠裝置或雙用途介面裝置的目的。多個控制單元可以分別設置於分壓電阻13與第一配置通道接腳111之間、第二分壓電阻15與第三配置通道接腳113之間以及其它各組分壓電阻與配置通道接腳之間,以達成調控通用序列匯流排裝置1的目的。多個控制單元也可以整合為一主控制單元,用以總體偵測各配置通道接腳的分壓以達成調控通用序列匯流排裝置1的目的(如第4圖所示),且本發明並不以此為限。另外要說明的是,雖然第4圖所示的外部裝置2及另一外部裝置3係相對於通用序列匯流排裝置1分別作為一種充電裝置及一種被充電裝置,但外部裝置2及另一外部裝置3也可相對於通用序列匯流排裝置1同時作為被充電裝置,且本發明並不以此為限。 Since the third configuration channel pin 113 and the second voltage-dividing resistor 15 have the same operating principle as the first configuration channel pin 111 and the voltage-dividing resistor 13 of the previous embodiment, for the sake of brevity, they will not be repeated here. Through the first configuration channel pin 111, the third configuration channel pin 113, and other more configuration channel pins that are simultaneously disposed on the connection interface 11 of the universal serial bus device 1, the universal serial bus according to another embodiment of the present invention The row device 1 can serve the purpose of simultaneously serving as an uplink data flow port device, a downlink data flow port device, or a dual-purpose interface device relative to two or more external devices. A plurality of control units can be respectively disposed between the voltage dividing resistor 13 and the first configuration channel pin 111, the second voltage dividing resistor 15 and the third configuration channel pin 113, and other components of the voltage resistance connected to the configuration channel. Between the feet to achieve the purpose of regulating the universal serial bus device 1. Multiple control units can also be integrated into a main control unit to detect the partial pressure of the pins of each configuration channel to achieve the purpose of regulating the universal serial bus device 1 (as shown in FIG. 4). Not limited to this. It should also be noted that although the external device 2 and the other external device 3 shown in FIG. 4 are respectively used as a charging device and a charged device with respect to the universal serial bus device 1, the external device 2 and the other external device The device 3 may also be a charged device with respect to the universal serial bus device 1 at the same time, and the present invention is not limited thereto.
本發明實施方式的可變電壓的通用序列匯流排裝置1利用一個數位類比轉換器以產生不同的電壓信號V0,配合一顆分壓電阻13以達成可同時作為上行資料流程埠裝置、下行資料流程埠裝置或雙用途介面裝置的目的。不僅大 幅減少了物料成本與印製電路板面積,並起到了減少元件數量與節省空間的作用。 The variable-voltage universal serial bus device 1 according to the embodiment of the present invention uses a digital analog converter to generate different voltage signals V0, and cooperates with a voltage-dividing resistor 13 to achieve simultaneous use as an uplink data flow port device and a downlink data flow. Port device or dual purpose interface device. Not only big It reduces the cost of materials and the area of the printed circuit board, and reduces the number of components and saves space.
以上該僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above is only a preferred embodiment of the present invention, and any equivalent changes and modifications made in accordance with the scope of patent application of the present invention shall fall within the scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107116426A TWI676894B (en) | 2018-05-15 | 2018-05-15 | Universal serial bus type-c apparatus with variable voltage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107116426A TWI676894B (en) | 2018-05-15 | 2018-05-15 | Universal serial bus type-c apparatus with variable voltage |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI676894B true TWI676894B (en) | 2019-11-11 |
TW201947417A TW201947417A (en) | 2019-12-16 |
Family
ID=69189056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107116426A TWI676894B (en) | 2018-05-15 | 2018-05-15 | Universal serial bus type-c apparatus with variable voltage |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI676894B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI757976B (en) * | 2020-11-16 | 2022-03-11 | 宏碁股份有限公司 | Electronic device supporting type-c connection and method thereof |
TWI765421B (en) * | 2020-11-20 | 2022-05-21 | 致伸科技股份有限公司 | Product detection device, product detection system and product detection method applied thereto |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1532720B1 (en) * | 2002-07-01 | 2009-04-15 | France Telecom | Charger and recharge device |
US20140145689A1 (en) * | 2012-11-28 | 2014-05-29 | Conair Corporation | Modular travel power adapter and converter system |
TWI559122B (en) * | 2012-12-27 | 2016-11-21 | 英特爾公司 | Universal power interface |
TWI565269B (en) * | 2014-06-28 | 2017-01-01 | 英特爾股份有限公司 | Dynamically configurable analog frontend circuitry and method and system for interfacing a processor with multiple analog devices |
-
2018
- 2018-05-15 TW TW107116426A patent/TWI676894B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1532720B1 (en) * | 2002-07-01 | 2009-04-15 | France Telecom | Charger and recharge device |
US20140145689A1 (en) * | 2012-11-28 | 2014-05-29 | Conair Corporation | Modular travel power adapter and converter system |
TWI559122B (en) * | 2012-12-27 | 2016-11-21 | 英特爾公司 | Universal power interface |
TWI565269B (en) * | 2014-06-28 | 2017-01-01 | 英特爾股份有限公司 | Dynamically configurable analog frontend circuitry and method and system for interfacing a processor with multiple analog devices |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI757976B (en) * | 2020-11-16 | 2022-03-11 | 宏碁股份有限公司 | Electronic device supporting type-c connection and method thereof |
TWI765421B (en) * | 2020-11-20 | 2022-05-21 | 致伸科技股份有限公司 | Product detection device, product detection system and product detection method applied thereto |
Also Published As
Publication number | Publication date |
---|---|
TW201947417A (en) | 2019-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108062286B (en) | Universal serial bus concentrator | |
TWI676894B (en) | Universal serial bus type-c apparatus with variable voltage | |
JP6176497B2 (en) | Control device for switching current and electronic device | |
TWI618356B (en) | Power-up control circuit and the mobile power device apllied thereof | |
US20200257345A1 (en) | Multi-port power supply apparatus and operation method thereof | |
CN114421576A (en) | Dynamic learning of voltage source capability | |
US11755087B2 (en) | Multi-port power supply device and operation method thereof | |
TW201944260A (en) | Hub device and power supply method thereof | |
CN111614141B (en) | USB connector discharging method, circuit and system | |
US20170184669A1 (en) | Test circuit board adapted to be used on peripheral component interconnect express slot | |
EP3132326B1 (en) | Serial bus voltage compensation | |
US11775041B2 (en) | Multi-port power supply device and operation method thereof | |
US10804883B2 (en) | Power supply apparatus and master power supply circuit, slave power supply circuit and control method thereof | |
CA2136384A1 (en) | Microprocessor watchdog circuit | |
US10627890B2 (en) | Bridge module and operation method thereof | |
CN110413553B (en) | Universal serial bus device with variable voltage | |
TW201344409A (en) | Electronic device | |
US10587083B2 (en) | Interface assembly that connects a peripheral device to an interface of a host system, an electronic device and a method of signaling | |
US8519697B2 (en) | Apparatus and method for detecting mode change in an electronic device | |
WO2018103500A1 (en) | Serial pulse generation circuit and charging device | |
WO2016123970A1 (en) | Communication card having adjustable pull-up voltage | |
TWM622488U (en) | Power supply system | |
TWI729552B (en) | Operating circuit | |
US20170184668A1 (en) | Test circuit board adapted to be used on memory slot | |
TWI708438B (en) | Usb interface converting device |