13535.11 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種電源供應器偵測系统及方法,特別 是一種利用調變訊號之電源供應器偵測系统及方法。 【先前技術】 隨著時代的進步,筆記型電腦已經成為曰常生活中非 常普及的電子產品。而為了筆記型電腦系统的工作效能與 安全,筆記型電腦系統必須要搭配相對應的電源供應器。 若將筆記型電腦系統接上不足瓦數的電源供應器,例如將 需90瓦的筆記型電腦系統接上65瓦的電源供應器,就會 影響到整個筆記型電腦系統的工作效能與安全性。 在先前技術當中,已經揭露利用具有三接腳的連接頭 其中之識別接腳(ID Pin)作為筆記型電腦系統與電源供應 器的辨識介面。請參考圖1A關於先前技術電源供應器偵 測系統之第一實施例之等效電路圖。先前技術之電源供應 器偵測系統90包括電子裝置91與電源供應器92。電源供 應器92利用V+接腳、V-接腳及ID接腳與電子裝置91連 接以傳輸電源訊號。並且電源供應器92可利用其内建之記 憶模組921 ’例如電氣可擦拭可規化式唯讀記憶體 (Electrically-Erasable Programmable Read-Only Memory, EEPROM),儲存數位訊號。當電子裝置91與電源供應器 92連接時,電源供應器92藉由ID接腳傳遞數位訊號至電 源管理模組911,如此一來電子裝置91即可得知電源供應 5 13535.11 器92所能供應之瓦數。但如此一來,電源供應器92需具 有記憶模組921,會造成成本的增加。 先前技術亦揭露另一種電源供應器偵測系統。請參考 圖1B關於先前技術電源供應器偵測系統之第二實施例之 等效電路圖。在第二實施例中,電子裝置91及電源供應器 92分別具有等效電阻R1及R2。當電子裝置91與電源供 應器92連接時,在電子裝置91内輸入參考電壓Vr,並測 量電壓VID之值。由於不同之電源供應器92具有不同值 φ 之等效電阻R2,因此電源管理模組911所測量得之分壓值 VID會有所不同。依照量得之分壓值VID,再經由查表即 可得知電源供應器92所供應之瓦數。但是在先前技術當 中,只有應用於三接腳的連接接頭的電源供應器偵測系統 與方法,並沒有應用於雙接腳的連接接頭之電源供應器偵 測系統與方法。而三接腳的連接接頭會造成製造成本的增 加。 有鑑於此,因此需要發明一種新的辨識方式以解決先 • 前技術所發生的缺失。 【發明内容】 本發明之主要目的係在提供一種電源供應器偵測系 統,具有辨識電源供應器之功能。 本發明之另一主要目的係在提供一種電源供應器偵測 方法。 為達成上述之目的,本發明之電源供應器偵測系統包 括電源供應器及電子裝置。電子裝置係與電源供應器電性 6 1353511 連接以接收電源訊號。電源供應器包括電源輸入端、開關 模組及訊號產生模組。電源輸入端用以輸入電源訊號。開 關模組係與電源輸入端電性連接,用以接收電源訊號。訊 號產生模組係與開關模組電性連接,用以控制開關模組以 藉由電源訊號產生一調變訊號。電子裝置包括偵測模組及 電源管理模組。偵測模組用以偵測調變訊號。電源管理模 組係與偵測模組電性連接,用以藉由偵測模組所偵測之調 變訊號以辨別電源供應器,並對電子裝置進行一電源管理。 本發明之電源供應器偵測方法包括以下步驟:輸入電 源訊號;控制開關模組以利用電源訊號產生調變訊號;偵 測調變訊號;藉由所偵測到之調變訊號辨別該電源供應 器;以及執行該電子裝置之一電源管理。 【實施方式】 為讓本發明之上述和其他目的、特徵和優點能更明顯 易懂,下文特舉出本發明之具體實施例,並配合所附圖式, 作詳細說明如下。 以下請同時參考圖2A到圖2C關於本發明電源供應器 偵測系統之第一實施例之相關示意圖。其中圖2A係本發 明電源供應器偵測系統之第一實施例之等效電路圖,圖2B 係本發明第一實施例之調變訊號之波形圖,圖2C係本發明 第一實施例之對照表。 本發明之電源供應器偵測系統1包括電子裝置10及電 源供應器20。電源供應器偵測系統1係用以偵測電源供應 器20所輸入之瓦數,以判斷是否能符合電子裝置10之設 7 疋。電源供應器20藉由接腳v+及接腳v_與電子裝置1〇 相連接,用以供應一電源訊號給電子裝置1〇。需注意的是, 在本發明中係以具有雙接腳之電源供應 器20為例進行說 明’但本發明之電源供應器偵測系統及方法並不只限定於 適用雙接腳之電源供應器2〇。 〇電源供應器20包括電源輸入端VI、開關模組21及訊 號產生模組22。電源輸入端VI用以輸入一電源訊號。開 ^杈組21係與電源輸入端VI電性連接,用以接收電源訊 旒j並傳輸至接腳V+。在本實施例中開關模組21係為一 金氧半電晶體,但本發明並不以此為限。訊號產生模組22 係與開關組21電性連接,以控綱關模組2卜使得 電源訊號成為-調變訊號。在第—實補巾訊號產生模組 22係包括一振盈電路221。振盪電路221得以控制開關模 組21,使得調變訊號成為一固定週期之波形訊號。其波形 P如圖2B。需注意的是,本發明調變訊號的波形並不 2 2B所不之波形為限,只要能具有固定週期的波形訊號 ^為本發明之保護範圍。而不同瓦數的電源供應器2〇係藉 由设置不同的㈣電路221,以產生不同週期之波形訊號。 電子農置10係為筆記型電腦,但本發明並不以此為 限。電子裝置10包括偵測模組⑴電源管理模組12、記 =模’且13及波型整型器14。偵測模組n用以偵測調變訊 號二以分辨出調變訊號之波形週期或是分辨出調變訊號之 瞢間:電源管理模組12可為嵌入式控制器。電源 组11 = 、與侧模組11電性連接,用以藉由偵測模 組11传知電源供應器2G之瓦數,並依財瓦數對電子裝 1353511 置10進行進一步的電源管理。記憶模組13係與電源管理 模組12電性連接,用以儲存一對照表。其對照表即如圖 2C所示。電源管理模組12係讀取該對照表,以得知此調 變訊號之週期所對應之瓦數。舉例而言,當調變訊號之脈 波間隔為一秒時,即可得知電源供應器20為供應65瓦之 電源。另一方面,偵測模組11還可電性連接一波型整型器 14。波型整型器14可為一放大電路,但本發明並不以此為 限。波型整型器14可以使得電源管理模組12更容易地判 斷調變訊號之週期。 接著請一併參考圖3A到圖3C關於本發明電源供應器 偵測系統之第二實施例之相關示意圖。其中圖3A係本發 明電源供應器偵測系統之第二實施例之等效電路圖,圖3B 係本發明第二實施例之調變訊號之波形圖,圖3C係本發明 第二實施例之對照表。 相較於本發明的第一實施例,在第二實施例中訊號產 生模組22還包括了驅動電路222。藉由振盪電路221及驅 動電路222之作用,即可控制調變訊號波形的振幅高低。 其波形即如圖3B所示。調變訊號之電壓值不能低於一定 值,否則會無法驅動電子裝置10。偵測模組11用以依照 固定之時間間隔以偵測出波形的振幅變化,即可得知調變 訊號之電壓下降之幅度。電源管理模組12再利用對照表以 得知所對應之瓦數,再對電子裝置10進行調整。例如當調 變訊號之電壓值下降至17伏特時,經由查表後即得知電源 供應器20為供應65瓦之電源。需注意的是,偵測模組11 所讀取之時間間隔可以依照需求而做調整,以達到最佳的 9 1353511 測量效果。 此處需注意的是,在圖2A及圖3A中所示之偵測模組 11之電路僅為示意,本發明並不以圖2A及圖3A所示電路 為限。 接著請參考圖4關於本發明電源供應器偵測方法之步 驟流程圖。此處需注意的是,以下雖以具有電源供應器偵 測系統1為例說明本發明之電源供應器偵測之方法,但本 發明之指示輸出顯示裝置之方法並不以使用在電源供應器 φ 偵測系統1為限。 首先電源供應器20先進行步驟401:輸入一電源訊號。 首先由電源供應器20之電源輸入端VI輸入一電源訊 號,以供應予電子裝置10。 接著再進行步驟402:控制開關模組以利用電源訊號產 生調變訊號。 此時訊號產生模組22即控制開關模組21,使得由電源 輸入端VI輸入之電源訊號成為一調變訊號。調變訊號可以 φ 為本發明第一實施例中的固定周期之波形訊號或是第二實 施例中的固定振幅之波形訊號。調變訊號產生後,再將此 調變訊號傳輸至電子裝置10内。 接著於電子裝置10内執行步驟403 :偵測調變訊號。 此時電子裝置10内之偵測模組11即偵測調變訊號, 依照本發明之不同實施例,即得知調變訊號之週期時間或 是振幅變化。如第一實施例中的脈波間隔時間或是第二實 施例中的電壓變化。 再進行步驟撕:藉由所偵測之調變訊號以辨別電源供 應器。 =步驟403中得知調變訊號之週期時間或是振幅變 ^電源管理模組12即從記憶模組13 +讀取相對應之對 以辨別出電源供應器2G,並得知電源供應器2〇所 能供應之瓦數。 最後進行步驟405 :進行電子裝置之電源管理。 得知電源供應器20所能供應之瓦數後,電源管理模組 12即依照其瓦數對電子裝置職行電源管理。若電子裝置 10連接到不足瓦數的電源供應器2G,例如#電子裝置1〇原 始設定為90瓦’但連接刺瓦的電源供應_。此時電源 官理模組12就會進行管理,崎低電子裝㈣内部份 元件所需消耗的瓦數,使得電子裝置1G所消耗的總瓦數不 會超出65瓦。如此-來’就可以避免損壞電子裝置1〇。 此處需注意的是’本發明之電源供應器偵測方法並不 以上述之步驟次序為限,只要能達成本發明之目的,上述 之步驟次序亦可加以改變。 藉由上述的系統及方法,即可在電子裝置1〇連接到不 足瓦數的電源供應器20時,能夠即時的執行電源管理,以 避免電子MU)過載或過熱而造成損壞。並且相較於先前 技術,電源供應器偵測系統1可節省下製造成本。 綜上所陳,本發明無論就目的、手段及功效,在在均 顯不其迥異於習知技術之特徵,懇請貴審查委員明察, 早曰賜准專利’俾嘉惠社會,實感德便。惟應注意的是, 上述諸多實施例僅係為了便於說明而舉例而已,本發明所 13535-11 主張之權利範圍自應以申請專利範圍所述為準,而非僅限 於上述實施例。 【圖式簡單說明】 圖1A係先前技術電源供應器偵測系統之第一實施例之等 效電路圖。 圖1B係先前技術電源供應器偵測系統之第二實施例之等效 電路圖。</ RTI> </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; [Prior Art] With the advancement of the times, notebook computers have become an electronic product that is very popular in everyday life. For the performance and security of a notebook computer system, the notebook computer system must be matched with the corresponding power supply. If the notebook system is connected to a wattage power supply, such as a 90 watt notebook system connected to a 65 watt power supply, it will affect the performance and security of the entire notebook system. . In the prior art, it has been disclosed that an identification pin (ID Pin) having a three-pin connector is used as an identification interface for a notebook computer system and a power supply. Please refer to FIG. 1A for an equivalent circuit diagram of a first embodiment of a prior art power supply detector system. The prior art power supply detection system 90 includes an electronic device 91 and a power supply 92. The power supply unit 92 is connected to the electronic device 91 by means of a V+ pin, a V- pin and an ID pin to transmit a power signal. And the power supply 92 can store digital signals by using its built-in memory module 921', such as Electrically-Erasable Programmable Read-Only Memory (EEPROM). When the electronic device 91 is connected to the power supply 92, the power supply 92 transmits the digital signal to the power management module 911 through the ID pin, so that the electronic device 91 can know that the power supply 5 13535.11 is available. Watts. However, in this case, the power supply 92 needs to have the memory module 921, which causes an increase in cost. The prior art also discloses another power supply detection system. Please refer to FIG. 1B for an equivalent circuit diagram of a second embodiment of the prior art power supply detection system. In the second embodiment, the electronic device 91 and the power supply 92 have equivalent resistances R1 and R2, respectively. When the electronic device 91 is connected to the power supply 92, the reference voltage Vr is input to the electronic device 91, and the value of the voltage VID is measured. Since the different power supplies 92 have equivalent resistances R2 of different values φ, the voltage division value VID measured by the power management module 911 will be different. According to the measured voltage value VID, the wattage supplied by the power supply 92 can be known through the look-up table. However, in the prior art, only the power supply detecting system and method applied to the three-pin connector are not applied to the power supply detecting system and method of the double-pin connector. The three-pin connector will increase the manufacturing cost. In view of this, it is necessary to invent a new identification method to solve the shortcomings of the prior art. SUMMARY OF THE INVENTION The main object of the present invention is to provide a power supply detection system having the function of identifying a power supply. Another primary object of the present invention is to provide a power supply detection method. To achieve the above objects, the power supply detection system of the present invention includes a power supply and an electronic device. The electronic device is connected to the power supply connector 6 1353511 to receive the power signal. The power supply includes a power input terminal, a switch module, and a signal generating module. The power input is used to input a power signal. The switch module is electrically connected to the power input terminal for receiving the power signal. The signal generating module is electrically connected to the switch module for controlling the switch module to generate a modulated signal by the power signal. The electronic device includes a detection module and a power management module. The detection module is used to detect the modulation signal. The power management module is electrically connected to the detection module for identifying the power supply by detecting the modulation signal detected by the module, and performing power management on the electronic device. The power supply detecting method of the present invention comprises the steps of: inputting a power signal; controlling the switch module to generate a modulation signal by using a power signal; detecting a modulation signal; and discriminating the power supply by the detected modulation signal And performing power management of one of the electronic devices. The above and other objects, features, and advantages of the present invention will become more apparent from the description of the appended claims. Please refer to FIG. 2A to FIG. 2C for a related schematic diagram of the first embodiment of the power supply detecting system of the present invention. 2A is an equivalent circuit diagram of a first embodiment of the power supply detecting system of the present invention, FIG. 2B is a waveform diagram of a modulated signal according to the first embodiment of the present invention, and FIG. 2C is a comparison of the first embodiment of the present invention. table. The power supply detecting system 1 of the present invention includes an electronic device 10 and a power supply 20. The power supply detecting system 1 is configured to detect the wattage input by the power supply 20 to determine whether the electronic device 10 can be configured. The power supply 20 is connected to the electronic device 1 through the pin v+ and the pin v_ for supplying a power signal to the electronic device 1 . It should be noted that in the present invention, the power supply 20 having the dual pins is taken as an example. However, the power supply detection system and method of the present invention are not limited to the power supply 2 for the dual pins. Hey. The power supply 20 includes a power input terminal VI, a switch module 21, and a signal generating module 22. The power input terminal VI is used to input a power signal. The open circuit group 21 is electrically connected to the power input terminal VI for receiving the power signal and transmitting to the pin V+. In the embodiment, the switch module 21 is a metal oxide semi-transistor, but the invention is not limited thereto. The signal generating module 22 is electrically connected to the switch group 21 to control the module 2 so that the power signal becomes a modulated signal. The first solid wipe signal generating module 22 includes a vibration circuit 221 . The oscillating circuit 221 is capable of controlling the switching module 21 so that the modulating signal becomes a waveform signal of a fixed period. Its waveform P is shown in Fig. 2B. It should be noted that the waveform of the modulated signal of the present invention is not limited to the waveform of 2 2B, as long as the waveform signal with a fixed period is the protection range of the present invention. The power supply 2 of different wattages is provided with different (four) circuits 221 to generate waveform signals of different periods. The electronic farm 10 is a notebook computer, but the invention is not limited thereto. The electronic device 10 includes a detection module (1) power management module 12, a memory module 13 and a waveform shaper 14. The detection module n is used to detect the modulation signal 2 to distinguish the waveform period of the modulation signal or to distinguish the modulation signal: the power management module 12 can be an embedded controller. The power supply group 11 = is electrically connected to the side module 11 for transmitting the wattage of the power supply 2G by the detection module 11, and further power management is performed on the electronic device 1353511 according to the wattage. The memory module 13 is electrically connected to the power management module 12 for storing a comparison table. Its comparison table is shown in Figure 2C. The power management module 12 reads the lookup table to know the wattage corresponding to the period of the modulated signal. For example, when the pulse interval of the modulation signal is one second, it can be known that the power supply 20 supplies a power of 65 watts. On the other hand, the detecting module 11 can also be electrically connected to the wave shaping device 14. The wave shaper 14 can be an amplifying circuit, but the invention is not limited thereto. The wave shaper 14 allows the power management module 12 to more easily determine the period of the modulated signal. Next, please refer to FIG. 3A to FIG. 3C for a related schematic diagram of a second embodiment of the power supply detecting system of the present invention. 3A is an equivalent circuit diagram of a second embodiment of the power supply detecting system of the present invention, FIG. 3B is a waveform diagram of a modulated signal according to a second embodiment of the present invention, and FIG. 3C is a comparison of the second embodiment of the present invention. table. In contrast to the first embodiment of the present invention, the signal generating module 22 further includes a driving circuit 222 in the second embodiment. The amplitude of the modulated signal waveform can be controlled by the action of the oscillating circuit 221 and the driving circuit 222. The waveform is as shown in Fig. 3B. The voltage value of the modulation signal cannot be lower than a certain value, otherwise the electronic device 10 cannot be driven. The detecting module 11 is configured to detect the amplitude change of the waveform according to the fixed time interval, and the amplitude of the voltage drop of the modulated signal is known. The power management module 12 then uses the look-up table to know the corresponding wattage, and then adjusts the electronic device 10. For example, when the voltage value of the modulation signal drops to 17 volts, the power supply 20 is supplied with a power supply of 65 watts after looking up the table. It should be noted that the time interval read by the detection module 11 can be adjusted according to requirements to achieve the best 9 1353511 measurement effect. It should be noted that the circuits of the detecting module 11 shown in FIG. 2A and FIG. 3A are only schematic, and the present invention is not limited to the circuits shown in FIG. 2A and FIG. 3A. Next, please refer to FIG. 4 for a flow chart of the method for detecting the power supply of the present invention. It should be noted that the following describes the method for detecting the power supply of the present invention by taking the power supply detecting system 1 as an example, but the method for indicating the output display device of the present invention is not used in the power supply. φ detection system 1 is limited. First, the power supply 20 first performs step 401: inputting a power signal. First, a power signal is input from the power input terminal VI of the power supply 20 to be supplied to the electronic device 10. Then, proceed to step 402: control the switch module to generate a modulation signal by using the power signal. At this time, the signal generating module 22 controls the switch module 21, so that the power signal input by the power input terminal VI becomes a modulated signal. The modulation signal may be φ as the waveform signal of the fixed period in the first embodiment of the invention or the waveform signal of the fixed amplitude in the second embodiment. After the modulation signal is generated, the modulation signal is transmitted to the electronic device 10. Step 403 is then performed in the electronic device 10: detecting the modulation signal. At this time, the detection module 11 in the electronic device 10 detects the modulation signal, and according to different embodiments of the present invention, the cycle time of the modulation signal or the amplitude change is known. The pulse wave interval time as in the first embodiment is the voltage change in the second embodiment. Step tearing is further performed: the detected power supply is identified by the detected modulation signal. In step 403, the cycle time or amplitude of the modulation signal is known. The power management module 12 reads the corresponding pair from the memory module 13+ to identify the power supply 2G, and learns that the power supply 2 The number of watts that can be supplied. Finally, step 405 is performed: performing power management of the electronic device. After knowing the wattage that the power supply 20 can supply, the power management module 12 manages the power management of the electronic device according to its wattage. If the electronic device 10 is connected to a power supply 2G of less than wattage, for example, the #electronic device 1 is initially set to 90 watts' but the power supply _ of the spurs is connected. At this time, the power supply module 12 is managed, and the wattage required for the internal components of the electronic device (4) is so low that the total wattage consumed by the electronic device 1G does not exceed 65 watts. In this way, it is possible to avoid damaging the electronic device. It should be noted here that the power supply detecting method of the present invention is not limited to the above-described order of steps, and the order of the above steps may be changed as long as the object of the present invention can be achieved. With the above system and method, power management can be performed instantaneously when the electronic device 1 is connected to the power supply 20 of less than wattage to avoid damage caused by overload or overheating of the electronic MU. And compared to the prior art, the power supply detection system 1 can save manufacturing costs. In summary, the present invention, regardless of its purpose, means and efficacy, is not inconspicuous with the characteristics of the prior art, so please ask the reviewing committee to inspect the patent, and the company will be granted a patent. It is to be noted that the various embodiments described above are merely illustrative for ease of explanation, and the scope of the claims of the present invention is defined by the scope of the claims, and is not limited to the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1A is an equivalent circuit diagram of a first embodiment of a prior art power supply detecting system. Figure 1B is an equivalent circuit diagram of a second embodiment of a prior art power supply detection system.
圖2A係本發明電源供應器偵測系統之第一實施例之等效 電路圖。 圖2B係本發明電源供應器偵測系統之第一實施例之調變訊 號波形圖。 圖2C係本發明電源供應器偵測系統之第一實施例之對照 表。 圖3A係本發明電源供應器偵測系統之第二實施例之等效 電路圖。 圖3B係本發明電源供應器偵測系統之第二實施例之調變訊 號波形圖。 圖3C係本發明電源供應器偵測系統之第二實施例之對照 表。 圖4係本發明電源供應器偵測方法之步驟流程圖。 【主要元件符號說明】 先前技術 12 1353511Fig. 2A is an equivalent circuit diagram of a first embodiment of the power supply detecting system of the present invention. Fig. 2B is a waveform diagram of the modulation signal of the first embodiment of the power supply detecting system of the present invention. Figure 2C is a comparison of the first embodiment of the power supply detection system of the present invention. Fig. 3A is an equivalent circuit diagram of a second embodiment of the power supply detecting system of the present invention. Fig. 3B is a diagram showing the modulation signal waveform of the second embodiment of the power supply detecting system of the present invention. Figure 3C is a comparison of a second embodiment of the power supply detection system of the present invention. 4 is a flow chart showing the steps of the power supply detecting method of the present invention. [Main component symbol description] Prior art 12 1353511
電源供應器偵測系統90 電子裝置91 電源管理模組911 電源供應器92 記憶模組921 等效電阻Rl、R2 接腳V+、V-、ID 籲本發明 電源供應器偵測系統1 電子裝置10 偵測模組11 電源管理模組12 記憶模組13 波型整型器14 φ 電源供應器20 開關模組21 訊號產生模組22 振盪電路221 驅動電路222 電源輸入端VI 接腳V+、V-Power supply detection system 90 electronic device 91 power management module 911 power supply 92 memory module 921 equivalent resistance Rl, R2 pin V+, V-, ID call power supply detection system 1 of the present invention Detection module 11 Power management module 12 Memory module 13 Wave shaping device 14 φ Power supply 20 Switch module 21 Signal generation module 22 Oscillation circuit 221 Drive circuit 222 Power input terminal VI Pins V+, V-