![]() |
Wiring Victor output to both motor and analog in
We have a system where the motor takes a long time to spin up. Is it legal to wire something to the analog in to check the voltage? If so, what's the wire size?
I checked the rules... it seems like it implicitly disallowed it, but it also didn't say you can't ..as it's not really a load.. |
Re: Wiring Victor output to both motor and analog in
Well, the rules say a low impedance current measuring or high impedance voltage measuring modification in-between the wires driving the motor controller (or motor, I forget which, but I'd rather look at the non-PWM signal) are allowed. The analog module should count as a high-impedance device, right?
|
Re: Wiring Victor output to both motor and analog in
Quote:
|
Alright ill try it.. but what's the proper wire gauge? I don't want the gauge to be too small and nnot be able to handle the current or too big to not be able to connect to analog out
|
Re: Wiring Victor output to both motor and analog in
Quote:
You didn't comment on the issue of trying to use an ADC to measure a PWM waveform. |
Re: Wiring Victor output to both motor and analog in
Feeding the output of a motor controller back to the analog inputs will require lots of filtering (read as a big delay) and some careful wiring to pass inspection and not to let any smoke out. I would suspect that you may have a ramp rate enabled in software or the motor driver module. Run with no load to verify.
|
Re: Wiring Victor output to both motor and analog in
For a very small current application, a wire size of 22 should be fine.
|
Re: Wiring Victor output to both motor and analog in
Would it be possible for you to use the serial-CAN interface with one jaguar and read the current draw from the CAN interface to achieve a similar effect?
|
Re: Wiring Victor output to both motor and analog in
As Ether said, you are likely going to run into problems with the fact that the output is PWM. This will present the additional problem that the cRIO is only rated for +/- 10V not the ~12V that you will be coming out of the speed controller.
|
Re: Wiring Victor output to both motor and analog in
Quote:
Why not just bench test with a volt meter and see where you stand? The PWM can be a problem with low duty cycles but you should be ok at max speed output where the output is nearly DC. There are switching spikes still but you can low pass those to ground by putting some bypass capacitors across the meter. Have you tried connecting a battery directly to the motor and seeing what the spin up time is? If it is too long, then you probably need to lower the inertia of your load, add more motors or change the gearing. |
Re: Wiring Victor output to both motor and analog in
I would not connect the output of a Victor (or Jaguar) directly to the analog module. The motor controllers use a bridge circuit for switching the voltage in both directions. It has the effect of the motor seeing either +12V or -12V, but that's not reference to ground (battery return). The analog module is a single-side measuring circuit, reference to ground. You would need a translation circuit in between to make the measurement work safely.
|
Re: Wiring Victor output to both motor and analog in
Quote:
|
Re: Wiring Victor output to both motor and analog in
Quote:
|
Re: Wiring Victor output to both motor and analog in
Quote:
http://www.usfirst.org/uploadedFiles...matic%20v3.pdf Page 2 of that PDF, upper right corner shows the voltage divider used to measure the battery voltage, which is a 680 ohm and 1k ohm resistor. These values allow about a +/- 16.8V maximum input. This is more than sufficient for your purposes. As far as the PWM problem goes, the simplest solution is a low pass filter with a tight corner frequency, that is sufficiently above the bandwidth you'll need for your control application, while being as far under the PWM frequency of the Jaguar as possible. This will result in an average voltage at your input proportional to the duty cycle of the PWM output by the Jaguar. Supposedly, the Analog Breakout has a 1600Hz single pole filter on each input, which should be quite sufficient (if memory serves, the Jags switch in several 100s of kHz region) but I can't confirm that. Page 3 of this document: http://www.usfirst.org/sites/default...20Breakout.pdf references a 1600Hz per channel filter, but I do not see it on the above linked schematic, so I am a bit confused on that. Either way, adding your own 1600Hz or so filter to the signal is easy with a few basic components and some perfboard, and will only assist any existing internal filter, giving you the information you are seeking. That said, I couldn't tell you a thing about it's legality, and I wonder about its effectiveness compared to more traditional tachometry approaches. It is a fun and interesting design challenge though! Matt |
Re: Wiring Victor output to both motor and analog in
Quote:
|
| All times are GMT -5. The time now is 17:56. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi