TWI638261B - Electronic device with power saving function - Google Patents

Electronic device with power saving function Download PDF

Info

Publication number
TWI638261B
TWI638261B TW106125412A TW106125412A TWI638261B TW I638261 B TWI638261 B TW I638261B TW 106125412 A TW106125412 A TW 106125412A TW 106125412 A TW106125412 A TW 106125412A TW I638261 B TWI638261 B TW I638261B
Authority
TW
Taiwan
Prior art keywords
resistor
electronic device
power saving
transistor
saving function
Prior art date
Application number
TW106125412A
Other languages
Chinese (zh)
Other versions
TW201910968A (en
Inventor
謝耀緯
藍玉麟
Original Assignee
精拓科技股份有限公司
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 精拓科技股份有限公司 filed Critical 精拓科技股份有限公司
Priority to TW106125412A priority Critical patent/TWI638261B/en
Priority to CN201721011463.3U priority patent/CN207488949U/en
Application granted granted Critical
Publication of TWI638261B publication Critical patent/TWI638261B/en
Publication of TW201910968A publication Critical patent/TW201910968A/en

Links

Abstract

一種具有省電功能的電子裝置,包括傳輸接腳、分壓單元、偵測單元、控制單元與開關單元。傳輸接腳適於與外部裝置連接。分壓單元連接傳輸接腳,產生分壓電壓。偵測單元連接傳輸接腳,偵測傳輸接腳上的分壓電壓的電壓狀態,以產生喚醒信號。控制單元連接偵測單元與傳輸接腳,偵測傳輸接腳與外部裝置的連接狀態,據以進入休眠模式,且接收喚醒信號,以由休眠模式進入運作模式,並產生控制信號。開關單元連接控制單元與傳輸接腳,接收控制信號,以切換具有省電功能的電子裝置的運作模式。An electronic device with a power saving function includes a transmission pin, a voltage dividing unit, a detecting unit, a control unit and a switching unit. The transfer pin is adapted to be connected to an external device. The voltage dividing unit is connected to the transmission pin to generate a voltage dividing voltage. The detecting unit is connected to the transmitting pin to detect the voltage state of the divided voltage on the transmitting pin to generate a wake-up signal. The control unit connects the detecting unit and the transmitting pin, detects the connection state of the transmitting pin and the external device, and enters the sleep mode, and receives the wake-up signal to enter the operating mode by the sleep mode, and generates a control signal. The switch unit is connected to the control unit and the transmission pin, and receives a control signal to switch the operation mode of the electronic device having the power saving function.

Description

具有省電功能的電子裝置Electronic device with power saving function

本發明有關於一種電子裝置,特別是一種具有省電功能的電子裝置。The invention relates to an electronic device, in particular to an electronic device having a power saving function.

隨著手持裝置(如手機、平板電腦或是行動電源等裝置)的功能日漸強大,相對的耗電量也變多,使得手持裝置上的電力變得異常珍貴。有鑑於此,各家廠商無不致力於手持裝置上的省電功能。例如將尚未使用的功能關閉,直到需要時再打開。As handheld devices (such as mobile phones, tablets, or mobile power supplies) become more powerful, the relative power consumption increases, making the power on handheld devices extremely valuable. In view of this, various manufacturers are dedicated to the power saving function on handheld devices. For example, turn off features that have not been used until they are needed.

然而,依據通用序列匯流排(Universal Serial Bus, USB)C型(Type C)連接器的規格,手持裝置需要支援供電模式(Downstream Facing Port, DFP)以及充電模式(Upstream Facing Port, UFP)。當手持裝置連接到隨身碟或其他OTG(On-The-Go)裝置時,手持裝置需要進入供電模式,以提供電源給隨身碟或其他OTG裝置。而當手持裝置連接到電源供應器時,手持裝置需要切換成充電模式以進行充電。因此,手持裝置在閒置的時候(即手持裝置的接頭沒有外部裝置時),會有一個固定的功率消耗,要在供電模式以及充電模式之間切換,如此將會造成耗電的情況發生。However, according to the specifications of the Universal Serial Bus (USB) Type C connector, the handheld device needs to support the Downstream Facing Port (DFP) and the Upstream Facing Port (UFP). When the handheld device is connected to a flash drive or other OTG (On-The-Go) device, the handheld device needs to enter a power mode to provide power to the flash drive or other OTG device. When the handheld device is connected to the power supply, the handheld device needs to switch to the charging mode for charging. Therefore, when the handheld device is idle (ie, when the connector of the handheld device has no external device), there is a fixed power consumption, and it is necessary to switch between the power supply mode and the charging mode, which will cause power consumption.

有鑑於此,本發明提供一種具有省電功能的電子裝置,藉以當電子裝置未與外部裝置連接時有效地避免耗電的情況發生,以達到省電的效果,並且具有喚醒機制,以便當電子裝置與外部裝置連接時,將電子裝置由省電模式切換至運作模式,以維持正常操作。In view of this, the present invention provides an electronic device having a power saving function, thereby effectively avoiding power consumption when the electronic device is not connected to an external device, to achieve power saving effect, and having a wake-up mechanism for being electronic When the device is connected to an external device, the electronic device is switched from the power saving mode to the operating mode to maintain normal operation.

本發明提供一種具有省電功能的電子裝置,包括傳輸接腳、分壓單元、偵測單元、控制單元與開關單元。分壓單元連接傳輸接腳,產生分壓電壓。偵測單元連接傳輸接腳,偵測傳輸接腳的電壓狀態,以產生喚醒信號。控制單元連接偵測單元,接收喚醒信號,以產生控制信號。開關單元連接控制單元與傳輸接腳,接收控制信號,以切換具有省電功能的電子裝置的運作模式。The invention provides an electronic device with a power saving function, comprising a transmission pin, a voltage dividing unit, a detecting unit, a control unit and a switching unit. The voltage dividing unit is connected to the transmission pin to generate a voltage dividing voltage. The detecting unit is connected to the transmitting pin and detects the voltage state of the transmitting pin to generate a wake-up signal. The control unit is connected to the detecting unit and receives the wake-up signal to generate a control signal. The switch unit is connected to the control unit and the transmission pin, and receives a control signal to switch the operation mode of the electronic device having the power saving function.

本實施例所提供之具有省電功能的電子裝置,藉由控制單元偵測傳輸接腳與外部裝置的連接狀態而據以進入休眠模式,使得具有省電功能的電子裝置進入省電模式,且透過分壓單元於傳輸接腳上產生分壓電壓,以作為傳輸接腳是否與外部裝置連接的基準值,再藉由偵測單元偵測傳輸接腳上分壓狀態的電壓狀態是否改變,以產生喚醒信號,接著控制單元依據喚醒信號進行運作,並產生對應的控制信號控制開關單元切換具有省電功能的電子裝置的運作模式(如與隨身碟或其他OTG裝置連接的充電模式或與供電裝置連接的充電模式)。如此一來,具有省電功能的電子裝置未與外部裝置(如隨身碟、其他OTG裝置或供電裝置)連接時,控制單元會切換至休眠模式且停止運作,並停止控制開關單元在具有省電功能的電子裝置的運作模式之間進行切換,將可以有效地避免耗電的情況發生,以達到省電的效果。並且,當外部裝置與具有省電功能的電子裝置連接時,偵測單元偵測到傳輸接腳上的電壓改變,而產生喚醒信號來喚醒控制單元,以產生對應的後續操作,使得具有省電功能的電子裝置回復正常操作,以增加使用上的便利性。The electronic device with the power saving function provided by the embodiment enters the sleep mode by detecting the connection state of the transmission pin and the external device by the control unit, so that the electronic device with the power saving function enters the power saving mode, and A voltage dividing voltage is generated on the transmission pin through the voltage dividing unit as a reference value for whether the transmission pin is connected to the external device, and the detecting unit detects whether the voltage state of the voltage dividing state on the transmission pin changes, A wake-up signal is generated, and then the control unit operates according to the wake-up signal, and generates a corresponding control signal to control the switching unit to switch the operation mode of the electronic device having the power-saving function (such as the charging mode connected to the flash drive or other OTG device or the power supply device) Connected charging mode). In this way, when the electronic device with power saving function is not connected to an external device (such as a flash drive, other OTG device, or power supply device), the control unit switches to the sleep mode and stops operating, and stops the control switch unit from saving power. Switching between the operating modes of the functional electronic device will effectively avoid power consumption and achieve power saving. Moreover, when the external device is connected to the electronic device having the power saving function, the detecting unit detects the voltage change on the transmission pin, and generates a wake-up signal to wake up the control unit to generate a corresponding subsequent operation, so as to save power The functional electronic device returns to normal operation to increase the convenience of use.

以上之關於本發明內容之說明及以下之實施方式之說明用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

如在說明書及申請專利範圍當中使用了某些詞彙來指稱特定元件。本領域技術人員應可理解,硬體製造商可能會用不同名詞來稱呼同一個元件。本說明書及申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。如在通篇說明書及申請專利範圍當中所提及的“包含”為一開放式用語,故應解釋成“包含但不限定於”。“大致”是指在可接收的誤差範圍內,本領域技術人員能夠在一定誤差範圍內解決所述技術問題,基本達到所述技術效果。此外,“耦接”一詞在此包含任何直接及間接的電性耦接手段。因此,若文中描述一第一裝置耦接於一第二裝置,則代表所述第一裝置可直接電性耦接於所述第二裝置,或通過其他裝置或耦接手段間接地電性耦接至所述第二裝置。說明書後續描述為實施本申請的較佳實施方式,然所述描述乃以說明本申請的一般原則為目的,並非用以限定本申請的範圍。本申請的保護範圍當視所附申請專利範圍所界定者為準。Certain terms are used throughout the description and claims to refer to particular elements. Those skilled in the art will appreciate that a hardware manufacturer may refer to the same component by a different noun. The scope of the present specification and the patent application do not use the difference in the name as the means for distinguishing the elements, but the difference in function of the elements as the criterion for distinguishing. As used in the specification and the scope of the patent application, "include" is an open term and should be interpreted as "including but not limited to". "Substantially" means that within the range of acceptable errors, those skilled in the art will be able to solve the technical problems within a certain error range, substantially achieving the technical effects. In addition, the term "coupled" is used herein to include any direct and indirect electrical coupling means. Therefore, if a first device is coupled to a second device, the first device can be directly electrically coupled to the second device, or electrically coupled indirectly through other devices or coupling means. Connected to the second device. The description of the specification is intended to be illustrative of the preferred embodiments of the invention. The scope of protection of this application is subject to the definition of the scope of the appended claims.

