money
RSS Facebook

RCMF

* *
Welcome, Guest. Please login or register.
June 20, 2013, 06:43:58 AM

Login with username, password and session length

Author Topic: ESC testing  (Read 909 times)

0 Members and 1 Guest are viewing this topic.

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
ESC testing
« on: March 17, 2012, 18:48:30 PM »
Hi all, I need expert electronics advice please. Posting in this section for general electronics advice, not necessarily specific to the aircraft.

Project: Cinestar hexacopter - based on Mikrocopter flight controller. Camera gimble fitted.
http://www.quadrocopter.us/
Problem: persistent glitching in the roll axis

My buddy built the ship and has been flying it for a few months. Taking HD footage is the plan but there is a consistent twitch in one axis. This happens in dead air, on the hover or on the move. It's just enough to spoil the the video recording, but not terribly noticeable in general flight. We've played extensively with the PID settings to try and iron it out. The props are balanced. The frequency of the glitch is about every 5 seconds, but not timed it for consistency.

I suspect an ESC or motor problem. Is there any way of testing the consistency of ESCs? I know how to use a multimeter but that's about it. Perhaps an ocilloscope is needed? Likewise, could it be a dicky motor?

Thanks for any comments.
Bennyh

Offline PDR

  • Trade Count: (+1)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 3
  • Posts: 19,328
  • Liked: 193
  • Country: gb
  • Beware Geeks bearing gifs
  • BMFA Number: 63119
Re: ESC testing
« Reply #1 on: March 17, 2012, 19:47:34 PM »
To start with the obvious - if it's one one servo that's glitching have you replaced that servo?

PDR
There are no shortcuts on the long, hard road to success. But if your dad's rich there could a limo service...

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #2 on: March 17, 2012, 20:25:59 PM »
No servos!
1 flight controller board
6 ESC
6 motors

Offline dogshome

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 9
  • -Receive: 13
  • Posts: 1,505
  • Liked: 2
  • Country: gb
Re: ESC testing
« Reply #3 on: March 17, 2012, 20:34:33 PM »
No dodgy connections to the motors? Battery up to the job?
肉(rņu)包(bāo)子(zi)打(dǎ)狗(gǒu) (meat+bun(2nd and 3rd)+hit+dog)
Literally: To hit a dog with a meat-bun

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #4 on: March 17, 2012, 20:48:41 PM »
I think poor connections unlikely as all the motors appear to work perfectly. Battery is a 4s 8000mAh brick. All the other batteries exhibit same problem. Dead battery would make this sucker go down rapidly!

Online Yoyo

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 7,389
  • Liked: 77
  • Country: gb
  • Wahey!!
ESC testing
« Reply #5 on: March 18, 2012, 09:38:54 AM »
No servos!
1 flight controller board
6 ESC
6 motors

Can you swap the motor/ESC pair from one arm to another easily? If the twitch moves to another axis then it's one of them, if it stays put then it's controller related.
Doing what you like is Freedom
Liking what you do is Happiness

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #6 on: March 18, 2012, 18:19:21 PM »
interesting idea there Paul, but they are all on one circular board. I could unsolder all the connections and rotate 90 degrees though - bit of a ball ache but might be worth it.

Offline JohnB

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 43
  • -Receive: 34
  • Posts: 4,529
  • Liked: 8
  • Country: gb
  • No longer an active participant
Re: ESC testing
« Reply #7 on: March 18, 2012, 18:25:08 PM »
We've played extensively with the PID settings to try and iron it out.

If youre meaning the settings of a full 3 term controller the Derivative part needs to be switched off, you only need PI control.

J
No longer an active participant.

Online Yoyo

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 7,389
  • Liked: 77
  • Country: gb
  • Wahey!!
Re: ESC testing
« Reply #8 on: March 18, 2012, 20:23:34 PM »
interesting idea there Paul, but they are all on one circular board. I could unsolder all the connections and rotate 90 degrees though - bit of a ball ache but might be worth it.

I followed the link you put in the first post - that's a serious and expensive bit of kit. I'd definitely be taking it up with them instead of trying to guess what's up.

If it isn't an ESC/motor fault then the next most likely thing is a software problem, and I'd suspect that to be the case anyway from the long period of the glitch - in ESCs everything is happening hundreds of times a second, not every few seconds, so I'd expect problems to be more frequent. Software control loops, counters etc. might glitch less often than that.
Doing what you like is Freedom
Liking what you do is Happiness

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #9 on: March 19, 2012, 09:36:11 AM »
Yes, we're speaking to the producers too.
Thanks for your comment about the likely source of the problem though.
For the record, how would you test an ESC?

