Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
P does your correcting. A lower relative P allows for slower corrections, a higher allows for faster corrections. If your craft is slow to correct, increase P. If it's overcorrecting or correcting too quickly, decrease P.
D adjusts for overcorrections and scales the deceleration as you near the setpoint. D will almost always be a factor greater than your P, i.e. 5x, 10x, or 100x your P value. If your controller is swaying back and forth over the setpoint, increase D. If it's jittery on the setpoint, decrease D.
I is determined last and only if needed. If your P and D collectively can only get you close to your setpoint but not quite there, add in I. This is a cumulative correction that builds over time, and will be a factor much small than your P, i.e. 1/10x, 1/100x, 1/1000x your P value.
Start with a low P value. If you are feeding your PID into 0 to 1 a scale output like throttle, then try a .01 to .1. Set I to 0. Don't adjust I until you have P and D sorted out. Set D to 5x P. Test. If corrections are slow, double P. If your craft sways back and forth over the setpoint, increase D's factor. If it's close but can't quite hit the mark, add an I at 1/100 of P and increase slowly until it feels right. If it is correcting the wrong direction, invert the output from the PID. If it's not doing anything, make sure your PID is connected correctly and turned on.
It can be frustrating, but it's something you really just have to play with until it feels how you want it to feel.
its diving and climbing doing a little shape like you were see on a heart monitor in the hospital squiggles if you will. Noses way up climbs then gets there and nose dives then climbs. I figured half of the 0.1 would be 0.050 but that had almost no difference.
Its about a 1/4th of the standard jets you see in stormworks in length and width. Very small and short. But pretty fast.
Maybe if I use 0.025 and and multiple the D value will get it to behave?
As an option, I normally start tuning only P and leave I and D at 0 until I'm close to where I want to be with P.
The C-47 I got from the workshop has pitch hold instead of altitude hold. Im thinking about going after that instead but I dont know.
This way the PID can be quickly dialed in, starting at a rather low P value somewhere around 0.1, depending on your plane, amount of control surfaces etc.
A pitch hold might be not the right tool for the job if all you want is to stay at a desired altitude. A roll hold is usually used at the same time as the altitude hold, to guarantee maximum usage of control surfaces among the correct axis.
Vertical speed hold can lead to issues if you don't nail it 100%, which will result in the plane constantly climbing or sinking at a slow rate.
You can also expand on the altitude hold further and control vertical speed until the desired altitude is within a certain margin. This would also prevent the plane from climbing/sinking at too steep an angle, when using rather aggressive P values.
As others already stated, start with a low P value and don't touch the other variables until P brings you within an ok range of the desired altitude.
This one isnt an RC. Its an actual piloted micro jet. BD-5 Replicated best I could.
The PID value I tried seems to have yielded the same results. Straight up vertical climbs then nose dives over and over again with the usual working setting for most planes of 0.1 on the P.
I tried 0.050 thinking halving the number due to the size of the jet would work but it
still does the same thing.
I dont know much about this game to try and make it hold the wings level also when I cant even seem to get it to target the right altitude so for now Im only going to focus on getting it to straighten out while its seeking the altitude set in the controller.
I only switch it on within 100 of the target altitude as Ive heard it breaks if you do it with a high deviation between current altitude and the target one of more than 100.
It is inverted from the output of the PID to the switchbox
so I have the I an D set to 0.
No matter what i seem to enter on P all it wants to do is Pull straight then push the nose back down go nose diving then pulls up and up and up and goes into a cartwheel same reaction no matter what number I set it to. 0.1 didnt work 0.050 didnt 0.025 didnt 1 didnt 5 didnt no change at all in that whole number range.
I figured describing whats it doing might say if I have it hooked up or not. Im guessing its doing a normal reaction to PID setting according the comments on the altitude hold tutorial video I watched everyone in the comments said their builds were doing the same thing but people said try inverting the output from PID well I did that and its still not responding any differently no matter what I seem to put in for the P value.
This read will help you tho :
https://pidexplained.com/pid-controller-explained/
now you know the actual math.