Message Boards Message Boards

1
|
9804 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Looking to understand a good approach to PD Controller

Posted 9 years ago

i have to understand PID controls but more importantly PD control as the "i" will not be suited for my particular application and in hope for knowledge i stumble across this website but no direct information about PD controls. So by definition to those who don't know a proportional-integral-derivative controller (PID controller) is a control loop feedback mechanism (controller) commonly used in industrial control systems. A PID controller continuously calculates an "error value" as the difference between a measured process variable and a desired setpoint.

Potentiometer control DC Motor Position (DIY Servo) Using Arduino

POSTED BY: Frank L
5 Replies

Frank, A PID controller should have three gain constants ("P","I", and "D"). You can turn a PID controller into a PD controller by simply setting the integral gain "I" to zero. If you have found example of code for PID controllers that fit your configuration, you should try that. Then the difficult part of the problem becomes determining the values for the proportional "P" and derivative "D" gains. That is where the PIDTune and ToDiscreteTimeModel functions in the Wolfram Language can help. They do require that you have at least a rough approximation of a mathematical model for your system. Alternatively, there are purely experimental techniques for tuning PID gains, but those are outside of the scope of the this community.

POSTED BY: Bob Sandheinrich
Posted 9 years ago

thanks bob that's was a bit more helpful.

POSTED BY: Frank L
Posted 9 years ago

I'm assuming you have not designed the controller yet. To design a PD controller you can use the PIDTune function. It needs to be discretized using ToDiscreteTimeModel to get the equations that can be be used to program the Arduino.

POSTED BY: Suba Thomas
Posted 9 years ago

thank you for your time & efforts but unfortunately those links were just too meaningless for my understanding/comprehension level, its just to symbolic and or vague, maybe something english will suffice? or even better in C++ / Arduino programming language will be best, i have gone thru many youtube videos dozens and just not clicking in again either they speak to vague or the application example is non related to my application, im dealing with a dc motor and a potentiometer for feedback close loop and what i need is the PD Controller and often you everything is about PID or PI

POSTED BY: Frank L

Dear Frank Lopez, the answer was given to you in terms of Wolfram Technologies. This forum is only for the discussions of Wolfram Technologies and Initiatives as it says in the guidelines. If you are seeking general scientific or technical information unrelated to Wolfram Technologies please consider asking on other more relevant forums.

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract