|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||||
|
||||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
There seems to be some confusion regarding the input PWM signal period that VEX Robotics published. The 17ms input signal period in our documentation for the Victor 884 was the typical number used on the old IFI control system.
Both the Victor 884 and 888 can support (and has been tested to support) down to 2.1ms. Sorry for the confusion. Paul |
|
#17
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Thanks for the info Paul. For completeness, do you know the minimum period that the Jag can support? |
|
#18
|
|||
|
|||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
A period faster than 5 ms is great, but doesn't provide any benefit for FRC applications (unless jhersh updated the FPGA and I didn't get the memo). -Scott |
|
#19
|
||||||
|
||||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Scott,
We did not change it. It is still 5ms. All, To be clear, we did not do anything new with regards to the PWM input on the Victor 888. It has always been 2.1ms on the 884, but we just did a bad job documenting that fact. Paul |
|
#20
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
The Talon input is interrupt driven so it can be updated at ~2.1 ms. We published 3 ms to add conservatism for variations due to calibration points and non standard pulse widths.
If the input pulse produces a rising and falling edge the Talon will process it. |
|
#21
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
Last edited by Ether : 06-11-2012 at 15:01. |
|
#22
|
|||||
|
|||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
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). All it takes to add a new motor controller (in LabVIEW) is to duplicate one of the Open blocks and change the scaling and period multiplier parameters. The Write and Read blocks will adhere to the scaling set in the Open block, and the drivers will use the period multiplier set as well. However, the fact that the driver (in LabVIEW) uses uint8's to store full-range pulse position, so the uint8 stores the widest pulse that the library can generate and devices using a narrower range perform the scaling before converting to uint8 essentially makes the uint8 sent to the fpga the bottleneck for resolution on the entire pwm output system. So, added input resolution on any new devices (e.g. 10bit internal vs 12bit internal) makes no difference due to the 8bit limit of the library. Looking at the library (specifically WPI_PWMConvertDeadbandMillisecondTimeTo8Bit) it looks like the u8 is a number of DIO loop ticks to hold the pulse high, and the DIO loop runs every 261 ticks of the main clock (40mhz). That would make 40mhz/261ticks the smallest interval of a pulse change possible in the fpga. I could be wrong, but that's what I get from reading the LV code. |
|
#23
|
||||||
|
||||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
Code:
/**
* kDefaultPwmPeriod is "ticks" where each tick is 6.525us
*
* - 20ms periods (50 Hz) are the "safest" setting in that this works for all devices
* - 20ms periods seem to be desirable for Vex Motors
* - 20ms periods are the specified period for HS-322HD servos, but work reliably down
* to 10.0 ms; starting at about 8.5ms, the servo sometimes hums and get hot;
* by 5.0ms the hum is nearly continuous
* - 10ms periods work well for Victor 884
* - 5ms periods allows higher update rates for Luminary Micro Jaguar speed controllers.
* Due to the shipping firmware on the Jaguar, we can't run the update period less
* than 5.05 ms.
*
* kDefaultPwmPeriod is the 1x period (5.05 ms). In hardware, the period scaling is implemented as an
* output squelch to get longer periods for old devices.
|
|
#24
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Thanks for the correction. I will edit my previous post.
|
|
#25
|
||||||
|
||||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
And it's as easy to change as calling setPeriodMultiplier in C++ and Java.
|
|
#26
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
|
|
#27
|
|||
|
|||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
ether, can you share any info about the 888 such as operating voltage and amp rating?
|
|
#28
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Victor 888:
Nominal Voltage: 12V Min/Max Voltage: 6-15V PWM Input Pulse: 1-2 ms PWM Input Rate: 2.1-500 ms PWM Output Chop Rate: 1 KHz Fan Voltage Range: 6V - 16V No max current listing yet. We'll be testing one to determine max current (failure current) over the next week along with a Talon. Last edited by Tom Line : 07-11-2012 at 00:41. |
|
#29
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Post video, or it didn't happen!
|
|
#30
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Links should be fixed now. Here's an interesting visual. I wrote an awk script to read and convert the RPM vs Nm @ fixed IPW1 raw data into a family of closely-spaced RPM vs IPW @ fixed Nm curves and plotted it with gnuplot. You can really see the change in linearity of the 884 as the load on the CIM increases. Also, FWIW, here's a graphic of the 884 driving a 1500 ohm resistive load. You can see how linear it is. The non-linearity (when connected to a motor) comes from the interaction of the (slow) frequency the 884's output with the motor's inductance. 1 input pulse width Last edited by Ether : 08-11-2012 at 11:29. Reason: links were broken |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|