TW201527983A - Communication system, host device and periphery device thereof - Google Patents

Communication system, host device and periphery device thereof Download PDF

Info

Publication number
TW201527983A
TW201527983A TW103100667A TW103100667A TW201527983A TW 201527983 A TW201527983 A TW 201527983A TW 103100667 A TW103100667 A TW 103100667A TW 103100667 A TW103100667 A TW 103100667A TW 201527983 A TW201527983 A TW 201527983A
Authority
TW
Taiwan
Prior art keywords
embedded controller
host device
power
peripheral device
power supply
Prior art date
Application number
TW103100667A
Other languages
Chinese (zh)
Inventor
Po-Yu Li
Kuan-Chi Juan
Yung-Sen Lin
Meng-Chieh Tsai
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW103100667A priority Critical patent/TW201527983A/en
Publication of TW201527983A publication Critical patent/TW201527983A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

A communication system including a host device and a periphery device is provided. The periphery device could be connected to the host device with a transmission interface, when the periphery device is connected to the host device, the periphery device and the host device switch to connect an embedded controller of the periphery device with an embedded controller of the host device through the transmission interface. When the embedded controller of the periphery device is connected with the embedded controller of the host device through the transmission interface, the embedded controller of the periphery device and the embedded controller of the host device execute a signal exchanging process. When the signal exchanging process completes, the embedded controller of the host device controls a power supply unit of the host device to supply power to the periphery device, and the periphery device and the host device switch to connect a processing unit of the periphery device with a processing unit of the host device through the transmission interface.

Description

通訊系統及其主機裝置以及週邊裝置 Communication system and its host device and peripheral device

本發明是有關於一種通訊系統。 The invention relates to a communication system.

隨著科技的日新月異,行動電子裝置亦廣泛的充滿人們的生活中。一般而言,欲對充電行動電子裝置或是其他週邊裝置供電時,需要透過例如通用匯流排(Universal Serial Bus,USB)等傳輸介面來與和商用電源連接的變壓器或是另一電子裝置連接,並透過此傳輸介面接收由變壓器或是另一電子裝置所傳送的電力。然而,如USB這樣的傳輸介面,往往只能提供固定功率的電源(例如5伏特)至連接的行動電子裝置或週邊裝置。另外,也可能利用在連接時耦接在資料傳輸路徑與接地面之間的上拉/下拉電阻來辨識此行動電子裝置/週邊裝置所需的電源。但在這樣的情況下,用以供給電力的電子裝置只能透過上述的上拉/下拉電阻辨識到行動電子裝置所需的最高電壓,但並無法提供電流,或是功率等更為完整的資訊至電子裝置中。當行動電子裝置或是其他 週邊裝置所需要的電力或最高電壓大於上述的5伏特,或是根據上拉/下拉電阻所預設的電壓值時,行動電子裝置或是其他週邊裝置則可能因為供給的電力過低而造成運作不正常或是充電遲緩等問題。因此,如何在現有架構中,可以完整溝通供電資訊,成為本領域具通常知識者亟需解決的問題。 With the rapid development of technology, mobile electronic devices are also widely filled with people's lives. In general, when powering a charging mobile electronic device or other peripheral devices, a transmission interface such as a Universal Serial Bus (USB) is required to be connected to a transformer connected to a commercial power source or another electronic device. And receiving power transmitted by the transformer or another electronic device through the transmission interface. However, a transmission interface such as USB often only provides a fixed power source (eg, 5 volts) to the connected mobile electronic device or peripheral device. In addition, it is also possible to identify the power required by the mobile electronic device/peripheral device by using a pull-up/pull-down resistor coupled between the data transmission path and the ground plane when connected. However, in such a case, the electronic device for supplying power can only recognize the highest voltage required by the mobile electronic device through the above-mentioned pull-up/pull-down resistor, but cannot provide current or more complete information such as power. To the electronic device. When mobile electronic devices or other When the power or maximum voltage required by the peripheral device is greater than the above 5 volts, or according to the preset voltage value of the pull-up/pull-down resistor, the mobile electronic device or other peripheral devices may operate due to the supplied power being too low. Not normal or slow charging. Therefore, how to fully communicate the power supply information in the existing architecture has become an urgent problem for those with ordinary knowledge in the field.

本發明提供一種通訊系統,及其中之主機裝置以及週邊裝置可預先交換訊息以得到供電的資訊。 The present invention provides a communication system in which a host device and peripheral devices can exchange messages in advance to obtain power supply information.

本發明的通訊系統包括:一主機裝置以及一週邊裝置。主機裝置包括一處理單元、一嵌入式控制器以及一電源單元。週邊裝置透過一傳輸介面連接至主機裝置,包括一處理單元以及一嵌入式控制器。其中,當週邊裝置與主機裝置連接時,週邊裝置以及主機裝置切換使週邊裝置的嵌入式控制器與主機裝置的嵌入式控制器透過傳輸介面連接。當週邊裝置的嵌入式控制器與主機裝置的嵌入式控制器透過傳輸介面連接時,週邊裝置的嵌入式控制器與主機裝置的嵌入式控制器執行一信號交換程序。當信號交換程序完成後,主機裝置的嵌入式控制器根據信號交換程序的結果控制電源單元供電至週邊裝置,以及週邊裝置和主機裝置切換使週邊裝置的處理單元與主機裝置的處理單元透過傳輸介面連接。 The communication system of the present invention includes: a host device and a peripheral device. The host device includes a processing unit, an embedded controller, and a power supply unit. The peripheral device is connected to the host device through a transmission interface, including a processing unit and an embedded controller. Wherein, when the peripheral device is connected to the host device, the peripheral device and the host device switch, so that the embedded controller of the peripheral device and the embedded controller of the host device are connected through the transmission interface. When the embedded controller of the peripheral device is connected to the embedded controller of the host device through the transmission interface, the embedded controller of the peripheral device performs a handshake process with the embedded controller of the host device. After the handshake process is completed, the embedded controller of the host device controls the power supply unit to supply power to the peripheral device according to the result of the handshake process, and the peripheral device and the host device switch to make the processing unit of the peripheral device and the processing unit of the host device pass through the transmission interface. connection.

本發明的主機裝置包括:一處理單元、一嵌入式控制器、 一多工器以及一電源單元。多工器連接至處理單元以及嵌入式控制器。電源單元接至嵌入式控制器。其中,當多工器透過一傳輸介面連接至外部的一週邊裝置時,嵌入式控制器切換多工器以導通嵌入式控制器與週邊裝置之間的路徑,並且嵌入式控制器與週邊裝置執行一信號交換程序。當信號交換程序完成後,嵌入式控制器根據信號交換程序的結果控制電源單元供電至週邊裝置,以及嵌入式控制器切換多工器使處理單元與主機裝置透過傳輸介面連接。 The host device of the present invention comprises: a processing unit, an embedded controller, A multiplexer and a power unit. The multiplexer is connected to the processing unit as well as the embedded controller. The power unit is connected to the embedded controller. Wherein, when the multiplexer is connected to an external peripheral device through a transmission interface, the embedded controller switches the multiplexer to turn on the path between the embedded controller and the peripheral device, and the embedded controller and the peripheral device execute A handshake program. When the handshaking process is completed, the embedded controller controls the power unit to supply power to the peripheral device based on the result of the handshake process, and the embedded controller switches the multiplexer to connect the processing unit to the host device through the transmission interface.

本發明的週邊裝置包括一處理單元、一嵌入式控制器以及一多工器。多工器連接至處理單元以及嵌入式控制器。其中,當多工器透過一傳輸介面連接外部的一主機裝置時,嵌入式控制器切換多工器以導通嵌入式控制器與主機裝置之間的路徑。當嵌入式控制器與主機裝置連接時,嵌入式控制器與主機裝置執行一信號交換程序。當信號交換程序完成後,週邊裝置接收來自主機裝置的供電,以及嵌入式控制器切換多工器使處理單元與主機裝置透過傳輸介面連接。 The peripheral device of the present invention includes a processing unit, an embedded controller, and a multiplexer. The multiplexer is connected to the processing unit as well as the embedded controller. Wherein, when the multiplexer is connected to an external host device through a transmission interface, the embedded controller switches the multiplexer to turn on the path between the embedded controller and the host device. When the embedded controller is connected to the host device, the embedded controller and the host device perform a handshake process. When the handshaking process is completed, the peripheral device receives power from the host device, and the embedded controller switches the multiplexer to connect the processing unit to the host device through the transport interface.

基於上述,本發明的通訊系統及其主機裝置和週邊裝置,可利用切換的方式,使得雙方的嵌入式控制器於溝通完供電的資訊後,再將連接路徑切換回給雙方的處理單元以交換資料。 Based on the above, the communication system of the present invention, the host device and the peripheral device thereof can be switched, so that the embedded controllers of both parties can switch the connection path back to the processing units of both parties after the communication information is communicated. data.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10、30‧‧‧通訊系統 10, 30‧‧‧Communication system

100、300‧‧‧主機裝置 100, 300‧‧‧ host device

200、400‧‧‧週邊裝置 200, 400‧‧‧ peripheral devices

110、210、310、410‧‧‧處理單元 110, 210, 310, 410‧‧‧ processing units

120、220、320、420‧‧‧嵌入式控制器 120, 220, 320, 420‧‧‧ embedded controller

130、330‧‧‧電源單元 130, 330‧‧‧Power unit

140、240、340、440‧‧‧多工器 140, 240, 340, 440‧‧‧ multiplexers

S201~S203‧‧‧步驟 S201~S203‧‧‧Steps

PWR‧‧‧電源路徑 PWR‧‧‧Power Path

