Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Using an Non First Microcontroller with Victor 884 Motor Controller (http://www.chiefdelphi.com/forums/showthread.php?t=111213)

jamie_1930 14-01-2013 15:20

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

miker4004 14-01-2013 15:47

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.

Jon Stratis 14-01-2013 16:04

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!

Ether 14-01-2013 17:10

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by miker4004 (Post 1215070)
refresh rate or period is 50hz

this from apalrd:
Quote:

Originally Posted by apalrd (Post 1193064)
The current PWM setup in WPIlib (at least in LabVIEW) is a PWM output with a 5s period and a 'period multiplier' of 1,2 or 4. It's enumerated, so 1x, 2x, and 4x correspond to 0,1,2 respectively (I don't think you can add more multipliers if you want).

The Jaguars use a period multiplier of 1, for a 5ms period. The Victors use 2, for a 10ms period. Servos use 4, for a 20ms period, and raw PWM channels can use whatever they want (of the three choices)



jamie_1930 14-01-2013 19:13

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?

McGurky 14-01-2013 19:21

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

Ether 14-01-2013 19:49

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by McGurky (Post 1215210)
No minimum current.

Where did you get that info from ?



engunneer 14-01-2013 19:57

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.

jamie_1930 14-01-2013 20:00

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by McGurky (Post 1215210)
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

When I say max and minimum current I mean for the controlling signal going in to the Victor (the pwm).

Ether 14-01-2013 20:02

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by engunneer (Post 1215247)
Since you can turn them on and run them with no load, this implies no minimum current.

Ever look at a graph of output current vs input command for an 884 ?



Ether 14-01-2013 20:04

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by jamie_1930 (Post 1215251)
When I say max and minimum current I mean for the controlling signal going in to the Victor (the pwm).

Yes, there is a minimum current required to operate the opto-isolator in the Vic's input. Don't know off-hand what it is.

There's also a max current above which the opto-isolator can be damaged.



electroken 15-01-2013 14:52

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.

Al Skierkiewicz 15-01-2013 15:11

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by electroken (Post 1215862)
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 Jaguars use a slightly different PWM scheme than the standard hobby servo. You have to modify the PWM for the Jaguars to react.

Ether 15-01-2013 15:12

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by electroken (Post 1215862)
Our black Jaguars pretend it doesn't exist. ... We have a 270 ohm resistor in series with the PIC output pin to allow it to survive inadvertent shorts to ground.

How much current can that PIC source thru that 270 ohm resistor?

There's a minimum threshold current required to trip the detection circuitry in the motor controller.

Quote:

The Talon manual states an input frequency of 333 Hz, but it seems quite satisfied with 244 Hz
I believe all three motor controllers will accept periods from 5 ms up to 20 ms. Some will accept periods outside that range. The period does not affect the motor controller's interpretation of the input PWM signal. It is reading the pulse width, not the duty cycle.

Your period of 4 ms (244Hz) is overkill. The fastest period used in the WPILib drivers is 5 ms.




electroken 15-01-2013 15:21

Re: Using an Non First Microcontroller with Victor 884 Motor Controller
 
Quote:

Originally Posted by Ether (Post 1215878)
How much current can that PIC source thru that 270 ohm resistor?

There's a minimum threshold current required to trip the detection circuitry in the motor controller.

The PIC output is sourcing 10mA to the one Victor 883 I measured. That's a reasonable input current for the optoisolators I'm used to. I'm pretty sure (but not certain) that the 883, 884, and Talon have optoisolators at the PWM input.


All times are GMT -5. The time now is 21:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi