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

Similar Messages

  • How to use Fuzzy Logic Controller for transfer function in labview control and simulation loop?

    I am facing problem with fuzzy PD logic controller for transfer function in control and simulation loop.
    Plz Help me in this regard...................
    i have attache snapshot of my program
    Attachments:
    fuzzy in simulation loop.JPG ‏52 KB

    Hi Sankhadip,
    Sorry for the late response. I was looking at your code and
    I noticed that the graph scale does not start from zero. That might be the
    reason why you don't see the transient in the simulation. To change the scales
    simply double click on the lower limit and set it to zero. If this is not the
    expected results, can you please post the expected results, so we can see what are the
    differences between the results . Also, you might be using different
    solvers, and that gives different results as well.    
    Thanks and have a great day.
    Esmail Hamdan | Applications Engineering | 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

  • 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

  • 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

  • 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

  • Fuzzy logic controller

    Hi all,
    Anyone know how to insert/attach data input (from fuzzy system designer) to Fuzzy Logic Controller.?
    Thanks.
    Best regards,
    WC Leong.

    hello,
    could you please provide us an example code so we can check what exactly is the issue.
    thanks,
    Mark 

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

  • Sync issues with new Logic Controller for iPad / New Logic

    Downloaded the new version of Logic for mac and the new controller for iPad today.
    The iPad more often than not fails to see that Logic is running on the network and just hangs. If you open and close the controller on the iPad sometimes it will then boot up and go straight to the fader page.
    However, it has limited functionality. The faders and transport appear to be working ok, but there's NO LEVEL INFORMATION being sent back to the iPad. So you can control the faders and everything, but there's no bouncing audio levels, not even on the mix bus. It looks like nothing is playing, apart from the fact you can see the transport ticking through the bars.
    Something seriously amiss here.
    (iPad 2, worked fine before, never had a problem with it...)

    Quit the Logic Remote App.. (Don't just close it but quit it..)
    http://osxdaily.com/2013/09/28/quit-apps-in-ios-7/
    Delete Logic's CS (Control Surfaces) file
    Quit Logic Pro
    In the Finder, choose Go to Folder from the Go menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the com.apple.logic.pro.cs file from the preferences folder.
    Restart the computer.
    If you cannot find this file you have not followed the instructions exactly as described!
    Now Launch Logic Remote on your iPad and reconnect....
    Test....
    Note: If you use any other external control surfaces you will need to re-add those too...

  • USING YAMAHA 01X AS A LOGIC CONTROLLER....NEED HELP

    I purchased a new Yamaha 01x on clearance ($219) for use as a software controller for Logic Studio (8). I find the Yamaha 01x manual very cumbersome and difficult to understand and am having trouble setting this up. I have a few questions if someone can please help.
    1) Can I use the 01x MIDI in/out to USB port on my IMAC to connect as a software controller. My only firewire port on the imac is taken up by my MOTU 896 mk111? I purchased a m-audio midisport to go from the the o1x to the USB port on imac.
    2) Now that I've made the connection, I've set up the o1x in Logic preferences, but no luck with any control. Do I have to somehow set up controller manually?
    Perhaps someone could direct me to a good resource for the o1x since the manual is almost useless...
    I appreciate any suggestions. Thanks! Colin

    actually the site you'll want is http://www.o1xray.com
    go into the forum under Mac drivers and post your question there.
    I've only done a quick quick scan of your question, but if you're only going to use this o1x as a controller, routing the MIDI via another interface should work. You'll then only run audio over your MOTU 896 (I would do this too if I were you).
    Should you want to run audio over your o1x, you'll need to add the mLan drivers from the yamaha synth site the other poster mentioned. you can also make an aggregate device combining both yoru mLan audio network and the MOTU - actually did this once... you'll have a lot of updating to do as the original drivers etc are pretty old (pre-Intel even - though it's all now UB)... the other thing to know, the mLan drivers are no longer supported on the mac, meaning they'll never go 64-bit. That will keep you from running OSX on a 64-bit kernel, but doesn't keep you from running Logic in 64-bit. You just need to know that if you install mLan drivers, your kernel won't be running in 64-bit now or in the future. Right now, all macs boot into 32-bit mode as the default for now, but someday this will change, and then the mLan drivers won't work for you (or me).
    an o1x at this pricepoint, if you can use it as a control surface, was a great deal!!!
    Good luck with this.
    By the way, I have good reason to think this will work for you as a control surface. Although I do run mLan audio of the o1x, my MIDI routing is similar to yours, only I don't use the MIDI ports on the back of the o1x, but route MIDI to/from the o1x over mLAN to another device and then break it out to a MOTU MTP. Logic sees the o1x as a control surface, using port1 of the MTP. I have an extra step in the routing, but essentially do the same as what you want to do.
    Good luck
    Michael

  • Multiple Input Multiple Output Fuzzy Logic Controller

    I am designing an autotuning PID temperature control system whose PID gains are adjusted using a Multiple Input Multiple Output (MIMO) Fuzzy Controller. I am unsure how to set up specific inputs and how to use specific outputs when there are multiple inputs and outputs. Specifically, my Fuzzy system has two inputs and three outputs.
    For the input, I have two 1D arrays of scalars (doubles) which I have used to build an array and concatanated the inputs to the array. How do I configure which values of this array are used as each specific input value to the fuzzy system?
    Similarly, for the output, the fuzzy system gives three output values which are used as the PID gains. How do I configure these such that they are in the right order to be used as the PID Gains of the PID VI?

    Hi natsmi,
    You can find some examples by navigating to:
    C:\Program Files (x86)\National Instruments\LabVIEW XXXX\examples\control\fuzzy
    Some of them are at least MISO systems and might be helpful to clarify some ideas. You can also find them using the Example Finder from LabVIEW (By going to help on the top menu, and then Find Examples). There you can go to the search tab on the left and type in fuzzy.
    Hope this helps.
    Regards,
    AGJ

  • 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

  • Display fuzzy logic firering rule in front panel?

    Hi all,
    I only can display the firering rule no. (attached 1.gif red circule) in front panel.
    How can I also display the firering rule no. detail infomation (attached 2.gif) in display panel?
    Can I show the .fc file (generate in Fuzzy Logic Controller Design)detail infomation in display panel?
    Thanks
    Fung
    Attachments:
    1.GIF ‏61 KB
    2.GIF ‏79 KB

    Stephen M,
    Attached .fc file. Please help!
    Thanks
    Fung
    Attachments:
    FuzzyDesign_v5_height.fc ‏3 KB

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

  • Live Update 2 & Fuzzy Logic

    Does anybody know why it seems liveupdate2 has some unresolved bugs? Just went through the auto scan downloaded suggested updates rebooted did another scan and the same things suggested are still there even if updates were done.
    Is Fuzzy Logic available for MB MSI-6378?

    Quote
    Originally posted by r12344l
    Does anybody know why it seems liveupdate2 has some unresolved bugs? Just went through the auto scan downloaded suggested updates rebooted did another scan and the same things suggested are still there even if updates were done.
    Is Fuzzy Logic available for MB MSI-6378?
    As wonkanoby told me, click on the button on the taskbar for preferences, under configuration, set it to "show only new"
    Hope this works for you, it worked for me! 8)

Maybe you are looking for