Page 1 of 1
Tricopter - servo shaking
Posted: Thu Mar 31, 2011 2:26 pm
by rihardsb
Dear All,
Does anybody have an idea why tricopter tail servo is shaking during and after calibration via GUI, gyroscope/accelerometer calibration and accelerometer trim. While tricopter is positioned horizontally, tail servo turns the tail chaotically to both directions. I use Multiwii firmware version 1.7. The values read through GUI seem reasonable and the output from the sensors seems fine! Has anybody came across the same problem?
Best Regards,
Rihards
Re: Tricopter - servo shaking
Posted: Thu Mar 31, 2011 4:20 pm
by rihardsb
The only answer to my question I found is to reduce vibration to absolute minimum, however I am wondering, is it possible to do it programatically via firmware?
Re: Tricopter - servo shaking
Posted: Thu Mar 31, 2011 8:12 pm
by Alexinparis
you can try this:
#if defined(TRI)
gyroData[YAW] = (gyroYawSmooth*2+gyroData[YAW]+1)/3;
gyroYawSmooth = gyroData[YAW];
#endif
=>
#if defined(TRI)
gyroData[YAW] = (gyroYawSmooth*4+gyroData[YAW]+2)/5;
gyroYawSmooth = gyroData[YAW];
#endif
Re: Tricopter - servo shaking
Posted: Fri Apr 01, 2011 9:27 am
by rihardsb
Thanks Alex:) I'll try that!
Re: Tricopter - servo shaking
Posted: Sat Jul 02, 2011 11:40 pm
by trobinson3003
richardsb,
did the above solution work for you? I tried it but my tricopter still has an intermittnet jerking while flying.
Tom
Re: Tricopter - servo shaking
Posted: Tue Aug 30, 2011 10:09 pm
by bill516
I've got this problem tail servo shakes even without motors turning. Thought I'd fixed it at the w/e when I uped the tail servo rate to 1 in the GUI, after that I managed to fly a bit despite the wind. Had a go today with as it wasnt too windy and the servo was shaking as bad as before.
re the info from Alex above, where in the sketch does it need to go.
Re: Tricopter - servo shaking
Posted: Wed Aug 31, 2011 10:58 am
by PatrikE
I have same problem on my gimbal.
Using A0 & A1.
When the Tilt-Servo moves it starts to shake.
In the gui i can see that when it starts shaking all RX inputs is flickering between 1000-2000.
It seems that the servo is overloading the output.
Iw'e tested some servos and it occurs on another to.
The servos is 9gr MG servos.
With a Turnigy TG9e it's normal.
/Patrik
Re: Tricopter - servo shaking
Posted: Wed Aug 31, 2011 1:28 pm
by bill516
Found the gyrodata part in the code and replaced it, it is much tamer now but still shaking, its flyable but does not hold a heading needs correcting now and then. I also reduced YAW P to 10 and that made an improvement as well. Naffed another servo so need to replace that before I can try more tweaking, I've had enough for the day so will try later
I thought the post from Alex was two different things to try, it was only when I did FIND 'gyrodata' in the code I found that the first code Alex mentioned was already there, so I replaced it with the bottom code.
Re: Tricopter - servo shaking
Posted: Fri Nov 25, 2011 11:56 am
by zarkon
PatrikE wrote:I have same problem on my gimbal.
Using A0 & A1.
When the Tilt-Servo moves it starts to shake.
In the gui i can see that when it starts shaking all RX inputs is flickering between 1000-2000.
It seems that the servo is overloading the output.
Iw'e tested some servos and it occurs on another to.
The servos is 9gr MG servos.
With a Turnigy TG9e it's normal.
/Patrik
I have the same servo on my small tri same thing happen it start to shake for no reason now my tri has become quad so no way to test it again, But I personally think it you using 9gr MG get another servo I tested w/o connecting to multiwii is shaking as hell
Re: Tricopter - servo shaking
Posted: Mon Jul 09, 2012 6:00 am
by Poofjunior
I had a very similar problem where, despite my pid settings, after every initial power-up, any slight touch on the rear of my tricopter would send it into a constant shaking. It ended up being a design problem: it turns out that the thing aluminum tubes that I used were very good at propagating vibration from the motor all the way down the shaft to the center where the sensors are. I couldn't get stiffer tubes at the time so I changed the design altogether from thin hollow aluminum to pieces of balsa wood reinforced with carbon fiber cloth. This change eliminated the problem completely! Now, when daydreaming about frames, I have to keep two things in mind:
1. Try to keep most of the weight of the frame at the center, rather than at the ends of the beams (where the motors are).
2. Dampen the center with beams that will either absorb a good amount of motor vibration (like wood), or remain stiff, so that the vibrations of the motors must shake the entire quad rather than just the ends. When the beams are flimsy, they can let small vibrations accumulate at the ends of the beams, like a ball-on-a-spring being bounced at just the right rate to build up the intensity of the movement.
I hope this helps!