Giter Site home page Giter Site logo

raymelon / fanspeed-fuzzy-demo Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 4.0 211 KB

Demo of a Fuzzy Logic-based CPU Fan Speed Controller

License: MIT License

MATLAB 100.00%
fuzzy fuzzy-logic fuzzy-logic-control fan cpu fan-speed fan-control cpu-monitoring cpu-temperature clock

fanspeed-fuzzy-demo's Introduction

FanSpeed-Fuzzy-demo

Demo of a Fuzzy Logic-based CPU Fan Speed Controller

MATLAB

The aim is to control the CPU Fan Speed based on the system's current core temperature (in degrees Celsius) and current clock speed (in GHz).

The ranges used are calibrated based on the current computer models, thus these ranges are subject to change as time pass by. The ranges are as follows:

Fuzzy Variables Units Ranges (based on 2016 computer models)
Core temperature degrees Celsius (°C) 0 to 100
Clock speed frequency Gigahertz (GHz) 0 to 4
Fan speed Revolutions per minute (RPM) 0 to 6000

Fuzzy Membership Functions

Core Temperature

Clock Speed

Fan Speed

Fuzzy Rules

Core Temperature Clock Speed Fan Speed
cold AND low THEN slow
cold AND normal THEN slow
cold AND turbo THEN fast
warm AND low THEN slow
warm AND normal THEN slow
warm AND turbo THEN fast
hot AND low THEN fast
hot AND normal THEN fast
hot AND turbo THEN fast

Simulation

>> fan_speed_demo

table_ = 

    core_temps    clocks    fan_speeds
    __________    ______    __________

    80            3.5       4715.8    
    75            1.5       4654.3    
    25            1.2       1367.8    
    90            3.8       4811.5    

>> 

fanspeed-fuzzy-demo's People

Contributors

raymelon avatar

Stargazers

 avatar  avatar

Watchers

 avatar

fanspeed-fuzzy-demo's Issues

Question about maximum values as input

Hi,
When You setted maximum values on input:
core_temps = 100
clocks =4
Are You able reach maximum value 6000 on fan_speeds output?
Did You tested this situation? What was value returned?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.