Go to Post You are an inquisitive rookie aren't ya - Kyle [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 17-01-2007, 10:31
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Backup onboard charger not correct

What we really need here is somone at IFI to post a "Theory of Operation" for the charger.

I've read half a dozen "this is how it works" posts today, and none of them (spanning several years) fill me with confidence. It really does seem that a basic series steering doide would have been a good idea to prevent the battery from powering other devices on the 12V bus. So I wonder why they didn't/haven't add(ed) one.

It's unlike FIRST to insist we do something based on "faith", and that's the feeling I get with this charger.

Time for IFI to step-up and explain this circuit.
Or at least add some text to the schematic so it's funtion is clear.....

"An un-commented schematic is just as bad as un-commented code." Me.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #2   Spotlight this post!  
Unread 17-01-2007, 11:40
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Backup onboard charger not correct

I wonder if just adding a switch into the circuit at the 12v + point would violate R56. At least then we'd have a manual method of disabling the circuit rather than physically unwiring it if there were issues we wanted to isolate.

As currently written, it would appear that adding a switch would be a violation of R56 though.

Bud
  #3   Spotlight this post!  
Unread 23-01-2007, 08:50
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: Backup onboard charger not correct

Quote:
Originally Posted by dcbrown View Post
I wonder if just adding a switch into the circuit at the 12v + point would violate R56. At least then we'd have a manual method of disabling the circuit rather than physically unwiring it if there were issues we wanted to isolate.

As currently written, it would appear that adding a switch would be a violation of R56 though.

Bud
You can switch the power (12v) with a spike. Then when the robot is shut down, the charger is off. Drain to the backup battery in this case would be through r3/r2, about 5ma.

Last edited by Dad1279 : 23-01-2007 at 08:57.
  #4   Spotlight this post!  
Unread 23-01-2007, 09:43
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Backup onboard charger not correct

Quote:
You can switch the power (12v) with a spike. Then when the robot is shut down, the charger is off. Drain to the backup battery in this case would be through r3/r2, about 5ma.
Excellent idea. I'm sure there is spike already in the mix somewhere that is on if not on all the time, then most the time. The better idea would be a steering diode below the 'batt' point in the schematic... but the schematic isn't likely to change at this point so the spike at least addresses 1/2 the discharge/back power issue with the current charger design.

thanks!
  #5   Spotlight this post!  
Unread 22-01-2007, 20:49
ptan ptan is offline
Paul C. Tan., P.Eng.
AKA: Paul Tan
no team (Bolt Action)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2000
Location: Toronto
Posts: 61
ptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to behold
Re: Backup onboard charger not correct

Quote:
Originally Posted by PhilBot View Post
Time for IFI to step-up and explain this circuit.
Or at least add some text to the schematic so it's funtion is clear.....

"An un-commented schematic is just as bad as un-commented code." Me.

Phil.
Please, please, IFI, do explain.

I showed the circuit to another fellow Electrical engineer, and we both agree that it is either the MOST brilliant circuit ever designed, and it is using the components in ways we did not think about, or there is indeed something fishy in the circuit. Either way, I am most interested in finding out more about the way the circuit operates.


Paul C. Tan., P.Eng.,
Electrical Engineer / Mentor.
  #6   Spotlight this post!  
Unread 22-01-2007, 22:11
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Backup onboard charger not correct

What a relief to find this thread. I thought I was losing it. The circuit doesn't seem right to me at all. I search on IFI's forums and didn't find anything. I'm going to post a question about it there.
  #7   Spotlight this post!  
Unread 23-01-2007, 08:03
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Backup onboard charger not correct

There is another thread on the backup charger and I've been reading/bouncing back and forth in both.

http://www.chiefdelphi.com/forums/sh...ad.php?t=42591

I posted an attempt at operation theory - not that I know what I'm doing. Lots of questions that I'm hoping folks can help answer/correct.

http://www.chiefdelphi.com/forums/showthread.php?p=562476&highlight=charger#post5624 76

