|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Creating PWM signal for victor
Hello,
I am trying to figure out a way to get a possibility to quicktest all our Victor 884s and 883s without using the cRIO or any other FIRST hardware. So I've built a simple timer circuit which gives me a PWM input rate T = 22 ms and a PWM puls rate of 1.1 - 2.3 ms (controllable with a potentiometer). I monitored that signal with a storage oscilloscope to double check this data. The values are correct. According to that information, it should work fine: http://www.vexrobotics.com/products/...ontroller.html But, with the Victor 883 it doesn’t work at all. It blinks orange, which means no PWM signal. And with the Victor 884 it only works for reverse and stop. If I come to the puls rate > 1.5 ms - which should be forward - it starts blinking orange very fast (faster then the slow 'no PWM signal' blink) Do you have any idea what I am doing wrong? neg0riz0r |
|
#2
|
||||
|
||||
|
Re: Creating PWM signal for victor
You need to boost the pwm signal to work with the victors. A few years back we built a control box using an airplane r/c transmitter and receiver to test drive our bot. We bought special pwm cables that had a built in amplifier to make it work. I can't remember who we bought the cables from. In the jaguars the pwm input is opto isolated so you don't need as high a signal strength. Hope this helps.
|
|
#3
|
|||||
|
|||||
|
Re: Creating PWM signal for victor
Here's our PWM driver: http://www.team358.org/files/electri...MGenerator.pdf
The circuit diagram is at the end if you want to compare circuits to see what differs. |
|
#4
|
|||
|
|||
|
Re: Creating PWM signal for victor
@NOV8R: Yes, I realized with the oscilloscope that the signal is not stable when the motor is turning. So some kind of current amplification was my idea, too. But I don't know how to do that :/
@Mark McLeod: I tried that before. Had similar problems. Signal not stable. Does this really work for you with victor 883 and 884 ? |
|
#5
|
|||||
|
|||||
|
Re: Creating PWM signal for victor
One of these circuits was used last night to run an 883 driving a window motor on a test frame.
I suppose your 883 blinking yellow light could be caused by a missed/bad contact at the PWM connection, since those are easy to miss inside that cover. Do you have access to any old IFI robot controllers you could borrow for testing your Victors? Last edited by Mark McLeod : 02-03-2010 at 13:01. |
|
#6
|
|||
|
|||
|
Re: Creating PWM signal for victor
No I don't have access to those.
There is no contact problem at connecting. Thats for sure. With the Victor 884: One directions works, the other not (here we have also the blinking thing) |
|
#7
|
|||||
|
|||||
|
Re: Creating PWM signal for victor
Quote:
|
|
#8
|
|||
|
|||
|
Re: Creating PWM signal for victor
I thought something like that, but in the pdf I posted in my first post it says:
Quote:
|
|
#9
|
|||
|
|||
|
Re: Creating PWM signal for victor
The "filter" in the middle of some pwm cables just inverts the signal twice, forcing it to a valid logic level. I wouldn't guess that it can supply any more current than your timer chip can, but if your signal isn't clean it might help.
|
|
#10
|
|||
|
|||
|
Re: Creating PWM signal for victor
OK now I have exactly 16 ms.
I was wrong with my statement concerning the Victor 883 before. I really must have done something wrong while connecting it. Sorry at this point. Because now the 883 runs perfect with the circuit. All directions. Full Speed, Stop..everything is fine. And it is not important if T = 16ms or 22ms. Both works. But the Victor 884 still has the same problem. Reverse works to Stop works, but the area above 1.5 ms (which is forward) doesn't work at all. And only in this area the signal becomes unstable, too. Maybe it is a problem with the victor itself. But reverse works, so I just assumed that it is fine... I will have to get another 884 to check that. |
|
#11
|
|||||
|
|||||
|
Re: Creating PWM signal for victor
I have several Victors that only work in one direction, so that's quite possible.
|
|
#12
|
|||
|
|||
|
Re: Creating PWM signal for victor
Oh? Thanks for this information. Thats really helpful. Does your start blinking orange, too, if you apply the signal for turning in the not-working direction?
|
|
#13
|
|||||
|
|||||
|
Re: Creating PWM signal for victor
I don't remember if any of them blink. I think that on some the light just goes out, but I haven't tested them in the broken direction in a while. They get labeled and put on a shelf for later repair if necessary.
You just need a secondary way of testing them that confirms the problem before you can be sure there is a problem. That's why I suggested an old IFI controller. They're still useful if you have a one-way device, such as, a flywheel or shooter mechanism. |
|
#14
|
|||
|
|||
|
Re: Creating PWM signal for victor
ok circuit works with different victor 884. This one is apparently somehow damaged. Thanks for your help.
|
|
#15
|
|||
|
|||
|
Re: Creating PWM signal for victor
The Victor 884 has a deadband with respect to the PWM signal, which is approximately 117 to 137 . Any PWM signal within the deadband results in no output.The PWM deadband accommodates joysticks that do not return to the exact same centre. The PWM deadband effect can be overridden by Robot Controller code if needed.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Signal to the victor | alexgou91 | Electrical | 4 | 08-01-2009 12:24 |
| pwm signal delay | 3dude_2231 | Programming | 14 | 05-10-2007 20:08 |
| PWM Signal Noise? | Danny Diaz | Electrical | 3 | 28-01-2007 17:02 |
| Must Connect PWM cable in reverse for victor to work? | Leav | Electrical | 3 | 12-01-2005 16:43 |
| Loss of signal in PWM cables. | archiver | 2001 | 6 | 23-06-2002 23:29 |