還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者系統不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者系統所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者系統中還存在另外的相同要素。It is also to be understood that the terms "comprises", "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or system. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or system including the element, without further limitation.

在以下列舉的各實施例中,將以相同的標號代表相同或相似的元件或構件。In the various embodiments listed below, the same or similar elements or members will be referred to by the same reference numerals.

圖1是本發明一實施例所揭露的具有省電功能的電子裝置的示意圖。本實施例之具有省電功能的電子裝置例如為手機、平板電腦或是行動電源等裝置。具有省電功能的電子裝置100包括傳輸接腳110、分壓單元120、偵測單元130、控制單元140與開關單元150。在本實施例中,傳輸接腳110例如為具有通用序列匯流排C型介面的連接接頭的配置通道接腳(Configuration Channel Pin),用以與具有通用序列匯流排C型介面的連接接頭的電子裝置連接。FIG. 1 is a schematic diagram of an electronic device with a power saving function according to an embodiment of the invention. The electronic device having the power saving function of the embodiment is, for example, a device such as a mobile phone, a tablet computer, or a mobile power source. The electronic device 100 with power saving function includes a transmission pin 110, a voltage dividing unit 120, a detecting unit 130, a control unit 140, and a switching unit 150. In this embodiment, the transmission pin 110 is, for example, a configuration channel pin having a connection terminal of a universal serial bus C-type interface, and an electronic connector with a universal serial bus C-type interface. Device connection.

傳輸接腳110適於與外部裝置連接。其中,外部裝置例如隨身碟、其他OTG裝置或是供電裝置等。分壓單元120連接傳輸接腳110,產生分壓電壓。也就是說,分壓單元120所產生的分壓電壓會產生在傳輸接腳110上,且分壓電壓的電壓值例如為1.5V。The transmission pin 110 is adapted to be connected to an external device. Among them, external devices such as a flash drive, other OTG devices, or power supply devices. The voltage dividing unit 120 is connected to the transmission pin 110 to generate a divided voltage. That is to say, the divided voltage generated by the voltage dividing unit 120 is generated on the transmission pin 110, and the voltage value of the divided voltage is, for example, 1.5V.

偵測單元130連接傳輸接腳110,偵測傳輸接腳110上的分壓電壓的電壓狀態,以產生喚醒信號。也就是說,偵測單元130會偵測傳輸接腳110上的分壓電壓的電壓狀態是否為產生變化,即是否為分壓電壓的電壓值。當傳輸接腳110上的分壓電壓的電壓狀態為分壓電壓的電壓值時,表示具有省電功能的電子裝置100未與外部裝置連接,則偵測單元130不產生喚醒信號,亦即不會對控制單元140進行喚醒的操作。The detecting unit 130 is connected to the transmitting pin 110 and detects the voltage state of the divided voltage on the transmitting pin 110 to generate a wake-up signal. That is to say, the detecting unit 130 detects whether the voltage state of the divided voltage on the transmitting pin 110 is a change, that is, whether it is a voltage value of the divided voltage. When the voltage state of the divided voltage on the transmission pin 110 is the voltage value of the divided voltage, indicating that the electronic device 100 having the power saving function is not connected to the external device, the detecting unit 130 does not generate the wake-up signal, that is, does not The control unit 140 is awake.

