Go Back   VEX Forum > Community > Technical Discussion

Technical Discussion Open Technical Discussion of the VEX Robotics System.

Reply
 
Thread Tools
  #1  
Old 02-21-2012, 11:44 PM
jpearman's Avatar
jpearman jpearman is offline
Senior Member
VEX # 8888
 
Join Date: Apr 2011
Location: Los Angeles
Posts: 3,078
Images: 2
Power Expander analysis

I had the necessity to take a look in more detail at the functionality of the VEX power expander today and though others may find the results interesting. The power expander, as I'm sure everyone knows, allows up to four external RC servos or motors to be powered from an additional battery rather than the main system battery. Inside the power expander a microchip PIC microcontroller provides all system functionality. The PIC not only gives status feedback by means of a tri-color LED (actually red and green leds that show yellow when they are both on), but also monitors the external input voltage, the voltage after the polyfuse and also the power coming from the cortex. The PIC is able to enable and disable power from the external battery to the motors so as to follow system power from the cortex.

External voltage detection has two thresholds, once the voltage drops below these levels the status led is set until the system is reset by power cycling.

Green LED, external voltage above 6V
Yellow LED, external voltage between 6V and 5.3V
Red LED, external voltage below 5.3V

The PIC is powered from a 5V linear regulator, an external voltage of 5.3V is probably right at the threshold for creating a stable 5V for the PIC.

Input PWM signals are routed directly to the output, all grounds are tied together.

The polyfuse is an HR16-400, replacements are available from Digikey and other part suppliers for about 50c but I have no idea as to the legality of replacing any internal components.



Here is a simplified block diagram (none of the passive components are shown).



I make no claims for this information to be 100% accurate, the diagram is drawn from my own observations so use at your own risk.
Attached Images
File Type: jpg BatteryExtendBlockDiagram1.jpg (51.9 KB, 703 views)
Reply With Quote
  #2  
Old 02-27-2012, 12:11 AM
jpearman's Avatar
jpearman jpearman is offline
Senior Member
VEX # 8888
 
Join Date: Apr 2011
Location: Los Angeles
Posts: 3,078
Images: 2
Re: Power Expander analysis

I put together a schematic for the power expander if anyone is interested. The usual disclaimers apply.

Attached Files
File Type: pdf power_expander_schematic.pdf (50.4 KB, 544 views)
Reply With Quote
  #3  
Old 02-27-2012, 08:16 AM
jgraber jgraber is offline
Senior Member
 
Join Date: Nov 2006
Location: Dallas Texas metroplex
Posts: 1,111
Images: 13
Re: Power Expander analysis

It would be good to post this data to the wiki as well as here.
Reply With Quote
  #4  
Old 04-03-2012, 03:43 PM
jpearman's Avatar
jpearman jpearman is offline
Senior Member
VEX # 8888
 
Join Date: Apr 2011
Location: Los Angeles
Posts: 3,078
Images: 2
Re: Power Expander analysis

I'm bumping this thread only because I wanted to comment on something posted in the EasyC tech support thread.

Quote:
Originally Posted by kingofl337
I'm waiting to hear back from Vex on the output in relationship to the battery voltage. I've been told there are two models of expander and the values are diffrent between them. But, for now if you want to cheat, you could take a battery fully charged and one fully drained, get the two values and decide from there what to do with an IF statement.
Two models would make a lot of sense, I have an "old model" which was what the analysis in this thread was based on, I did suspect there was a "new model" and have had one on backorder for several weeks

Anyway, for my old model this was the conversion factor needed to go from analog input in the range 0-4096 to mV (ROBOTC code but the idea is the same for EasyC)

battery2Level = (int)((float)SensorValue[ BATERY_2_PORT ] * 5.46);

This is essentially the same number as on the wiki, the difference being that the wiki shows how to go from a 10 bit value to volts rather than milli volts.

There's a little more technical detail behind this in this post as well.

http://www.vexforum.com/showpost.php...78&postcount=1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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


All times are GMT -6. The time now is 05:32 AM.


VEX and VEX Robotics are trademarks or service marks of Innovation First International, Inc.
Copyright © 2002-2013. All Rights Reserved. VEX Robotics, Inc. is a subsidiary of Innovation First International, Inc.
All other product names/marks of others are the property of their respective owners.