![]() |
Using an Non First Microcontroller with Victor 884 Motor Controller
Hi I am trying to use a Victor 884 motor controller with a non first micro controller. I dont want to use a PWM driver.
Does anyone know any information about the PWM signal used to control the Victors? Period, Voltage, Current ect... Thanks |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
My understanding is this:
1ms - 2ms pulse width with 1.5ms being center(off) , the 1ms full rev and 2ms being full fwd. refresh rate or period is 50hz. signal level is a ?. It seem that 5volts was the output but I know that we had issues with some RC type outputs being to weak to drive one. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
There shouldn't be a problem using "something else" to control your motor controllers for testing or non-competition uses. But please check the rules if you're thinking of sticking it on the robot this year!
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
I'm using them for the 2013 Robomagellan Competition in San Mateo, CA not a FIRST event so FRC rules don't matter. Thanks for the help, but does anyone know what the minimum and maximum current is for the motor controller?
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Maximum: 40 Amps Continuous, No minimum current.
More information can be found here (which to my understanding is the only place 884's are being sold!): http://www.robotmarketplace.com/products/IFI-V884.html |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Since you can turn them on and run them with no load, this implies no minimum current. Keep input voltage around 12. The pwm signal should be pretty low current. Any standard microcontroller output should provide enough.
Thanks for the 5 and 10ms info. I find that quite helpful. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
There's also a max current above which the opto-isolator can be damaged. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Our test box is using a Microchip PIC12F675 to generate a PWM signal for the motor controller. The box drives Victor 883s, Victor 884s, and Talons well. Our black Jaguars pretend it doesn't exist. The timing we use is 1mS on equals full reverse, 1.5mS on equals neutral, 2mS on equals full forward, with a rep rate of 244 Hz. We have a 270 ohm resistor in series with the PIC output pin to allow it to survive inadvertent shorts to ground.
The Talon manual states an input frequency of 333 Hz, but it seems quite satisfied with 244 Hz, and allowed me to be lazy with the code in the PIC. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
There's a minimum threshold current required to trip the detection circuitry in the motor controller. Quote:
Your period of 4 ms (244Hz) is overkill. The fastest period used in the WPILib drivers is 5 ms. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
Your circuit should work with the Jag. You may not get full output (see Al's post) because the Jags want a wider range on the pulse width, but it should work... Unless, perhaps, the Jag's don't like the 4 ms period. If had a Jag here I'd test it at 4ms. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
In all honesty, I didn't spend too much time troubleshooting the Jag. We have plenty of non-legal 883s for our test boxes. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
Since I don't have a scope, I set the pulse width equal to the period and measure it with a cheap digital multimeter. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
I wondered why it was 5.05 and not 5.00ms, this must be why... |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
|
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
The Jaguar spec wants 5.0125ms or greater period, according to Joe.
5ms would be a nice round number of milliseconds to use for timing the DIO loop. It's not 5ms, it's 5.05ms, which is clearly intentional because the timing is determined (in LabVIEW at least) by multiplying/dividing a bunch of things together, one of which is a 5.05 double-precision float constant. Even if it was the nearest round number, since they used a float it would have to round when converting to integer later in the math anyway since the period has to be a whole number of ticks, which itself is a whole number of 40mhz clock cycles. |
Re: Using an Non First Microcontroller with Victor 884 Motor Controller
Quote:
Anyway, FWIW I ran a couple of Jags for a couple of days at 5.000 ms period and never noticed a problem. |
| All times are GMT -5. The time now is 12:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi