Fuzzy logic in labview

Hey,
I try to design a fuzzy logic controller in LabVIEW 2009 for  a air heating coil.i have two entries, error and error variation and i need the my fuzzy control to give variation order. The problem is the variation order is always 0 my rule base is not invoked, Can we tell my what are the possible causes ?

Stoleriu wrote:
Sorry i m new to this
No worries, please follow the link I included in my above comment. It will show you how to post a snippet here, so we can actually see the code in LabVIEW ourselves.
P.S. Dang, are you running utorrent on Windows 95? Haha

Similar Messages

  • Example of Neural Network and fuzzy logic with labVIEW

    Does anyone has any kind of examples of fuzzy logic and neural network built with LabVIEW?
    I am particulary interested in predicting machining outputs (cutting force, surface roughnes) starting from machining regimes (parameters such as depth of cut, speed etc.). However, any example would do ... 
    Thank you.

    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer
    Attachments:
    Easy example851.vi ‏29 KB
    App example one851.vi ‏15 KB
    App example two851.vi ‏20 KB

  • Matlab fuzzy logic in Labview

    I'm working with the fuzzy logic toolbox from matlab. I created a .fis file with some rules from the fuzzy editor in the fuzzy logic toolbox from matlab, wich I want to run in labview, with the matlab script. How can load the fis file? I tried with the examples attached, but it didn't work.
    Attachments:
    fuzzy_test.zip ‏7 KB

    I have also noticed you have posted on another thread with the same issue I have added a link just to tie them together
    http://forums.ni.com/ni/board/message?board.id=170&message.id=180182&jump=true

  • Is to possible to control a motor by using fuzzy logic toolbox in Labview and motor interfaced with PIC microcontroller

    sir
     I am doing a  PG project on fuzy logic control of robotic arm,In this first i need to write a code in LABVIEW fuzzy toolbox and interface that that code with PIC where motor is connected and a tachogenerator should be connected to motor to send speed to LABVIEW through PIC microcontroller where ADC is inbuilt in it.
    Please help sir me whether  it is possible to do that ,if not tell me do i require any interfacing device  ,I am very new to labview 

    Now for this problem, Fuzzy can be easily used to control the plant. Here is the softwares that would help in this task:
    - LabVIEW Full Development System (FDS) 2009 or later - The is the LV version that allow you accessing the latest Fuzzy Logic develoment
    - LabVIEW PID and Fuzzy Logic Toolkit 2009 - This has PID and Fuzzy Logic functions available for you to develop your controller
    - LabVIEW Control Design and Simulation Module 2009 - This is a complete set of functions that allow you to simulate and develop advanced control applications. In your case, you probably will be using this module for simulation of the DC motor.
    Now, you also will need a way to read the encoder and control the voltage applied to the motor. You have several options from NI for that process. Probably a multi-function Board could help since they have digital counters and Analog Output signals. However, I can't recommend what would be best for this application, but the ideal platform is the CompactRIO platform for your application. They have a Real-Time controller and integrated Input/Output modules with signal conditioning that could allow you to directly drive the DC motor. I would advice to go to our webside (http://www.ni.com/compactrio/) and verify what this platform does. For this platform, you will also need the following sofrware:
    - LabVIEW Real-Time Module 2009 - Allow you to develop you application in Real-Time for deployment.
    Hope this helps.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Fuzzy logic - Labview

    HEllo, 
    Does anyone have any example on Fuzzy logic conrol under labview ? Im working on an irrigation project and I need to use fuzzy logic for the humidity sensor but im mew to fuzzy logic and labview ! 

    Hmmm.
    Try the example finder  (Menu Help >>Find Examples)  Look at "FuzzyEx Dynamic Fuzzy Controler for a greenhouse.vi"
    Spoiler (Highlight to read)
    Bet the student gets an A
    Bet the student gets an A
    Jeff

  • How to apply fuzzy logic into labview7.1

    is it possible to appliment fuzzy logic into labview 7.1? if so, please advice how? i have try myself,but cant really understand all the block diagram of the fuzzy used by labview,please help, thanx.

    Hello �
    There are several example programs that ship with LabVIEW that can help you get started programming fuzzy logic.
    In LabVIEW, go to Help >> Find Examples. When the NI Example Finder pops up, click on the Search tab and type �fuzzy� as the search keyword. �Fuzzy logic� shows up in the keyword results. Double click on it ant you will get 9 different examples that match your criteria.
    I would recommend taking a look into:
    - PR Example/Embedded Controller
    - Pattern Recognition Example
    - Tanks � Fuzzy DAQ
    - Tanks � Fuzzy control PI
    - Truck Control Example
    Hope this helps!
    S Vences
    Applications Engineer
    National Instruments

  • Fuzzy logic example

    Hi...I want to learn the basic designing procedure for Fuzzy logic system. I already go through the docs. I need basic fuzzy logic system. Could anyone help me with this....

    Hope you well today. and thanks for your reply.  I am having very much eager to learn fuzzy logic in LabVIEW. I got one project paper which  is so neat and very easy to learn to fuzz logic. based on that paper I was develop fuzzy logic such as membership functions. input and output variables. Now, my need is, how do design the block diagram of VI, which is having the graph, closed loop controlling etc. Can you guide me with this?  For your look, I attached my block diagram screenshot.
     

  • LabVIEW 2010 PID and Fuzzy Logic Toolkit

    Where can I download the evaluation software for the following:
    LabVIEW 2010 PID and Fuzzy Logic Toolkit
    Solved!
    Go to Solution.

    We only have the latest version available for download and evaluation from here
    I would suggest contacting your local sales representative and they can ship you a CD of the 2010 evaluation version via www.ni.com/ask
    Kind Regards,
    Rob 
    Applications Engineer

  • Fuzzy logic toolkit para labview 2012

    Saludos
    MI problema es el siguiente, sucede que requiero de un controlador difuso y entiendo que necesito el toolkit fuzzy para el labview 2012 version student, mi problema es que el toolkit no lo encuentro para descargarlo, quisiera saber si alguien pudiera ayudarme con esto, y ademas agradecería si pudieran facilitarme algunos ejemplos para poder trabajar con el toolkit.
    De antemano gracias.

    Siga los enlaces
    LabVIEW 2012 PID and Fuzzy Logic Toolkit Readme
    http://digital.ni.com/public.nsf/allkb/51A3BFD1F00C305A86257A1A00604D7F?OpenDocument#installation
    Download PID and Fuzzy Logic Toolkit Evaluation
    https://lumen.ni.com/nicif/us/evaltlktpidctrl/content.xhtml
    Se necesita el código de activación. Pero se puede utilizar en el modo de evaluación.
    Para obtener más información siga el enlace al producto.
    NI LabVIEW PID and Fuzzy Logic Toolkit for Windows
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209054
    Att.
    Erick Yamamoto
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!

  • Fuzzy Logic Toolkit

    I followed the truck maneuvering example in the 'PID Control Toolset User Manual' and tried to use the 'I/O-Characteristic' test facility. But, when I tried to run the test facility, I realized that there is no run & stop buttons in the window. By the way I did not do the exact the same things the book showed. For instance, the example uses 5 terms for one input and 7 for another one. I used 3 for both. But, I think basically I followed the most steps he mentions in the example. Do you have any idea what went wrong, or can you tell me how I can run the test facility?
    Airo

    Dear AdamB,
    I am just wondering if you could help me a bit. I have two problems. The first one is, I'm working with the fuzzy logic toolbox from matlab. I created a .fis file with some rules from the fuzzy editor in the fuzzy logic toolbox from matlab, wich I want to run in labview, with the matlab script. How can load the fis file? I tried with the examples attached, but it didn't work.
    The second problem is I have been doing some work with fuzzy logic toolbox in Matlab. The fuzzy inference system (FIS) built in Matlab environment is quite simple and straightforward. An example of the FIS in Matlab can be found in the attachment. Now I want to use the fuzzy logic toolkit from Labview to perform the same task. An example of the FIS in Labview can also be found attached. Although the FIS properties in Labview has been made the same as in Matlab, the result of the defuzzification is different. The FIS properties in Matlab are:
    And method: prod
    Or method: max
    Implication: Prod
    Aggregation: Sum
    Defuzzification: Centroid
    The FIS properties in Labview has been made:
    Defuzzification Method: Center of Gravitiy (which is another name for Centroid)
    If no rule is active: Take last value
    Inference Method: Max-Min
    Select form of rulebase: Normal rulebase
    For instance, if the input to FIS is Matlab is -3.51, the output is 0.202. However, with the same input, the output from FIS in Labview is 0.30.
    Perhaps you could help me?
    Dedy
    Attachments:
    fuzzy_test.zip ‏7 KB
    deltaR5.zip ‏2 KB

  • PID and Fuzzy Logic Toolkit for students

    As the thread title states.  I am a student running on the student version of labview.  I have a project I am working on that would greatly be benifitted by the PID and Fuzzy Logic Toolkit. Is there a way for students to get this without the $1000 price tag?
    Solved!
    Go to Solution.

    I would talk to your school and see if they have any sort of academic discount program in place. If not, you could contact your local Academic Field Sales Engineer, whom you can find here.

  • Problem with Fuzzy Logic Controller Design window

    Hi,
    I'm designing a fuzzy inference system using the Fuzzy Logic Controller Design tool.
    But when I use up to 4 input variables, the Rule Editor window is out of center and I cannot see the left parts of the antecedents.
    See the attached picture.
    The visualization is not movable and resizing the window with system utilities does not give any results.
    Anyody can help me? Thanks!
    Attachments:
    Bug Fuzzy Controller Design.JPG ‏68 KB

    Hello all
    The PID and Fuzzy Logic Toolkit 2009 was completely redesigned.
    There are new API VIs and a more intuitive user interface for creating controllers.
    You can create MIMO controllers with unlimited inputs and outputs, and also modify the controller on-the-fly.
    Check it out the new features and let us know your needs on Fuzzy control.
    LabVIEW PID and Fuzzy Logic Toolkit User Manual
    Regards,
    Bruno Cesar
    National Instruments

  • Fuzzy logic controller for DC motor

    Hello guys!
    Can anyone help me out in giving inputs to fuzzy controller which has two input member function Error and Change in error. Is there any tool which can store the previous error and compare it with present error which gives the chane in error?

    Hello,
    Please look at the shipping example of Fuzzy Logic Toolkit in:
    C:\Program Files\National Instruments\LabVIEW 2010\examples\control\fuzzy\Tanks with PI control\FuzzyEx Tanks with PI control.vi
    This code will allow you to see how you can implement the error and rate error by using pure LabVIEW code. Now, if you have the Control Design and Simulation Module, this tool have functions that easily calculate the error and derivative for you.
    Hope this helps
    PS: Notice that this example is in LabVIEW 2010. The same example can be found also in 2009 by changing the number of the LabVIEW version on the path to 2009. Previous versions have this code, but they are a bit more difficult to understand. If you have previous version of LV 2009, I strongly recommend you to update to at least 2009 since on this version the toolkit was completely refactored. If you can't here is the location of the example previous to 2009:
    C:\Program Files\National Instruments\LabVIEW 8.6\examples\control\fuzzy\tanks.llb\Tanks - fuzzy control PI.vi
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • My project title is fuzzy logic controller for rotary crane. need to reduce sway of pendulum

    helo. i want to ask whether my block diagram is correct or not. there is no error occured but no waveform will generate. i give the picture of my block diagram and my front panel. really need help. big thanks!
    Attachments:
    macam jadik je.JPG ‏42 KB
    front panell.JPG ‏28 KB

    Please look at this post for instructions in how to use Fuzzy Logic with RT. However, notice that this only works with RT, not FPGA:
    http://forums.ni.com/t5/LabVIEW/Problem-of-using-fuzzy-in-my-project/m-p/1772362#M615631
    Hope this helps
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Fuzzy control using Labview and arduino

    Dear all,
    I have been trying to control the output of an LED using a fuzzy logic controller, based on temperature and humidity values that I receive from the DHT22 sensor via arduino in the LABVIEW setup, but the problem is, I am not sure how to set up the PWM pin of arduino for that purpose. I have used an arrangement for the setup but it has not given any LED signal so far. The VI is attached herewith.  PS- I have connected the LED to pin 6 (PWM pin) of the arduino UNO board.
    As far as the data acquisition part is concerned, the setup is working fine and I am being able to get the values of temp, humidity and light intensity.
    Any help in this regard would be highly appreciated.
    Attachments:
    temhumlightctrl1.vi ‏48 KB

    Just start with a simple VI commanding a PWM, and put a meter or a scope to see if the output changes.  If you can't get any output there is likley a problem with your setup.  If you are driving more than an LED you'll need some kind of buffer circuit or opamp to increase the current capabilities.  These micros can't drive much power so if you intend on using this PWM for controlling temperature and humidity you won't be able to drive it directly.
    Also be aware that your loop time is going to be relativly slow, and not deterministic.  Most control systems like PIDs need to have tight timing to ensure that the system stays stable while having a decent response time.  Since temperature and humidity change pretty slowly this will likely work just fine.  But know that the time it takes to send a command to the Arduino, have it go out, take a sample and then send it back over serial won't be consistent.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for

  • Hello...experts...can u tell answer for this

    hai.. regarding interactive reports...suppose i have one basic list and 10 secondary lists...now i am in 7th secondary list..if i want to switch over from 7th secondary list to..user wanted..secondry list...means...wahen he want to switch over from 7

  • Database Credentials When Scheduling Crystal Report

    In our Crystal Reports 2008 server, each user has their database credentials populated in their user account on the Crystal Reports Server. (in the area where is says "Enable Database Credentials"). For each of our reports, we have the option "Use SS

  • How to create a sales order using bapi

    hi     i need to create a sales order using bapi. can any one help me

  • PR creation with WBS element

    Hi, I have a requirement in which I assign WBS element to sales order and later on when I run MRP for this materials it does not generate requirement for WBS element BUT generate requirement for general stock. could any body please suggest how to int

  • How to diagnose PWE3 status

    I have a scenario where multiple customers ethernet links are getting terminated on one switch and one of the trunked GBit port of switch is connected to a router Gigabit Ethernet port. Gig port is configured for dot1q encapsulation with suinterfaces