hi everybody...does anybody could give me the c program with fuzzy logic controller to control the speed of DC motor??please...i want it desperately.
hi everybody...does anybody could give me the c program with fuzzy logic controller to control the speed of DC motor??please...i want it desperately.
That is a ridiculous, impossible, and greedy request.
It's like you think there is only one type of DC motor on the planet, and only one possible way one could somehow attach one to a computer and control it, and only one possible place to get the logic inputs from, and only one possible thing you could ever make a fuzzy logic algorithm do.
We cannot help with vastly open-ended requests. You may as well be asking for someone to get you a metal 'thing' for a red car.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
Welcome to the forum, Miss Fine!
Have you thoroughly tried to get help from both Google and the maker of the motor?
Because DC motors are quite different in characteristics, and so their controllers logic will vary widely, as well. What works for one OK, might burn up another type.
With the C program, we can help you over most any problem you are having, but divining what you need for the characteristics of your motor - no. We're very doubtful on that.
Malcolm, I know you know what metal thing she wants for a red car. You may as well admit it!You may as well be asking for someone to get you a metal 'thing' for a red car.
Last edited by Adak; 10-14-2012 at 01:02 AM.
You could use a stepper motor to have a fine control over the speed of the motor. But since you're asking for completed code, I'm guessing this won't be of much help to you.
Look-up PWM Pulse Width Modulation it might be what you want.
It also, might be the wrong direction to take.
Some, MCU support PWM and some do not.
Some DC motor work great with PWM, I have never used PWM (except for a simple lab exercise) no idea if there are DC motor that do not work with it.
No idea, what fuzzy logic mean when it applies to driving DC motors.
Feedback logic applies to driving DC motors.
Or non-Feedback logic applies to driving DC motors.
Tim S.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson