09-28-2010 01:22 AM
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
09-28-2010 09:03 AM
Hello,
Yes, the fuzzy logic toolkit can be used to control any multiple-input and multiple-output (MIMO) system that you have available information. Since we have improved considerably the Fuzzy Logic Toolkit in 2009, I strongly recommend using this version of later. The Editor and additional funcionality really helps in the development. The main challenge of using fuzzy is to define the rules and membership functions for the system. I also recommend that you ready the literature available on that area before starting developing your project. Our shipping manual has a lot of good information.
Hope this helps!
09-28-2010 09:25 AM
thank you very much sir
sir but i want to know what type of interfacing i need to use for interfacing fuzzy toolbox in labview directly to PIC microcontroller where it controls the motor and at the same time fuzzytool box in labview reads back the values from tachogenerator through PIC microcontroller(ADC is present).
and please help me with some examples fuzzy controlling some device through PIC microcontroller, or some codes
and i am using LAbview 8.2,that is a college software,i am unable to find fuzzytool box in that,do i need to use any another version for fuzzy logic tool box and please send me any link to know the fuzzy toolbox material
09-29-2010
09:29 AM
- last edited on
04-23-2025
01:48 PM
by
Content Cleaner
Hello,
In general to use Fuzzy on a processor that is not a National Instruments target, you need to use a module that converts LabVIEW Code to C-code. For LabVIEW 8.2, you need the LabVIEW Embedded Development Module, later called LabVIEW Microprocessor SDK "http://sine.ni.com/nips/cds/view/p/lang/en/nid/201953".
Now, I think your PIC controller is 8-bits and probably does not have floating-point. In this case, I think the Toolkit will not help you since they need floating-point support. So, you will probably have to implement the engine in fixed-point or integer. You can always try to look at the code available on the web for PIC controllers and code yourself.
Again, if you can't find the toolkit in the palette, probably you do not have the toolkit installed under "Addons".
Good luck!
10-01-2010 12:06 AM
sir now i need to control the position or speed of two dc motors in real time using fuzzy logic code toolbox in labview (i.e interfacing two DC motors to PC labview fuzzy tool box)
so sir please mention me what all drivers, LABVIEW softwares(i.e toolboxes) and LABview Interfacing devices are needed.
and also please tell me if there is any possibility to simulate those two motors with fuzzytool box in LABVIEW itself before going to realtime implementation.and mention what all labview software toolkits i need to install.
(Note:speed of the DC motors should be fed back to LAbview fuzzy toolbox in PC using some digital tachogenrators or sensors)
10-01-2010 05:01 AM
Labview for Windows is not a realtime system. If you want to create a regulator you may use a timed loop. The max loop speed on a non real time system is 1 KHz. But I think for a motor regulator even 100 Hz loop speed may do. You can use Serial communication for your IO.
10-01-2010
08:57 AM
- last edited on
04-23-2025
01:49 PM
by
Content Cleaner
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 (https://www.ni.com/en/shop/compactrio.html) 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.
11-23-2010 11:45 PM
1)we have NI9401 DAQ device in our college,my main aim is to use fuzzy tool box from control design and simulation, using fuzzy tool box i want to control the speed of the motor which is interfaced to DAQ device i.e tachogenerator connected to motor as a feed back to DAQ
we are using Labview 8.2 version
IS it possible,will it work? if it please provide me some examples
2)with out using fuzzytool box i want to write fuzzy code in C langauge in Labview as it provides platform for that,i want to contol the motor which is connecetd to DAQ using that C code,is it possible if not please provide me ways to do that.
3)please provide me some DC motors specifications with frequency which can be handled by DAQ