Page 1 of 1
PID project
Posted: Fri Nov 23, 2012 2:12 pm
by bradss
Kkkk
Re: PID project
Posted: Fri Nov 23, 2012 2:56 pm
by Enamul
That's sound interesting to me. I am interested to help you. If you start with simple control and then improve that to PID and with the simple control you can have feedback. Let me introduce with your stuff more in details so that I can plan for you.
Re: PID project
Posted: Fri Nov 23, 2012 4:48 pm
by Benj
Hello,
We will be releasing a DSP library for Flowcode in January which includes a module for PID control.
In the mean time I think there is an article on PID control in the Articles section of our learning centre.
Re: PID project
Posted: Sat Nov 24, 2012 12:20 pm
by bradss
Thanks guys I will start off with some simple control and progress from there as you suggested Enamul, I will let know how I progress

Re: PID project
Posted: Sat Nov 24, 2012 6:07 pm
by nc56
what's the power of your motor ?
Re: PID project
Posted: Mon Nov 26, 2012 11:56 pm
by bradss
The motor is 0 -24 volts 16 watt. And the techo is feeding back a voltage of 5 volts at full speed
Re: PID project
Posted: Tue Nov 27, 2012 12:08 am
by Enamul
Hi
Can you please post the datasheet for the motor or post the link of the datasheet so that I can have a look? I will post some starting program for you. I think you mean tech output voltage varies with speed.
Re: PID project
Posted: Tue Nov 27, 2012 11:20 am
by bradss
Hi what I meant was I applied a 5 volt signal to the motor and measured the voltage I was feedback from the tachometer which was 1.7 volts.
the motor I am using is a feedback rig with tachometer attached, here are the specs I found;
DC MOTOR: VOLTAGE: 24V
NOMINAL CURRENT: 1A
TORQUE CONSTANT: 0.06 Nm/A
GENERATED POWER: 16 W
MAX SPEED: 3000 RPM
TACHO METER: RANGE : 0-2000 RPM
TORGUE: 50 gr.cm
VOLTAGE SUPPLY: INPUT: 220VAC,50Hz
OUTPUT DC: +15V,-15V
+24 VOLTS TO MOTOR
Re: PID project
Posted: Tue Nov 27, 2012 2:26 pm
by Enamul
Hi
I am confused by your data...
DC MOTOR: VOLTAGE: 24V
That's operating voltage of the motor.
VOLTAGE SUPPLY: INPUT: 220VAC,50Hz
OUTPUT DC: +15V,-15V
What is it then?
Re: PID project
Posted: Wed Nov 28, 2012 1:41 am
by bradss
Sorry I was not very clear in my last post; 220 V AC is the mains power for the feed back rig itself. The motor it self is 24 volt DC. With a nominal current of 1A and generates 16W. The rig has an input for the signal to the motor, a + and -15 volt Dc output and an output from the tachometer.
Re: PID project
Posted: Wed Nov 28, 2012 1:44 am
by bradss
I will send info and pictures to your email as could not post it here.
Re: PID project
Posted: Wed Nov 28, 2012 8:31 am
by Enamul
Thanks I will have a look in your email
Re: PID project
Posted: Thu Jan 24, 2013 10:17 pm
by bradss
thanks
Re: PID project
Posted: Thu Jan 24, 2013 10:53 pm
by dazz
Hi
try this link and check the example file
http://www.matrixmultimedia.com/article.php?a=56
or hold fire a tiny bit as Benj replied in his post the next release should have dsp functionality
Regards
Dazz
Re: PID project
Posted: Sat Jan 26, 2013 1:35 pm
by bradss
tanks daz, I will check that out, mite not be able to wait due to time constraints,but do you know when it will be relased and how will i access it once it is?
Re: PID project
Posted: Sat Jan 26, 2013 1:42 pm
by kersing
Flowcode 5.5 has been released earlier today... See
this message for details on upgrading.
Re: PID project
Posted: Wed Jan 30, 2013 4:55 pm
by bradss
Hi Benj,
can't seem to open your examples you posted on PID control. would it be possible for you to repost them as I cant use the new dsp as i only have access to version 4 and my project has stalled
thanks
Re: PID project
Posted: Tue Apr 09, 2013 8:36 pm
by bradss
Hi Guys,
would somebody be kind enough to have breeze over my code, using version 4, have the circuit built but having tuning problems, works fine without feedback so guessing the ciruits ok and possible a problem with my code which i can not find. thanks