|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Issue with Talons
http://www.chiefdelphi.com/forums/sh...hlight=chassis
This picture shows the electronics on the practice bot. Granted the wiring job is rather disorganized, but we do not use a ribbon cable on the DSC, we use a different type of cable as shown because we find they have far less issues than ribbon cables. It's still possible that this cable could be the source of issues, but not the kinds most teams with ribbon cable issues encounter. |
|
#2
|
||||
|
||||
|
Re: Issue with Talons
Quote:
Could be related to new cable or not, just my observations. |
|
#3
|
||||
|
||||
|
Re: Issue with Talons
Both Al and Alan Andersons suggestions are good. The most likely problem is an intermittent PWM signal either at the software or hardware level.
Another possibility is an excessive periodic loop time. The time out on the Talon is 100 ms. That means if the Talon does not detect a rising OR falling edge after 100 mS, the output will be disabled. If you have access to an oscilloscope you may us it to verify your loop time by toggling a digital I/O every periodic loop. Make sure you call this in the same area you set the throttle value. As Alan stated the jump and jitter can be caused by an interrupted PWM signal. Check for poor PWM cabling and DSC performance issues. |
|
#4
|
||||
|
||||
|
Re: Issue with Talons
Quote:
If your team doesn't have a scope and can't afford one, there's a fairly simple and inexpensive way I have used to create a piece of test equipment that will do things like this, using the RS232 or parallel port of an old laptop. If there's enough interest I will post a paper about it. PM me. |
|
#5
|
||||
|
||||
|
Re: Issue with Talons
Quote:
http://www.ledametrix.com/oscope/index.html |
|
#6
|
||||
|
||||
|
Re: Issue with Talons
Quote:
Quote:
Food for thought: If all you are trying to do is measure the timing (not observe the waveform) of a digital signal then you don't need the sound card's ADC. All you want is to capture and timestamp the edges. The parallel port works great for this. You can poll the data pins of a parallel port at 680KHz or so... way beyond the frequency of the audio card. |
|
#7
|
||||
|
||||
|
Re: Issue with Talons
So here's an update with what we tried tonight:
At first we started driving the robot around and did not observe the problem. Then, within 10 minutes the issue started back up again with the same symptoms as before. The robot twitches to the right before driving forward or reverse when it is command to go at high speeds. To describe the trouble shooting and results we got, I will use the terms "DSC A" and "Cable A" to describe the equipment we started with, and "DSC B" and "Cable B" to describe the components we tried switching out with. First we switched the cable from Cable A to Cable B since this was the easiest switch. The problem got worse. Now when enabled, the robot just ignored our commands and abruptly twitched turning to the right continuously. We then tried the original components and got back to square one. Next we tried DSC B with Cable A and the problem seemed to be remedied, but we were unconvinced because we now thought that the problem could be with the cables since it seemed to be significantly worse with Cable B as compared to Cable A when both were paired with DSC A. When we tried DSC B and Cable B together, we got the same exact symptoms as DSC A and Cable A; the robot does a single twitch to the right before driving forward when commanded to only go forward. So we went back to DSC B and Cable A since this got us the best results. And after about 15 minutes of driving that way, we have yet to reproduce the problem. I'm hesitant to say that the problem is fixed because the logic is very odd and we haven't tested extensively yet, but the symptoms of the issue have yet to be observed in this configuration. Can anyone else follow this or make any sense about what these results could mean? Maybe both DSC A and Cable B are bad, but I would expect more sensible results in that case... Last edited by KrazyCarl92 : 07-02-2013 at 01:08. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|