Go Down

Topic: eFLL (Embedded Fuzzy Logic Library) - Fuzzy Logic on Arduino (Read 32857 times) previous topic - next topic

zoomx

Oh, that's totally different. You want to implement a FlyByWire system?

If you will use Embedded Fuzzy Logic Library all the logic must be into Arduino. It will receive commands from the joystick in some way, directly or via a PC.

The other way can be an external more powerful unit with all the logic and an arduino only for controlling the hardware.


melchido

Am using IR infared LED to interface Arduino and the target Helicopter

My problem is how to interface the fuzzy logic rule viewer to arduino whereas adjusting
the joysticks will change the current state of the arduino

alternatively i may also prefer to interface the fuzzy logic to simulink to control the helicopter

i would like to use either a joystick or button to send values to the arduino 

Rbtimbre

Is it possible to make an automatic transmission in.a hybrid electric vehicle using fuzzy logic in arduino? Do you have similar projects about this which I can use to base my program using fuzzy logic through arduino?

nidd

Hi!
I am using this library to generate a code for inverted pendulum balancing. The inputs to the Fuzzy Logic Controller are coming from accelerometer and gyroscope. The output of the FLC is showing pertinence in it's sets, but output itself remains zero all the time. Please help me solve this problem. Thanks.

mccr

Hi!
I am using this library to generate a code for inverted pendulum balancing. The inputs to the Fuzzy Logic Controller are coming from accelerometer and gyroscope. The output of the FLC is showing pertinence in it's sets, but output itself remains zero all the time. Please help me solve this problem. Thanks.
Hi, I have the same problem.. I also saw that it activated the correct rule but output is always zero..

Please help me solve this problem. Thanks.

emmanuelbabu

the eFLL (Embedded Fuzzy Logic Library) library is a versatile, lightweight and efficient option to work with Fuzzy Logic in embedded systems, including our great Arduino!

To know more about it, visit:

Documantation, usage, examples: http://www.zerokol.com/2012/09/arduinofuzzy-fuzzy-library-for-arduino.html

Oficial code page: https://github.com/zerokol/eFLL
Hi

Which board would you suggest for implementing fuzzy logic control??

Thanks
Emmanuel

fma

Emmanuel, you need at least a 32kB flash board.

I'm trying eFLL on a Arduino Pro mini, and as nidd and mccr, my output remains at zero. But examples works fine. I think I'm not using the lib correctly, but I can't find the problem.

My inputs/outputs FuzzySet are normalized, and I can see that inputs are correctly activated, according to the rules.

I attached my code...

Any help welcome.
Frédéric

fma

Mmm, I compiled the same C++ code using g++, on my PC (no cross-compilation), and all works fine!

Looks like an lib-AVR float issue, or something like that...
Frédéric

fma

For the records...

Not a float issue at all! Problems come from memory: you can't use a 7x7 rules matrix with an AVR!

Good practice is to test all addFuzzyxxx() call, and check if they return true. If not, it means there is not enough memory to store the object.

Hope this helps.
Frédéric

univbiskra

first, thanks for this good library
second

is there a way to declare and work with two fuzzy controller independent on same programe like that

Fuzzy* fuzzy = new Fuzzy();
Fuzzy* fuzzy2 = new Fuzzy();

for fuzzy one 
 
FuzzySet* angleZ = new FuzzySet(10 ,0,0,-10);

but how can I use fuzzy2 ??????


ronaroberty

hello, I'm new to arduino.
here I have a problem. I'm going to use this library to program my robot. I'm using ultrasonic SRF02 as sensor to get the distance, and the output are dc motors.
the problem is, when I include this library to my program (and my fuzzy function too) suddenly my ultrasonic doesn't work. It can show the distance and only display 0. but when I remove my fuzzy function and this library the ultrasonic is working again. could anyone please help me fix this? maybe this library ruined the timing or what?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy