TWI536160B - Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption - Google Patents
Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption Download PDFInfo
- Publication number
- TWI536160B TWI536160B TW103135662A TW103135662A TWI536160B TW I536160 B TWI536160 B TW I536160B TW 103135662 A TW103135662 A TW 103135662A TW 103135662 A TW103135662 A TW 103135662A TW I536160 B TWI536160 B TW I536160B
- Authority
- TW
- Taiwan
- Prior art keywords
- usb
- port
- coupled
- multiplexer
- signal
- Prior art date
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
Description
本發明係關於一種供電省電處理技術,更具體而言,係關於一種應用於USB集線電路上並提供省電處理的可關閉內建USB集線器以節省電力消耗的電子裝置。The present invention relates to a power-saving power-saving processing technique, and more particularly to an electronic device that can be used to save power consumption by turning off a built-in USB hub applied to a USB hub circuit and providing power saving processing.
由於通用序列匯流排(Universal Serial Bus;USB)具有支援熱插拔(Hot swapping或Hot plugging)以及隨插即用(Plug and Play;PNP)的特性,故已被廣泛地應用於電腦系統與周邊裝置連線上的一種輸出入介面,甚至也被應用於行動通訊產品上,因此,USB介面似乎已成為主流的連接器。Universal Serial Bus (USB) has been widely used in computer systems and peripherals because it has features such as hot swapping or hot plugging and Plug and Play (PNP). An input/output interface on the device connection has even been applied to mobile communication products. Therefore, the USB interface seems to have become the mainstream connector.
此外,產業界為擴充電子設備原有的輸出入介面,更推出USB集線器或具USB集線電路的USB介面鍵盤等之USB介面擴充設備,透過該USB介面擴充設備所提供的USB集線電路讓使用者可以更有彈性的外接周邊裝置。In addition, the industry has expanded the original input and output interface of electronic devices, and introduced USB interface expansion devices such as USB hubs or USB interface keyboards with USB hub circuits, and the USB hub circuit provided by the USB interface expansion device allows users to It can be more flexible with external peripheral devices.
不過,前述USB介面擴充設備在其USB連接器未插接任何周邊裝置時,其USB集線電路中的USB控制器仍在耗費電力,因此如何在提供USB介面擴充功能的同時亦能達到節能效果實為目前亟欲探究之課題。However, when the USB interface expansion device does not have any peripheral devices inserted into the USB connector, the USB controller in the USB hub circuit is still consuming power, so how to provide the USB interface expansion function can also achieve energy saving effect. It is the subject of current research.
鑒於上述先前技術之種種問題,本發明之目的在於提供一種可關閉內建USB集線器以節省電力消耗的電子裝置,其兼具USB介面擴充功能及省電功能。In view of the above problems of the prior art, an object of the present invention is to provide an electronic device capable of turning off a built-in USB hub to save power consumption, which has both a USB interface expansion function and a power saving function.
為達到上述目的以及其他目的,本發明提供一種電子裝置,可將一USB裝置耦接到一主機裝置,該USB裝置輸出一第一訊號,該電子裝置包括:一主功能模組,輸出一第二訊號;一第一傳輸線路,與該主功能模組耦接,以傳輸該第二訊號;一連接器,可選擇性連接該USB裝置,以接收該第一訊號;一USB集線電路,其具有一第一USB下游埠、一第二USB下游埠及一USB上游埠,該第一USB下游埠透過該第一傳輸線路耦接該主功能模組以接收該第二訊號,該第二USB下游埠耦接該連接器以接收該第一訊號;一偵測單元,設置於該連接器附近,當該連接器連接該USB裝置時,該偵測單元輸出一觸發信號;一電源提供單元,選擇性地輸出電能給該USB集線電路;以及一切換控制電路,其具有與該主機裝置連接的主機端傳輸線路、與該主功能模組連接的旁路線路、與該USB集線電路之USB上游埠連接的第二傳輸線路,且該切換控制電路與該偵測單元連接;其中在該偵測單元未輸出該觸發信號時,該電源提供單元停止對該USB集線電路供電,且該切換控制電路使該主機端傳輸線路與該旁路線路處於接通狀態;其中當該偵測單元輸出該觸發信號時,該電源提供單元對該USB集線電路供電,且該切換控制電路使該主機端傳輸線路由與該旁路線路的接通狀態切換為與該第二傳輸線路的接通狀態,以供該主功能模組與該USB裝置共用該USB集線電路得與該主機裝置進行處理。To achieve the above and other objects, the present invention provides an electronic device, which can couple a USB device to a host device, and the USB device outputs a first signal. The electronic device includes: a main function module, and outputs a first a second transmission line coupled to the main function module for transmitting the second signal; a connector for selectively connecting the USB device to receive the first signal; and a USB hub circuit Having a first USB downstream port, a second USB downstream port, and a USB port, the first USB downstream port is coupled to the main function module through the first transmission line to receive the second signal, the second USB The downstream port is coupled to the connector to receive the first signal; a detecting unit is disposed adjacent to the connector, and when the connector is connected to the USB device, the detecting unit outputs a trigger signal; a power supply unit, Selectively outputting electrical energy to the USB hub circuit; and a switching control circuit having a host-side transmission line connected to the host device, a bypass line connected to the main function module, and the USB hub circuit a second transmission line connected to the upstream port of the USB, and the switching control circuit is connected to the detecting unit; wherein when the detecting unit does not output the trigger signal, the power supply unit stops supplying power to the USB collecting circuit, and the switching The control circuit is configured to enable the host transmission line and the bypass line to be in an ON state; wherein when the detection unit outputs the trigger signal, the power supply unit supplies power to the USB hub circuit, and the switching control circuit causes the host end The transmission line is switched from the on state of the bypass line to the on state of the second transmission line, so that the main function module and the USB device share the USB hub circuit to process with the host device.
前述本發明之電子裝置中,前述切換控制電路包括:一第一多工器,該第一多工器具有一第一輸入埠、一第二輸入埠與一輸出埠,該第一輸入埠透過該旁路線路與該主功能模組耦接,該第一多工器的第二輸入埠透過該第二傳輸線路與該USB上游埠耦接;該第一多工器的輸出埠透過該主機端傳輸線路與該主機裝置耦接。In the foregoing electronic device of the present invention, the switching control circuit includes: a first multiplexer having a first input port, a second input port, and an output port, wherein the first input port transmits the The bypass line is coupled to the main function module, and the second input port of the first multiplexer is coupled to the USB upstream port through the second transmission line; the output of the first multiplexer is transmitted through the host end The transmission line is coupled to the host device.
前述本發明之電子裝置中,其復包括第二多工器,該第二多工器具有一輸入埠、一第一輸出埠與一第二輸出埠,其中該輸入埠與該主功能模組耦接,該第一輸出埠與該旁路線路耦接,該第二輸出埠與該USB集線電路的第一USB下游埠耦接,當該偵測單元未輸出該觸發信號時,該第二多工器把該輸入埠耦接到該第一輸出埠,其中當該偵測單元輸出該觸發信號時,該第二多工器把該輸入埠耦接到該第二輸出埠。In the electronic device of the present invention, the second multiplexer includes an input 埠, a first output 埠 and a second output 埠, wherein the input 埠 is coupled to the main function module. The first output port is coupled to the bypass line, and the second output port is coupled to the first USB downstream port of the USB hub circuit. When the detecting unit does not output the trigger signal, the second The device couples the input port to the first output port, wherein when the detecting unit outputs the trigger signal, the second multiplexer couples the input port to the second output port.
相較於先前技術,本發明會偵測擴充用的USB介面連接器是否耦接周邊裝置,以在偵測到該USB介面連接器為閒置狀態下,則不對USB集線電路提供供電,故可達到節能的效果。再者,本發明除能提供USB介面擴充功能以及省電功能外,還備有主功能的提供,而該主功能可以與該擴充功能共用USB集線電路,因此有效降低硬體成本。Compared with the prior art, the present invention detects whether the USB interface connector for expansion is coupled to the peripheral device, so that when the USB interface connector is detected to be idle, the USB hub circuit is not powered, so The effect of energy saving. Furthermore, in addition to providing a USB interface expansion function and a power saving function, the present invention also provides a main function, and the main function can share a USB hub circuit with the expansion function, thereby effectively reducing hardware cost.
以下內容將搭配圖式,藉由特定的具體實施例說明本發明之技術內容,熟悉此技術之人士可由本說明書所揭示之內容輕易地了解本發明之其他優點與功效。本發明亦可藉由其他不同的具體實施例加以施行或應用。本說明書中的各項細節亦可基於不同觀點與應用,在不背離本發明之精神下,進行各種修飾與變更。The other aspects of the present invention will be readily understood by those skilled in the art from this disclosure. The invention may also be embodied or applied by other different embodiments. The details of the present invention can be variously modified and changed without departing from the spirit and scope of the invention.
如圖1A所示,其係用以說明本發明之電子裝置的基本系統架構方塊圖。該電子裝置1可將一USB裝置耦接到一主機裝置2,如圖2所示,該USB裝置5例如為USB介面滑鼠或USB介面隨身碟等之USB介面設備,該主機裝置2例如為桌上型電腦或筆記型電腦等電腦系統,甚至也為行動通訊裝置,藉由本發明之電子裝置1可讓主機裝置透過單一 USB 介面41連接主功能模組 15,同時也能選擇性啟動 USB 集線器來連接額外的 USB 裝置5。1A is a block diagram showing the basic system architecture of the electronic device of the present invention. The USB device 5 can be coupled to a host device 2, such as a USB interface device such as a USB interface mouse or a USB interface flash drive. The host device 2 is, for example, a USB interface device such as a USB interface mouse or a USB interface flash drive. A computer system such as a desktop computer or a notebook computer, or even a mobile communication device, can be connected to the main function module 15 through a single USB interface 41 by the electronic device 1 of the present invention, and can also selectively activate the USB hub. To connect an additional USB device 5.
本發明之電子裝置1包括:主功能模組15、第一傳輸線路115、連接器16、USB集線電路11、偵測單元12以及切換控制電路13,於本實施例中,前述主功能模組15為鍵盤電路,故本發明的電子裝置1的一具體實施例可為如圖2所示之內建USB連接器16的USB介面鍵盤4,該連接器16設於該鍵盤4外殼,該鍵盤4透過USB介面41可與主機裝置2連接。在此須補充說明的是,該主功能模組15並非僅限於鍵盤電路,亦即,端視實施型態而可以不同的功能模組來取代,例如:主功能模組15可為觸控電路,則整個電子裝置1可能為一觸控板;或主功能模組15可為滑鼠電路,則整個電子裝置1可能為一滑鼠裝置等亦可。The electronic device 1 of the present invention comprises: a main function module 15, a first transmission line 115, a connector 16, a USB hub circuit 11, a detection unit 12, and a switching control circuit 13. In the embodiment, the main function module 15 is a keyboard circuit, so a specific embodiment of the electronic device 1 of the present invention may be a USB interface keyboard 4 of the built-in USB connector 16 as shown in FIG. 2, and the connector 16 is disposed on the keyboard 4 casing, the keyboard 4 The USB device 41 can be connected to the host device 2. It should be noted that the main function module 15 is not limited to the keyboard circuit, that is, the terminal implementation mode can be replaced by different functional modules. For example, the main function module 15 can be a touch circuit. The entire electronic device 1 may be a touch panel; or the main function module 15 may be a mouse circuit, and the entire electronic device 1 may be a mouse device or the like.
該USB集線電路11一般係藉由USB集線器控制器(USB Hub IC)來實施,如:Cypress CY7C656xx USB 2.0 Hub Controller 積體電路。由於USB Hub控制器為業界熟知之元件,為簡化圖式及說明,故以下針對該USB集線電路11僅說明USB集線器控制器中與本發明有關之部分電路。該USB集線電路11具有多個USB下游埠( USB downstream port)、邏輯單元114以及一個USB上游埠113(USB upstream port),於本實施例中,該USB集線電路11的USB下游埠數量以兩個為例說明,當然也可以採用兩個或兩個以上的USB下游埠。圖1A中的兩個USB下游埠(110、111)中,該USB下游埠110透過第一傳輸線路115與該主功能模組15耦接,本實施例中的主功能模組15將以鍵盤電路為例說明,該第一傳輸線路115用以傳輸該鍵盤電路的鍵盤訊號至該USB下游埠110;該USB下游埠111耦接該連接器16以接收外接的USB裝置所輸出的USB介面訊號。該邏輯單元114用以協調各該USB下游埠(110、111)間所接收到的訊號,以順利將各該USB下游埠(110、111)所接收到的訊號整合後透過該USB上游埠113傳送到主機裝置2。The USB hub circuit 11 is generally implemented by a USB hub controller (USB Hub IC), such as a Cypress CY7C656xx USB 2.0 Hub Controller integrated circuit. Since the USB Hub controller is a well-known component in the industry, in order to simplify the drawing and description, only some of the circuits related to the present invention in the USB hub controller will be described below for the USB hub circuit 11. The USB hub circuit 11 has a plurality of USB downstream ports, a logic unit 114, and a USB upstream port. In this embodiment, the number of USB downstream ports of the USB hub circuit 11 is two. As an example, it is of course also possible to use two or more USB downstream ports. In the two USB downstream ports (110, 111) in FIG. 1A, the USB downstream port 110 is coupled to the main function module 15 through the first transmission line 115. The main function module 15 in this embodiment will be a keyboard. For example, the first transmission line 115 is configured to transmit the keyboard signal of the keyboard circuit to the USB downstream port 110; the USB downstream port 111 is coupled to the connector 16 to receive the USB interface signal output by the external USB device. . The logic unit 114 is configured to coordinate the signals received between the USB downstream ports (110, 111) to smoothly integrate the signals received by the USB downstream ports (110, 111) and pass through the USB upstream port 113. Transfer to the host device 2.
偵測單元12設置於該連接器16附近,當外部USB裝置與該連接器16連接時,觸動該偵測單元12而發出一觸發信號,該觸發信號再被傳送至該切換控制電路13以及電源提供單元14。當外部USB裝置未連接該連接器16時,觸動該偵測單元12 停止發出該發信號。該偵測單元12利用該觸發信號控制以下動作:(1) 切換控制電路13進行線路切換動作,(2) 電源提供單元14是否輸出電能給該USB集線電路11。The detecting unit 12 is disposed near the connector 16. When the external USB device is connected to the connector 16, the detecting unit 12 is activated to generate a trigger signal, and the trigger signal is transmitted to the switching control circuit 13 and the power source. Unit 14 is provided. When the external USB device is not connected to the connector 16, the detecting unit 12 is activated to stop sending the signal. The detecting unit 12 controls the following actions by using the trigger signal: (1) the switching control circuit 13 performs a line switching operation, and (2) whether the power supply unit 14 outputs power to the USB hub circuit 11.
該切換控制電路13具有與該主機裝置2連接的主機端傳輸線路130、與該鍵盤電路連接的旁路線路131、與該USB集線電路11之USB上游埠113連接的第二傳輸線路132,其中該旁路傳輸線路131與該第一傳輸線路115連接;如上段所述,該切換控制電路13與該偵測單元12連接以接收該觸發信號。由於本發明的電子裝置1主要是用以執行USB訊號的傳輸處理,故前述主機端傳輸線路130、旁路線路131、第一傳輸線路115及第二傳輸線路132分別具有資料端(D+、D-)。The switching control circuit 13 has a host-side transmission line 130 connected to the host device 2, a bypass line 131 connected to the keyboard circuit, and a second transmission line 132 connected to the USB upstream port 113 of the USB hub circuit 11, wherein The bypass transmission line 131 is connected to the first transmission line 115; as described in the above paragraph, the switching control circuit 13 is connected to the detection unit 12 to receive the trigger signal. Since the electronic device 1 of the present invention is mainly used to perform the transmission processing of the USB signal, the host-side transmission line 130, the bypass line 131, the first transmission line 115, and the second transmission line 132 respectively have data ends (D+, D). -).
請參考圖2與圖3,其係用以說明圖1A所示之偵測單元12的一具體實施例,其中該偵測單元12’包括:一接地端子121、一控制端子120以及一設於該連接器16附近的觸動開關122,其中該接地端子121提供一低電位信號作為觸發信號,而該控制端子120則與該切換控制電路13及電源提供單元14連接。當該USB裝置5未與該連接器16連接時,該觸動開關122斷路,控制端子120連接電源,進而將高位準信號傳送至該切換控制電路13以及電源提供單元14。當該USB裝置與該連接器16連接時,觸動該開關122導通,而接通該接地端子121及控制端子120,進而將低電位信號傳送至該切換控制電路13以及電源提供單元14,故本實施例係以該低電位信號作為該觸發信號。在此補充說明的是,前述該控制端子120亦可改連接在開關122下方鄰近接地端子121側(在此未予以圖示),如此該觸發信號亦可以高電位信號取代,並不限以低電位信號作為觸發信號。Please refer to FIG. 2 and FIG. 3 , which are used to illustrate a specific embodiment of the detecting unit 12 shown in FIG. 1A , wherein the detecting unit 12 ′ includes: a grounding terminal 121 , a control terminal 120 , and a The touch switch 122 is adjacent to the connector 16, wherein the ground terminal 121 provides a low potential signal as a trigger signal, and the control terminal 120 is connected to the switch control circuit 13 and the power supply unit 14. When the USB device 5 is not connected to the connector 16, the touch switch 122 is disconnected, and the control terminal 120 is connected to the power source, thereby transmitting the high level signal to the switching control circuit 13 and the power supply unit 14. When the USB device is connected to the connector 16, the switch 122 is turned on, and the ground terminal 121 and the control terminal 120 are turned on, thereby transmitting a low potential signal to the switching control circuit 13 and the power supply unit 14, so The embodiment uses the low potential signal as the trigger signal. It should be noted that the control terminal 120 can also be connected to the lower side of the switch 122 adjacent to the ground terminal 121 (not shown here), so that the trigger signal can also be replaced by a high potential signal, and is not limited to low. The potential signal acts as a trigger signal.
詳而言之,當連接器16尚未連接外部USB裝置5,該偵測單元(12’或12)輸出高電位信號時,該電源提供單元14停止對該USB集線電路11供電,且該切換控制電路13使該主機端傳輸線路130與該旁路線路131處於接通狀態,即如圖1A所示的線路關係。相反的,當連接器16’ 連接到該USB裝置5,該偵測單元(12’或12)因而輸出該低電位觸發信號時,該電源提供單元14對該USB集線電路11進行供電,且該切換控制電路13進行線路切換動作,使該主機端傳輸線路130由與該旁路線路131的接通狀態切換為與該第二傳輸線路132接通狀態,即如圖1B所示的線路關係,此線路切換以及供電作動下,該鍵盤電路15與該USB裝置5可共用該USB集線電路11傳送資料給該主機裝置2。In detail, when the connector 16 has not connected to the external USB device 5, and the detecting unit (12' or 12) outputs a high potential signal, the power supply unit 14 stops supplying power to the USB hub circuit 11, and the switching control The circuit 13 causes the host side transmission line 130 to be in an on state with the bypass line 131, i.e., the line relationship as shown in FIG. 1A. Conversely, when the connector 16' is connected to the USB device 5, and the detecting unit (12' or 12) thus outputs the low potential trigger signal, the power supply unit 14 supplies power to the USB hub circuit 11, and The switching control circuit 13 performs a line switching operation to switch the host-side transmission line 130 from the on state with the bypass line 131 to the second transmission line 132, that is, the line relationship as shown in FIG. 1B. Under the circuit switching and power supply operation, the keyboard circuit 15 and the USB device 5 can share the USB hub circuit 11 to transmit data to the host device 2.
由上可知,本發明的電子裝置,當擴充用的USB介面連接器沒有與周邊裝置連接時,並不會對整體耗電量較高的USB集線電路進行供電;此外,可依據該擴充用的USB介面連接器的連接狀態來滿足使用者外接的擴充功能與該電子裝置本端的主要功能,因此除適時達到省電的功效外,更提升裝置使用上的彈性。It can be seen from the above that the electronic device of the present invention does not supply power to the USB hub circuit with high power consumption when the USB interface connector for expansion is not connected to the peripheral device; The connection state of the USB interface connector satisfies the external expansion function of the user and the main function of the local end of the electronic device, so that in addition to the power saving effect at the right time, the flexibility of the device is improved.
請參考圖4,上述圖1A中的切換控制電路13可藉由一多工器136來加以實施,如此切換控制電路13’可包括:一多工器136,該多工器136具有一第一輸入埠133、一第二輸入埠134與一輸出埠135,該第一輸入埠133透過該旁路線路131與該鍵盤電路功能模組耦接,以接收該鍵盤訊號,該多工器136的第二輸入埠134透過該第二傳輸線路132與該USB上游埠113耦接;該多工器136的輸出埠135透過該主機端傳輸線路130與該主機裝置2耦接,透過該多工器136可選擇性地把該輸出埠135耦接到該第一輸入埠133或該第二輸入埠134。Referring to FIG. 4, the switching control circuit 13 in FIG. 1A can be implemented by a multiplexer 136. The switching control circuit 13' can include: a multiplexer 136 having a first An input port 133, a second input port 134 and an output port 135, the first input port 133 is coupled to the keyboard circuit function module via the bypass line 131 to receive the keyboard signal, and the multiplexer 136 The second input port 134 is coupled to the USB upstream port 113 through the second transmission line 132. The output port 135 of the multiplexer 136 is coupled to the host device 2 through the host terminal transmission line 130, and the multiplexer is coupled through the multiplexer 136 can selectively couple the output port 135 to the first input port 133 or the second input port 134.
同理於前述,當該偵測單元12因連接器16尚未連接USB裝置,故該偵測單元12並未輸出該觸發信號時,該電源提供單元14停止對該USB集線電路11供電,且該多工器136把該輸出埠135耦接到該第一輸入埠133,使該鍵盤電路所輸出的鍵盤訊號不經過該USB集線電路11,而是透過該多工器136傳遞到該主機裝置2。In the same manner, when the detecting unit 12 does not connect the USB device, the power supply unit 14 stops supplying power to the USB hub circuit 11 when the detecting unit 12 does not output the trigger signal. The multiplexer 136 couples the output port 135 to the first input port 133, so that the keyboard signal outputted by the keyboard circuit does not pass through the USB hub circuit 11, but is transmitted to the host device 2 through the multiplexer 136. .
相反的,當該偵測單元12因連接器16連接到該USB裝置而輸出該觸發信號時,該電源提供單元14對該USB集線電路11供電,且該多工器136把該輸出埠135耦接到該第二輸入埠134,使該鍵盤電路所輸出的鍵盤訊號可透過該USB集線電路11和該多工器136傳遞到該主機裝置2。Conversely, when the detecting unit 12 outputs the trigger signal because the connector 16 is connected to the USB device, the power supply unit 14 supplies power to the USB hub circuit 11, and the multiplexer 136 couples the output port 135. The second input port 134 is received, so that the keyboard signal outputted by the keyboard circuit can be transmitted to the host device 2 through the USB hub circuit 11 and the multiplexer 136.
此外,請參考圖5,其用以說明本發明之可關閉內建USB 集線器電子裝置另一實施例的基本系統架構方塊圖。本實施例的電子裝置1”與前述圖1A或4不同處在於:於該主功能模組15與該切換控制電路(13或13’)間設置多工器17,該多工器17具有輸入埠170、第一輸出埠171與第二輸出埠172;依據偵測單元12" 是否發出觸發信號,該多工器17可選擇性地把該輸入埠170耦接到該第一輸出埠171或該第二輸出埠172。該輸入埠170與該主功能模組15耦接,第一輸出埠171與該旁路線路131耦接,第二輸出埠172與該USB集線電路11的USB下游埠110耦接。In addition, please refer to FIG. 5, which is a block diagram showing the basic system architecture of another embodiment of the electronic device capable of turning off the built-in USB hub of the present invention. The electronic device 1" of the present embodiment is different from the foregoing FIG. 1A or 4 in that a multiplexer 17 is provided between the main function module 15 and the switching control circuit (13 or 13'), and the multiplexer 17 has an input. The first output port 171 and the second output port 172; the multiplexer 17 selectively couples the input port 170 to the first output port 171 according to whether the detecting unit 12" issues a trigger signal. The second output is 172. The input port 170 is coupled to the main function module 15, the first output port 171 is coupled to the bypass line 131, and the second output port 172 is coupled to the USB downstream port 110 of the USB hub circuit 11.
如圖5所示,當該連接器16未與該USB裝置連接時,該偵測單元12” 不會輸出觸發信號,故該多工器17將使該輸入埠170與第一輸出埠171接通,進而使該主功能模組15透過該旁路線路131與主機裝置2通訊,且該主功能模組15是完全與USB下游埠110呈斷開狀態,藉由該多工器17斷路,避免USB下游埠110 從該旁路線路131汲取額外電能,使該主功能模組15與主機裝置2間的D+/D-電訊號更穩定。As shown in FIG. 5, when the connector 16 is not connected to the USB device, the detecting unit 12" does not output a trigger signal, so the multiplexer 17 will connect the input port 170 to the first output port 171. And the main function module 15 communicates with the host device 2 through the bypass line 131, and the main function module 15 is completely disconnected from the USB downstream port 110, and the multiplexer 17 is disconnected. The USB downstream port 110 is prevented from drawing additional power from the bypass line 131 to make the D+/D-electric signal between the main function module 15 and the host device 2 more stable.
相反地,若如圖4所示,旁路線路131持續保持與該USB下游埠110連接時,即使該USB集線電路11處於斷電狀態下,該USB集線電路11的USB下游埠110仍可能會從該旁路線路131汲取電能,如此易造成該主功能模組15的資料端D+/D- 電訊號被USB下游埠110影響而過低,而讓該主機裝置2與該主功能模組15無法穩定通訊。Conversely, if the bypass line 131 is continuously connected to the USB downstream port 110 as shown in FIG. 4, even if the USB hub circuit 11 is in the power-off state, the USB downstream port 110 of the USB hub circuit 11 may still The power is extracted from the bypass line 131, so that the data terminal D+/D-electric signal of the main function module 15 is too low by the USB downstream port 110, and the host device 2 and the main function module 15 are caused. Unable to stabilize communication.
由上述可知,圖5的多工器17提供訊號隔離的作用,使該主功能模組15以該旁路線路131與主機裝置2通訊時,可以完全不受該USB集線電路11的USB下游埠110所影響,促使該主機裝置2與該主功能模組15間的通訊更為穩定。As can be seen from the above, the multiplexer 17 of FIG. 5 provides the function of signal isolation, so that when the main function module 15 communicates with the host device 2 via the bypass line 131, it can be completely unaffected by the USB downstream of the USB hub circuit 11. The influence of 110 causes the communication between the host device 2 and the main function module 15 to be more stable.
再者,請參考圖6,其用以說明本發明實施在一主機裝置內部時的基本系統架構方塊圖。本實施例與前述圖1A、圖4以及圖5不同處在於:前述圖1A、圖4或圖5所示的電子裝置(1或1'或1”)係為周邊裝置 (例如:鍵盤、滑鼠或觸控板),然後透過USB傳輸線,可插拔地連接到執行作業系統的手機、筆記型電腦或桌上型電腦等電子設備的USB連接器上。而圖6實施例則前述電子裝置(1或1'或1”)本身即為主機裝置3 (例如:執行作業系統的手機或筆記型電腦等電子設備),該主機裝置3還具有一主機板單元30。此外,若該主功能模組15係觸控電路時,則該主機裝置3可為平板電腦或觸控式智慧型手機等電子裝置,簡言之,端視實施型態可將該主功能模組15以不同的功能模組來取代。Furthermore, please refer to FIG. 6, which is a block diagram showing the basic system architecture when the present invention is implemented inside a host device. The difference between this embodiment and the foregoing FIG. 1A, FIG. 4 and FIG. 5 is that the electronic device (1 or 1' or 1") shown in FIG. 1A, FIG. 4 or FIG. 5 is a peripheral device (for example, a keyboard and a slide). The mouse or the touchpad) is then pluggably connected to the USB connector of the electronic device such as a mobile phone, a notebook computer or a desktop computer that executes the operating system via the USB transmission line. The embodiment of FIG. 6 is the aforementioned electronic device. The (1 or 1' or 1") itself is the host device 3 (for example, an electronic device such as a mobile phone or a notebook computer that executes the operating system), and the host device 3 also has a motherboard unit 30. In addition, if the main function module 15 is a touch circuit, the host device 3 can be an electronic device such as a tablet computer or a touch smart phone. In short, the terminal function mode can be used for the main function mode. Group 15 is replaced by a different functional module.
上述實施例僅例示性說明本發明之原理及功效,而非用於限制本發明。任何熟習此項技術之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修飾與改變。因此,本發明之權利保護範圍,應如本發明申請專利範圍所列The above embodiments are merely illustrative of the principles and effects of the invention and are not intended to limit the invention. Modifications and variations of the above-described embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as listed in the scope of the patent application of the present invention.
1,1’,1” 電子裝置 11 USB集線電路 110~111 USB下游埠 113 USB上游埠 114 邏輯單元 115 第一傳輸線路 12,12’,12”偵測單元 120 接地端子 121 控制端子 122 開關 13 切換控制電路 136,17 多工器 130 主機端傳輸線路 131 旁路線路 132 第二傳輸線路 133 第一輸入埠 134 第二輸入埠 135 輸出埠 D+,D- 資料端 14 電源提供單元 15 主功能模組 16 連接器 170 輸入埠 171 第一輸出埠 172 第二輸出埠 2 主機裝置 3 主機裝置 30 主機板單元 4 USB介面鍵盤 41 USB介面1,1',1" electronic device 11 USB hub circuit 110~111 USB downstream port 113 USB upstream port 114 logic unit 115 first transmission line 12, 12', 12" detection unit 120 ground terminal 121 control terminal 122 switch 13 Switching control circuit 136, 17 multiplexer 130 host side transmission line 131 bypass line 132 second transmission line 133 first input port 134 second input port 135 output 埠D+, D- data terminal 14 power supply unit 15 main function mode Group 16 connector 170 input 埠 171 first output 埠 172 second output 埠 2 host device 3 host Counter unit 4 USB interface motherboard 30 41 USB keyboard interface
圖1A係用以說明本發明之可關閉內建USB 集線器以節省電力消耗的電子裝置的基本系統架構方塊圖;1A is a block diagram showing the basic system architecture of an electronic device of the present invention for turning off a built-in USB hub to save power consumption;
圖1B係用以說明圖1A之切換控制電路的基本系統架構方塊圖;1B is a block diagram showing the basic system architecture of the switching control circuit of FIG. 1A;
圖2係用以說明本發明之可關閉內建USB 集線器以節省電力消耗的電子裝置應用於USB介面鍵盤的一產品範例;2 is a product example for explaining that the electronic device capable of turning off the built-in USB hub of the present invention to save power consumption is applied to a USB interface keyboard;
圖3係用以說明圖1A所示之偵測單元的一具體實施例;3 is a diagram for explaining a specific embodiment of the detecting unit shown in FIG. 1A;
圖4係用以說明上述圖1A之切換控制電路的一具體實施例的基本系統架構方塊圖;4 is a block diagram showing the basic system architecture of a specific embodiment of the above-described switching control circuit of FIG. 1A;
圖5係用以說明本發明之可關閉內建USB 集線器的電子裝置另一實施例的基本系統架構方塊圖;以及5 is a block diagram showing the basic system architecture of another embodiment of an electronic device capable of turning off a built-in USB hub of the present invention;
圖6係用以說明本發明之可關閉內建USB 集線器以節省電力消耗的電子裝置應用於一主機裝置內部時的基本系統架構方塊圖。FIG. 6 is a block diagram showing the basic system architecture when the electronic device capable of turning off the built-in USB hub of the present invention to save power consumption is applied to a host device.
1 電子裝置 11 USB集線電路 110~111 USB下游埠 113 USB上游埠 114 邏輯單元 115 第一傳輸線路 12 偵測單元 13 切換控制電路 130 主機端傳輸線路 131 旁路線路 132 第二傳輸線路 D+,D- 資料端 14 電源提供單元 15 主功能模組 16 連接器 2 主機裝置1 electronic device 11 USB hub circuit 110~111 USB downstream port 113 USB upstream port 114 logic unit 115 first transmission line 12 detection unit 13 switching control circuit 130 host side transmission line 131 bypass line 132 second transmission line D+, D - Data terminal 14 Power supply unit 15 Main function module 16 Connector 2 Host device
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103135662A TWI536160B (en) | 2014-10-15 | 2014-10-15 | Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103135662A TWI536160B (en) | 2014-10-15 | 2014-10-15 | Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201614417A TW201614417A (en) | 2016-04-16 |
TWI536160B true TWI536160B (en) | 2016-06-01 |
Family
ID=56361211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103135662A TWI536160B (en) | 2014-10-15 | 2014-10-15 | Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI536160B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI707236B (en) | 2019-05-31 | 2020-10-11 | 佳世達科技股份有限公司 | Mode switching system and mode switching method using the same |
CN110188060B (en) * | 2019-06-06 | 2023-04-25 | 苏州佳世达电通有限公司 | Mode switching system and mode switching method using same |
-
2014
- 2014-10-15 TW TW103135662A patent/TWI536160B/en active
Also Published As
Publication number | Publication date |
---|---|
TW201614417A (en) | 2016-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107111588B (en) | Data transfer using PCIe protocol via USB port | |
TWI492044B (en) | System for detecting universal serial bus (usb) device and method thereof | |
US9772653B2 (en) | Mechanism for charging portable device with USB dock | |
CN104461992B (en) | Electronic device | |
CN103870429B (en) | Based on the igh-speed wire-rod production line plate of embedded gpu | |
CN101359316A (en) | Method and apparatus for implementing general-purpose serial bus USB OTG | |
JP2011166720A (en) | Motherboard compatible with multiple versions of usb, and related method | |
TWI443497B (en) | Host apparatus, usb port module usb and method for managing power thereof | |
WO2018045684A1 (en) | Interface device, and method and apparatus for secure access | |
WO2017161750A1 (en) | Mobile apparatus | |
TW201945951A (en) | Automatic USB host detection and port configuration | |
US9817778B2 (en) | Electronic device and method for communicating with USB device | |
TWI536160B (en) | Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption | |
US11320880B2 (en) | Multifunction display port | |
US7986159B1 (en) | Method and apparatus for detecting a cable in a redriver | |
JP2013069269A (en) | Electric apparatus provided with a plurality of data connection ports | |
US9703343B2 (en) | Transmittal system and connection device | |
TW201644202A (en) | Interface supply circuit | |
TWI582604B (en) | External device, electronic device and electronic system | |
TWI394036B (en) | Mother board | |
US8583849B2 (en) | Signal switch connector set applied to motherboard of computer system | |
US9959235B2 (en) | Input/output switching method, electronic device, and system for a server | |
CN103631749B (en) | Enlargement module | |
EP4042254A1 (en) | Power adapters | |
US8909821B2 (en) | Slim-line connector for serial ATA interface that is mounted on expansion bay of computer includes detection signals which indicate connection status and type of device |