PID algorithm

Post your requests and ideas on the future development of mikroBasic.
Post Reply
Author
Message
Dearo
Posts: 47
Joined: 25 Aug 2004 14:29
Location: Germany

PID algorithm

#1 Post by Dearo » 18 Oct 2004 15:07

It would be very good the implementation of a PID algorithm for temperature control !!
:D

Regards Dearo

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: PID algorithm

#2 Post by zristic » 18 Oct 2004 15:12

It's coming soon.
:lol:

corblimey
Posts: 1
Joined: 18 Jan 2005 10:40

Re: PID algorithm

#3 Post by corblimey » 18 Jan 2005 10:47

I've just downloaded the latest versions of Pascal and Basic and I can't find the PID example even though it's listed on the website as being included.

Am I being daft or is the web page wrong?

If it's not currently included does anyone know when it's being released?

Alternatively, can anyone point me in the direction of an PID example in Basic

Thanks

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

PID

#4 Post by LGR » 18 Jan 2005 19:13

I'm not with mE, but a major upgrage is impending (end of the month), and PID is not in the current versions.

I'm not sure of your schedule, but programming the I and D modes of PID requires some careful control of timing, almost certainly interrupt driven. It is non-trivial to debug. If you can, I'd wait, because if you don't get it right, the output will jump all over.

Depending on what you are trying to control, you may want to consider proportional-only. Very simple to program, though slow to respond, and will have some offset.

hansolo
Posts: 344
Joined: 28 Oct 2005 07:28

#5 Post by hansolo » 09 Nov 2005 23:39

Dear Zoran,

Kindly advise how soon will this PID library is out. It has been already a year since your last post on this and you mentioned that it is coming out soon.

Thanks.

hcwong
PIC Rules!!

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#6 Post by zristic » 10 Nov 2005 07:39

The intereset in PID decreased drastically since I made the post above. We therefore, worked on other libraries that were actual for users. However, if you interest keeps on growing again, we will finish this PID controller. Stay tuned for the news.

marten
Posts: 202
Joined: 05 Jun 2005 12:19
Location: Sweden

PID to mB users!

#7 Post by marten » 11 Nov 2005 15:24

Hi Zoran,

I am definately interested! I have constructed some crude code, but having a library to use would greatly speed up the developmet new projects for me.

Best regards,
Marten

hansolo
Posts: 344
Joined: 28 Oct 2005 07:28

#8 Post by hansolo » 12 Nov 2005 07:31

Zoran,

Hope you can reconsider adding the PID library with the next release.

If I am not wrong, none of the PIC higher level programming language in the market has PID library. Having the library will definately a good selling point.

If you can develop the library for Fuzzy Logic Controls, I am willing to pay for it.

HC Wong
zristic wrote:The intereset in PID decreased drastically since I made the post above. We therefore, worked on other libraries that were actual for users. However, if you interest keeps on growing again, we will finish this PID controller. Stay tuned for the news.
PIC Rules!!

k_gpz
Posts: 2
Joined: 27 Feb 2009 21:37

Re: PID algorithm

#9 Post by k_gpz » 27 Feb 2009 21:46

zristic wrote:It's coming soon.
:lol:
For Mikroelektronika official how many yers means soon????
YOU told us It's coming soon on Mon Oct 18, 2004 3:12 pm Is more then 4 years. And you espect to pay 100$ in your TRUSTED company acount?????? :? Now I'm sory because I buy easypic board.
But this is life full of......
I WILL WAIT A BRAVE ANSWER

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: PID algorithm

#10 Post by zristic » 02 Mar 2009 09:30

k_gpz wrote:
zristic wrote:It's coming soon.
:lol:
For Mikroelektronika official how many yers means soon????
YOU told us It's coming soon on Mon Oct 18, 2004 3:12 pm Is more then 4 years. And you espect to pay 100$ in your TRUSTED company acount?????? :? Now I'm sory because I buy easypic board.
But this is life full of......
I WILL WAIT A BRAVE ANSWER
I wrote in the previous post that we were giving up the library due to low interest.

Did you pay 100$ for the library or for the hardware? We are not selling software libraries, we are giving them for free. We sell compilers. If you paid for the library feel free to contact us, we will refund you.

I am afraid you are using a wrong argument for what you want to say.

ralphrmartin
Posts: 137
Joined: 10 Mar 2005 22:59
Location: Cardiff, UK
Contact:

#11 Post by ralphrmartin » 04 Mar 2009 17:06

Perhaps this will help some of you:

http://www.embedded.com/2000/0010/0010feat3.htm

PID without a PhD

k_gpz
Posts: 2
Joined: 27 Feb 2009 21:37

Re: PID algorithm

#12 Post by k_gpz » 06 Mar 2009 14:29

zristic wrote:
k_gpz wrote:
zristic wrote:It's coming soon.
:lol:
For Mikroelektronika official how many yers means soon????
YOU told us It's coming soon on Mon Oct 18, 2004 3:12 pm Is more then 4 years. And you espect to pay 100$ in your TRUSTED company acount?????? :? Now I'm sory because I buy easypic board.
But this is life full of......
I WILL WAIT A BRAVE ANSWER
I wrote in the previous post that we were giving up the library due to low interest.

I am afraid you are using a wrong argument for what you want to say.
I don't want to argue with you but:
- a PID library is inportant in all controll proces aplications
-In the name of company you make an afirmation that you can not sustain
-if is a simple library 4 years is not enough to finish??
-----------------------------------------------------
No, I will not pay $99 for compiler(with actual included lib).-Is my opinion-

Thank you for your answer and I hope to find in future versions PID library as well. Sorry if I was rude; that was not my intention.

nicco
Posts: 4
Joined: 13 May 2009 10:04

Re: PID algorithm

#13 Post by nicco » 13 May 2009 10:09

Dear Sirs!
Can you tell me in phase is the project with this PID library?
I have some seminar work, in wich i have to use PID regulation with PIC.
And as i previously use MB i would use it in this project too.
I read the links above , but i need some greater help.
Best Regards

BriBis
Posts: 38
Joined: 07 Oct 2009 21:19

Re: PID algorithm

#14 Post by BriBis » 31 Oct 2011 09:04

To give this thread a boost... Is there any progress on this topic?
Maybe the interest decreased just because of the post there will be a library available "soon"... (So why post again and again with the same question?!) ;)

I hope there will be a library soon.. (Not only for the basic-version, but also for MikroC PRO :mrgreen: )
Edwin

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: PID algorithm

#15 Post by Dany » 01 Nov 2011 18:00

Hi, this mP library is probably also usable in mikroBasic: http://www.libstock.com/projects/view/161/pid-library, use the second entry (other_pic). See also the article of Janni about procedure interface differences between mP and mP: http://www.cobir.com/replibs.htm#Basic (Using the replacement libs with mB PRO).

I do not know if the library is mC compliant.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Post Reply

Return to “mikroBasic Wish List”