另一方面,由於具有省電功能的電子裝置100與外部裝置連接時,傳輸接腳110上分壓電壓的電壓狀態會被改變,例如傳輸接腳110上的電壓值會高於分壓電壓的電壓值或低於分壓電壓的電壓值。當傳輸接腳110上的分壓電壓的電壓狀態不為分壓電壓的電壓值時,表示具有省電功能的電子裝置100已與外部裝置連接,則偵測單元130產生喚醒信號,以便於對控制單元140進行喚醒的操作。On the other hand, since the electronic device 100 having the power saving function is connected to the external device, the voltage state of the divided voltage on the transmission pin 110 is changed, for example, the voltage value on the transmission pin 110 is higher than the divided voltage. The voltage value or the voltage value lower than the divided voltage. When the voltage state of the divided voltage on the transmission pin 110 is not the voltage value of the divided voltage, indicating that the electronic device 100 having the power saving function has been connected to the external device, the detecting unit 130 generates a wake-up signal, so as to facilitate The control unit 140 performs an operation of waking up.

控制單元140連接偵測單元130與傳輸接腳110,偵測傳輸接腳110與外部裝置的連接狀態,據以進入休眠模式。在本實施例中,當傳輸接腳110與外部裝置的連接狀態為連接時,控制單元140仍會持續運作,以維持具有省電功能的電子裝置100的正常操作。當傳輸接腳110與外部裝置的連接狀態為未連接時,控制單元140例如會進入休眠模式,使得具有省電功能的電子裝置100進入省電模式,避免耗電的情況發生,以達到省電的效果。進一步來說,當傳輸接腳110與外部裝置的連接狀態為未連接時,即外部裝置由傳輸接腳110拔除時,控制單元140會於一預設時間(例如2秒)內偵測前述連接狀態是否仍未連接;若是,則控制單元140會進入休眠模式;若不是,則控制單元140會維持正常操作。The control unit 140 connects the detecting unit 130 and the transmitting pin 110, and detects the connection state of the transmitting pin 110 and the external device, thereby entering the sleep mode. In the present embodiment, when the connection state of the transmission pin 110 and the external device is connected, the control unit 140 continues to operate to maintain the normal operation of the electronic device 100 having the power saving function. When the connection state of the transmission pin 110 and the external device is not connected, the control unit 140 enters the sleep mode, for example, so that the electronic device 100 having the power saving function enters the power saving mode to avoid power consumption, thereby achieving power saving. Effect. Further, when the connection state of the transmission pin 110 and the external device is not connected, that is, when the external device is removed by the transmission pin 110, the control unit 140 detects the connection within a preset time (for example, 2 seconds). Whether the state is still not connected; if so, the control unit 140 enters a sleep mode; if not, the control unit 140 maintains normal operation.

另外,控制單元140會接收喚醒信號,以由休眠模式進入運作模式,並產生控制信號。也就是說,當控制單元140未接收到喚醒信號時,表示具有省電功能的電子裝置100未與外部裝置連接,則控制單元140維持休眠模式,使得具有省電功能的電子裝置100仍維持省電模式,以有效地避免耗電的情況發生。In addition, the control unit 140 receives the wake-up signal to enter the operational mode from the sleep mode and generates a control signal. That is, when the control unit 140 does not receive the wake-up signal, indicating that the electronic device 100 having the power saving function is not connected to the external device, the control unit 140 maintains the sleep mode, so that the electronic device 100 having the power saving function still maintains the province. Electrical mode to effectively avoid power consumption.

當控制單元140接收到喚醒信號時,表示具有省電功能的電子裝置100已與外部裝置連接,控制單元140會被喚醒以由休眠模式進入運作模式,並產生控制信號。When the control unit 140 receives the wake-up signal, it indicates that the electronic device 100 having the power saving function has been connected to the external device, and the control unit 140 is woken up to enter the operation mode by the sleep mode, and generates a control signal.

開關單元150連接控制單元140與傳輸接腳110,接收控制信號,以切換具有省電功能的電子裝置100的運作模式,其中運作模式為供電模式或充電模式。也就是說,開關單元150可以依據控制單元140所產生的控制信號,於供電模式及充電模式之間進行切換。The switch unit 150 is connected to the control unit 140 and the transmission pin 110, and receives a control signal to switch the operation mode of the electronic device 100 having the power saving function, wherein the operation mode is a power supply mode or a charging mode. That is to say, the switch unit 150 can switch between the power supply mode and the charging mode according to the control signal generated by the control unit 140.

