|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Synchronized Motors
Our robot has two motors driving each drive transmission, one pair of motors on each side. This is a very common setup for drive systems.
With PWM control, one can use a Y adapter on the PWM cable to connect from one PWM output to both speed controllers. Is something like this similar with CAN? Can two speed controllers be programmed to stay in synchronization? And as a bonus question. We have an encoder on this transmission. We would like to use this encoder connected directly to the speed controllers and us position control and possibly speed control. How would something like this be done? A couple of possible solutions I can imagine: 1. Use some CAN commands to synchronize two speed controllers (I can imagine that this is wishful thinking) 2. Split the encoder connection and connect it to both speed controllers. Thanks for tips and ideas. |
|
#2
|
|||
|
|||
|
Re: Synchronized Motors
We have a similar need, so we just split the encoder lines, and had 1 encoder feed the 2 jags that were linked. With this we hope that the speed control will keep them more or less moving the same speed.
|
|
#3
|
||||
|
||||
|
Re: Synchronized Motors
How did this approach work out for you?
TIA, Mike |
|
#4
|
||||
|
||||
|
Re: Synchronized Motors
Quote:
Another really cool way is to add a CAN command to sync a group of jaguars. The source code is available. You could splice the encoder lines, but I could see some weird things happening, you will probably want a lower P value. Good Luck |
|
#5
|
||||
|
||||
|
Re: Synchronized Motors
Can you point me to example source for sending sync-mode commands to the jaguars via CAN? I assume that you need to set the jaguars to be a member of a group, and then send the group-encoded command followed by a sync command. But, a working example to look at would really help clarify the process.
TIA, Mike |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How does Synchronized initialize semaphores? | 360skier | C/C++ | 0 | 26-01-2009 18:07 |
| Motors, Motors, and More Motors | 1033missions | Motors | 1 | 09-02-2006 18:46 |
| Victors not synchronized - dual motor train | roknjohn | Control System | 9 | 07-03-2005 18:51 |
| Victors not synchronized - dual motor train | roknjohn | Electrical | 8 | 22-02-2005 11:09 |
| Motors.. and more motors.. How many on your 2004 bot? | OneAngryDaisy | Motors | 33 | 23-02-2004 00:46 |