Go to Post Please stand up and be proud of who you are and what you believe in! - MattK [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-10-2013, 23:43
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
SoC Power

On a robot, if you use a separate SoC for processing, like the Raspberry Pi, could you have a small UPS and watchdog, to allow the RPi to automatically SAFELY Shut down? In a typical robot, yo would just press the off button and then, KaBoom! However, manually shutting down is nearly impossible because of the great risk of human error. I am thinking of some high-capacity supercapacitors that hold just enough energy to power the Pi for a minute without the main robot battery active.
  #2   Spotlight this post!  
Unread 09-10-2013, 00:18
BBray_T1296's Avatar
BBray_T1296 BBray_T1296 is offline
I am Dave! Yognaut
AKA: Brian Bray
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Rockwall, TX
Posts: 947
BBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond repute
Re: SoC Power

Quote:
Originally Posted by FRC Manual
R34

The only legal source of electrical energy for the ROBOT during the competition, the ROBOT battery, is one of the following 12VDC non-spillable lead acid batteries:

MK Battery (P/N: ES17-12) or
EnerSys (P/N: NP 18-12)



Exception: Batteries integral to and part of a COTS computing device or self-contained camera are also permitted (e.g. laptop batteries), provided they’re only used to power the COTS computing device and any peripheral COTS USB input devices connected to the COTS computing device and they must be securely fastened to the ROBOT.
I would guess that such a UPS is probably not "integral to and part of a COTS device", but that is just me
__________________
If molecular reactions are deterministic, are all universes identical?

RIP David Shafer: you will be missed


  #3   Spotlight this post!  
Unread 09-10-2013, 00:24
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: SoC Power

By what I mean UPS is not really a battery. It is just a small power holder that allows a safe shutdown of the robot. This will not be a battery, so I do not think it is against a rule.
  #4   Spotlight this post!  
Unread 09-10-2013, 08:46
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 754
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: SoC Power

The only legal way to power the Rasberry Pi is through the Power Distribution Board. The only device that may send signals to the motor controllers is the cRIO.

The Field Management System commands the cRIO to shut down/disable communication to all systems at the end of the match. The robot is disabled, but still powered. When retrieving the robot, teams should turn the robot off at the main breaker.

You could look for a signal (or lack thereof) from the cRIO to stop all processes on the RPi, but I don't see this being necessary.

Last edited by protoserge : 09-10-2013 at 08:48.
  #5   Spotlight this post!  
Unread 09-10-2013, 08:58
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Re: SoC Power

I thought having any capacitors or batteries or any other power source besides the battery was illegal...

But then again, with the popularity of the offboard vision tracking becoming more popular, they might change the rules to allow for a safe shut down.

The problem is, its safer to have to robot off when doing things like transporting and fixing things. Waiting a minute or two for the Raspberry pi, Arduino (Yun, The new intel one, the new TI one), pandaboard, or whatever to shut down is not quickest thing, especially when you are loading/off loading the robot onto the field.

What I suggest (and I have no idea if you can do this) is that you connect the cRio and ODROID or whatever via I2C and whenever the match is done, send a signal from the cRio to the board and tell it to shut down. I'm guessing it wouldnt be too hard to do, but then again, I havent been able to experiment with it at all.
  #6   Spotlight this post!  
Unread 09-10-2013, 10:21
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: SoC Power

Quote:
Originally Posted by team1165wins View Post
On a robot, if you use a separate SoC for processing, like the Raspberry Pi, could you have a small UPS and watchdog, to allow the RPi to automatically SAFELY Shut down? In a typical robot, yo would just press the off button and then, KaBoom! However, manually shutting down is nearly impossible because of the great risk of human error. I am thinking of some high-capacity supercapacitors that hold just enough energy to power the Pi for a minute without the main robot battery active.
Batteries to do it are certainly not legal, per R34, unless they are integral to and part of the device (like a laptop battery).

As for "high-capacity supercapacitors"... As an inspector I would be very concerned with safety surrounding these. In college I had a roommate (bit of an idiot, failed out after freshman year, but that's another story) who had trouble with his sub woofer. Thinking he was a genius, he decided to open it up to try and fix it himself. He unplugged it, spent a few minutes getting the back off, and proceeded to get a sizable zap when the capacitors discharged into the screwdriver he stuck in there. So, I would be concerned with any sizable capacitor used for these types of purposes! If you're really concerned with shutting things down in a proper manor, have it respond to a signal from the cRio (or maybe the lack of a signal?).
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #7   Spotlight this post!  
Unread 09-10-2013, 17:22
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
Re: SoC Power

Quote:
Originally Posted by team1165wins View Post
By what I mean UPS is not really a battery. It is just a small power holder that allows a safe shutdown of the robot. This will not be a battery, so I do not think it is against a rule.
Well, most commercial UPS devices use a battery. Also, the rule doesn't say battery, but instead says "electrical energy". Even if you're using capacitors, it's not legal.

If you want to use a battery, just process images on the driver station laptop.
  #8   Spotlight this post!  
Unread 09-10-2013, 17:34
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: SoC Power

Could someone elaborate on the concern about safely shutting down? With the exception of in-flight writes to a hard drive or SSD (which would presumably not apply here), is there any actual problem with just yanking power at any time to any of these systems? Has anyone experienced this or come across any sort of warning to avoid doing this?
  #9   Spotlight this post!  
Unread 09-10-2013, 17:42
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,599
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: SoC Power

Quote:
Originally Posted by magnets View Post
Well, most commercial UPS devices use a battery. Also, the rule doesn't say battery, but instead says "electrical energy". Even if you're using capacitors, it's not legal.
The source of electrical energy in the super-capacitor would be the legal robot battery, so I don't see why that rule would make it illegal. The source of electrical energy in a traditional UPS would be a chemical reaction inside the UPS's battery, and would not be legal.
  #10   Spotlight this post!  
Unread 09-10-2013, 18:11
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 754
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: SoC Power

Quote:
Originally Posted by nuttle View Post
Could someone elaborate on the concern about safely shutting down? With the exception of in-flight writes to a hard drive or SSD (which would presumably not apply here), is there any actual problem with just yanking power at any time to any of these systems? Has anyone experienced this or come across any sort of warning to avoid doing this?
I'm with you on this one... If the coprocessor is being used for vision processing, simply turning it off really shouldn't have a negative effect on the system.

If you are datalogging, you would want to have that data stored before removing power. A simple watchdog could be initiated from the start of autonomous and end after the teleop period after a set time period of no signal from the cRIO.
  #11   Spotlight this post!  
Unread 09-10-2013, 18:24
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,946
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: SoC Power

There is a whole thread on powering a raspberry Pi. The answer is perhaps. See the last post or read the whole thing

There are some possibilities. especially if you could get a company to build a pi with an enclosed battery which then would be a COTS computer.
  #12   Spotlight this post!  
Unread 09-10-2013, 21:36
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: SoC Power

So from the other thread the issue doesn't seem to be safely powering things down, it is instead avoiding a power glitch that will cause a reset -- a different problem, even if the solution spaces overlap. If this is the issue here, the other thread has more clarity and probably has more helpful information, so it might make sense to take things up there...
  #13   Spotlight this post!  
Unread 10-10-2013, 22:17
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Talking Re: SoC Power

Quote:
Originally Posted by Jon Stratis View Post
Batteries to do it are certainly not legal, per R34, unless they are integral to and part of the device (like a laptop battery).

As for "high-capacity supercapacitors"... As an inspector I would be very concerned with safety surrounding these. In college I had a roommate (bit of an idiot, failed out after freshman year, but that's another story) who had trouble with his sub woofer. Thinking he was a genius, he decided to open it up to try and fix it himself. He unplugged it, spent a few minutes getting the back off, and proceeded to get a sizable zap when the capacitors discharged into the screwdriver he stuck in there. So, I would be concerned with any sizable capacitor used for these types of purposes! If you're really concerned with shutting things down in a proper manor, have it respond to a signal from the cRio (or maybe the lack of a signal?).
That Sounds like Me
Closed Thread


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 19:27.

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