舉例來說,當控制單元140被喚醒時,控制單元140會依序產生例如高邏輯準位及低邏輯準位的控制信號,使得開關單元150進行模式的切換,以在供電模式及充電模式之間進行切換。接著,當控制單元140偵測到外部裝置為隨身碟或其他OTG裝置時,控制單元140例如將控制信號保持在高邏輯準位,使得開關單元150將具有省電功能的電子裝置100切換至供電模式並維持在供電模式,以便供電給外部裝置使用。當控制單元140偵測到外部裝置例如為供電裝置時,控制單元140例如將控制信號保持在低邏輯準位,使得開關單元150將具有省電功能的電子裝置100切換至充電模式並維持在充電模式,以便接收外部裝置所提供的電源進行充電。For example, when the control unit 140 is woken up, the control unit 140 sequentially generates control signals such as a high logic level and a low logic level, so that the switching unit 150 performs mode switching to be in the power supply mode and the charging mode. Switch between. Then, when the control unit 140 detects that the external device is a flash drive or other OTG device, the control unit 140 maintains the control signal at a high logic level, for example, so that the switch unit 150 switches the electronic device 100 having the power saving function to the power supply. The mode is maintained in the power mode for power supply to external devices. When the control unit 140 detects that the external device is, for example, a power supply device, the control unit 140 maintains the control signal at a low logic level, for example, so that the switch unit 150 switches the electronic device 100 having the power saving function to the charging mode and maintains the charging. Mode to receive power from an external device for charging.

如此一來,當具有省電功能的電子裝置100未與外部裝置連接時,控制單元140會切換至休眠模式且停止運作,並停止控制開關單元150對具有省電功能的電子裝置100的運作模式進行切換,將可以有效地避免耗電的情況發生,以達到省電的效果。並且,在控制單元140進入休眠模式後,偵測單元130會持續偵測傳輸接腳110上的分壓電壓的電壓狀態。當外部裝置與具有省電功能的電子裝置100連接時,偵測單元130偵測到傳輸接腳110上的電壓改變,而產生喚醒信號來喚醒控制單元140,以產生對應的後續操作,使得具有省電功能的電子裝置100回復正常操作。In this way, when the electronic device 100 having the power saving function is not connected to the external device, the control unit 140 switches to the sleep mode and stops the operation, and stops the operation mode of the control device 150 for the electronic device 100 having the power saving function. Switching will effectively avoid power consumption and achieve power saving. Moreover, after the control unit 140 enters the sleep mode, the detecting unit 130 continuously detects the voltage state of the divided voltage on the transmission pin 110. When the external device is connected to the electronic device 100 having the power saving function, the detecting unit 130 detects the voltage change on the transmitting pin 110, and generates a wake-up signal to wake up the control unit 140 to generate a corresponding subsequent operation, so that The power saving function electronic device 100 returns to normal operation.

另外,分壓單元120包括第一電阻R1與第二電阻R2。第一電阻R1具有第一端與第二端,第一電阻R1的第一端連接第一電壓,第一電阻R1的第二端連接傳輸接腳110並產生分壓電壓。第二電阻R2具有第一端與第二端,第二電阻R2的第一端連接第一電阻R1的第二端,第二電阻R2的第二端連接接地端。In addition, the voltage dividing unit 120 includes a first resistor R1 and a second resistor R2. The first resistor R1 has a first end and a second end. The first end of the first resistor R1 is connected to the first voltage, and the second end of the first resistor R1 is connected to the transmission pin 110 and generates a divided voltage. The second resistor R2 has a first end and a second end. The first end of the second resistor R2 is connected to the second end of the first resistor R1, and the second end of the second resistor R2 is connected to the ground end.

此外,開關單元150包括第一電晶體M1、第三電阻R3、第二電晶體M2與第四電阻R4。第一電晶體M1具有第一端、第二端與第三端,第一電晶體M1的第一端連接第二電壓,第一電晶體M1的第二端連接控制單元140。第三電阻R3具有第一端與第二端,第三電阻R3的第一端連接第一電晶體M1的第三端,第三電阻R3的第二端連接傳輸接腳110。Further, the switching unit 150 includes a first transistor M1, a third resistor R3, a second transistor M2, and a fourth resistor R4. The first transistor M1 has a first end, a second end and a third end. The first end of the first transistor M1 is connected to the second voltage, and the second end of the first transistor M1 is connected to the control unit 140. The third resistor R3 has a first end and a second end. The first end of the third resistor R3 is connected to the third end of the first transistor M1, and the second end of the third resistor R3 is connected to the transmission pin 110.