D+、D-‧‧‧資料路徑 D+, D-‧‧‧ data path

GND‧‧‧接地路徑 GND‧‧‧ Grounding path

D+31、D+32、D-31、D-32、D+41、D-41、D+42、D-42、Data、Clock‧‧‧接點 D+31, D+32, D-31, D-32, D+41, D-41, D+42, D-42, Data, Clock‧‧‧ contacts

圖1為根據本發明一實施例所繪示通訊系統的裝置方塊圖。 1 is a block diagram of a communication system in accordance with an embodiment of the invention.

圖2為根據本發明一實施例所繪示信號交換程序的時序圖。 2 is a timing diagram of a handshake process in accordance with an embodiment of the invention.

圖3為根據本發明一實施例所繪示通訊系統的系統方塊圖。 FIG. 3 is a block diagram of a system of a communication system according to an embodiment of the invention.

圖1為根據本發明一實施例所繪示通訊系統的裝置方塊圖。請參照圖1,通訊系統10,包括:主機裝置100以及週邊裝置200。主機裝置100包括處理單元110、嵌入式控制器120、電源單元130以及多工器140。其中,處理單元110以及嵌入式控制器120透過多工器140連接至傳輸介面,電源單元130則連接至嵌入式控制器120以及傳輸介面。週邊裝置200透過傳輸介面連接至主機裝置100,包括處理單元210、嵌入式控制器220以及多工器240。其中,處理單元210以及嵌入式控制器220透過多工器240連接至傳輸介面。 1 is a block diagram of a communication system in accordance with an embodiment of the invention. Referring to FIG. 1 , the communication system 10 includes a host device 100 and a peripheral device 200. The host device 100 includes a processing unit 110, an embedded controller 120, a power supply unit 130, and a multiplexer 140. The processing unit 110 and the embedded controller 120 are connected to the transmission interface through the multiplexer 140, and the power supply unit 130 is connected to the embedded controller 120 and the transmission interface. The peripheral device 200 is connected to the host device 100 through a transmission interface, and includes a processing unit 210, an embedded controller 220, and a multiplexer 240. The processing unit 210 and the embedded controller 220 are connected to the transmission interface through the multiplexer 240.

當週邊裝置200與主機裝置100連接時,週邊裝置200的嵌入式控制器220以及主機裝置100的嵌入式控制器120分別切換多工器140、240使週邊裝置200的嵌入式控制器220與主機裝置100的嵌入式控制器120透過傳輸介面連接。當週邊裝置200的嵌入式控制器220與主機裝置100的嵌入式控制器220透過傳輸介面連接時,週邊裝置200的嵌入式控制器220與主機裝置100 的嵌入式控制器120執行信號交換程序。當信號交換程序完成後,主機裝置100的嵌入式控制器120根據信號交換程序的結果控制電源單元130供電至週邊裝置200,以及週邊裝置200和主機裝置100切換使週邊裝置200的處理單元210與主機裝置100的處理單元110透過傳輸介面連接。 When the peripheral device 200 is connected to the host device 100, the embedded controller 220 of the peripheral device 200 and the embedded controller 120 of the host device 100 respectively switch the multiplexers 140 and 240 to enable the embedded controller 220 and the host device of the peripheral device 200. The embedded controller 120 of the device 100 is connected through a transport interface. When the embedded controller 220 of the peripheral device 200 is connected to the embedded controller 220 of the host device 100 through the transmission interface, the embedded controller 220 of the peripheral device 200 and the host device 100 The embedded controller 120 performs a handshake process. After the handshake process is completed, the embedded controller 120 of the host device 100 controls the power supply unit 130 to supply power to the peripheral device 200 according to the result of the handshake process, and the peripheral device 200 and the host device 100 switch to cause the processing unit 210 of the peripheral device 200 to The processing unit 110 of the host device 100 is connected through a transmission interface.

而上述由週邊裝置200的嵌入式控制器220與主機裝置100的嵌入式控制器120所執行的信號交換程序則是用以使主機裝置100的嵌入式控制器120得知週邊裝置200的電源需求而執行。值得一提的是,在本實施例中,在週邊裝置200與主機裝置100透過傳輸介面連接,進行信號交換程序之前,主機裝置100的電源單元130會先提供一固定功率及固定電壓的電力至週邊裝置200,以確保週邊裝置200不會因為電力不足而無法完成信號交換程序。 The signal exchange program executed by the embedded controller 220 of the peripheral device 200 and the embedded controller 120 of the host device 100 is used to enable the embedded controller 120 of the host device 100 to know the power requirements of the peripheral device 200. And executed. It should be noted that, in this embodiment, before the peripheral device 200 and the host device 100 are connected through the transmission interface to perform a handshake process, the power supply unit 130 of the host device 100 first supplies a fixed power and a fixed voltage to the power device. The peripheral device 200 ensures that the peripheral device 200 does not fail to complete the handshake process due to insufficient power.

