Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

pid in verilog or vhdl code

Status
Not open for further replies.

bbgil

Full Member level 2
Joined
Mar 11, 2006
Messages
135
Helped
13
Reputation
26
Reaction score
9
Trophy points
1,298
Activity points
2,321
verilog pid

I'm doing a motor control project using PID and Altera UP2 board with Quartus II. I'm having trouble with the pid codes and motor controllers in verilog. Any help on this will be appreciated. Thank you in advance.
 

pid verilog

can you be more specific about your problem?

regards
gd
 

pid controller verilog

I am trying to model arithmetic (integration and derivatives) equations and op_amp circuits (PID) into verilog. I can not find any verilog code that can implement this. Most books are on digital applications. any source or links provided will be very helpful.
 

digital pid verilog

You can find Verilog models of op-amps. etc from the semiconductor manufacturer. Most will provide models on their web sites. You can also look at :

https://www.designers-guide.org/VerilogAMS/

Which has some ideal models.

However, you are posting into a programmable logic forum. None of these analog solutions will ever be implemented into an FPGA. The closest analog input to an FPGA is the ADC stuff that is in some of the Virtex4 parts. The standard components in FPGAs and CPLDs are look-up tables and flops only.

To do PID within an FPGA, you would need a front-end to convert the analog inputs to digital representations. Within the FPGA you would really be doing digital signal processing of DSP operations on the digital values before outputing your result to a DAC which converts you back to the analog world.

--- Steve
 

pid vhdl code

i think you just treat the fpga as a cpu.
so you need the A/D and D/A to convert the analog value to digital value and visa-versa.
 

pi controller verilog

i think it is better to design PID by DIgital Athimetic than you design a CPU. Because CPU is in seccession.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top