第二電晶體M2具有第一端、第二端與第三端,第二電晶體M2的第一端連接接地端,第二電晶體M2的第二端連接控制單元140。第四電阻R4具有第一端與第二端,第四電阻R4的第一端連接第二電晶體M2的第三端,第四電阻R4的第二端連接第三電阻R3的第二端。The second transistor M2 has a first end, a second end and a third end. The first end of the second transistor M2 is connected to the ground end, and the second end of the second transistor M2 is connected to the control unit 140. The fourth resistor R4 has a first end and a second end. The first end of the fourth resistor R4 is connected to the third end of the second transistor M2, and the second end of the fourth resistor R4 is connected to the second end of the third resistor R3.

在本實施例中,第一電晶體M1例如為P型電晶體,其中第一電晶體M1的第一端為P型電晶體的源極端(Source),第一電晶體M1的第二端為P型電晶體的閘極端(Gate),第一電晶體M1的第三端為P型電晶體的汲極端(Drain)。另外,第二電晶體M2例如為N型電晶體,其中第二電晶體M2的第一端為N型電晶體的汲極端,第二電晶體M2的第二端為N型電晶體的閘極端,第二電晶體M2的第三端為N型電晶體的源極端。In this embodiment, the first transistor M1 is, for example, a P-type transistor, wherein the first end of the first transistor M1 is the source end of the P-type transistor, and the second end of the first transistor M1 is The gate end of the P-type transistor, the third end of the first transistor M1 is the drain of the P-type transistor (Drain). In addition, the second transistor M2 is, for example, an N-type transistor, wherein the first end of the second transistor M2 is the 汲 terminal of the N-type transistor, and the second end of the second transistor M2 is the gate terminal of the N-type transistor. The third end of the second transistor M2 is the source terminal of the N-type transistor.

在本實施例中,分壓單元120中的第一電阻R1與第二電阻R2的電阻值要遠大於開關單元150中的第三電阻R3與第四電阻R4的電阻值,這樣才不會影響具有省電功能的電子裝置100的正常運作。並且,第一電阻R1與第二電阻R2的電阻值越大,則具有省電功能的電子裝置100越省電。In this embodiment, the resistance values of the first resistor R1 and the second resistor R2 in the voltage dividing unit 120 are much larger than the resistance values of the third resistor R3 and the fourth resistor R4 in the switching unit 150, so as not to affect The normal operation of the electronic device 100 having the power saving function. Further, the larger the resistance value of the first resistor R1 and the second resistor R2, the more power-saving the electronic device 100 having the power saving function.

綜合上述,本發明實施例所揭露的具有省電功能的電子裝置,藉由控制單元偵測傳輸接腳與外部裝置的連接狀態而據以進入休眠模式,使得具有省電功能的電子裝置進入省電模式,且透過分壓單元於傳輸接腳上產生分壓電壓,以作為傳輸接腳是否與外部裝置連接的基準值,再藉由偵測單元偵測傳輸接腳上分壓狀態的電壓狀態是否改變,以產生喚醒信號,接著控制單元依據喚醒信號進行運作,並產生對應的控制信號控制開關單元切換具有省電功能的電子裝置的運作模式(如與隨身碟或其他OTG裝置連接的充電模式或與供電裝置連接的充電模式)。如此一來,具有省電功能的電子裝置未與外部(如隨身碟、其他OTG裝置或供電裝置)裝置連接時,控制單元會切換至休眠模式且停止運作,並停止控制開關單元在具有省電功能的電子裝置的運作模式之間進行切換,將可以有效地避免耗電的情況發生,以達到省電的效果。並且,當外部裝置與具有省電功能的電子裝置連接時,偵測單元偵測到傳輸接腳上的電壓改變,而產生喚醒信號來喚醒控制單元,以產生對應的後續操作,使得具有省電功能的電子裝置回復正常操作,以增加使用上的便利性。In summary, the electronic device with the power saving function disclosed in the embodiment of the present invention enters the sleep mode by detecting the connection state of the transmission pin and the external device by the control unit, so that the electronic device with the power saving function enters the province. In the electrical mode, a voltage dividing voltage is generated on the transmission pin through the voltage dividing unit as a reference value for whether the transmission pin is connected to the external device, and the detection unit detects the voltage state of the voltage dividing state on the transmission pin. Whether to change to generate a wake-up signal, then the control unit operates according to the wake-up signal, and generates a corresponding control signal to control the switching unit to switch the operation mode of the electronic device having the power-saving function (such as the charging mode connected to the flash drive or other OTG device) Or charging mode connected to the power supply unit). In this way, when the electronic device with power saving function is not connected to the external device (such as a flash drive, other OTG device or power supply device), the control unit will switch to the sleep mode and stop the operation, and stop the control switch unit to save power. Switching between the operating modes of the functional electronic device will effectively avoid power consumption and achieve power saving. Moreover, when the external device is connected to the electronic device having the power saving function, the detecting unit detects the voltage change on the transmission pin, and generates a wake-up signal to wake up the control unit to generate a corresponding subsequent operation, so as to save power The functional electronic device returns to normal operation to increase the convenience of use.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