圖2為根據本發明一實施例所繪示信號交換程序的時序圖。請參照圖1及圖2,週邊裝置200的嵌入式控制器220傳送電源要求至主機裝置100的嵌入式控制器120(步驟S201)。主機裝置120的嵌入式控制器120接收上述的電源要求後,會解析此電源要求,取得電源要求中所包括的電壓值以及功率值(步驟S202)。此時,主機裝置100的嵌入式控制器110判斷電源要求中的電壓值以及功率值是否小於主機裝置100的電源單元130的供電上限,當主機裝置100的嵌入式控制器120判斷電源要求中的電壓值以及功率值小於(或小於等於)電源單元130的供電上限, 主機裝置100的嵌入式控制器120設定信號交換程序的結果為電源要求中的電壓值以及功率值,並回傳確認訊息至週邊裝置200的嵌入式控制器220(步驟S203)。這麼一來,主機裝置130的電源單元130便可根據電源要求中的電壓值以及功率值來供電至週邊裝置200。 2 is a timing diagram of a handshake process in accordance with an embodiment of the invention. Referring to FIGS. 1 and 2, the embedded controller 220 of the peripheral device 200 transmits a power supply request to the embedded controller 120 of the host device 100 (step S201). After receiving the power request described above, the embedded controller 120 of the host device 120 analyzes the power supply request and obtains the voltage value and the power value included in the power supply request (step S202). At this time, the embedded controller 110 of the host device 100 determines whether the voltage value and the power value in the power request are smaller than the power supply upper limit of the power supply unit 130 of the host device 100, when the embedded controller 120 of the host device 100 determines the power request. The voltage value and the power value are less than (or less than or equal to) the power supply upper limit of the power supply unit 130, The embedded controller 120 of the host device 100 sets the result of the handshake program as the voltage value and the power value in the power supply request, and returns a confirmation message to the embedded controller 220 of the peripheral device 200 (step S203). In this way, the power supply unit 130 of the host device 130 can supply power to the peripheral device 200 according to the voltage value and the power value in the power supply requirement.

在本實施例中,若是於上述步驟S202時,當主機裝置100的嵌入式控制器120判斷電壓值以及功率值大於電源單元的供電上限,主機裝置100的嵌入式控制器120設定信號交換程序的結果為電源單元130的供電上限,並回傳包括供電上限的確認訊息至週邊裝置200的嵌入式控制器220。這麼一來,當週邊裝置200的嵌入式控制器220接收到確認訊息,並判斷確認訊息中的電壓值及功率值與電源要求中不同時,嵌入式控制器220便可得知此時主機裝置100將僅以確認訊息中的電壓值及功率值來對週邊裝置200進行供電。 In this embodiment, if the embedded controller 120 of the host device 100 determines that the voltage value and the power value are greater than the power supply upper limit of the power supply unit, the embedded controller 120 of the host device 100 sets the handshake program. The result is the upper power supply limit of the power supply unit 130, and the confirmation message including the upper power supply limit is returned to the embedded controller 220 of the peripheral device 200. In this way, when the embedded controller 220 of the peripheral device 200 receives the confirmation message and determines that the voltage value and the power value in the confirmation message are different from the power requirement, the embedded controller 220 can know the host device at this time. 100 will supply power to peripheral device 200 only with the voltage value and power value in the confirmation message.

在本發明其他實施例中,當主機裝置100的嵌入式控制器120判斷電壓值以及功率值大於電源單元的供電上限時,主機裝置100的嵌入式控制器120則在步驟S203時傳送一拒絕訊息至週邊裝置200的嵌入式控制器220。當週邊裝置200的嵌入式控制器220則可知道於主機裝置220的電源單元130無法供給電源要求中的電壓值及功率值。週邊裝置200的嵌入式控制器220則可透過再一次(或多次)傳送電源要求至主機裝置100的嵌入式控制器120,直到接收到由主機裝置100的嵌入式控制器120所回傳 的確認訊息,才判斷上述的信號交換程序已完成。在其他實施例中,信號交換程序可能亦更包括其他的訊息傳遞,本發明並不限定於此。 In another embodiment of the present invention, when the embedded controller 120 of the host device 100 determines that the voltage value and the power value are greater than the power supply upper limit of the power supply unit, the embedded controller 120 of the host device 100 transmits a reject message in step S203. The embedded controller 220 to the peripheral device 200. When the embedded controller 220 of the peripheral device 200 knows that the power supply unit 130 of the host device 220 cannot supply the voltage value and the power value in the power supply request. The embedded controller 220 of the peripheral device 200 can transmit the power request to the embedded controller 120 of the host device 100 again (or more) until receiving the return from the embedded controller 120 of the host device 100. The confirmation message confirms that the above handshake procedure has been completed. In other embodiments, the handshake process may also include other messaging, and the invention is not limited thereto.

