PID project
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: PID project
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.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PID project
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: PID project
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
The motor is 0 -24 volts 16 watt. And the techo is feeding back a voltage of 5 volts at full speed
Last edited by bradss on Sat Feb 09, 2013 2:12 pm, edited 1 time in total.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: PID project
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.
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
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
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
Last edited by bradss on Sat Feb 09, 2013 2:13 pm, edited 1 time in total.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: PID project
Hi
I am confused by your data...
I am confused by your data...
That's operating voltage of the motor.DC MOTOR: VOLTAGE: 24V
What is it then?VOLTAGE SUPPLY: INPUT: 220VAC,50Hz
OUTPUT DC: +15V,-15V
Re: PID project
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.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: PID project
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
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
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: PID project
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?
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: PID project
Flowcode 5.5 has been released earlier today... See this message for details on upgrading.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
Re: PID project
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
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
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
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