|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
I think the input PWM signal period remains at 17ms since I've not heard otherwise. |
|
#2
|
|||||
|
|||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
For reference, what are the output PWM frequencies of the 884, Talon, and Jaguar?
|
|
#3
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
884......150 Hz 888........1 KHz Jaguar....15 KHz Talon.....15 KHz Input PWM signal period: 884......10ms WPILib driver (default value)* 888......no WPILib driver yet Jaguar...5ms WPILib driver (default value)* Talon....no WPILib driver yet all the motor controllers are capable of periods of 5ms or less * this is info I've picked up from CD. I've not personally vetted it. Last edited by Ether : 06-11-2012 at 15:28. Reason: new info from Paul & Mike & Joe |
|
#4
|
||||||
|
||||||
|
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 |
|
#5
|
||||
|
||||
|
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? |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||||
|
||||||
|
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 |
|
#8
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
Last edited by Ether : 06-11-2012 at 15:01. |
|
#9
|
|||||
|
|||||
|
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. |
|
#10
|
||||||
|
||||||
|
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.
|
|
#11
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Thanks for the correction. I will edit my previous post.
|
|
#12
|
||||||
|
||||||
|
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.
|
|
#13
|
||||
|
||||
|
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests
Quote:
|
|
#14
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|