圖3為根據本發明一實施例所繪示通訊系統的系統方塊圖。請參照圖3,其中圖3所示實施例中各元件的耦接關係與圖1相同。換句話說,圖3所示實施例中的通訊系統30可被視為圖1所示實施例中的通訊系統10的一種實際實施方式。在本實施例中,主機裝置300為一個人電腦,而週邊裝置400在本實施例中為透過傳輸介面而連接的揚聲器(speaker)。其中,在主機裝置300中,處理單元310可為個人電腦中的平台控制集線器(Platform Controller Hub,PCH),電源單元330則可為個人電腦中的一直流/直流控制器(DC/DC controller)。另一方面,週邊裝置400中的處理單元410為揚聲器中的一音訊解碼器。 FIG. 3 is a block diagram of a system of a communication system according to an embodiment of the invention. Referring to FIG. 3, the coupling relationship of each component in the embodiment shown in FIG. 3 is the same as that of FIG. 1. In other words, the communication system 30 of the embodiment shown in FIG. 3 can be considered as a practical implementation of the communication system 10 in the embodiment of FIG. In the present embodiment, the host device 300 is a personal computer, and in the present embodiment, the peripheral device 400 is a speaker connected through a transmission interface. In the host device 300, the processing unit 310 can be a Platform Controller Hub (PCH) in a personal computer, and the power unit 330 can be a DC/DC controller in a personal computer. . On the other hand, the processing unit 410 in the peripheral device 400 is an audio decoder in the speaker.

在本實施例中,連接主機裝置300與週邊裝置400的傳輸介面為USB介面,包括電源路徑PWR、資料路徑D+、D-以及接地路徑GND。其中,主機裝置300的電源單元130可透過電源路徑PWR供電至周邊裝置400。接地路徑GND則連接主機裝置300以及週邊裝置400的系統接地面。資料路徑D+、D-則連接主機裝置300的多工器340以及週邊裝置400的多工器440。當週邊裝置400與主機裝置300連接時,週邊裝置400的嵌入式控制器420將切換多工器440導通多工器440上接點Clock與接點D+41,以及接點Data與接點D-41。同時,主機裝置300的嵌入式控制器 320將切換多工器340導通多工器440上接點Clock與接點D+31,以及接點Data與接點D-31,使得週邊裝置200的嵌入式控制器220與主機裝置100的嵌入式控制器120透過傳輸介面的資料路徑D+、D-連接。 In this embodiment, the transmission interface connecting the host device 300 and the peripheral device 400 is a USB interface, and includes a power path PWR, data paths D+, D-, and a ground path GND. The power supply unit 130 of the host device 300 can be powered to the peripheral device 400 through the power path PWR. The ground path GND is connected to the system ground plane of the host device 300 and the peripheral device 400. The data paths D+ and D- are connected to the multiplexer 340 of the host device 300 and the multiplexer 440 of the peripheral device 400. When the peripheral device 400 is connected to the host device 300, the embedded controller 420 of the peripheral device 400 turns the switch multiplexer 440 to turn on the junction Clock and the contact D+41 on the multiplexer 440, and the contact point Data and the contact point D. -41. At the same time, the embedded controller of the host device 300 320 switches the multiplexer 340 to turn on the junction Clock and the contact D+31 on the multiplexer 440, and the contact data and the contact D-31, so that the embedded controller 220 of the peripheral device 200 and the host device 100 are embedded. The controller 120 is connected via the data path D+, D- of the transmission interface.

在本實施例中,週邊裝置200的嵌入式控制器220與主機裝置100的嵌入式控制器120之間的訊息交換(例如上述的電源要求、確認訊息或是拒絕訊息)可運用系統管理匯流排(System Management Bus,SMBus)等匯流排標準中所定義的資料形式以及傳遞形式來完成,但本發明並不限定於上述。 In this embodiment, the information exchange between the embedded controller 220 of the peripheral device 200 and the embedded controller 120 of the host device 100 (for example, the power request, the confirmation message, or the rejection message described above) can be applied to the system management bus. The data format and the transfer form defined in the bus standard such as (System Management Bus, SMBus) are completed, but the present invention is not limited to the above.

另一方面,當信號交換程序完成後,週邊裝置400的嵌入式控制器420將切換多工器440導通多工器440上接點D+42與接點D+41,以及接點D-42與接點D-41。同時,主機裝置300的嵌入式控制器320將切換多工器340導通多工器440上接點D+32與接點D+31,以及接點D-32與接點D-31,使得週邊裝置200的處理單元410與主機裝置100的處理單元310透過傳輸介面的資料路徑D+、D-連接。至於詳細實施內容則可參考圖1及圖2所示實施例,在此則不贅述。 On the other hand, when the handshake process is completed, the embedded controller 420 of the peripheral device 400 turns the switch multiplexer 440 to turn on the contact D+42 and the contact D+41 on the multiplexer 440, and the contact D-42. With contact D-41. At the same time, the embedded controller 320 of the host device 300 turns the switch multiplexer 340 to turn on the contact D+32 and the contact D+31 on the multiplexer 440, and the contact D-32 and the contact D-31, so that the periphery The processing unit 410 of the device 200 is connected to the processing unit 310 of the host device 100 through the data paths D+, D- of the transmission interface. For the detailed implementation, reference may be made to the embodiment shown in FIG. 1 and FIG. 2, and details are not described herein.

