1355137 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種設定風扇轉速的方法,特別.是一種 控制晶片利用至少一震盪組件設定頻率的範圍之利用RC 頻率設定風扇轉速的方法。 【先前技術】1355137 IX. INSTRUCTIONS: FIELD OF THE INVENTION The present invention relates to a method of setting a fan speed, and more particularly to a method of controlling a fan speed by using an RC frequency in a range in which a wafer is set with a frequency of at least one oscillating component. [Prior Art]
按,現今資訊科技日新月異的進步,俾電子裝置(如: 電腦)被賦予更多的功能以提升使用價值,而由於增加的功 月<=*使得需在一定容積的系統内增加更多元件或零件,而 j之元件或零件於系、_ ’不僅會增加密度更亦使熱 量密度提升,因此,需要使賤絲置來幫祕散熱,而 一般最常使用的以風扇為首選。 grated Circut,簡稱 1C) 習知之風扇控制晶片(Intei 轉速之方法,其包括下列步驟: 令控制晶片内預先設定轉速的範圍;According to the ever-changing advancement of information technology, electronic devices (such as computers) are given more functions to enhance the use value, and because of the increased power month <=*, more components need to be added in a certain volume system. Or parts, and the components or parts of j, _ ' not only increase the density but also increase the heat density, therefore, the need to make the silk to help cool, and the most commonly used fan is preferred. Grated Circut, abbreviated 1C) A conventional fan control chip (Intei speed method) comprising the following steps: controlling the range of preset speeds in the wafer;
由外部的-電阻分壓電路奴電壓,並產生—電壓訊 达至該控制晶片; $ 該控制晶片依_輕訊餘觀扇運轉。 當調整風扇轉速時,需先在_片内設定好 圍’並由外部的電阻分壓電路來設定電壓,並產 ,使馳^依據電= ’俾可達到設定風扇轉速的目的;其中 ;=電壓範圍有—定的限制,例如:若電壓 的轉速^频3_軸频,社述兩者電壓 1355137 則相差1.6伏特,此時將電壓14伏特至電壓3伏特間分 為128 p皆表不的話,可知每一階的電愿相差5毫伏特, 則經由計算128階乘於12· 5毫伏特恰好等於1. 6伏特’因 此經上述可得電壓範圍内必須分割成許多的階層,並電壓 知圍過小料受到干擾’且電壓朗不可敎,以致於造 成許多限制。 、 然而’根據以上所述習知之風扇控制晶片轉速之方法 具有下例三項缺點: 1. 必須在控·片内部先設定轉速的翻,且不可以隨意 調整,造成操作上受到限制。 〜 2. 電|範圍過小容易受到干擾。 3. 轉速範圍亦受到限制。 是以,要如何解決上述制之_與缺失,即為本案 人触觀行業之相_朗缝研纽善之方向 所在者。 【發明内容】 爰此,為解決上述習知技術之缺點,本發明之主要目 me頻率設定風扇轉速的方法,其 ^用至广震盧組件設定頻率的範圍,以達到設定風扇轉 為達上述目的,本發明提供一種利用此頻率 =方法,由一控制晶片利用至少一震麗組件設定頻; ^圍,該震魏件設有至少—電阻元件及至少一電容= ,該方法包括:首先,前述電阻元件與該電容树做頻率 1355137 訊號轉換成一方波訊號; (203) 令一脈衝取樣器220接收方波訊號’並判斷前述方波 訊號之頻率是否低於該控制晶片1之頻率,·若是,則 繼續步驟(204);否則,繼續步驟(207); (204) 5玄脈衝取樣益220接收由一高速時鐘器30產生的一 倍頻訊號對前述方波訊號做倍頻運算處理後,產生一 脈衝訊號傳送至一乘法器230(multiplier); (205) 使該乘法器230將該脈衝訊號換算為轉速設定之頻 率’並產生一控制訊號傳送至一控制單元70(c〇ntr〇1 unit); (206) 該控制單元70根據前述控制訊號控制風扇(圖中未 示)運轉; (207) 該脈衝取樣器220將前述方波訊號直接傳送至該乘 法器230 ; (208) 使該乘法器23〇將接收的方波訊號換算為轉速設定 之頻率後’產生一另一控制訊號傳送至該控制單元 70 ; (209) 該控鮮元7Q依騎述另-控制職控制風扇(圖 中未示)運轉; (210) 結束。 =上所述中,本發明係彻電阻元件R與電容元件C使設 的轉速範圍較廣且可隨意調整,並在轉速設定時則與電 〔H在本㈣實際施作時,將電容元件G與電阻元件 〃 固疋’未被固定的元件則可依需求做更換(插The external-resistor voltage divider circuit slave voltage and generates a voltage signal to the control chip; $ The control chip operates according to the _flash. When adjusting the fan speed, it is necessary to set the circumference in the _chip and set the voltage by the external resistor divider circuit, and produce the same, so that the motor can be set according to the electric = '俾 can achieve the purpose of setting the fan speed; = The voltage range has a certain limit. For example, if the voltage of the voltage is 3 frequency, the voltage of the 1355137 is 1.6 volts. At this time, the voltage is 14 volts to 3 volts. If not, it can be seen that the power of each order differs by 5 millivolts, and the calculation of 128 times is multiplied by 12. 5 millivolts, which is exactly equal to 1.6 volts. Therefore, the above-mentioned available voltage range must be divided into many levels, and The voltage knows that the small material is disturbed' and the voltage is so unfavorable that it causes many restrictions. However, the method of controlling the wafer rotation speed according to the above-mentioned conventional fan has the following three disadvantages: 1. The rotation speed must be set first in the control sheet, and it is not allowed to be adjusted at will, resulting in limited operation. ~ 2. Electricity | The range is too small to be disturbed. 3. The speed range is also limited. Therefore, how to solve the above-mentioned system's _ and lack of, that is, the case of the case of the case, the direction of the industry. SUMMARY OF THE INVENTION Accordingly, in order to solve the above-mentioned shortcomings of the prior art, the method for setting the fan rotational speed of the main target frequency of the present invention is to use the range of the set frequency of the Guangzheng Lu component to achieve the setting of the fan turn to the above The present invention provides a method for using the frequency=method to set a frequency by a control chip using at least one of the stimuli components. The oscillating member is provided with at least a resistive component and at least one capacitor =, the method comprising: first, The resistor element and the capacitor tree are converted into a one-wave signal by a frequency of 1355137; (203) a pulse sampler 220 receives the square wave signal 'and determines whether the frequency of the square wave signal is lower than the frequency of the control chip 1 If yes, proceed to step (204); otherwise, continue to step (207); (204) 5 Xuan pulse sampling benefit 220 receives a frequency signal generated by a high speed clock 30 to perform frequency multiplication processing on the square wave signal Generating a pulse signal to a multiplier 230; (205) causing the multiplier 230 to convert the pulse signal to a frequency set by the speed setting and generating a control signal to transmit to the Control unit 70 (c〇ntr〇1 unit); (206) the control unit 70 controls the fan (not shown) to operate according to the control signal; (207) the pulse sampler 220 transmits the square wave signal directly to the a multiplier 230; (208) causing the multiplier 23 to convert the received square wave signal to the frequency of the rotational speed setting, and then generate a further control signal to the control unit 70; (209) the control element 7Q Said - control control fan (not shown) is running; (210) is over. In the above description, the present invention is provided with a wide range of rotational speeds of the resistive element R and the capacitive element C, and can be freely adjusted, and when the rotational speed is set, the electrical component [H is used in the actual application of the fourth (4). G and the resistance element 〃 固 'The unfixed component can be replaced as required (plug
S 8 1355137 剞述控制訊號或另一控制訊號。 4參閱第卜3圖所示’前述控制晶片1更包含-輸入 訊號檢測單元4G、—霍_檢測單元5G及-驅動單元60, 前述輸入訊號檢測單元4〇係分別跟前述高速時鐘器3〇與 該控制單το 7G紐連接,職目制單元5Q及該驅動單 凡60分別耦接至前述控制單元7〇 ;前述輸入訊號檢測單 凡40具有一輸入端ΙΝΡϋτ,前述輸入端ΙΝρυτ係用以接收 脈寬調變(Pulse Width Modulation,以下簡稱PWM)訊號 或類比訊號(AnalogSignal),並分別傳送至前述高速時鐘 器30與前述控制單元7〇 ;在本最佳實施係以pwM訊號說 明表示;前述霍爾檢測單元5〇之具有一第一、二端H+、 H-,用以接收一霍爾元件(圖中未示)感應風扇相位變化的 訊號做檢測後,再傳送至該控制單元7〇 ;前述驅動單元6〇 具有一第三 '四端0UT1、0UT2,用以接收前述控制單元7〇 傳送的一新的PWM訊號或另一新的PWM訊號,以控制風扇 的運轉® 復參閱圖3所示,在本實施之應用電路圖中係以三個 震盪組件說明表示,惟,在本發明實際實施時,並不侷限 於三個震靈組件,亦可搭配轉速設定的範圍增加震盪組件 的數量,如四個、五個、六個…等震盪組件,合先陳明; 當風扇轉速進行設定時’首先固定電容元件C電容值並更 換所需要的電阻元件r之電阻值’或者固定電阻元件r之 電阻值並更換所需要的電容元件C之電容值,完成頻率的 設定後’並產生三角波訊號傳送至該時脈產生器210,使 10 1355137 前述時脈產生器2i〇將接收的三角波訊號轉換成前述方波 訊號後’再傳送給予該脈衝取樣器220,使得該脈衝取樣 器220判斷接收的前述方波訊號之頻率有低於前述控制晶 片1之頻率’則該脈衝取樣器220依據接收到前述高速時 鐘器30之倍頻訊號對方波訊號做倍頻運算處理後,以產生 刖述脈衝訊號’使得該乘法器230將接收到的脈衝訊號換 算為轉速設定之頻率後,產生前述控制訊號傳送至該控制 單元70。 • 此時’該控制單元70分別接收到前述控制訊號與前述 輸入訊號檢測單元傳送之P醫訊號,則其將依照前述控制 訊號對前述PWM訊號做設定調整運算處理後,產生前述新 . ❸PWM訊號’再傳送至該驅動單元60,使得前述驅動單元 60依據新的P醫訊號控制風扇的運轉,以達到可設定風扇 的轉速。 另者’若前述脈衝取樣器22〇判斷接收的方波訊號等 • 於或高於馳制⑼1之鮮時,使繼衝取樣H 220直 接將方波訊號傳送至該乘法器23G,使該乘法器23〇將接 收的方波訊號換算為轉速設定之頻率後,產生前述另一控 制訊號,並傳送至該控制單元7〇,此時,前述控制單元^ 分別接收到前述另-控制訊號與前述輸入訊號檢測單元傳 送之PWM訊號’則其將依照前述另—控制訊號對前述_ 訊號做設定調整運算處理後,產生前述另一新的訊 號,再傳送至該驅動單元60,使得前述驅動單元6〇依據 另一新的酬訊號控制風扇的運轉,以達到可設定風扇的 1355137 轉速。 藉由上述之結構、組成設計,以下本發明舉一範例作 說明如下: 單相4極無刷式風扇的轉速若為3600RPM,其頻率可 依下列公式可得知: «,=>36。嶋職 依上述可知計算出的頻率麵z,若低於風扇之控制晶片 的頻率’如前述控制晶片的醉假設為20GHz,則需對計 算出的頻率120Hz做倍頻運算處理,此範例係下以8 處理: 120x8 = 960历 因此,最後經倍頻處理後得到的頻率為%〇Ηζ。 請參閱第4a、4b、4c、4d圖係為本發明之一舉例說明 之曲線圖,如圖中若RC震盪迴路所產生的震盈頻率與控制 晶片頻率的比較次數為16/28(如第4a、4b、4d圖),依上 述數據可準確計算出轉速設定的頻率(如第4c圖)。 請參閱第5a、5b、5c、5d圖係為本發明之另—舉例說 明之曲線圖’如圖巾若RG錢迴路職找紐頻率與控 制晶片頻率的比較次數為7/28(如第5a、5b、5d圖),依 上述數據可準確計算出轉速設定的頻率(如第5c圖)。 紅上所述,本發明之利用RC頻率設定風扇轉速的方 法,具有下三項優點: L利用該震盪組件可設定的轉速範圍較廣,且亦可隨意調 12 2. 該震盪組件具有抗雜訊能力強。 3. 風扇轉速設定係可·公式計算而得,翻簡化設計過 程。 本發明未見公開及使用,亦符合發明專利要件,爰依 法提出申請,謹請賜准專利,是所至盼。 需陳明者,以上所述僅為本案之較佳實施例,前述之 • *步驟不代表實施順序,且並非用以限制本發明,若依本 發明之構想所作之改變,在不脫離本發明精神範圍内,對 於各種變化,修飾與應用,所產生等效作用,均應包含於 本案之權利範圍内,合予陳明。 【圖式簡單說明】 第1圖係本發明之電路方塊示意圖; 第2圖係本發明之主要流程示意圖; _ 第3圖係本發明之應用電路示意圖; 第4a圖係本發明之系統頻率之波形曲線圖; 第4b圖係本發明之頻率慢之波形曲線圖; 第4c圖係本發明之轉速設定的頻率之波形曲線圖; 第4d圖係本發明之轉速計算之曲線示意圖; 第5a圖係本發明之系統頻率之波形曲線圖; 第5b圖係本發明之頻率快之波形曲線圖; 第5c圖係本發明之轉速設定的頻率之波形曲線圖;及 第5d圖係本發明之轉速計算之曲線示意圖。 13 1355137S 8 1355137 repeats the control signal or another control signal. 4, as shown in FIG. 3, the control chip 1 further includes an input signal detecting unit 4G, a detecting unit 5G and a driving unit 60, and the input signal detecting unit 4 is respectively associated with the high-speed clock. Connected to the control unit το 7G, the job unit 5Q and the driver unit 60 are respectively coupled to the control unit 7〇; the input signal detection unit 40 has an input terminal ΙΝΡϋτ, and the input terminal ΙΝρυτ is used for Receiving a Pulse Width Modulation (PWM) signal or an analog signal (AnalogSignal), and transmitting to the high-speed clock 30 and the foregoing control unit 7 respectively; in the preferred embodiment, the pwM signal description is used; The Hall detecting unit 5 has a first end and a second end H+, H- for receiving a signal of a Hall element (not shown) to induce a phase change of the fan, and then transmitting the signal to the control unit 7 The driving unit 6〇 has a third 'four-terminal OUT1, OUT2 for receiving a new PWM signal or another new PWM signal transmitted by the control unit 7 to control the operation of the fan. Referring to FIG. 3, in the application circuit diagram of the present embodiment, three oscillator components are illustrated. However, in the actual implementation of the present invention, it is not limited to three shock components, and the range of the speed setting may be used to increase the oscillation. The number of components, such as four, five, six, etc., oscillating components, first and foremost; when the fan speed is set, 'first fix the capacitive component C capacitance value and replace the required resistance component r resistance value' or Fixing the resistance value of the resistance element r and replacing the capacitance value of the required capacitance element C, after completing the frequency setting, and generating a triangular wave signal to be transmitted to the clock generator 210, so that the clock generator 2i〇 will receive the 10 1355137 The triangular wave signal is converted into the square wave signal, and then transmitted to the pulse sampler 220, so that the pulse sampler 220 determines that the frequency of the received square wave signal is lower than the frequency of the control chip 1, then the pulse sampler The 220 is subjected to a frequency multiplication operation according to the frequency-multiplied signal of the multi-frequency signal received by the high-speed clock device 30 to generate a description pulse signal 'to make the multiplication method After the received pulse signal is converted to the frequency set by the rotational speed, the controller 230 generates the control signal and transmits the control signal to the control unit 70. • At this time, the control unit 70 receives the control signal and the P medical signal transmitted by the input signal detecting unit respectively, and then performs a setting adjustment operation on the PWM signal according to the control signal to generate the new PWM signal. 'Re-transferred to the driving unit 60, so that the driving unit 60 controls the operation of the fan according to the new P medical signal to achieve the settable rotational speed of the fan. In the other case, if the pulse sampler 22 determines that the received square wave signal or the like is at or above the speed of the chic (9) 1, the relay sampling H 220 directly transmits the square wave signal to the multiplier 23G, so that the multiplication is performed. The controller 23 converts the received square wave signal into the frequency set by the rotation speed, generates the other control signal, and transmits the other control signal to the control unit 7A. At this time, the control unit ^ receives the foregoing other control signal and the foregoing The PWM signal transmitted by the input signal detecting unit will be subjected to the setting adjustment operation processing on the aforementioned signal according to the above-mentioned other control signal, and then generate another new signal, and then transmitted to the driving unit 60, so that the driving unit 6 is provided.控制 Control the operation of the fan according to another new reward number to achieve the 1355137 speed of the fan. With the above structure and composition design, the following description of the present invention is as follows: If the rotational speed of the single-phase 4-pole brushless fan is 3600 RPM, the frequency can be known by the following formula: «, => 36. According to the above, the frequency plane z calculated by the above is lower than the frequency of the control chip of the fan. If the drunk of the control chip is assumed to be 20 GHz, the frequency calculation should be performed on the calculated frequency of 120 Hz. Processing with 8: 120x8 = 960 calendar Therefore, the frequency obtained after the last multiplication processing is %〇Ηζ. Please refer to the figures 4a, 4b, 4c, and 4d as a graph illustrating an example of the present invention. If the amplitude of the amplitude of the amplitude generated by the RC oscillation circuit and the control wafer frequency is 16/28 (such as 4a, 4b, 4d)), according to the above data, the frequency of the speed setting can be accurately calculated (as shown in Fig. 4c). Please refer to Figures 5a, 5b, 5c, and 5d for the other part of the present invention. The graph of the figure is as follows: If the RG money loop search frequency and the control chip frequency are compared, the number of comparisons is 7/28 (such as 5a). , 5b, 5d)), according to the above data can accurately calculate the frequency of the speed setting (as shown in Figure 5c). According to the red method, the method for setting the fan speed by using the RC frequency has the following three advantages: L The oscillating component can be set with a wide range of speeds, and can also be adjusted 12 at will. 2. The oscillating component has anti-aliasing Strong ability. 3. The fan speed setting can be calculated by the formula and the simplified design process can be simplified. The invention has not been disclosed and used, and is also in conformity with the requirements of the invention patents, and the application is filed according to the law, and it is desirable to grant a patent. It is to be understood that the above description is only a preferred embodiment of the present invention, and the foregoing steps are not representative of the order of implementation, and are not intended to limit the present invention, and the present invention may be modified without departing from the invention. Within the scope of the spirit, the equivalent effects of various changes, modifications and applications shall be included in the scope of the rights of this case and shall be combined with Chen Ming. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a circuit diagram of the present invention; FIG. 2 is a schematic diagram of a main flow of the present invention; _ 3 is a schematic diagram of an application circuit of the present invention; and FIG. 4a is a system frequency of the present invention FIG. 4b is a waveform diagram of the frequency of the present invention; FIG. 4c is a waveform diagram of the frequency set by the rotational speed of the present invention; FIG. 4d is a schematic diagram of the rotational speed calculation of the present invention; Figure 5B is a waveform diagram of the frequency of the present invention; Figure 5c is a waveform diagram of the frequency set by the rotational speed of the present invention; and Figure 5d is the rotational speed of the present invention. A schematic diagram of the calculation. 13 1355137
【主要元件符號說明】 控制晶片 …1 震盪組件 …10 轉速設定單元 …20 時脈產生器 …210 脈衝取樣器 …220 乘法器 …230 高速時鐘器 …30 輸入訊號檢測單元 ·*· 40 霍爾檢測單元 ...50[Main component symbol description] Control chip...1 Oscillation component...10 Speed setting unit...20 Clock generator...210 Pulse sampler...220 Multiplier...230 High-speed clock...30 Input signal detection unit·*· 40 Hall detection Unit...50
驅動單元 … 60 控制單元 … 70 電阻元件 … R 電容元件 … C 參考電壓 … Vref 接地端 … GND 第一、二端… H+、H- 第三、四端… OUT1 ' OUT2 輸入端 … INPUTDrive unit ... 60 Control unit ... 70 Resistor element ... R Capacitance element ... C Reference voltage ... Vref Ground terminal ... GND First and second ends... H+, H- Third, four-terminal... OUT1 ' OUT2 Input ... INPUT
< S ) 14< S ) 14