Go to Post Do one thing, and do that one thing very well. - Arille [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #61   Spotlight this post!  
Unread 14-03-2011, 19:08
Deetman Deetman is offline
Registered User
AKA: Kevin Dieterle
no team
 
Join Date: Apr 2004
Rookie Year: 2004
Location: Philadelphia, PA
Posts: 203
Deetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond repute
Re: 1 Encoder, 2 Jaguars

Quote:
Originally Posted by techhelpbb View Post
That's about right. You shouldn't need the transistors at all.
I wanted to make sure to lower the coupling ratio...so I used the minimum.

I have the surface mount and the through hole version of the PS2501-4 and basically all the surface mount version is, is just the leads bent parallel to the surface, so no real weight savings.

The schematic I was working on had an extra trick, in that it was designed so you could test the circuit end to end without any tools. Figured we had enough people nervous about going this route that making it 'self test' was a the best solution to calm the nerves.
Thanks for the taking the time to review the schematic. Second sets of eyes never hurt.

I'll take a look again at the diode current. I didn't consider the coupling ratio since I haven't really used opto-isolators before.

I noticed that too about the surface mount version of the PS2501-4 which surprised me. Other than automated manufacturing the benefits of going with the surface mount version are pretty small.

Also a great concept on the self test circuitry... I didn't really think of doing that since theoretically this has already been "proven" to work. I'll probably take the board into work once I get it and run a pulse generator on it to test the board.
__________________

FIRST Mid-Atlantic Volunteer (2012-present)
Team 1014 Alumni (2004-2005)
Team 1712 Mentor (2011-2015)
Reply With Quote
  #62   Spotlight this post!  
Unread 14-03-2011, 19:27
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: 1 Encoder, 2 Jaguars

Quote:
Originally Posted by Deetman View Post
Thanks for the taking the time to review the schematic. Second sets of eyes never hurt.

I'll take a look again at the diode current. I didn't consider the coupling ratio since I haven't really used opto-isolators before.

I noticed that too about the surface mount version of the PS2501-4 which surprised me. Other than automated manufacturing the benefits of going with the surface mount version are pretty small.

Also a great concept on the self test circuitry... I didn't really think of doing that since theoretically this has already been "proven" to work. I'll probably take the board into work once I get it and run a pulse generator on it to test the board.
The hand soldered prototype that was slammed together made me nervous.
When I put this stuff up for people to look at, you'll see why.

However, what really made me nervous was that it is is *really* hard to get a basic piece of test equipment into the circuit, it's got wires going in multiple directions and some of the junctions are too small. Never mind the fact that on our CIMiple gear box implementations the connectors are *very* hard to get to. I wanted people to be comfortable that from end to end, the wires and the logic work as planned. This way even those that don't fully understand have the hope of testing it. After all, because of the wires...something could break even if the circuit works.

Besides I sort of hoped that people would sit down with those they are mentoring and show them what it actually does on an oscilloscope. So it's both a learning tool...and a working piece of gear.

The optocoupler probably wasn't made smaller because they'd have to change the dimension between the LED and the phototransistor. Otherwise the specifications would change.
Reply With Quote
  #63   Spotlight this post!  
Unread 26-01-2012, 11:25
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: 1 Encoder, 2 Jaguars

Quote:
Originally Posted by otherguy View Post
Tomorrow we'll move onto speed control
Is it tomorrow yet?

I'm interested in what you've found.

Reply With Quote
  #64   Spotlight this post!  
Unread 12-03-2012, 19:46
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 104
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: 1 Encoder, 2 Jaguars

So, any word on whether the circuit performed as intended? I assume it did, though!
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote
  #65   Spotlight this post!  
Unread 16-03-2012, 17:41
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: 1 Encoder, 2 Jaguars

Quote:
Originally Posted by juchong View Post
So, any word on whether the circuit performed as intended? I assume it did, though!
Can I presume you are inquiring from the other teams?

What we had originally worked within the expectations we had of it. We didn't run it in competition not because of the splitter, but because CAN in general kept producing timeout errors and having other problems that eventually caused us to abandon CAN for PWM and later, after a few other troubles, to abandon the Jaguars in favor of the Victors.

To be additionally clear:

1. There were other issues in that particular drive train that caused it to be ill suited to the Jaguars. This is not an attempt to bash the Jaguars. That drive train was just not a good fit as it turned out.

2. Since the circuit in question was never actually fielded (to my knowledge) I can't be sure it's legal, but so far my research on the matter indicates it would have been legal last year and this year.

3. We did not use Jaguars this year at all.

4. I have 'too many eggs in my basket' currently the soonest I could slap all that on my test robot would be late May or June. When things finished off last year it got so quiet I didn't bother to continue with this work (by this work I mean this splitter, I built an entire robot and test equipment for that robot myself) because there didn't seam to be sufficient interest. Is there interest in me putting that on my schedule?

Last edited by techhelpbb : 16-03-2012 at 17:49.
Reply With Quote
  #66   Spotlight this post!  
Unread 19-03-2012, 13:26
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 104
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: 1 Encoder, 2 Jaguars

tech, I completely understand. CAN this year is particularly buggy for some reason. We managed to get it working well enough to be used on our main drivetrain. I found that loop times are very crucial and can't be easily modified, but with a little tweaking, you can get some very good performance out of it!

For our autoaim and shooter, CAN is essential, so we're trying to work out as much as possible before our regional next week. I've got the parts in hand to build the circuit and will report back once I've done some testing. We'll primarily be using this for our shooter to distribute the motor load a bit more evenly, so even if the circuit stops working, our shooter should still remain functional.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote
  #67   Spotlight this post!  
Unread 19-03-2012, 14:12
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: 1 Encoder, 2 Jaguars

Quote:
Originally Posted by juchong View Post
tech, I completely understand. CAN this year is particularly buggy for some reason. We managed to get it working well enough to be used on our main drivetrain. I found that loop times are very crucial and can't be easily modified, but with a little tweaking, you can get some very good performance out of it!

For our autoaim and shooter, CAN is essential, so we're trying to work out as much as possible before our regional next week. I've got the parts in hand to build the circuit and will report back once I've done some testing. We'll primarily be using this for our shooter to distribute the motor load a bit more evenly, so even if the circuit stops working, our shooter should still remain functional.
If you end up using this circuit in actual competition please update this topic to confirm that it was actually accepted on a robot at a competition.

There are a lot of things that can be made, but the more unusual things get the higher the risk that at competition questions will be raised (I mean absolutely no disrespect to anyone...the rules are fairly numerous and sometimes a bit unclear).

Thanks
Reply With Quote
  #68   Spotlight this post!  
Unread 21-03-2012, 01:30
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 104
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: 1 Encoder, 2 Jaguars

I'll definitely keep everyone updated!

Now, as for the rules, the way I understand it I am not able to use any motor controller other than the Jags or Victors to control a motor. All control signals must originate from the cRio. Now in the case of sensors, we are much less restricted on which sensor we are allowed to use, and more restricted on how we get the control signals to their respective inputs. As long as they get there, I don't see any reason for them to disallow it.

Since the sensors don't directly control a motor (they may provide feedback, but never direct control. You could argue that, in a way, they control the motors but then you could argue that without an initial condition, they cannot) then, as long as they are powered correctly, all add-on circuits should be legal.

I also plan on having some oscilloscope screenshots showing input and output, just to show that the circuit isn't fabricating anything false.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote
  #69   Spotlight this post!  
Unread 03-02-2013, 00:33
nuttle nuttle is offline
Registered User
AKA: Allen Nuttle
FRC #4080
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: United States
Posts: 104
nuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud of
Re: 1 Encoder, 2 Jaguars

<https://www.sparkfun.com/products/9118>

I'd need to read the rules carefully, but this looks like a good off-the-shelf solution that should be easy to work with for most teams -- provided this sort of thing is legal. It doesn't violate the safety-related reasons for being very careful with motor control and solves the "1 Encoder, 2 Jaguars" problem in a clean way.

I'd actually use one of these for each of the two Jags and power them both from the DSC, in fact you could send the encoder inputs to the DSC directly, and then to each Jag through one of the isolators (for a total of three places where the encoder data could be read, the DSC and the two Jags).
Reply With Quote
  #70   Spotlight this post!  
Unread 03-02-2013, 20:48
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: 1 Encoder, 2 Jaguars

Is that fast enough to be used on an encoder signal? I'm just a programmer, but the 5 microsecond switching time seems like it would screw up an encoder signal.

We're probably going to use the cRIO for dual motor gearbox encoder PID control. The master-slave solutions don't seem as reliable as using the cRIO.
Reply With Quote
  #71   Spotlight this post!  
Unread 03-02-2013, 21:19
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: 1 Encoder, 2 Jaguars

Quote:
Originally Posted by kenfox View Post
Is that fast enough to be used on an encoder signal? I'm just a programmer, but the 5 microsecond switching time seems like it would screw up an encoder signal.

We're probably going to use the cRIO for dual motor gearbox encoder PID control. The master-slave solutions don't seem as reliable as using the cRIO.
The cRIO measures down to 6.525 us, so that is a pretty similar range.
Reply With Quote
  #72   Spotlight this post!  
Unread 04-02-2013, 10:41
nuttle nuttle is offline
Registered User
AKA: Allen Nuttle
FRC #4080
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: United States
Posts: 104
nuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud of
Re: 1 Encoder, 2 Jaguars

FWIW, I don't think the propagation delay is going to be a problem either.

Anyone thinking of trying this should confirm, but my reading of 2013 R72 H makes me think this is legal to do:

R72 All outputs from sensors, custom circuits and additional electronics shall connect to only the following: H. the sensor inputs on the Jaguar motor controller.

So, this is likely a viable option (subject to confirmation of the legality), but note that I have not actually done this. One could also use this trick to connect both DCS inputs and Jag inputs to the same encoder.
Reply With Quote
  #73   Spotlight this post!  
Unread 12-02-2013, 11:59
nuttle nuttle is offline
Registered User
AKA: Allen Nuttle
FRC #4080
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: United States
Posts: 104
nuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud of
Re: 1 Encoder, 2 Jaguars

FWIW, here's a part that seems like an even better choice, but only for teams that can deal with not having a breakout board: http://www.fairchildsemi.com/ds/FO/FOD0710.pdf.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi