Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Odd 9V Power Drain
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    Forum Index -> ZX-40
Author Message
spamiam



Joined: 13 Nov 2005
Posts: 689

Posted: 25 March 2010, 10:54 AM    Post subject: Reply with quote

That's great! I never made such a thing because I was daunted by the task! Congratulations. In looking at the video, it seems to be well damped. Maybe overly damped as it takes a while to stop moving after getting a push. It looks as it there is a quick response which then damps alittle too fast. What happens with more P and/or a little less D?
-Tony
Back to top
liam.zbasic



Joined: 25 Mar 2008
Posts: 163
Location: Southern California (Blue)

Posted: 25 March 2010, 20:29 PM    Post subject: Reply with quote

In the case of the floor GBOT, Kp was approximately 10*Kd and Ki was nearly zero. Surprisingly, in the case of the balancing bot, the Integral gain (Ki) is 3 times higher than Proportional Gain (Kp), and Derivative gain is only a tenth of Proportional Gain (Kp). In other words, Ki = 3*Kp = 30*Kd.

I started GBOT90 with mostly Kp and some Kd, but the system was very jittery. Part of the issue was resolution. Filtering the IR signal in hardware & software was critical. Drift was less of an issue. Then I started dialing up Ki, and the jitter reduced, but the drift increased, especially in areas where my floor is not level.

So more Kp and some Kd results in less drift, but more jitter, and the Martini test would not have a happy ending.

The key is to add another IR sensor to reduce drift, or replace the IR approach with a single gyro. That hurts the wallet.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-40 Time synchro. with the server - Timezone/DST with your computer
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group