Jump to content

Aircraft rolling in flight without an input


Recommended Posts

I have a problem with my airplane. It keeps rolling to either side without an input.

rEu4EMt.jpg

The plane is well balanced and flies nicely. I have angled the wings and configured the control surfaces so that it can fly on trim (alt+WASDQE) only with minimal or no inputs. It can fly around the globe 610m/s on almost static altitude on it's own without any inputs after setting the trims, except for the rolling. I have to constantly press Alt+Q or E, and even in fine mode, I can't seem to get it to stay level. Everything is symmetrical and snapped to the center, there is no weight imbalance. The fuel drains normally. Here is the craft file just in case. https://kerbalx.com/Kuula4/Laythe-plane-3  Playing fully stock btw.

 

 

GXuS8OX.jpg

See here. On the left side the gray box is the aerodynamical GUI. "Heading" and "Roll" is what we're interested in. In this screenshot is also information of how I've configured the control surfaces. I have also disabled reaction wheels completely from the cockpit. The "roll" value is constantly changing, no matter how small corrections I make to the trim. In this picture it's rolling slowly to the left 1/10th of a degree per second, and as a result of the bank angle, my heading is changing left as well (northwards).

Interestingly, look at the input meters,  where "ROLL" is. In this screenshot, the plane is slowly rolling to the left, and I have applied right side trim to counteract it. If I trim it anymore to the right from that position, the plane suddenly starts rolling right (instead of the slow left bank until then) very fast, say 5-10 times as fast than in the previous trim position. In a disproportionate manner, instead of leveling calmly. On another separate flight, with the completely same aircraft and heading, the same issue happened but the rolling problem was to the opposite side.

Yesterday with a similar aircraft on 2 separate identical flights, after about 2-5 mins of tedious micromanaging the roll trim I managed to get it perfectly balanced. The needed roll trim was just barely visible on the bottom-left visual meter, unlike in this screenshot where it's easily seen. The plane flew straight and level for hours,  circumnavigating kerbin several times and after running out it stalled safely into the ocean with the crew cockpit still intact. What is the problem now? I have tried the same for so much longer today and can't get it to work. Does it come down to luck in milliseconds of keystroke?  I have even enabled smooth controls with CAPSLOCK, but the keyboard input still seems rough for such precise controls. What causes this phantom roll force in an airplane? that forces me to micromanage the roll trim of an aircraft. Is there a precise way for example, to input the control surface trims numerically with decimals? The analogical display of applied torgue in the bottom left corner of the UI leaves a lot to be desired here.

Here is an older thread I found on the same problem. In this thread there didn't seem to be a stock way to  fix  it and the problem was left partly unresolved.

 

 

 

Edited by Kuula4
Link to comment
Share on other sites

Something strange happened to roll control a few version back.

Since then I am constantly fighting with roll stabilization for my craft, especially for spaceplanes.

A larger vertical stabilizer may help, but I do not have any other remedy.

Good luck!


Happy landings!

Link to comment
Share on other sites

@StarhawkI can't think how a larger rudder could help with roll stability. Perhaps if I had a rudder with 2 separate control surfaces, the higher one with roll only? Right now the only roll controls are on my wingtips on those small elevon 4's.  The issue isn't in that I don't have enough torgue. Most of the surfaces are already set to 1-4 degree max authority. The problem is a (for now unknown) phantom force making my symmetrical and balanced aircraft roll to it's side. It can't be Kerbin's rotation causing it, can it? Shouldn't, because I fly only 0,5-1 degrees max off the rotation...

And indeed, it is really annoying that the plane can't fly straight. But what puzzles me, how did I manage to make my craft not roll at all yesterday, 2 times in a row? After a short trim tapping battle E+Q back and forth, I couldn't believe it! I sat back and enjoyed the views while my plane flew it's tanks dry around kerbin. Now I want to do it again, but I just can't seem to get the trim right no matter how quickly I tap. 

@king of nowhereOops, looks like I forgot to highlight my rudder from the screenshot. I do have yaw control on a small elevon, it's behind that top wing strake.

I am flying without SAS, because I haven't been able to make a plane capable of continuous circumnavigation, without control inputs, using SAS. With trim I have been able to do this. Also, SAS is extremely annoying to use because putting it on cancels manual trim inputs, and touching the controls while it's on resets itself, causing the nose to drop. I have been practising flying with only manual trim and the results have been amazing, it is such a different world, gliding, turning and landing so smoothly.

I turned off the reaction wheels based on a feeling. At least without the reaction wheels, I ruled out  the possibility of them creating the phantom roll somehow.

Link to comment
Share on other sites

Yaw can absolutely affect roll, and sometimes a larger vertical stabilizer will help with roll stability, or simply moving the vertical stabilizer farther aft.  Not sure that is the cause of your issue though, but perhaps worth testing.

On the much larger aircraft I typically build I do not normally encounter your issue.  Perhaps adding some roll stability would help.  Either add a little dihedral to your wings, or mount them higher on the fuselage, either method would add roll stability.

Also, the control surfaces appear to be much larger than a ship that size needs- perhaps try using smaller control surfaces.  In your photo, you have separate elevator and rudder surfaces on the back of the plane.  Try just using one pair of surfaces, and leaving Pitch and Roll active.

If you find a solution, I’m curious what it is.

Edit:  I would definitely try moving your vertical stabilizer farther aft to see if that helps. 
Edit #2:  Is that the Panther engine?  Try turning off the vector control, or gimbal.

Also, do you add positive wing incidence to your airplanes?  If so, is it possible the wing incidences became unsymmetrical?  If so, try rebuilding the wings from scratch, making sure they both have exactly the same rotation when you're done.

 

Edited by 18Watt
Link to comment
Share on other sites

2 hours ago, Kuula4 said:

I am flying without SAS, because I haven't been able to make a plane capable of continuous circumnavigation, without control inputs, using SAS.

Try SAS Prograde in ORBital mode (click on the top indicator of the navball). It works well when you fly strictly eastward. I use it routinely for quick testing/prototyping of planes - shows pretty quickly if you have the basic design parameters right and balanced.

 

As far as I've been able to gather over the years, unexpected roll tendencies in an otherwise well-designed and balanced plane is the result of things that we can't really do much about:

  • Differences in part placement/rotation of mirrored parts. KSP isn't particularly precise about this. Tiny fractions of degree differences of lift/drag inducing parts can add a technically and visually imperceptible but still significant torque, especially when approaching maximum dynamic pressure (you often notice it most when its trying to break the sound barrier).
  • KSP's penchant for part asymmetry combined with an inconsistent default radial attachment/rotation position of parts, especially in mirrored symmetry. Drag cubes are not always 'mirror-symmetric', so this sometimes results in a slightly different drag/lift profile left and right of the craft even when you think you have identically mirrored sides, causing a tendency to roll.
  • Autostrut recalculation while a plane is under physics stress causing parts to slightly move/rotate from where they should be. This is most noticeable in newer versions when a staging event happens, like when dropping fuel tanks mid-flight, and suddenly a perfectly stable plane will start rolling to one side strongly. But it also happens right on first load of a craft. You can tell that this is playing a part when you revert to launch a plane, without making any changes to it, and it displays different degrees of roll tendency every revert, sometimes even in opposite directions.
  • KSP's SAS (not a role in your case, but still worth mentioning). Somewhere between 1.0 and 1.3.1, they did something with the SAS code that introduced a constant 'micro-flutter' to the SAS PID, which often adds a tiny unwanted attitude shift every second or so. Since none of the SAS modes do anything to keep a plane level, and yaw/pitch are usually strongly dampened by most planes' basic design, it tends to be most noticeable in the roll axis.

You can add a bit of camber to wings to compensate for roll tendencies. I often end up adding a five degree (one fine snap) angle upward towards the wing tips. This adds a roll-countering difference in lift between  wings when you're not flying exactly level, so it effectively becomes self-stabilizing (at the cost of a tiny loss of total lift capacity). It's more of a workaround than a solution, but it helps.

Link to comment
Share on other sites

I thought that the vertical stabilizer was called the rudder. But now I see that the rudder is a horizontal control surface in aviation. Must have been a misconception from ships and seafaring... :D 

@18Watt I ran two brief tests. 1. Moving the vertical stabilizer more to the back. 2. making it larger. Both of the changes showed to be (in my observation) irrelevant to the roll issue.

I changed the two control surfaces to one smaller one, and it flies just as well. Haven't tried a landing approach yet though, in those situations, having separate ailerons and elevators is great.  I did have incidence and heeding the advice, I built the wings 3 times from scratch, observed no effect. So I conclude I had used the editor as I intended it to.

 

1 hour ago, swjr-swis said:

You can add a bit of camber to wings to compensate for roll tendencies.

3 hours ago, 18Watt said:

