LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-27-2007, 03:53 PM   #1
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Rep: Reputation: 17
chassis fan speed control (case fan)


I have two desktop machines running pclos 2007 (2.6.18.8). Both have a chassis fan and it is running full speed making a lot of noise.
How can I configure the system to control the speed of the fan (i.e. slow it down so it's not noisy)

Machine 1: white box w/ MB Asus P5GC-MX, Celeron D, Intel 945 chipset
Machine 2: emachines T3302, AMD 3300+ , VIA chipset

Both machines are pretty basic, use on-board sound, video, 1GB ram, 1 HD, 1 DVD-CD/RW

Thanks
 
Old 11-27-2007, 04:46 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
easiest way is to replace the fans with fans that have built in controls. Antec makes a series of such fans.

Harder way is to obtain 3rd party fan speed controllers and wire them in.

Hardest way is to make your own fan speed controller. You need a square-wave oscillator with frequency of a couple hundred hertz (best if tunable; you should match it to the fan motor), a mosfet (or power darlington, but mosfet'd be better), and associated components.

Actually, as I looked into this a bit it would appear that most commercial speed controllers for computer fans are not using pulse width modulation controllers. That kind of surprises me because PWM gives full torque while modulating RPM. The commercial devices I see are varying voltage to the motor. The best choice I see is one that uses a variable voltage regulator to control the voltage to the fan. The simplest I see connects the fan between the power supply 12V line and the 5V line (rather than between 12V and ground), giving a net voltage of 7V to the fan. This would work just fine, but isn't adjustable.

Wrong way is to use a potentiometer. At least one controller I saw takes this route.

Last edited by jiml8; 11-27-2007 at 05:04 PM.
 
Old 11-27-2007, 05:20 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
A lot of motherboard have places on them to plug in fans. You usually can adjust the fan speed via the bios. A lot of times you can tie it to the temperature of something on the motherboard. Just make sure you are not drawing more power than the motherboard can provide.

Good Luck
Lazlow
 
Old 11-29-2007, 07:28 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by jiml8 View Post
easiest way is to replace the fans with fans that have built in controls. Antec makes a series of such fans.

Harder way is to obtain 3rd party fan speed controllers and wire them in.

Hardest way is to make your own fan speed controller. You need a square-wave oscillator with frequency of a couple hundred hertz (best if tunable; you should match it to the fan motor), a mosfet (or power darlington, but mosfet'd be better), and associated components.

Actually, as I looked into this a bit it would appear that most commercial speed controllers for computer fans are not using pulse width modulation controllers. That kind of surprises me because PWM gives full torque while modulating RPM. The commercial devices I see are varying voltage to the motor. The best choice I see is one that uses a variable voltage regulator to control the voltage to the fan. The simplest I see connects the fan between the power supply 12V line and the 5V line (rather than between 12V and ground), giving a net voltage of 7V to the fan. This would work just fine, but isn't adjustable.

Wrong way is to use a potentiometer. At least one controller I saw takes this route.
Man of my own heart!

Most of the devices that you will find are using the technique because of cost. And are not engineered properly. Sure PWM would be the way to go but not the simplest for the lay person.

You have to remember that most of these are just 'hacks'. I've gotten several deals from shops that put fans in their junkbox because of the 'pot' technique. Just redesign the interface and use it in one of my many personal systems.

Heck the fan is worth more that the buck/two that is charged. Sure my time is worth more but I don't have to pay the premium price for a well designed system. My charges are mine! Plus all the fun.
 
Old 11-29-2007, 07:39 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by wastingtime View Post
I have two desktop machines running pclos 2007 (2.6.18.8). Both have a chassis fan and it is running full speed making a lot of noise.
How can I configure the system to control the speed of the fan (i.e. slow it down so it's not noisy)

Machine 1: white box w/ MB Asus P5GC-MX, Celeron D, Intel 945 chipset
Machine 2: emachines T3302, AMD 3300+ , VIA chipset

Both machines are pretty basic, use on-board sound, video, 1GB ram, 1 HD, 1 DVD-CD/RW

Thanks
You will need to know the motherboards specifications. If the MB supports a chassis fan then that is one route but be sure the MB can support the fan specifications.

Google shows that the 'Asus P5GC-MX' supports a chassis fan. You can look further since I don't know the fan specs.

For the emachine, you need the motherboard manufacture not just the chipset.

I personally would prefer a separate fan controller for the chassis fans instead of the MB controller. Sure you won't know the fan speed via a system monitor but you won't load the MB controller with a potential error or damage if the match is not correct.

There are some good engineered fan speed controllers with active monitors but expect to pay some $$. The cheap 'hacks are not the way to go if you value your systems and time.
 
Old 11-29-2007, 09:34 AM   #6
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Original Poster
Rep: Reputation: 17
I found the spec for P5GC-MX here
http://dlsvr03.asus.com/pub/ASUS/mb/...mx_content.zip

on page 2-30 it says:

CPU Fan Speed [xxxxRPM] or [N/A] or [Ignored]
The onboard hardware monitor automatically detects and displays the CPU
fan speed in rotations per minute (RPM). If the fan is not connected to the
motherboard, the field shows N/A.
Configuration options: [Ignored] [xxxRPM]

The fan has 3-pin connector that matches the MB 3-pin connector and is connected to the MB
Yet, the bios shows [N/A] ?
 
Old 11-29-2007, 08:51 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by wastingtime View Post
I found the spec for P5GC-MX here
http://dlsvr03.asus.com/pub/ASUS/mb/...mx_content.zip

on page 2-30 it says:

CPU Fan Speed [xxxxRPM] or [N/A] or [Ignored]
The onboard hardware monitor automatically detects and displays the CPU
fan speed in rotations per minute (RPM). If the fan is not connected to the
motherboard, the field shows N/A.
Configuration options: [Ignored] [xxxRPM]

The fan has 3-pin connector that matches the MB 3-pin connector and is connected to the MB
Yet, the bios shows [N/A] ?
The 3-pin connector is keyed. Is connector inserted properly? Is that fan rotating? If the chassis fan has drawn to much current then the possibility of damage to the control circuit.

I prefer off board fan controllers for that very reason. I don't need feedback for a chassis fan. Just strobe blade and measure the current to set the speed.
 
Old 11-29-2007, 09:38 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Some of the three pin connectors only have two wires going to the fan. If this is the case, the fan is not reporting back it's rpm.
 
Old 11-30-2007, 08:30 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by jiml8 View Post
easiest way is to replace the fans with fans that have built in controls. Antec makes a series of such fans.

Harder way is to obtain 3rd party fan speed controllers and wire them in.

Hardest way is to make your own fan speed controller. You need a square-wave oscillator with frequency of a couple hundred hertz (best if tunable; you should match it to the fan motor), a mosfet (or power darlington, but mosfet'd be better), and associated components.

Actually, as I looked into this a bit it would appear that most commercial speed controllers for computer fans are not using pulse width modulation controllers. That kind of surprises me because PWM gives full torque while modulating RPM. The commercial devices I see are varying voltage to the motor. The best choice I see is one that uses a variable voltage regulator to control the voltage to the fan. The simplest I see connects the fan between the power supply 12V line and the 5V line (rather than between 12V and ground), giving a net voltage of 7V to the fan. This would work just fine, but isn't adjustable.

Wrong way is to use a potentiometer. At least one controller I saw takes this route.
The problems using PWM is not the complexity. It is the problems that causes the fan to make more noise than it should. In order to create a PWM fan/motor controller, you need to know the inductance and the limits of the motor. PWM does include noise that is not mention in many books. The motor will produce an on and off noise that resembles the same when the user first flips the switch to on and motor jolts back. This noise will carry through out the case and chassis will amplify it. The best way is to use a voltage regulator and modify it to work well with motors or fans. Zalman did a good job with a 5 volt voltage regulator to control fan speed.

A potentiometer is not the wrong way. It is just another way. A a two or five watt potentiometer cost a lot and the customer have to read the manual to know the maximum limits.

The best way to create very minimal noise with a lot of efficiency it is to use stepper motors. Another way is to use a servo motor.
 
Old 12-01-2007, 07:43 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by Electro View Post
The problems using PWM is not the complexity. It is the problems that causes the fan to make more noise than it should. In order to create a PWM fan/motor controller, you need to know the inductance and the limits of the motor. PWM does include noise that is not mention in many books. The motor will produce an on and off noise that resembles the same when the user first flips the switch to on and motor jolts back. This noise will carry through out the case and chassis will amplify it. The best way is to use a voltage regulator and modify it to work well with motors or fans. Zalman did a good job with a 5 volt voltage regulator to control fan speed.

A potentiometer is not the wrong way. It is just another way. A a two or five watt potentiometer cost a lot and the customer have to read the manual to know the maximum limits.

The best way to create very minimal noise with a lot of efficiency it is to use stepper motors. Another way is to use a servo motor.
Not to get into a debate but to use a stepper to move air. An to state efficiency, less noise, is not correct. Talk about reverberation action. How do you mechanically insulate the motor from the chassis? Power for the stepper? What force of a stepper are you suggesting to move the air volume a small DC fan will move. The cost for the DC fan system vs the stepper? The stepper controller cost vs the DC fan controller cost? That one I would like to be presented!

As for the potentiometer use; power loss/waste which is not going to be the way I would suggest?

Quote:
Originally Posted by Electro View Post
The problems using PWM is not the complexity. It is the problems that causes the fan to make more noise than it should. In order to create a PWM fan/motor controller, you need to know the inductance and the limits of the motor. PWM does include noise that is not mention in many books. The motor will produce an on and off noise that resembles the same when the user first flips the switch to on and motor jolts back. This noise will carry through out the case and chassis will amplify it.
The problem you state can be attributed to the design of the controller which can lead to complexity. If the timing is not proper then, yes the noise can develop. The precision of the control will depend on the timing of the PWM. If this is open loop then you must have some limits. As for your simple statement about on/off control. Then that type of design is simplistic end of the design spectrum for PWM. If the design is matched for the load, inductance and application then you should have something that would be feasible. Without a lot of cost in design and implementation of the system.
 
Old 12-01-2007, 09:02 AM   #11
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Original Poster
Rep: Reputation: 17
I checked the fan connector - now the bios shows the chassis fan rpm

I think that means the P5MX-GC has the hardware, bios code to monitor and control the fan's speed

It just does not do that. Perhaps I do need drivers to for the OS to do that.
 
Old 12-02-2007, 09:54 AM   #12
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
I don't want to get into a debate over controller technology here, but a PWM controller is quiet if it is properly matched to the load. Also helps to low pass filter it to round the leading edge of the pulse (gentler turn-on).

All other techniques are less efficient; the potentiometer technique is grossly inefficient.
 
Old 12-02-2007, 07:08 PM   #13
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,



Not to get into a debate but to use a stepper to move air. An to state efficiency, less noise, is not correct. Talk about reverberation action. How do you mechanically insulate the motor from the chassis? Power for the stepper? What force of a stepper are you suggesting to move the air volume a small DC fan will move. The cost for the DC fan system vs the stepper? The stepper controller cost vs the DC fan controller cost? That one I would like to be presented!

As for the potentiometer use; power loss/waste which is not going to be the way I would suggest?



The problem you state can be attributed to the design of the controller which can lead to complexity. If the timing is not proper then, yes the noise can develop. The precision of the control will depend on the timing of the PWM. If this is open loop then you must have some limits. As for your simple statement about on/off control. Then that type of design is simplistic end of the design spectrum for PWM. If the design is matched for the load, inductance and application then you should have something that would be feasible. Without a lot of cost in design and implementation of the system.
Just add a propeller to the stepper motor. The speed can be adjusted depending on the delays between steps. Do not need to go crazy with the force and voltage. Just a 12 volt and poor precision stepper motor is all is needed. Smaller the stepper motor the better because the spindle can be a smaller diameter. There are cheap stepper motor controller chips that can be used.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compaq Prolaint ML370 G1, Fan Speed control driver NX-01 Linux - Hardware 0 12-12-2005 09:15 PM
A8N-E Can't Control Chassis Fan Speed rbvpp Linux - Hardware 1 07-29-2005 03:57 PM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM
VNF3-250 (nforce3) motherboard. control fan speed ? qwijibow Linux - Hardware 0 01-23-2005 03:33 PM
case airflow, and fan control, HD cable question, and stress testing help a NEWBIE zetsui Linux - Hardware 3 03-17-2004 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration