Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: 1 2 [3]
Author Topic: controller glitch questions
Chris@Chro-
nos
Administrator
Posts: 137
Permalink
Post Re: controller glitch questions
on: May 14, 2014, 00:43
Quote

This entire thing has me curious now. I soldered a wire from the VIN to the VMOT to check and see if the trace was too thin. I got the same results, once i turned the potentiometer clockwise everything goes to crap., but when i set it back so the flat part faces me, everything settled down.

At this point i really think the issue is the driver needs to be adjusted, but i would still like to hear your thoughts on this matter

Chris@Chro-
nos
Administrator
Posts: 137
Permalink
Post Re: controller glitch questions
on: May 14, 2014, 00:53
Quote

well, i put the 100uf cap across VMOT and GND as suggested by polulu. no difference there either...

tiddler
Newbie
Posts: 17
Permalink
Post Re: controller glitch questions
on: May 14, 2014, 05:43
Quote

Chris

I soldered a 100uf cap directly on the VMOT and GND pins on the Polulu board just to the right of the screw terminal strip.

The following is what I get without the motor attached,
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 521 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0

Everything is rock solid. I now attach the motor dB9 connector to the controller and this is what I get.

Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 1 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 272 Delay = 522 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 271 Delay = 522 W1 = 0 w2 = 0 Tr = 0

Even if I vary the pots. Look how stable everything is
Button = 0 Mode = 106 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 53 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 3 Mode = 39 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 91 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 259 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 481 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 661 Delay = 391 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 799 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 906 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 970 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 989 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 918 Delay = 391 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 726 Delay = 391 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 526 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 336 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 1 Mode = 231 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 286 Delay = 391 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 307 Delay = 391 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 311 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 316 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 1 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 2 Mode = 317 Delay = 390 W1 = 0 w2 = 0 Tr = 0
Button = 0 Mode = 317 Delay = 391 W1 = 0 w2 = 0 Tr = 0

I'm now getting the same behaviour with both controllers and both have the 100uf cap installed. I can no longer induce the instability in the readings.
There is a little varying but a single digit value or 2 in 1024 is really nothing to complain about. I believe the 100uf cap did help because just prior to installing the cap I had the 1.4.3 code in and I saw instability in the reading from the adjust pot. I then powered it down and soldered in the cap and powered it back up. The variability was gone. It may be coincidental, i don't know for sure. I really hate to say this totally fixed the problem as I'm usually a little sceptical.

I don't know what to say as being the root of the problem.

tiddler
Newbie
Posts: 17
Permalink
Post Re: controller glitch questions
on: May 14, 2014, 05:53
Quote

I've now got something else that is another question.

I have the motor leads connected such that default motor direction works where in the POS mode the right(Out) button will move the carriage away from the motor and the left (In) will move the carriage towards the motor and confirm the in and out limit swtich work find for these movements. If I switch over to CONTinuous mode and set the adjust to the stop position and engage the motor, Rotating the adjust pot to the right like the right arrow moves the carriage in rather than out. It's visa versa for the left rotation and the carriage move away from the motor. It's backwards to the buttons.

Now I've tried configuration direction and both function swap each other. I've tried swapping 2A with 2B and 1A with 1B to see if there is a combination that corrects the button movement to be in tune with the continuous pot rotation towards the button used for direction selection.

Am I missing something? Everything is pointing that continuous motion is inverted from POS movements.
Todd

tiddler
Newbie
Posts: 17
Permalink
Post Re: controller glitch questions
on: May 14, 2014, 06:32
Quote

OK I found the issue

I have the adjust know wired in backwards. You specify in the CONT mode that

if (Minterval <= 490){ //// 1.1.6 Modified 500 to 490//// RIGHT SIDE OF DIAL

On my adjust knob 100 is with the dial to the left. That makes sense now. It's an easy fix because all my wires are on pins and headers. I just need to swap the two wires on the adjust POT on the shield.

Todd

Pages: 1 2 [3]
The Chronos Project | Time Lapse Motion Control
©2013