就個人裝置300為個人電腦,週邊裝置400為外接USB揚聲器的情況下,一般而言,外接USB揚聲器僅能從個人電腦的USB傳輸介面中取得5伏特*0.5安培,也就是2.5瓦特的電力。單純以這樣的電力驅動揚聲器可能使得揚聲器於輸出時音量的大小受到很大的限制。若是要在提高揚聲器的音量,使用者可能必 須得在揚聲器上額外連接其他的供電來源(例如,連接商用電源的變壓器)才能使得音量再有所提昇,但這麼一來可能會造成使用者使用上的不便。而當應用了本發明上述所揭露的技術內容後,揚聲器便可以極為簡便,不需設置太多額外元件的方式從個人電腦中取得足夠的電力(即,足夠高的電壓以及足夠大的電流),使得音量的大小可不再因供電的電力大小而受到限制。另外,欲播放的音訊資料亦直接從USB傳輸介面所接收,使用者僅需於揚聲器外接一條連接至個人電腦的線路(亦即透過USB介面的連接線),對於使用者的使用上亦提昇了便利性。 In the case where the personal device 300 is a personal computer and the peripheral device 400 is an external USB speaker, in general, the external USB speaker can only obtain 5 volts*0.5 amps, that is, 2.5 watts of power from the USB transmission interface of the personal computer. Simply driving the speaker with such power may greatly limit the volume of the speaker at the time of output. If you want to increase the volume of the speaker, the user may Additional power sources (such as transformers connected to commercial power supplies) must be connected to the speakers to increase the volume, but this may cause inconvenience to the user. When the above-discussed technical contents of the present invention are applied, the speaker can be extremely simple, and sufficient power (ie, a sufficiently high voltage and a sufficiently large current) can be obtained from the personal computer without setting too many additional components. So that the volume can no longer be limited by the amount of power supplied. In addition, the audio data to be played is also directly received from the USB transmission interface. The user only needs to connect a line connected to the personal computer to the speaker (that is, the cable through the USB interface), which also improves the user's use. Convenience.

綜上所述,本發明提供了一種通訊系統、其主機裝置及其週邊裝置,當於主機裝置及其週邊裝置進行資料傳輸前先切換資料路徑連接兩者之嵌入式控制器以交換週邊裝置所需的電力要求,使得主機裝置可以適切的提供週邊裝置最恰當的電力供給,可降低週邊裝置於使用上的諸多限制。 In summary, the present invention provides a communication system, a host device thereof and peripheral devices thereof. When the host device and its peripheral devices transmit data, the data path is connected to the embedded controller to exchange peripheral devices. The required power requirements enable the host device to properly provide the most appropriate power supply for the peripheral devices, which can reduce the limitations of the peripheral devices.

10‧‧‧通訊系統 10‧‧‧Communication system

100‧‧‧主機裝置 100‧‧‧Host device

200‧‧‧週邊裝置 200‧‧‧ peripheral devices

110、210‧‧‧處理單元 110, 210‧‧ ‧ processing unit

120、220‧‧‧嵌入式控制器 120, 220‧‧‧ embedded controller

130‧‧‧電源單元 130‧‧‧Power unit

140、240‧‧‧多工器 140, 240‧‧‧ multiplexers

Claims (9)

