Home › Forums › Everything about everything else › PlasmaTree PID Analyzer
- This topic has 12 replies, 3 voices, and was last updated 6 years, 2 months ago by Kevin_Erik.
-
AuthorPosts
-
31 May, 2018 at 09:57 #57981Kevin_ErikModerator
Anyone try using Plasma Tree to tune your copter?
31 May, 2018 at 13:32 #57982biggestRCEfanParticipantWould like to try it. Keen to know how easy it is to find the step response sequences in the recordings. It looks like a easy, systematic process to tune the pids.
1 June, 2018 at 05:27 #57986fomoco_44ParticipantI’ve been plying with it on my quads and Mini + Baby Tri…..
1 June, 2018 at 05:30 #57987fomoco_44ParticipantThis is my Mini Tri running a high-spec BMS A207 servo:
Attachments:
1 June, 2018 at 15:28 #57990Kevin_ErikModeratorHere is my current progress with Pitch and Roll.Will work on Yaw later in the week as time permits.
Here are all the logs from this round of testing.
https://drive.google.com/file/d/1b6465YByQiHCCwqAF9k0QN1qMabMMvaQ/view?usp=sharing3 June, 2018 at 11:59 #58001Kevin_ErikModerator6 June, 2018 at 09:05 #58035Kevin_ErikModeratorDid a lot of work using Plasmatree to tune and thus far the results have been very encouraging. One thing of note is that these are full (5 minute) flights log taken at 4k log rate. Originally this was tuned for 6S-LiPo use so I guess the increase in Voltage makes the entire system more sensitive to PID changes. Thus the differences and mistakes tend to stand out more.
Oddly enough, Roll seems to be pretty easy to tune despite the fact that the Tail-Mechanism can induce Roll. Pitch appears to be the problem child as it’s often very difficult to get a sharp but smooth transition to “1.0”. Of coarse extra D-term could be used but I am a bit leary of the possibility of overheating the motors.
Yaw requires a lot of D-Term dampening. Sometimes more than 100 may be needed for it to start to become noticeably effective in smoothing out the transition to “1.0”. Far as I can tell, the D-Term for Yaw doesn’t change the behavior of the Motors, just the Servo. Hence having a high D-Term is possible and in many situations necessary.
12 June, 2018 at 10:45 #58063Kevin_ErikModeratorSeeing a rather large amount of Pitch bounce-back regardless of Terms used or filter settings applied. Curious if anyone has a solution or ideas that can help me resolve this problem.
https://farm2.staticflickr.com/1744/41849129875_de83dfa757_h.jpg
Note : “Pitch” baseline starts at 9/10/0. D-Term 17 shows twice as one is with stock filtering and the other is using Dynamic filtering. Yaw smooths out as Pitch starts to smooth out.
13 June, 2018 at 13:46 #58071Kevin_ErikModeratorOK, I think i have figured this out. Apart for disabling AntiGravity and other things that alter your PID’s. Methodology and consistency are very important if you want to get good results. Furthermore, muting the Yaw terms was required to be able to see good results without interference from with other axis. I ended up working the PID’s in this order: P, D then I. Apparently first having a nice sharp rise-time that flattens out at “1” is required to be able to tweak in the I-terms.
Made a few videos for your viewing pleasure.
I ended up using the following settings for Pitch: 38 / 20 / 36 (Running 6S)
For those using 4S-LiPo’s the PID’s would need to be a bit higher.
14 June, 2018 at 07:32 #58076fomoco_44ParticipantNice work!
I’ve been having problems with Pitch+Yaw coupling with both my Mini and Baby, usually during a 180 pirouette or free-fall, and reading back through the Triflight notes I think the culprit might be tri_dynamic_yaw_boost. From what I understand this factor/ratio directly affects the Pitch PIDsum based on throttle position and Yaw input.14 June, 2018 at 08:27 #58077Kevin_ErikModeratorAs per…
https://github.com/lkaino/Triflight/releasesYaw boost is only enabled in air mode. Try again with auto leveling enabled to see if your still seeing coupled feedback between the two axis.
Question, which ESC protocol are you using?
15 June, 2018 at 20:32 #58082Kevin_ErikModerator24 June, 2018 at 09:55 #58112Kevin_ErikModeratorLatest Plasmatree video for version .52 of the analyzer release.
-
AuthorPosts
- The forum ‘Everything about everything else’ is closed to new topics and replies.