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

Similar Messages

  • 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

  • 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.

  • 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!!!

  • PID and fuzzy logic toolkit

    He
    I'm trying to create a motor position control using the PID toolkit. Is there a step response feature or another function that shows the response of the PID system, percent overshoot, settling time, etc? If not, is there a way I can create a step response using this toolkit?
    thanks,
    kirby

    What is your setup so far?
    If you are using the LabVIEW PID function and are controlling a plant, you could just change your setpoint and monitor the process variable on a LabVIEW chart.
    If you are simulating it all, then there are step reponse functions that you can drop into your simulation loop like done here.
    Lewis Gear CLD
    Check out my LabVIEW UAV

  • 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

  • Programmin​g fuzzy logic controller design

    Hi,
    please i am using fuzzy logic controller design. Inputs and outputs data are connected to an OPC server.
    My question is: could i access programmatically (in the vi ) to the fuzzy logic controller design to prevent to enter in it each time that i need to change values ?
    Samer,

    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

  • 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

  • MOVED: KT333 Ultra; fuzzy logic, 1.6xp overclocking problem help !!!!!

    This topic has been moved to Overclockers & Modding Corner.
    KT333 Ultra; fuzzy logic, 1.6xp overclocking problem help !!!!!

    Not that I am an expert o/c but here are some thoughts on the matter.
    My comments are based on my experiences of the KT3 Ultra2 which is basically the same as the Ultra version.
    This mobo does not have the ability to lock the PCI/AGP bus freely from the FSB. However, it does have dividers. At 133 a 1/4 divider kicks in. Above 152FSB the 1/5 divider works, so that at 166 the PCI & AGP buses will be back in sync. If you are o/c your cpu, don't go from 133 to 145, etc since you will be running the PCI/AGP buses further out of whack. Just go to either the mid 150's or to 166 in one jump. The other problem / issue relates to your cpu. From what you say you have one of the old Palominos which are not great o/c's. I would personally o/c your cpu from the BIOS rather than 'Fluffy Logic' which I would tend to stay away from. 
    With a 166FSB cpu a very stable o/c would be 175-177 beyond 180 gets decidedly tricky.
    Hope this helps

  • Fuzzy logic 4 doesn't work with the KT4-SR!

    why ;( ?!

    I also have problems running Fuzzy Logic.
    I do not run any other utilities, and I have the latest version of it. When I run the program, it sits in the system tray, if I try to click on it, nothing happens. Taskmanager shows FL4 uses around 99% of the CPU. Aslo, when I shut down after running FL4, Win XP can take upto 10 mins to kill the app.
    Does anyone have a fix, re-installing or upgrading FL4 doesn't work.
    Alternativly, is there another program that can be used?
    I have:
    KT4 Ultra with AMD XP 2400+
    Windows XP Pro / SP1
    Thanks

  • Fuzzy Logic - How do I get into it?

    When I click on the Fuzzy Logic .exe file, it says Fuzzy Logic or PC Alert already running...
    I See PC Alert and can look at/configure stuff, but where is Fuzzy Logic?
    And what can I do with it?

    You only can open one program at a time. Meaning if you open pc alert ..then you cannot open fuzzy logic and vice versa. Hope this helps.

  • Is fuzzy logic vi good for discrete system

    If modeling a system using PID is too hard or too difficult, I want to use fuzzy logic, but according to the NI control manual, fuzzy logic is good for a continuous system.
    Can it be used on a discrete system? for example, turn on a heater for 2 second and shut off, wait for 10 minutes, and then meausre again and go through fuzzy logic?
    Can my idea be fulfilled?
    Thanks

    To work with fuzzy logic does not require any transfer function as it is a fully descriptive, the disadvantage is that you have to know very well the operation of the plant and has something to do with trial and error, but when setting the rules correctly, your system is completely stable.
    Jonathan Cruz
    CHALLENGER
    K U D O S __ B I E N V E N I D O S

  • Fuzzy logic controller design

    Hi,
    Is it possible to configure the "Fuzzy Logic Controller Design" with sending a code in another language of programmation like C for exemple and without need to access each time using : Tools > Control Design and Simulation > Fuzzy Logic Controller Design  ?????????????????????????????????

    I assume you have 3 terms for each of your 3 parameters then, to get the 27 rules. If this is the case, going to the rule-base editor will bring up all 27 rules (the control designer automatically populates the rules list, so you don't even have to add additional rules to reach this number). Consequences, unlike rules however, are limited to 9. When I asked what you are using the controller before, perhaps I should have been more specific, as I was more curious as to whether or not you need singletons for your consequences? I am still having trouble imagining a situation where you need 27 *consequences*, unless perhaps they are singletons.
    That being said, I don't know of a way to use the fuzzy logic kit to create a controller with more than 9 consequences (27 rules are no problem). How familiar are you with the mathematics and principles behind the fuzzy logic controller? It's always possible to write your own code, and if you need any help, I'd be more than willing to help out.
    -Cory

  • Fuzzy Logic 4 & 100% CPU Usage freeze

    Hi,
    is there any Fuzzy Logic 4 Version out there that works with KT3 Ultra2-R and XP?
    I tried 4.0.63.1 and 4.1.48.0 from the MSI Pages and the Version I got on CD
    4.0.63.1 just can't find the avi ...
    4.1.48.0 and the CD Version just add the Icon to the taskbar when starting and than take 100% CPU-Time and do nothing anymore.
    The Program is not even killable in Taskmanager so all I can do afterwards is wait 10 minutes until XP has shutdown with the leftover CPUtime.

    I understand the CS2 is probably not helping, but there is really a problem on other apps too - not only CS2 and those are universal.
    Page ins/outs are currently 142257/71109 and i have not been using or even opening CS2 - just safari, itunes, What size , MSEntourage, VLC and moving some files.
    I have taken some earlier advice on your posts regarding using multiple internal disks - so i moved itunes and iphoto libraries to a separate disk and also use that for scratch in CS2. The drives are 250GB WD and 250GB Seagate, and i am looking at replacing them with one or two 750GB WD RE2, although probably not in RAID ( dont want to complicate my life too much in one go !)
    Overall i think the page ins/outs look high from my searching in other posts, but can't see why it would be overloaded when i normally dont use the CS2 that much ( only a hobby)
    Also the private/var/vm directory has 3 swap files - two of 64 MB and one (Swapfile2) is 128MB, if that tells something else ?
    looks like i will have to invest in 4GB more memory as well as the HDD's. i was confused with the apparent further lack of support in CS3 for 64 bit programming (?) although i dont know when that would be launched so soon after CS3
    I have a case of a little knowledge ( which can be a dangerous thing!)
    Message was edited by: grahams

Maybe you are looking for

  • Copy and paste not working in Lion

    can someone please explain this incredibly stupid nonsense???? SInce installing Lion copy and paste or dragging files from one drive to another is no longer working. It appears to be working, as in I get the paisting dialog box and all the files star

  • Restore iMac MA589B/A to original settings

    I want to restore the iMac to its original software. I have misplaced the discs that came with the computer.

  • CS3 Trial Install

    So, I'm looking to upgrade from flash 8, and I was downloading the trial for CS3, but it won't install for me. I get through the system check fine, but then when it actually begins to install, it asks me to insert the disk. I don't have a disk, seein

  • Lightroom 5 slider bar issue

    Ligthroom 5 slider bar issue. i am having an issue on the slider bar on the develop module. the picture becomes blurry while adjusting using the slider which then makes it impossible to see my adjustments in real time. has anyone encountered this kin

  • Isqlplus on Mac OS 10.3

    Hello All, i have a situation with isqlplus, Oracle Database Standard Edition 10.1.0.3.0 on Mac OS 10.3.9 (client edition): isqlplus wouldn't start from http://localhost:5560/isqlplus; otherwise Enterprise Manager runs fine. Previous posts on this fo