CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

PID controlled propeller RPM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2020, 13:02
Default PID controlled propeller RPM
  #1
New Member
 
John
Join Date: Feb 2020
Posts: 2
Rep Power: 0
JWBM is on a distinguished road
Hello everybody,


after being the silent reader here for a while my time has come .


Im trying to implement a PID controller in my simulation to adjust the RPM of a propeller. Did somebody knows a tutorial? I cant find something useful for me with the search function.



My plan is to run the solver (interFoam) --> get the Feedback Value ---> start again with the new RPM.


Thanks a lot,
JWBM
JWBM is offline   Reply With Quote

Old   February 12, 2020, 06:25
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,192
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Have you tried with wikipedia? If you haven't had a formal introduction to controls, that could give you a good first start.

The controller itself is quite simple (you even find some pseudocode on wikipedia), it is the tuning part that can be hard and depends from what you want to control.

However, I would suggest to actually run the controller in tandem with the code. That is, let the controller work during one single simulation, if this can be an option. That's how they actually work in real life.
sbaffini is offline   Reply With Quote

Old   February 12, 2020, 08:50
Default
  #3
New Member
 
John
Join Date: Feb 2020
Posts: 2
Rep Power: 0
JWBM is on a distinguished road
Hi sbaffini, thanks for your reply.


The know how about controllers is not my problem, but implementing a PID controller in a running simulation is. As I am quite new to CFD i have never changed Values automatically during a running simulation.

May you know a good running case/tutorial to start with?
JWBM is offline   Reply With Quote

Old   February 12, 2020, 09:56
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,192
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
I have done something similar, in the past, to drive the massflow rate in a turbulent pipe-like geometry with Nek5000. But the point is that, within a specific CFD code, the place where such a controller belongs is highly dependent from what you want to control and how the code is structured.

I suggest to go to the dedicated OpenFOAM forum here, to have better help on this. But I also suggest you to better explain, there, what is your overall problem and what you want to achieve.
sbaffini is offline   Reply With Quote

Reply

Tags
interfoam, pid


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] paraview not runing? (foam extended 3.2 and ubuntu 15.04) Milan2013 OpenFOAM Installation 23 April 20, 2017 06:49
[foam-extend.org] Foam extend 3.1 rpmBuild error. Saideep OpenFOAM Installation 2 September 25, 2016 20:34
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
Install OF 1.6.ext on Arch based distribution miro2000 OpenFOAM Installation 4 October 9, 2013 15:39
OpenFoam 1.6-ext - RPM build errors preibie OpenFOAM 12 September 8, 2011 04:12


All times are GMT -4. The time now is 16:17.