|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Jaguar Input Question
I was wondering if someone could verify what kind of input signal is used to control the Jaguars.
Is the control signal the same kind of servo control signal that is described by this page: http://www.seattlerobotics.org/guide/servos.html ? In the case of a Jaguar a pulse width of .67 ms indicates full reverse and a pulse width of 2.33 ms indicates full forward (using the default settings). Thanks, ER |
|
#2
|
|||||
|
|||||
|
Re: Jaguar Input Question
According to the article you link to, servos use Pulse Coded Modulation; Jaguars use Pulse Width Modulation (PWM). I don't know what the relationship between the two is; they might be the same thing. (Anybody who does know the difference, chime in please.)
Jaguars can also use the CAN bus for control. |
|
#3
|
||||
|
||||
|
Re: Jaguar Input Question
I've actually never heard servo control signals called Pulse Coded Modulation before. Pulse Coded Modulation (according to several webpages found by Google) refers to the process of digitally encoding an analog signal by sampling it at a fixed rate (computer music enthusiasts may recognize the acronym PCM). Maybe there's some relation there, but it's not obvious to me if there is.
Servo signals are usually called Pulse Position Modulated (PPM) signals, which can be considered a special class of pulse-width modulation (PWM) that follows defined timing specifications. The difference in PPM and PWM is PWM usually carries information through the duty cycle (% of the signal period the signal is "high") of the signal, whereas with PPM, the amount of time the signal stays high is the critical factor. Jaguars accept PPM as input when using "PWM control" (the 3-wire red-black-white/yellow interface) and always use PWM for the power output to the motors. The PPM input is fairly compatible with most servo-control systems, you just have to be careful with the timing. [ErikRantapaa] gave one timing specification; another I've seen is 1ms full reverse, 3ms full forward. You can see where this might lead to problems, i.e. the motor driving one way or another when it's supposed to be stopped. In the case of the difference between the one [ErikRantapaa] specified and the one on the SRS page, it looks like the centers are the same, you just may not have access to the full range of speed/motion. If you're timing is different, you could recalibrate the Jaguars. See the documentation for more details. --Ryan Last edited by RyanCahoon : 25-11-2010 at 22:53. |
|
#4
|
||||
|
||||
|
Re: Jaguar Input Question
excerpt from Page 6 of MDL-BDC & MDL-BDC24 FAQ: Quote:
excerpt from Pages 13 & 14 of MDL-BDC24 Getting Started Guide: Quote:
|
|
#5
|
|||
|
|||
|
Re: Jaguar Input Question
Thanks for all of the replies.
It seems that the term PWM can mean different things depending on the context. In the case of the Jaguar OUTPUT what matters is the duty-cycle, i.e. the percentage of time that the signal is on with respect to its period. In the case of the Jaguar INPUT what matters is the length of time (i.e. in seconds) that the signal is on. |
|
#6
|
|||
|
|||
|
Re: Jaguar Input Question
Quote:
For the input, the positive width is critically important, and the total period just needs to be close enough. For the output, you care about the ratio of on to off, and the frequency. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Jaguar Output Question | buildmaster5000 | Electrical | 11 | 03-11-2010 12:59 |
| Jaguar/Victor question | nighterfighter | Electrical | 16 | 14-06-2010 08:27 |
| Analog and digital input question | Robby | Control System | 7 | 30-04-2005 20:07 |
| digital input question... | Kevin Karan | Programming | 9 | 12-04-2004 07:34 |
| Question about input pins. | Tom Bottiglieri | Programming | 3 | 15-02-2004 15:12 |