一種通訊系統,包括:一主機裝置,包括一處理單元、一嵌入式控制器以及一電源單元;一週邊裝置,透過一傳輸介面連接至該主機裝置,包括一處理單元以及一嵌入式控制器,其中,當該週邊裝置與該主機裝置連接時,該週邊裝置以及該主機裝置切換使該週邊裝置的該嵌入式控制器與該主機裝置的該嵌入式控制器透過該傳輸介面連接;當該週邊裝置的該嵌入式控制器與該主機裝置的嵌入式控制器透過該傳輸介面連接時,該週邊裝置的該嵌入式控制器與該主機裝置的嵌入式控制器執行一信號交換程序;當該信號交換程序完成後,該該主機裝置的嵌入式控制器根據該信號交換程序的結果控制該電源單元供電至該週邊裝置,以及該週邊裝置以及該主機裝置切換使該週邊裝置的該處理單元與該主機裝置的該處理單元透過該傳輸介面連接。 A communication system includes: a host device, including a processing unit, an embedded controller, and a power supply unit; a peripheral device connected to the host device through a transmission interface, including a processing unit and an embedded controller, Wherein, when the peripheral device is connected to the host device, the peripheral device and the host device switch such that the embedded controller of the peripheral device is connected to the embedded controller of the host device through the transmission interface; When the embedded controller of the device is connected to the embedded controller of the host device through the transmission interface, the embedded controller of the peripheral device performs a handshake process with the embedded controller of the host device; when the signal is After the switching process is completed, the embedded controller of the host device controls the power supply unit to supply power to the peripheral device according to the result of the handshake program, and the peripheral device and the host device switch the processing unit of the peripheral device with the The processing unit of the host device is connected through the transmission interface. 如申請專利範圍第1項所述的通訊系統,其中信號交換程序包括:該週邊裝置的該嵌入式控制器傳送一電源要求至該主機裝置的該嵌入式控制器,其中該電源要求包括一電壓值以及一功率值;該主機裝置的該嵌入式控制器判斷該電源要求中的該電壓值以及該功率值是否小於該主機裝置的該電源單元的一供電上限, 當該主機裝置的該嵌入式控制器判斷該電壓值以及該功率值小於該電源單元的該供電上限,該主機裝置的該嵌入式控制器設定該信號交換程序的結果為該電源要求中的該電壓值以及該功率值,並回傳一確認訊息至該週邊裝置的該嵌入式控制器。 The communication system of claim 1, wherein the handshake program comprises: the embedded controller of the peripheral device transmitting a power request to the embedded controller of the host device, wherein the power request includes a voltage a value and a power value; the embedded controller of the host device determines the voltage value in the power requirement and whether the power value is less than an upper power limit of the power unit of the host device, When the embedded controller of the host device determines the voltage value and the power value is less than the power supply upper limit of the power supply unit, the embedded controller of the host device sets the result of the handshake program as the power request The voltage value and the power value are returned, and a confirmation message is sent back to the embedded controller of the peripheral device. 如申請專利範圍第2項所述的通訊系統,其中該信號交換程序更包括:當該主機裝置的該嵌入式控制器判斷該電壓值以及該功率值大於該電源單元的該供電上限,該主機裝置的該嵌入式控制器設定該信號交換程序的結果為該電源單元的該供電上限,並回傳包括該供電上限的該確認訊息至該週邊裝置的該嵌入式控制器。 The communication system of claim 2, wherein the handshake program further comprises: when the embedded controller of the host device determines the voltage value and the power value is greater than the power supply limit of the power unit, the host The embedded controller of the device sets the result of the handshake process as the power supply upper limit of the power supply unit, and returns the confirmation message including the power supply upper limit to the embedded controller of the peripheral device. 申請專利範圍第1項所述的通訊系統,其中:該傳輸介面為一通用匯流排(Universal Serial Bus,USB)傳輸介面,以及該主機裝置透過該傳輸介面的D+信號路徑以及D-信號路徑連接該週邊裝置。 The communication system of claim 1, wherein: the transmission interface is a Universal Serial Bus (USB) transmission interface, and the host device transmits the D+ signal path and the D-signal path through the transmission interface. The peripheral device. 一種主機裝置,包括:一處理單元;一嵌入式控制器;一多工器,連接至該處理單元以及該嵌入式控制器;以及一電源單元,連接至該嵌入式控制器,其中,當該多工器透過一傳輸介面連接至外部的一週邊裝置時,該嵌入式控制器切換該多工器以導通該嵌入式控制器與該週邊裝置之間的路徑,並且該嵌入式控制器與該週邊裝置執行一信 號交換程序;當該信號交換程序完成後,該嵌入式控制器根據該信號交換程序的結果控制該電源單元供電至該週邊裝置,以及該嵌入式控制器切換該多工器使該處理單元與該主機裝置透過該傳輸介面連接。 A host device includes: a processing unit; an embedded controller; a multiplexer connected to the processing unit and the embedded controller; and a power supply unit connected to the embedded controller, wherein When the multiplexer is connected to an external peripheral device through a transmission interface, the embedded controller switches the multiplexer to turn on a path between the embedded controller and the peripheral device, and the embedded controller and the Peripheral device performs a letter a switching program; when the handshaking process is completed, the embedded controller controls the power supply unit to supply power to the peripheral device according to the result of the handshake program, and the embedded controller switches the multiplexer to cause the processing unit to The host device is connected through the transmission interface. 如申請專利範圍第5項所述的主機裝置,其中信號交換程序包括:從該週邊裝置接收一電源要求,其中該電源要求包括一電壓值以及一功率值;該嵌入式控制器判斷該電源要求中的該電壓值以及該功率值是否小於該主機裝置的該電源單元的一供電上限,當判斷該電壓值以及該功率值小於該電源單元的該供電上限時,該該嵌入式控制器設定該信號交換程序的結果為該電源要求中的該電壓值以及該功率值;以及回傳一確認訊息至該週邊裝置。 The host device of claim 5, wherein the signal exchange program comprises: receiving a power requirement from the peripheral device, wherein the power requirement includes a voltage value and a power value; the embedded controller determines the power requirement Whether the voltage value and the power value are less than a power supply upper limit of the power supply unit of the host device, when the voltage value is determined and the power value is less than the power supply upper limit of the power supply unit, the embedded controller sets the The result of the handshake process is the voltage value in the power request and the power value; and a confirmation message is sent back to the peripheral device. 如申請專利範圍第6項所述的主機裝置,其中該信號交換程序更包括:當該主機裝置的該嵌入式控制器判斷該電壓值以及該功率值大於該電源單元的該供電上限,該主機裝置的該嵌入式控制器設定該信號交換程序的結果為該電源單元的該供電上限,並回傳包括該供電上限的該確認訊息至該週邊裝置的該嵌入式控制器。 The host device of claim 6, wherein the handshake program further comprises: when the embedded controller of the host device determines the voltage value and the power value is greater than the power supply limit of the power unit, the host The embedded controller of the device sets the result of the handshake process as the power supply upper limit of the power supply unit, and returns the confirmation message including the power supply upper limit to the embedded controller of the peripheral device. 一種週邊裝置,包括: 一處理單元;一嵌入式控制器;一多工器,連接至該處理單元以及該嵌入式控制器,其中,當該多工器透過一傳輸介面連接外部的一主機裝置時,該嵌入式控制器切換該多工器以導通該嵌入式控制器與該主機裝置之間的路徑;當嵌入式控制器與該主機裝置連接時,該嵌入式控制器與該主機裝置執行一信號交換程序;當該信號交換程序完成後,該週邊裝置接收來自該主機裝置的供電,以及該嵌入式控制器切換該多工器使該處理單元與該主機裝置透過該傳輸介面連接。 A peripheral device comprising: a processing unit; an embedded controller; a multiplexer connected to the processing unit and the embedded controller, wherein the embedded controller is connected to an external host device through a transmission interface Switching the multiplexer to turn on a path between the embedded controller and the host device; when the embedded controller is connected to the host device, the embedded controller performs a handshake process with the host device; After the handshake process is completed, the peripheral device receives power from the host device, and the embedded controller switches the multiplexer to connect the processing unit to the host device through the transmission interface. 如申請專利範圍第8項所述的週邊裝置,其中信號交換程序包括:該嵌入式控制器傳送一電源要求至該主機裝置,其中該電源要求包括一電壓值以及一功率值;以及從該主機裝置接收一確認訊息,其中該確認訊息對應於該交換程序的結果。 The peripheral device of claim 8, wherein the handshake process comprises: the embedded controller transmitting a power request to the host device, wherein the power requirement includes a voltage value and a power value; and from the host The device receives a confirmation message, wherein the confirmation message corresponds to the result of the exchange procedure.
TW103100667A 2014-01-08 2014-01-08 Communication system, host device and periphery device thereof TW201527983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103100667A TW201527983A (en) 2014-01-08 2014-01-08 Communication system, host device and periphery device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103100667A TW201527983A (en) 2014-01-08 2014-01-08 Communication system, host device and periphery device thereof