Thanks.
  #8   Spotlight this post!  
Unread 26-01-2007, 12:09
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Backup onboard charger not correct

About the updated backup battery charger on IFI website:
http://www.ifirobotics.com/docs/firs...up-charger.pdf
Its better, the RC controller is connected right after the regulator now. The RC is still running off the 8.7V zener instead of the regulator though (although through the 43 ohm resistor). I think R1 could be removed. Let the battery charge off the output of the regulator. The Zener D2 could be left to protect the batery in case the regulator shorts outs. This would also take care of the discharge problem. when 12V is off.

I like how the manual highly recommends it, but IFI now says "use at your own risk".

Brian
__________________
Brian K
Team 1225 Robotics Mentor

Last edited by SuperBK : 26-01-2007 at 12:24.
  #9   Spotlight this post!  
Unread 26-01-2007, 12:45
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Backup onboard charger not correct

Ok after reading through this thread I've noted a number of objections to the backup charger design from the EE types. However a few people have actually built and used the circuit with no terrible ill effects. The chief complaint seems to be that when the main power is turned off, the backup feeds back into the 12v circuitry. And if I am understanding correctly, this problem doesn't seem to be taken care of with the new design. Other complaints seem to be concerning the charge rate; in other words the voltage supplied to the backup is barely more than what a fully charged backup battery would produce.

Have I summarized correctly?

So, I am thinking that the puny charge rate is fine, as the only real purpose of this circuit is to reduce draw down of the backup battery when using the camera. Other loads are pretty minimal and of negligable concern during competition.

As for the back feed issue:
I believe the problem can be solved by introducing a switch that disconnects the backup from the RC when main power is removed. Best scenario would be to route the pigtail through a relay that disconnects the backup from the RC when main power is turned off. I don't think this is feasible with a Spike, so next best solution is a manual switch. Orrrr, just unplug the backup as part of the robot power down procedure!
  #10   Spotlight this post!  
Unread 26-01-2007, 13:57
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: Backup onboard charger not correct

Circuit makes more sense now. We have not scrutinized the rules with this in mind, but I think it can and should get power through a breaker & spike.

I have one built, and will power it up and take some measurements soon.
  #11   Spotlight this post!  
Unread 27-01-2007, 01:49
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Backup onboard charger not correct

There should be enough EE types hanging around here to agree on an alternate backup charger design. Once there is a consensus we can at least offer the design to Ifi - if not for this year, then maybe next.

Attached is a straw design, let the darts fly. I purposely removed the values of most of the resistors to start.

Theory of Operation - abbreviated.

1. output voltage should be set to 8.5V, there will be a .2v(?) drop across the forward biased steering diode D1 presenting 8.3v to battery to be charged.
2. D1 prevents discharge when 12v is disconnected.
3. R1 provides a non-charging current to the backup battery input (100ma)
4. R2 provides charging current to backup battery (45ma)
5. D2 prevents the non-charging current available from R1 from mixing with or contributing to the charging of the backup battery
6. D3 is zener crow-bar to prevent voltage runaway due to the charger failing in some manner
7. D4 shunts any current spikes around LM chip to prevent failure.
8. Change C2 to 1uf
9. R2 and R3 selected per Vout = 1.25v * (1+R3/R2)
Attached Thumbnails
Click image for larger version

Name:	BackupCharger.JPG
Views:	78
Size:	26.4 KB
ID:	4943  
  #12   Spotlight this post!  
Unread 27-01-2007, 10:57
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Backup onboard charger not correct

Bud,
I think you are getting closer. I would make the input cap 500mfd and add a fuse or breaker to the input side. The diodes will have a 0.6 volt drop if you use standard 1n4xxx diodes. Since the output cap is very small the diode across the regulator is not needed but wouldn't hurt. It might be a good idea to make the diode in series with the backup a Schottky to gain an additional 0.2 volts of available power supply. If you add a diode in series with the charging reistor then the series resistor to the load is not needed. That way the diode in series with the battery will only conduct when the regulator drops out or goes below about 6.8 volts.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 27-01-2007 at 11:00.
  #13   Spotlight this post!  
