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.

Verifying control algorithm

Status
Not open for further replies.

garimella

Full Member level 5
Joined
Aug 25, 2011
Messages
260
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
3,276
Hi

I have a designed a PID controller in simulink with the plant model and everything works fine. I have converted z domain to difference equation and fused the program in microcontroller and things do not work identical. I have a compared with the commercial PID with identical settings, but my custom controller behaves abnormally. The difficulty is that I am unable to explore the model that is inside a microcontroller. Any ideas how to do so?
 

Re: verifying control algorithm

Since in theory the PID control is composed of sum of independent parts (P + I + D), you could inject a step waveform in the input, and check output, by enabling one control parcel at a time, doing the same in the simulation environment, and this way you would be able to identify precisely which of these controllers is the most discrepant of the model.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top