Either add a little dihedral to your wings,

This I did, and the result is, the plane is much more tolerable now. Instead of having to correct the roll (on 4x physics warp) every 5-10 seconds, I don't have to pay attention almost at all. Though adding tip curve to the wings helped, it still didn't eliminate the problem. The plane will still keep a slight bank to the direction the kraken has chosen, 0,5-2 degrees, and so my heading will still change ever so slowly. For now the heading change is only 1/100th of a degree per second, so it is definitely manageable on KSP's miniature planet sizes. And, this eliminated the real danger of the roll issue - the plane won't fall, it will just go slowly off-course. I didn't add any incidence though, I'll have to try later how it affects and if it ruins this balance.

Using these dihedral wings today, I didn't have to tediously fight with the roll trim at all either! But yesterday, I had a plane without dihedral wings. I eliminated the roll issue completely by tinkering with  alt+Q/E, on 2 separate occasions! It makes me wonder, is such a mod possible that enables inputting numerical trim orders? With decimals even?  Or is it possible to view the precise amount of torgue (phantom roll force) that is being applied to the plane? If the 2 previously mentioned cases are possible this issue could be completely eliminated.

Though I suppose there is the atmosphere autopilot mod, which looks wonderful and I think it will solve everything. But I'll stay stock for a while still.

@swjr-swisHearing what you say about the game physics, I conclude that yesterday I just got lucky removing the roll problem with manual inputs.

1 hour ago, swjr-swis said:

You can tell that this is playing a part when you revert to launch a plane, without making any changes to it, and it displays different degrees of roll tendency every revert, sometimes even in opposite directions.

Just saw this! The precisely same craft had his phantom roll to one side and on the next flight to the other. I noticed this yesterday too.

 

EDIT: Another thought rose to my mind, if I didn't use any autostruts in the plane, it might not suffer from this issue?

Edited by Kuula4
Link to comment
Share on other sites

1 hour ago, swjr-swis said:

I used the wrong word, didn't I? It's dihedral, sorry.

Ha!  I knew what you meant!  I think dihedral is the preferred term amongst aeronautical enginerds, but I take camber to mean the exact same thing.  At least you didn’t call it caster..

Link to comment
Share on other sites

I launched this similar aircraft 7 separate times and the results were:fM8wm2b.jpg

-3 times it rolled slightly to the left, until it was at 0,5-2,5 degrees bank angle, then it took much longer to roll any more. I could fly 2,5 times around kerbin near the greatcircle, had to fix roll just a few times. On the first flight the roll was almost unseen, at maximum only 0,5 degrees.

-2 times it rolled aggressively to the left and it went over 7 degrees, showed no signs of slowing the roll and started falling. I aligned the craft manually several times, even set it into a 45 degree angle on the other side. Still it kept rolling quickly.

-2 times it rolled slowly to the right but showed no signs of stopping or slowing down unlike when rolling to the left previously.  

On none of these flights I used roll trim, only pitch. I made sure by resetting my trim several times (alt+x)

If you're interested in trying this out, here's the ship used https://kerbalx.com/Kuula4/Panther-cruiser . You can also do a test with your own craft. The mission is to fly around the globe in an unchanging heading on a steady cruise. Don't use SAS.  Use only Alt+WS trim, go to cruising altitude until you're roughly level in speed and alt, cruise straight for a while (with 4x physics warp too) and revert a few times. See if the rolling issue ( if your craft might experience any) changes at reverts when there should be no physical difference.

AyoAJR5.jpg

Anyway, I can consider this issue on a personal and case-specific level  solved. The yesterday's dihedral-wing aircraft (seen dimly in the picture) flew very nicely and never rolled more than 0,7 degrees to either side (seen clearly on the picture). While heading corrections were needed, they were far and wide.

Thanks for the replies.

 

 

Edited by Kuula4
Link to comment
Share on other sites

@FleshJeb I was thinking about it, but when I'm already flying on the equator (KSC is not on the equator?) going eastwards, Kerbin's rotation shouldn't have any effect. The plane is configured with slight trim and slight incidence, it "bounces" at an altitude of around 13 to 14km and a steady speed of 610m/s, so the curvature of kerbin is not a problem either. I imagine a nice path for my plane along the greatcircle, but the tiny bank angle always forces it off-course :(

I also tested this by flying over the equator from north to south and from south to north several times at a 45 degree heading and heavy roll. The phantom roll that the craft had, persisted, and only changed upon reverting and launching again.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...