Online Yoyo

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 7,389
  • Liked: 77
  • Country: gb
  • Wahey!!
Re: ESC testing
« Reply #10 on: March 19, 2012, 10:09:26 AM »
Yes, we're speaking to the producers too.
Thanks for your comment about the likely source of the problem though.
For the record, how would you test an ESC?

It's tricky to do it in fine detail unless you have a multi-channel storage scope to catch the inputs and outputs for an extended period.

Presumably if this glitch is enough to affect filming then it will be visible in a motor running on the bench? For a confidence test I'd probably use a servo tester to feed the throttle signal into the ESC and listen to the motor at a range of speeds, any glitch should show up in the sound. That wouldn't show if the problem is down to sudden rapid changes in control input such as you're likely to find in a hexacopter, though.
Doing what you like is Freedom
Liking what you do is Happiness

Offline dickw

  • Trade Count: (0)
  • RCMF Air Commodore
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 12
  • Posts: 544
  • Liked: 3
  • Country: gb
  • Grow old disgracefully
Re: ESC testing
« Reply #11 on: March 19, 2012, 10:48:50 AM »
If you could beg, borrow, or even buy an on board data logger you could monitor the controller to ESC signal and motor parameters like rpm at the same time - unfortunately only one motor/ESC combination at a time though.
The SM Unilog that I use logs at up to 20 Hz, not sure about the Eagle Tree logger - probably 10 Hz.
English translation of SM site here:-
http://translate.google.com/translate?u=http%3A%2F%2Fwww.sm-modellbau.de%2Fshop%2Findex.php%3FcPath%3D11&hl=en&ie=UTF-8&sl=de&tl=en

Dick
Grow old disgracefully

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #12 on: March 19, 2012, 13:21:48 PM »
I think there might already be an onboard data logger. I'll look into that. Cheers
Ben

Offline dogshome

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 9
  • -Receive: 13
  • Posts: 1,505
  • Liked: 2
  • Country: gb
Re: ESC testing
« Reply #13 on: March 19, 2012, 21:41:30 PM »
If youre meaning the settings of a full 3 term controller the Derivative part needs to be switched off, you only need PI control.

J

The much maligned Derivative term. But don't ever think it isn't extremely useful. Never be without it   :af

How's yourself J? About time we talked to each other at the next nats I think  :)
肉(rņu)包(bāo)子(zi)打(dǎ)狗(gǒu) (meat+bun(2nd and 3rd)+hit+dog)
Literally: To hit a dog with a meat-bun

Offline JohnB

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 43
  • -Receive: 34
  • Posts: 4,529
  • Liked: 8
  • Country: gb
  • No longer an active participant
Re: ESC testing
« Reply #14 on: March 20, 2012, 06:12:30 AM »
The much maligned Derivative term. But don't ever think it isn't extremely useful. Never be without it   :af
I agree but it has no place in this environment and could well cause the kick that is being talked about, maybe falling on deaf ears though

Quote
How's yourself J? About time we talked to each other at the next nats I think  :)
Always a pleasure and youre more than welcome anytime to drop into RMFC.

J
No longer an active participant.

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #15 on: March 20, 2012, 08:46:12 AM »
The ears are not deaf, but the bit in between will need to do more reading to understand what you mean!

Offline JohnB

  • Trade Count: (0)
  • RCMF Ace
  • ******
  • Thank You
  • -Given: 43
  • -Receive: 34
  • Posts: 4,529
  • Liked: 8
  • Country: gb
  • No longer an active participant
Re: ESC testing
« Reply #16 on: March 20, 2012, 23:48:14 PM »
The ears are not deaf, but the bit in between will need to do more reading to understand what you mean!
No problem, if you have access to the PID parameters the 'D' part needs disabling or set to zero.

J
No longer an active participant.

Offline bennyh

  • Trade Count: (+1)
  • RCMF Wing Commander
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 436
  • Liked: 0
  • Country: gb
Re: ESC testing
« Reply #17 on: March 21, 2012, 15:46:06 PM »
Thank you, I'll definitely try this.
Have also found some slop in the geartrain of the servo on the camera gimble.

 

RCMF Team

BloQcs design by Bloc
SMF 2.0.2 | SMF © 2011, Simple Machines
TinyPortal © 2005-2012
Page created in 0.753 seconds with 48 queries.