200845561 九、發明說明: 【發明所屬之技術領域】 :發明涉及一種風扇電路,尤其涉及—種用於控制風 扇轉速之風扇電路。 【先前技術】 *目前’電腦、電視、投影機等電子設備已廣泛應用於 ^吊,活中。其中,部分電子設備在使料程中會產生大 量熱量。如電腦中最重要之發熱源為CPU。隨著cpu處理 速度不斷提高,其產生之熱量也隨之升高。由於熱量之辦 加會衫響到CPU之穩定性’因此,目前普遍採用風扇對CPU ===:見有,風扇可以根據CPU之咖^ Ί《付在CPU南溫時,風扇以高速轉動,而在咖 低溫時,風扇以低速轉動,從而減小噪音。 習知技術中,電腦主板上一般設有一測溫晶片 7信號給風扇,並將CPU溫度之㈣反映在輸出之PWM (此e Width Modulation脈衝寬度調製)信號之占空比 上。該具有調速功能之CPU散熱風扇共有四個引腳,^ =極、接地、轉速輸出信號(FG)外,還加入一個ρ魏 仏虎輸入引腳,將主板晶片之信號傳遞至風扇主, 該風扇根據輸人PWM信號之占空比來控制風扇轉速阳 =電路中之風扇主控晶片並不能直接接收pwM信贫,往 ^先通過(數模轉換)電路,將pwM數位信號轉化 二颌比電壓#號,再由風扇主控晶片接收。 200845561 _然而’由於CPU之類型各種各樣,不同CPU之測溫晶片 輪出之PWM彳a號之線形和斜率不—樣,所需之D/A電路也 不同,當同一種風扇要適應不同cpu時,需要更改風扇電 =中之D/A電路及調整其他硬體電路,整個周邊硬體電路也 而要重新設計,增加了風扇之電路成本。 【發明内容】 有鑒於此,實有必要提供一種能適應各種pwm 號之風扇電路。 種風扇電路’用於接收脈衝寬度調製信號以控制風 扇之轉動速度,包括一雷六 帝柚、备拉 私控制早兀、一與電流控制單元 制、#且早凡及一感應風扇繞組單元之轉速之 利速早兀’該風扇電路還包 、 程控制單亓,兮叮於 < 又又々^ 4私式之可編 不佐制早兀,该可編程控制單元一 控制單元電性連接,田I、該測逮早兀及電流 ^ Γ連接用於接收該脈衝寬产咧制 單元之轉速作铗IV本4 ^ 銜見度调製^號與測速 制單元控制通過風扇繞制二號通過電流控 速度。 电机,以控制風扇之轉動 /、省知技術相比,該風屬 本’當需要更改風扇型號時可 :兮:電路的設計, 式而不需要改變風扇之硬體結構,大^Γ編程晶片之系 【實施方式】 卽約硬體成本。 如圖1所示,本發明較佳电士 包括可編程控制單元10、::方式所揭示之風扇電路 鳴制單心、風扇繞組 100 200845561 單元30及測速單元40。其中,電流控制單元20分別與可 編程控制單元10及風扇繞組單元30電性連接,測速單元 40與可編程控制單元10電性連接,並可通過感應風扇繞組 單元30之磁場而產生速度信號並將該信號反饋至可編程控 制單元10。在本實施例中,脈衝寬度調製信號(以下簡稱 PWM信號)通過其占空比之大小以表示CPU溫度高低, 並輸入至可編程控制單元10。 如圖2所示,本發明風扇電路100之可編程控制單元 10為一可更改其内部程式之微控制晶片,例如一單片機, 該可編程控制單元10包括一連接電源之電源端子VI、一 接地端子V2、一輸入PWM信號之信號端子P、一輸入測 速信號之信號端子Η、及二連接電流控制單元20之輸出端 子 Outl,Out2。 該電流控制單元20包括二場效應電晶體Q2、Q3及二 電阻R5、R6。其中,在本實施例中二場效應電晶體Q2、 Q3均為P溝道耗盡型絕緣柵場效應電晶體。該場效應電晶 體Q2之閘極與可編程控制單元10之輸出端子Outl電性連 接,其源極與一直流電源Vcc (可直接利用主板上之電源) 電性連接,其漏極與風扇繞組單元30電性相連;該場效應 電晶體Q3之閘極與可編程控制單元10之輸出端子0ut2電 性連接,其源極與該電源Vcc電性連接,其漏極與風扇繞 組單元30電性相連。電阻R5連接場效應電晶體Q2之閘極 與源極,起限制通過場效應電晶體Q2電流之作用;電阻 R6則連接場效應電晶體Q3之閘極與源極,起限制通過場 200845561 /效應電晶體Q3電流之作用。 / * 該風扇繞組單元30二線圈LI、L2,該線圈L1之一端 與場效應電晶體Q2之漏極電性連接,另一端接地;該線圈 L2之一端與場效應電晶體Q3之漏極電性連接,另一端接 地。二線圈LI、L2通過電路之控制輪流工作以產生變化之 磁場。 該測速單元40在本實施例中為一霍爾元件,放置於風 , 扇繞組單元30旁邊,通過感應風扇繞組單元30產生之磁 場產生與風扇轉速大小相對應之轉速信號,以監測風扇之 轉速並反饋至可編程控制單元10,以及通過端子FG輸至 安裝該CPU之主板。該測速單元40包括電源端子1、接地 端子2、信號端子3,其中電源端子1與一二極體D之陰極 電性連接,並通過該二極體D之陽極電性連接至該直流電 源Vcc ;接地端子2接地;信號端子3與可編程控制單元 10之端子Η電性連接。測速單元40之端子3還連接一電 ' 阻R3及一三極體Q1以將轉速信號放大輸出至主板。該端 子1與端子3之間還連接有一電阻R2,起分流作用。 該二極體D之陰極串聯一電阻R1再與該可編程控制早 元10之端子VI電性連接,其中R1起分壓作用,以使可編 程控制單元1〇獲得比電源Vcc電壓更低之工作電壓。另 外,該可編程控制單元10之端子VI還連接一電容C後接 地,該電容C起濾波作用。 當本發明風扇電路100工作時,可編程控制單元10接 8 200845561 '收PWM信號,並同時結合測速單元40輸入之風扇/當前之 -轉速信號,通過内部設定之程式輸出PWM1信號與PWM2 信號,通過電流控制單元20對通過風扇繞組單元30之電 流進行控制,調整風扇之速度以適應CPU之溫度。 在本實施例中,當CPU之溫度升高時,輸入之PWM 信號之占空比增大,與測速單元40之轉速信號一併經可編 程控制單元10處理後,分別從可編程控制單元10之輸出 端子Outl、Out2交替輸出之PWM1信號與PWM2信號之 占空比也增大,其中當輸出端子Outl之輸出PWM1信號時 輸出端子0ut2之輸出保持為南電平信號,經電流控制早元 20之場效應電晶體Q2、Q3作用後通過線圈L1之增大之電 流’並且沒有電流通過線圈L2 ’此時線圈L1控制風扇轉 動;當可編程控制單元10之輸出端子Outl之輸出保持為 高電信號,輸出端子0ut2之輸出電壓為PWM2信號時,經 電流控制單元20之場效應電晶體Q2、Q3作用後沒有電流 通過線圈L1,而通過線圈L2之電流增大,此時線圈L2控 制風扇轉動。因此,當可編程控制單元10之輸出端子 Outl、0ut2交替輸出之PWM1信號與PWM2信號之占空比 增大時,通過整個風扇繞組單元30之電流也增大,其產生 之磁場強度增大,最後風扇之轉速得以提高。反之,當CPU 溫度降低時,本發明風扇電路100可將風扇之轉速降低, 使風扇之轉速可以根據CPU之實際溫度進行調節,減少風 扇之噪音。200845561 IX. Description of the Invention: [Technical Field] The invention relates to a fan circuit, and more particularly to a fan circuit for controlling the fan speed. [Prior Art] *At present, electronic devices such as computers, televisions, and projectors have been widely used in hanging and living. Among them, some electronic devices generate a large amount of heat in the process. For example, the most important source of heat in a computer is the CPU. As the cpu processing speed continues to increase, the amount of heat it generates increases. Because of the heat, the shirt will ring to the stability of the CPU. Therefore, the fan is usually used for the CPU ===: See, the fan can be based on the CPU's coffee. Ί "When the CPU is warmed at the south temperature, the fan rotates at a high speed. When the coffee is cold, the fan rotates at a low speed to reduce noise. In the prior art, a temperature measuring chip 7 signal is generally provided on the computer motherboard, and the CPU temperature (4) is reflected on the duty ratio of the output PWM (this e Width Modulation pulse width modulation) signal. The CPU cooling fan with speed regulation function has four pins, ^=pole, grounding, and speed output signal (FG), and also adds a ρ Weihuo input pin to transmit the signal of the motherboard chip to the fan master. The fan controls the fan speed according to the duty ratio of the input PWM signal. The fan master chip in the circuit can not directly receive the pwM signal poor, and the first pass (digital-to-analog conversion) circuit converts the pwM digital signal into two jaws. The voltage is ##, which is then received by the fan master chip. 200845561 _However, due to the variety of CPU types, the linearity and slope of the PWM 彳a number of different CPU temperature measurement chips are different, the required D/A circuit is different, when the same fan is adapted to different In the case of cpu, it is necessary to change the D/A circuit of the fan power = medium and adjust other hardware circuits, and the entire peripheral hardware circuit is also redesigned, which increases the circuit cost of the fan. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a fan circuit that can accommodate various pwm numbers. The fan circuit 'is used for receiving the pulse width modulation signal to control the rotational speed of the fan, including a Lei Liudi pomelo, a remote control, an electric current control unit, an early and an induction fan winding unit. The speed of the speed is earlier than the 'the fan circuit is also packaged, the control unit is single, and it is & 又 又 4 4 4 4 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 私 可编程 可编程 可编程 可编程 可编程, Tian I, the test catch early and the current ^ Γ connection is used to receive the pulse of the pulse wide production unit of the speed of the IV 本 IV 4 ^ visibility modulation ^ number and speed measurement unit control through the fan winding No. 2 Speed controlled by current. The motor, in order to control the rotation of the fan / compared with the known technology, the wind belongs to this 'when the fan model needs to be changed: 兮: circuit design, without changing the hardware structure of the fan, The system [embodiment] is about the hardware cost. As shown in FIG. 1, the preferred electric vehicle of the present invention comprises a programmable control unit 10, a fan circuit disclosed by the method: a single core, a fan winding 100 200845561 unit 30 and a speed measuring unit 40. The current control unit 20 is electrically connected to the programmable control unit 10 and the fan winding unit 30, and the speed measuring unit 40 is electrically connected to the programmable control unit 10, and can generate a speed signal by inducing a magnetic field of the fan winding unit 30. This signal is fed back to the programmable control unit 10. In the present embodiment, the pulse width modulation signal (hereinafter referred to as the PWM signal) indicates the CPU temperature level by the magnitude of its duty ratio, and is input to the programmable control unit 10. As shown in FIG. 2, the programmable control unit 10 of the fan circuit 100 of the present invention is a micro control chip capable of changing its internal program, such as a single chip microcomputer. The programmable control unit 10 includes a power supply terminal VI connected to a power supply, and a grounding. The terminal V2, the signal terminal P of the input PWM signal, the signal terminal 输入 of the input speed measurement signal, and the output terminals Outl, Out2 of the two connection current control unit 20. The current control unit 20 includes two field effect transistors Q2, Q3 and two resistors R5, R6. In the present embodiment, the two field effect transistors Q2 and Q3 are both P-channel depletion type insulated gate field effect transistors. The gate of the field effect transistor Q2 is electrically connected to the output terminal Out1 of the programmable control unit 10, and the source thereof is electrically connected to the DC power supply Vcc (which can directly utilize the power supply on the main board), and the drain and the fan winding thereof The unit 30 is electrically connected; the gate of the field effect transistor Q3 is electrically connected to the output terminal OUT2 of the programmable control unit 10, the source thereof is electrically connected to the power source Vcc, and the drain and the fan winding unit 30 are electrically connected. Connected. The resistor R5 is connected to the gate and the source of the field effect transistor Q2 to limit the current through the field effect transistor Q2; the resistor R6 is connected to the gate and source of the field effect transistor Q3, and the limiting pass field is 200845561 / effect The role of transistor Q3 current. / * The fan winding unit 30 has two coils LI, L2, one end of the coil L1 is electrically connected to the drain of the field effect transistor Q2, and the other end is grounded; one end of the coil L2 is electrically connected to the drain of the field effect transistor Q3 Sexual connection, grounded at the other end. The two coils LI, L2 operate in turn through the control of the circuit to produce a varying magnetic field. The speed measuring unit 40 is a Hall element in the present embodiment, placed in the wind, next to the fan winding unit 30, and generates a rotational speed signal corresponding to the size of the fan by sensing the magnetic field generated by the fan winding unit 30 to monitor the rotational speed of the fan. And feedback to the programmable control unit 10, and through the terminal FG to the motherboard on which the CPU is mounted. The speed measuring unit 40 includes a power terminal 1, a ground terminal 2, and a signal terminal 3. The power terminal 1 is electrically connected to the cathode of the diode D, and is electrically connected to the DC power source Vcc through the anode of the diode D. The ground terminal 2 is grounded; the signal terminal 3 is electrically connected to the terminal of the programmable control unit 10. The terminal 3 of the speed measuring unit 40 is further connected with an electric resistor R3 and a triode Q1 to amplify and output the speed signal to the main board. A resistor R2 is further connected between the terminal 1 and the terminal 3 to function as a shunt. The cathode of the diode D is connected in series with a resistor R1 and electrically connected to the terminal VI of the programmable control element 10, wherein R1 acts as a voltage divider to enable the programmable control unit 1 to obtain a lower voltage than the power supply Vcc. Operating Voltage. In addition, the terminal VI of the programmable control unit 10 is also connected to a capacitor C and grounded, and the capacitor C acts as a filter. When the fan circuit 100 of the present invention is in operation, the programmable control unit 10 receives the PWM signal from 8 200845561 and combines the fan/current-speed signal input by the speed measuring unit 40 to output the PWM1 signal and the PWM2 signal through an internal setting program. The current through the fan winding unit 30 is controlled by the current control unit 20 to adjust the speed of the fan to accommodate the temperature of the CPU. In this embodiment, when the temperature of the CPU increases, the duty ratio of the input PWM signal increases, and after being processed by the programmable control unit 10 together with the speed signal of the speed measuring unit 40, respectively, from the programmable control unit 10 The duty ratios of the PWM1 signal and the PWM2 signal outputted by the output terminals Outl and Out2 are also increased, wherein the output of the output terminal 0ut2 is maintained as a south level signal when the output terminal Out1 outputs the PWM1 signal, and the current control is 20 The field effect transistor Q2, Q3 acts after the increased current through the coil L1 'and no current flows through the coil L2 ' at this time the coil L1 controls the fan rotation; when the output of the output terminal Outl of the programmable control unit 10 remains high When the output voltage of the output terminal OUT2 is the PWM2 signal, no current flows through the coil L1 after the field effect transistors Q2 and Q3 of the current control unit 20 act, and the current through the coil L2 increases, and the coil L2 controls the fan rotation. . Therefore, when the duty ratios of the PWM1 signal and the PWM2 signal alternately outputted by the output terminals Out1 and OUT2 of the programmable control unit 10 increase, the current passing through the entire fan winding unit 30 also increases, and the magnetic field strength thereof increases. Finally, the speed of the fan is increased. On the contrary, when the CPU temperature is lowered, the fan circuit 100 of the present invention can reduce the rotation speed of the fan, so that the rotation speed of the fan can be adjusted according to the actual temperature of the CPU to reduce the noise of the fan.
當需要將風扇用於不同類型CPU時,由於不同類型CPU 9 200845561 之測溫晶片輸出之P WM信號之占空比之線形和斜率不一 樣,在本發明風扇電路中只需要將可編程控制單元10之内 部程式更改成可以適應新之PWM信號之程式即可,益需更 改^體’使風扇電路之設計、製造更加規範統-,適合大 ^里另外’本發明通過可編程控制單元ig直接接收 本相對f知技術節省了 D/A電路,降低了硬體成 利申It:述’本發明符合發明專利要件,爱依法提出專 熟I:案:蓺僅為本發明之較—^ 或變化,皆應:蓋於以精神所作之等效修飾 【圖式簡單說明】 申Μ專利範圍内。 明風扇電路之結構連接框圖。 【主=本發明風扇電路之實施電路圖。 L主要兀件符號說明】 口 風扇電路 龟流控制單元2〇 測速單元 40 電阻 二極 —-· 線圈 R1 Q1 D L1 R2 可編程控制單元 風扇繞組單元 電源R3、R4、R5、R6 場效應電晶體 電容When the fan needs to be used for different types of CPUs, since the duty cycle of the P WM signal of the temperature measurement chip output of different types of CPU 9 200845561 is different, the programmable control unit is only required in the fan circuit of the present invention. The internal program of 10 can be changed to a program that can adapt to the new PWM signal. It is necessary to change the body to make the design and manufacture of the fan circuit more standardized. It is suitable for the big ^li. The invention is directly implemented by the programmable control unit ig. Receiving the relative F-knowledge technology saves the D/A circuit and reduces the hardware. It describes that the invention complies with the invention patent requirements, and loves to raise the expertise in accordance with the law: the case: 蓺 is only the comparison of the present invention - or Changes should be: cover the equivalent of the spirit of the modification [simplified description of the schema] within the scope of the application. Block diagram of the structure of the bright fan circuit. [Main = circuit diagram of the implementation of the fan circuit of the present invention. L main component symbol description] Port fan circuit turtle flow control unit 2 〇 speed measuring unit 40 resistance diode --- coil R1 Q1 D L1 R2 programmable control unit fan winding unit power supply R3, R4, R5, R6 field effect transistor capacitance
10 30 Vcc Q2、Q3 C L2 1010 30 Vcc Q2, Q3 C L2 10