Forum Discussion
Altera_Forum
Honored Contributor
17 years agoImplementation of Digital PID controller in FPGA
I'm trying to implement a PI controller in FPGA using schematic entry method in altera quartus II . I'm using the following equivalent PI controller equation, c(n) = c(n-1)+kp*(e(n)-e(n-1))+Ki...
Altera_Forum
Honored Contributor
17 years agoSome years ago, I started programming DSP applications with maxplus2 and schematic entry.You can achieve any kind of arithmetic utilizing the respective MegaFunctions. However, you have to assure, that c(n) sum doesn't overflow. Standard add and sub operators or megafunctions don't provide saturation logic, you have to add it separately.