Unread 27-01-2007, 12:37
Hieb Hieb is offline
Registered User
no team
Team Role: Teacher
 
Join Date: Mar 2004
Rookie Year: 2004
Location: St. Louis, MO
Posts: 125
Hieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to behold
Re: Backup onboard charger not correct

OK, after much speculation (and a couple posts to Q&A) Update #6 clarifies the wording to match the interpretation that if you chose to use a charger on the robot, it must be the IFI provided circuit.
  #14   Spotlight this post!  
Unread 28-01-2007, 10:57
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Backup onboard charger not correct

Updated circuit as follows:

. selected 0.1% resistor values available from mouser.com that yeilds 8.5v
. use germanium diode (or small power transitor w/Vce of 0.3v) to block reverse current and drop voltage to 8.2v through charging resistor which has a C/16 trickle charge current target (45ma).
. use 1N4xxx diodes to drop voltage to 7.1v (or less, say down to 6.8v min), load current through R1 provides up to ~100ma of helper current if battery backup voltage drops due to extra load or loss of backup battery capacity.
. dropped steering diode between battery and R1 - shouldn't be needed on normal battery operation at 7.2v, but this new circuit will add charging current via R1 as battery voltage drops below 7.1v
. changed .1uf cap to 100uf on input. this is quite large for most regulators, shouldn't have to go bigger -- would need to see the charger circuit input at regulator in use with oscilliscope to determine if there were additional problems that would be addressed by larger capacitor.

Still not happy with diode selection, I'd almost rather swap out the germanium diode with a small power switching transistor that had a typical Vce of 0.3v - it should do the same thing as the diode, namely block discharge current when 12v battery not present.

User could add slow blow fuse into circuit as optional component in front of regulator. Say 250ma fuse. Another optional component would be a switch to disable the whole thing. Another optional component set would be a LED and series resistor at point in front of D1 to ground to show when circuit was active.

Looking for help on D1/D2 selection to achieve design voltages.... or someone to redesign the whole thing. Its easy to get carried away, for example I thought of using a 2nd LM317 in load support branch. It would be in constant current mode at 7.1v. This would current limit that branch more effectively but changes all the resistors and output voltage target of the first LM317. This would replace the D1/D1/R1 components. But goal of the design is to just be a basic/simple on-board charging circuit to prevent loss of voltage from the backup battery due to camera loading. The backup batteries main purpose is simply to prevent a brown out interrupt on the PICs which would result in processor resets.

1N4xxx diodes list Vf as 1.0v, but this is at maximum load. 1N58xx schottky diodes list Vf as .55-.6v range. Just need to get to a 1.4-1.5v drop across a couple diodes or transistors but don't know which would be best choice.

I'm looking to order some components with another order something in next day or two so I can breadboard and try this circuit out/take some measurements.
Attached Thumbnails
Click image for larger version

Name:	BackupCharger-1.JPG
Views:	81
Size:	29.4 KB
ID:	4949  
  #15   Spotlight this post!  
Unread 28-01-2007, 18:41
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
Re: Backup onboard charger not correct

Where are you all buying the 1n5345 8.7V 5W zener? Digikey sell every 5W zener EXCEPT 8.7V
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stamp is probably not releasing a new version this week. buss Scouting 1 29-03-2006 22:10
STAMP version 1.0 (NOT BETA) is out for week 1! Ethulin Scouting 5 01-03-2006 18:50
Rookies, wish you knew that earlier? Erin Rapacki General Forum 0 24-02-2005 11:49
Backup battery will not power RC steven114 Control System 13 24-01-2005 01:59
Onboard Camera? XRaVeNX General Forum 18 03-02-2003 20:28


All times are GMT -5. The time now is 10:01.

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