DSP PI Controller

For general Flowcode discussion that does not belong in the other sections.
Post Reply
User avatar
p.erasmus
Posts: 434
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

DSP PI Controller

Post by p.erasmus »

Hello Ben,

I am having issue to get going with the new DSP PI and PID component (used it many times in V7 and V8) :oops:
I have two digital values Setspeed and Actual Speed which is my Set and Feed back signals ( as they come over CAN they are numerical values in RPM)
I connect these two values to the PI Component by a Digital Input icon as below however my issue is how to extract the output from the PI component
I use the Process(macro) but I do not see any way to get the value, I also try to use a Digital output but I cannot connect the Digital output to the PI Components.

What am I doing wrong or do not understand Please help as always it isappreciated

P1.jpg
P1.jpg (59.96 KiB) Viewed 2896 times
my Fc chart trying to get it going
PID_Sim_mega.fcfx
(11.48 KiB) Downloaded 96 times
Regards Peter - QME Electronics

stefan.erni
Valued Contributor
Posts: 771
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 151 times
Been thanked: 173 times

Re: DSP PI Controller

Post by stefan.erni »

Hi Peter

You have done nothing wrong.
Look here, I think Ben will fix it soon
viewtopic.php?f=5&t=777
Greetings from snowy Switzerland

Stefan

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: DSP PI Controller

Post by p.erasmus »

Thanks a million Stefan :D :D
looking forward to the fix
:D
Regards Peter - QME Electronics

BenR
Matrix Staff
Posts: 1763
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 449 times
Been thanked: 609 times

Re: DSP PI Controller

Post by BenR »

Hello,

Sorry about this, hopefully solved for you now.

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: DSP PI Controller

Post by p.erasmus »

Thanks Ben will have look at it :D
Regards Peter - QME Electronics

stefan.erni
Valued Contributor
Posts: 771
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 151 times
Been thanked: 173 times

Re: DSP PI Controller

Post by stefan.erni »

Hi Ben

Thanks a lot.

Can you have a look to this program, I testet all and maybe there are few more to fix

regards

Stefan
DSP_Problem1.fcfx
(18.21 KiB) Downloaded 111 times

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: DSP PI Controller

Post by p.erasmus »

Ben.

Thanks a million the fix work for my situation however Stefan is corrcet there are a couple more that the Digital output cannotconnect too :D
Regards Peter - QME Electronics

BenR
Matrix Staff
Posts: 1763
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 449 times
Been thanked: 609 times

Re: DSP PI Controller

Post by BenR »

Aha excellent thanks for that they all work here but I delayed pushing them out to the update system to confirm everything was ok and now they are no longer flagged as needing pushing.

I'll get these pushed out for you now.

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: DSP PI Controller

Post by p.erasmus »

Hi Ben.

Thanks it seems to be all ok now :D
Regards Peter - QME Electronics

Post Reply