Modify Kp, Ki, Kd of red pitaya PID

Just about everything about Red Pitaya
Post Reply
gerardpc
Posts: 6
Joined: Tue Oct 09, 2018 5:01 pm

Modify Kp, Ki, Kd of red pitaya PID

Post by gerardpc » Thu Nov 01, 2018 5:33 pm

Hi,

I would need to use the internal PID of the redpitaya, described here

https://github.com/RedPitaya/RedPitaya/ ... /src/pid.c

as far as I understand, this is always ON but with 0 coefficients on the three gains. How can I access the registers to modify this parameters? I'm having a really hard time finding information, if you don't have any prior experience with FPGA design it's difficult to understand what one could do.

Another option I've found is using this:

https://github.com/Xilinx/HLx_Examples/ ... _pid_contr

i.e., a Xilinx PID design. If I wanted to use this, what would I need to do to upload this to the fpga and run it?

Ste_Trat
Posts: 11
Joined: Wed Oct 25, 2017 2:51 pm

Re: Modify Kp, Ki, Kd of red pitaya PID

Post by Ste_Trat » Thu Nov 01, 2018 7:28 pm

you could try:

https://pyrpl.readthedocs.io/en/latest/

i really like it, perhaps you too...

gerardpc
Posts: 6
Joined: Tue Oct 09, 2018 5:01 pm

Re: Modify Kp, Ki, Kd of red pitaya PID

Post by gerardpc » Mon Nov 05, 2018 9:38 am

I've checked it, but the PID only has PI term. Maybe there is an easy way to tweak it, but I was using the exe so...

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: Kilroy and 3 guests