Publications (1)

Publication Number Publication Date
TW201527983A true TW201527983A (en) 2015-07-16

Family

ID=54198257

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103100667A TW201527983A (en) 2014-01-08 2014-01-08 Communication system, host device and periphery device thereof

Country Status (1)

Country Link
TW (1) TW201527983A (en)

Similar Documents

Publication Publication Date Title
US11121559B2 (en) Method and apparatus for charging a battery
CA2910341C (en) Power and data adapter, and related systems and methods
WO2016179817A1 (en) Quick charging method, power adapter and mobile terminal
JP6571341B2 (en) Power supply method, device and program for audio use
TWI630486B (en) Charging method, mobile terminal, and charging device
US10873193B2 (en) Intelligent switch system
JP5330348B2 (en) Motherboard adapted for fast charging of portable multimedia devices
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
AU2015362706A1 (en) Power and data adapter
JP2015165764A5 (en)
EP3361582B1 (en) Usb type-c plug and cable
US9484765B2 (en) Charging device and operating method thereof
JP2008192123A (en) Storage device automatically switching interface
CN104917016A (en) Charging type concentrator
CN105932733B (en) OTG power supply and its method of supplying power to, OTG equipment and mobile communication equipment
TWI675300B (en) Universal serial bus device and operating method thereof
JP6124167B2 (en) Data terminal, data transmission system, and hot swap control method
TWI462560B (en) Portable electronic device, charging system and charging method
TW201527983A (en) Communication system, host device and periphery device thereof
WO2018094868A1 (en) Method and device for monitoring condition of charging link in real time
WO2017166633A1 (en) Data transmission method, electrical device and data cable
TWI633440B (en) Electronic device
JP2011234132A (en) Motherboard
CN101989194A (en) Secondary development method for wireless communication module
WO2017132864A1 (en) Method and system for usb host-client mode switching of vr device