100‧‧‧具有省電功能的電子裝置100‧‧‧Electronic devices with power saving function

110‧‧‧傳輸接腳 110‧‧‧Transfer pins

120‧‧‧分壓單元 120‧‧‧Voltage unit

130‧‧‧偵測單元 130‧‧‧Detection unit

140‧‧‧控制單元 140‧‧‧Control unit

150‧‧‧開關單元 150‧‧‧Switch unit

R1‧‧‧第一電阻 R1‧‧‧first resistance

R2‧‧‧第二電阻 R2‧‧‧second resistance

R3‧‧‧第三電阻 R3‧‧‧ third resistor

R4‧‧‧第四電阻 R4‧‧‧fourth resistor

M1‧‧‧第一電晶體 M1‧‧‧first transistor

M2‧‧‧第二電晶體 M2‧‧‧second transistor

此處所說明的圖式用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在圖式中: 圖1是本發明一實施例所揭露的具有省電功能的電子裝置的示意圖。The drawings are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawings: FIG. 1 is a schematic diagram of an electronic device with a power saving function according to an embodiment of the invention.

Claims (5)

一種具有省電功能的電子裝置,包括: 一傳輸接腳,適於與一外部裝置連接; 一分壓單元,連接該傳輸接腳,產生一分壓電壓; 一偵測單元,連接該傳輸接腳,偵測該傳輸接腳上的該分壓電壓的電壓狀態,以產生一喚醒信號; 一控制單元,連接該偵測單元與該傳輸接腳,偵測該傳輸接腳與該外部裝置的一連接狀態,據以進入一休眠模式,且接收該喚醒信號,以由該休眠模式進入一運作模式,並產生一控制信號;以及 一開關單元,連接該控制單元與該傳輸接腳,接收該控制信號,以切換該具有省電功能的電子裝置的運作模式。An electronic device with a power saving function, comprising: a transmission pin adapted to be connected to an external device; a voltage dividing unit connected to the transmission pin to generate a voltage dividing voltage; and a detecting unit connected to the transmission connection a foot detecting a voltage state of the divided voltage on the transmitting pin to generate a wake-up signal; a control unit connecting the detecting unit and the transmitting pin to detect the transmitting pin and the external device a connection state, according to which a sleep mode is entered, and the wake-up signal is received to enter an operation mode by the sleep mode, and a control signal is generated; and a switch unit is connected to the control unit and the transmission pin to receive the Controlling signals to switch the operation mode of the electronic device having the power saving function. 如請求項1所述之具有省電功能的電子裝置,其中該傳輸接腳為一配置通道接腳。The electronic device with power saving function as claimed in claim 1, wherein the transmission pin is a configuration channel pin. 如請求項1所述之具有省電功能的電子裝置,其中該分壓單元包括: 一第一電阻,具有一第一端與一第二端,該第一電阻的該第一端連接一第一電壓,該第一電阻的該第二端連接該傳輸接腳並產生該分壓電壓;以及 一第二電阻,具有一第一端與一第二端,該第二電阻的該第一端連接該第一電阻的該第二端,該第二電阻的該第二端連接一接地端。The electronic device with the power saving function of claim 1, wherein the voltage dividing unit comprises: a first resistor having a first end and a second end, the first end of the first resistor being connected to the first end a second end of the first resistor connected to the transmission pin and generating the divided voltage; and a second resistor having a first end and a second end, the first end of the second resistor Connecting the second end of the first resistor, the second end of the second resistor is connected to a ground. 如請求項1所述之具有省電功能的電子裝置,其中該開關單元包括: 一第一電晶體,具有一第一端、一第二端與一第三端,該第一電晶體的該第一端連接一第二電壓,該第一電晶體的該第二端連接該控制單元; 一第三電阻,具有一第一端與一第二端,該第三電阻的該第一端連接該第一電晶體的該第三端,該第三電阻的該第二端連接該傳輸接腳; 一第二電晶體,具有一第一端、一第二端與一第三端,該第二電晶體的該第一端連接一接地端,該第二電晶體的該第二端連接該控制單元;以及 一第四電阻,具有一第一端與一第二端,該第四電阻的該第一端連接該第二電晶體的該第三端,該第四電阻的該第二端連接該第三電阻的該二端。The electronic device with the power saving function of claim 1, wherein the switch unit comprises: a first transistor having a first end, a second end and a third end, the first transistor The first end is connected to a second voltage, the second end of the first transistor is connected to the control unit; a third resistor has a first end and a second end, and the first end of the third resistor is connected The second end of the first transistor is connected to the transmission pin; the second transistor has a first end, a second end and a third end, the first end The first end of the second transistor is connected to a ground end, the second end of the second transistor is connected to the control unit; and a fourth resistor has a first end and a second end, the fourth resistor The first end is connected to the third end of the second transistor, and the second end of the fourth resistor is connected to the two ends of the third resistor. 如請求項4所述之具有省電功能的電子裝置,其中該第一電晶體為P型電晶體,該第二電晶體為N型電晶體。An electronic device having a power saving function according to claim 4, wherein the first transistor is a P-type transistor, and the second transistor is an N-type transistor.
TW106125412A 2017-07-28 2017-07-28 Electronic device with power saving function TWI638261B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW106125412A TWI638261B (en) 2017-07-28 2017-07-28 Electronic device with power saving function
CN201721011463.3U CN207488949U (en) 2017-07-28 2017-08-14 Electronic device with power saving function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106125412A TWI638261B (en) 2017-07-28 2017-07-28 Electronic device with power saving function

Publications (2)

Publication Number Publication Date
TWI638261B true TWI638261B (en) 2018-10-11
TW201910968A TW201910968A (en) 2019-03-16

Family

ID=62484898

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106125412A TWI638261B (en) 2017-07-28 2017-07-28 Electronic device with power saving function

Country Status (2)

Country Link
CN (1) CN207488949U (en)
TW (1) TWI638261B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215765A1 (en) * 2007-03-02 2008-09-04 Microchip Technology Incorporated Detecting Connection to a USB Host or Hub Without Using an Extra Status Input
US20130286701A1 (en) * 2012-04-25 2013-10-31 Tyco Electronics Corporation Zero-Standby Current Switch for Control of a Power Converter
US20150311806A1 (en) * 2014-04-24 2015-10-29 Fairchild (Taiwan) Corporation Method and circuit of detecting attachment and detachment between a portable device and a power converter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215765A1 (en) * 2007-03-02 2008-09-04 Microchip Technology Incorporated Detecting Connection to a USB Host or Hub Without Using an Extra Status Input
US20130286701A1 (en) * 2012-04-25 2013-10-31 Tyco Electronics Corporation Zero-Standby Current Switch for Control of a Power Converter
US20150311806A1 (en) * 2014-04-24 2015-10-29 Fairchild (Taiwan) Corporation Method and circuit of detecting attachment and detachment between a portable device and a power converter
TW201541247A (en) * 2014-04-24 2015-11-01 Fairchild Taiwan Corp Method and circuit of detecting attachment and detachment between a portable device and a power converter

Also Published As

Publication number Publication date
CN207488949U (en) 2018-06-12
TW201910968A (en) 2019-03-16

Similar Documents

Publication Publication Date Title
US11181966B2 (en) USB interface circuit and method for low power operation
TWI694728B (en) Wireless headset and wireless headset and charging box assembly
TWI413906B (en) Detecting connection to a usb host or hub without using an extra status input
JP4896977B2 (en) Method for operating a device, device and computer-readable medium
EP3345282B1 (en) Usb power delivery dead-battery control
TWI571734B (en) Power management circuit and method thereof and computer system
US20100064160A1 (en) Circuit Having a Low Power Mode
US9797784B2 (en) Communication and monitoring of a battery via a single wire
US10345879B2 (en) Capacitance based accessory connection detection for a battery powered unit
WO2017083831A1 (en) Usb interface circuit and method for low power operation
US8200997B2 (en) Computer wake up circuit includes a switch configured to prevent a control signals from an I/O controller being transmitted to south-bridge
US9235246B2 (en) Computing device and power supply method of connection module
TW201416845A (en) Motherboard
TWI693513B (en) Server system and power saving method thereof
TWI583134B (en) Interface supply circuit
TWI531133B (en) Charging method and electronic device
TWI638261B (en) Electronic device with power saving function
EP2720356B1 (en) Power supply system and power control circuit thereof
TWI464414B (en) A light load current detection system
JP7300667B2 (en) Energy saving hub
TW201617769A (en) Motherboard supply circuit
TWI453579B (en) Energy saving system and method in shutting up
TWI459192B (en) Start circuit
TW202001550A (en) Computer device and startup method
TW201317753A (en) Reset and reboot circuit