https://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&feed=atom&action=historyPriusPlus History-PseudoCode - Revision history2024-03-28T23:06:02ZRevision history for this page on the wikiMediaWiki 1.34.1https://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=5266&oldid=prevRjf: rm dup Category:Prius PHEV2007-10-09T08:51:43Z<p>rm dup <a href="/wiki/index.php?title=Category:Prius_PHEV&action=edit&redlink=1" class="new" title="Category:Prius PHEV (page does not exist)">Category:Prius PHEV</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 08:51, 9 October 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l73" >Line 73:</td>
<td colspan="2" class="diff-lineno">Line 73:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:PHEV]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:PHEV]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Prius]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Prius]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category:Prius PHEV]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:CalCars]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:CalCars]]</div></td></tr>
</table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=4127&oldid=prevPerfectsky: /* CAN Parameters */cleaning up spelling and grammar2007-02-18T05:57:39Z<p><span dir="auto"><span class="autocomment">CAN Parameters: </span>cleaning up spelling and grammar</span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 05:57, 18 February 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19" >Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Zero Crossing SOC - Used to determine the real SOC by measuring '''Real Voltage''' as '''Amperage''' crosses zero.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Zero Crossing SOC - Used to determine the real SOC by measuring '''Real Voltage''' as '''Amperage''' crosses zero.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Under Load SOC - Used by combining '''Real Voltage''' and reported '''Amperage''' in a manner to determine the batteries internal resistance, which is an indication the batteries SOC.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Under Load SOC - Used by combining '''Real Voltage''' and reported '''Amperage''' in a manner to determine the batteries internal resistance, which is an indication the batteries SOC.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and <del class="diffchange diffchange-inline">it's puckert </del>characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be necessary to implement this type of SOC indication. However it may not be a bad idea to use such a device even if not integrated as a control device.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and <ins class="diffchange diffchange-inline">its Peukert </ins>characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be necessary to implement this type of SOC indication. However it may not be a bad idea to use such a device even if not integrated as a control device.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]</div></td></tr>
</table>Perfectskyhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=3207&oldid=prevRjf: Categories2006-10-07T02:58:57Z<p>Categories</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 02:58, 7 October 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l71" >Line 71:</td>
<td colspan="2" class="diff-lineno">Line 71:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Return to HEV-Mode Loop Start</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Return to HEV-Mode Loop Start</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:PHEV]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Prius]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Prius PHEV]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Prius PHEV]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:CalCars]]</ins></div></td></tr>
</table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=3204&oldid=prevRjf: {{PriusPlus History}}2006-10-07T02:53:08Z<p>{{PriusPlus History}}</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 02:53, 7 October 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{PriusPlus History}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This is the '''Prius PHEV Pseudo Code''' which determines how the [[Prius PHEV#CalCars Method]] implementation functions. </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This is the '''Prius PHEV Pseudo Code''' which determines how the [[Prius PHEV#CalCars Method]] implementation functions. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>It may be incomplete and is intended to be general enough to be implemented with various [[Prius PHEV User Interfaces]] hardware and software.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>It may be incomplete and is intended to be general enough to be implemented with various [[Prius PHEV User Interfaces]] hardware and software.</div></td></tr>
</table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=3200&oldid=prevRjf: Prius PHEV Pseudo Code moved to PriusPlus History-PseudoCode2006-10-07T02:51:42Z<p><a href="/wiki/Prius_PHEV_Pseudo_Code" class="mw-redirect" title="Prius PHEV Pseudo Code">Prius PHEV Pseudo Code</a> moved to <a href="/wiki/PriusPlus_History-PseudoCode" title="PriusPlus History-PseudoCode">PriusPlus History-PseudoCode</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 02:51, 7 October 2006</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=2746&oldid=prevDavideAndrea: English corrections2006-06-16T22:16:03Z<p>English corrections</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 22:16, 16 June 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This is the '''Prius PHEV Pseudo Code''' which determines how the [[Prius PHEV#CalCars Method]] <del class="diffchange diffchange-inline">implamentation </del>functions. </div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This is the '''Prius PHEV Pseudo Code''' which determines how the [[Prius PHEV#CalCars Method]] <ins class="diffchange diffchange-inline">implementation </ins>functions. </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>It may be incomplete and is intended to be general enough to be <del class="diffchange diffchange-inline">implamented </del>with various [[Prius PHEV User Interfaces]] hardware and software.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>It may be incomplete and is intended to be general enough to be <ins class="diffchange diffchange-inline">implemented </ins>with various [[Prius PHEV User Interfaces]] hardware and software.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">It's </del>primary goal is to exploit [[State Of Charge Drift]] in order to accomplish [[State Of Charge Manipulation]].</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">Its </ins>primary goal is to exploit [[State Of Charge Drift]] in order to accomplish [[State Of Charge Manipulation]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==CAN Parameters==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==CAN Parameters==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Thess </del>are [[CAN]] Parameters of particular interest used in the pseudo code:</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">These </ins>are [[CAN]] Parameters of particular interest used in the pseudo code:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''[[SOC]]''' - The reported SOC is used to determine when to enable the SOC Spoofing circuit which raises the perceived or reported SOC.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''[[SOC]]''' - The reported SOC is used to determine when to enable the SOC Spoofing circuit which raises the perceived or reported SOC.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''Speed''' - Used to determine when to re-enter EV-mode after leaving it due to high speed or power demand.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''Speed''' - Used to determine when to re-enter EV-mode after leaving it due to high speed or power demand.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l17" >Line 17:</td>
<td colspan="2" class="diff-lineno">Line 17:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Zero Crossing SOC - Used to determine the real SOC by measuring '''Real Voltage''' as '''Amperage''' crosses zero.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Zero Crossing SOC - Used to determine the real SOC by measuring '''Real Voltage''' as '''Amperage''' crosses zero.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Under Load SOC - Used by combining '''Real Voltage''' and reported '''Amperage''' in a manner to determine the batteries internal resistance, which is an indication the batteries SOC.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Under Load SOC - Used by combining '''Real Voltage''' and reported '''Amperage''' in a manner to determine the batteries internal resistance, which is an indication the batteries SOC.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and it's puckert characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be <del class="diffchange diffchange-inline">nesicarily </del>to implement this type of SOC indication<del class="diffchange diffchange-inline">, however </del>it may not be a bad idea use such a device even if not integrated as a control device.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and it's puckert characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be <ins class="diffchange diffchange-inline">necessary </ins>to implement this type of SOC indication<ins class="diffchange diffchange-inline">. However </ins>it may not be a bad idea <ins class="diffchange diffchange-inline">to </ins>use such a device even if not integrated as a control device.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]</div></td></tr>
</table>DavideAndreahttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=1797&oldid=prevRjf: changed 82% SOC target to 78%2006-03-20T07:53:36Z<p>changed 82% SOC target to 78%</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 07:53, 20 March 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19" >Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and it's puckert characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be nesicarily to implement this type of SOC indication, however it may not be a bad idea use such a device even if not integrated as a control device.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and it's puckert characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be nesicarily to implement this type of SOC indication, however it may not be a bad idea use such a device even if not integrated as a control device.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]<!-- 1.75VPC (Volts Per Cell) at 75A draw.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><!-- 1.75VPC (Volts Per Cell) at 75A draw.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Measured/Calculated Battery Pack Impedance Chart</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Measured/Calculated Battery Pack Impedance Chart</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> As measured at the input to the controller.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> As measured at the input to the controller.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l33" >Line 33:</td>
<td colspan="2" class="diff-lineno">Line 34:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Note: Below within the code logic ''_XX_'' are user settings, the listed value is a best guess default for that setting. These may need to be changed in order to allow for various battery chemestries and user preferances.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Note: Below within the code logic ''_XX_'' are user settings, the listed value is a best guess default for that setting. These may need to be changed in order to allow for various battery chemestries and user preferances.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''_30_''seconds - Denied Timeout</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''_30_''seconds - Denied Timeout</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** ''<del class="diffchange diffchange-inline">_82_</del>''% - Spoof circuit enable SOC level</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** ''<ins class="diffchange diffchange-inline">_78_</ins>''% - Spoof circuit enable SOC level</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''_20_''% - Real SOC lower limit</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''_20_''% - Real SOC lower limit</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''_40_''% - Real SOC PHEV entry lower limit</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''_40_''% - Real SOC PHEV entry lower limit</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l46" >Line 46:</td>
<td colspan="2" class="diff-lineno">Line 47:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Enter EV-Mode, Verify EV-Mode was entered</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Enter EV-Mode, Verify EV-Mode was entered</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>**** If EV-Mode denied, timeout re-attempts for ''_30_'' seconds</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>**** If EV-Mode denied, timeout re-attempts for ''_30_'' seconds</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** If '''SOC''' < ''<del class="diffchange diffchange-inline">_82_</del>''%</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** If '''SOC''' < ''<ins class="diffchange diffchange-inline">_78_</ins>''%</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Then enable SOC Spoof circuit</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Then enable SOC Spoof circuit</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>**** Measure voltage differance to aquire '''Spoof Voltage'''. ''Cycling of the SOC Spoofing circuit for multiple samples may provide more accurate readings''. ''This setting might be saved by the CAN management device as it should rarely change and is manually set''.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>**** Measure voltage differance to aquire '''Spoof Voltage'''. ''Cycling of the SOC Spoofing circuit for multiple samples may provide more accurate readings''. ''This setting might be saved by the CAN management device as it should rarely change and is manually set''.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l53" >Line 53:</td>
<td colspan="2" class="diff-lineno">Line 54:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* PHEV-Mode Loop Start</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* PHEV-Mode Loop Start</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** If '''SOC''' < ''<del class="diffchange diffchange-inline">_82_</del>''%</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** If '''SOC''' < ''<ins class="diffchange diffchange-inline">_78_</ins>''%</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Then enable SOC Spoof circuit</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Then enable SOC Spoof circuit</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Else disable SOC Spoof circuit</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Else disable SOC Spoof circuit</div></td></tr>
</table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=1779&oldid=prevRjf: Intro update2006-03-18T03:52:28Z<p>Intro update</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 03:52, 18 March 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This is the <del class="diffchange diffchange-inline">management pseudo code </del>which determines how <del class="diffchange diffchange-inline">one particular </del>[[Prius PHEV]] implamentation functions.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This is the <ins class="diffchange diffchange-inline">'''Prius PHEV Pseudo Code''' </ins>which determines how <ins class="diffchange diffchange-inline">the </ins>[[Prius PHEV<ins class="diffchange diffchange-inline">#CalCars Method</ins>]] implamentation functions. <ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>It may be incomplete and is intended to be general enough to be implamented <ins class="diffchange diffchange-inline">with </ins>various <ins class="diffchange diffchange-inline">[[Prius PHEV User Interfaces]] </ins>hardware <ins class="diffchange diffchange-inline">and software.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>It may be incomplete and is intended to be general enough to be implamented <del class="diffchange diffchange-inline">on </del>various hardware.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">It's primary goal is to exploit [[State Of Charge Drift]] in order to accomplish [[State Of Charge Manipulation]]</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==CAN Parameters==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==CAN Parameters==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Thess are CAN Parameters of particular interest used in the pseudo code:</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Thess are <ins class="diffchange diffchange-inline">[[</ins>CAN<ins class="diffchange diffchange-inline">]] </ins>Parameters of particular interest used in the pseudo code:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* '''SOC''' - The reported SOC is used to determine when to enable the SOC Spoofing circuit which raises the perceived or reported SOC.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* '''<ins class="diffchange diffchange-inline">[[</ins>SOC<ins class="diffchange diffchange-inline">]]</ins>''' - The reported SOC is used to determine when to enable the SOC Spoofing circuit which raises the perceived or reported SOC.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''Speed''' - Used to determine when to re-enter EV-mode after leaving it due to high speed or power demand.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''Speed''' - Used to determine when to re-enter EV-mode after leaving it due to high speed or power demand.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''Voltage''' - The reported Voltage is that measured by the Prius which may or may not be the '''Real Voltage'''.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''Voltage''' - The reported Voltage is that measured by the Prius which may or may not be the '''Real Voltage'''.</div></td></tr>
</table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=1699&oldid=prevRjf: Category:Prius PHEV2006-03-16T10:51:02Z<p><a href="/wiki/index.php?title=Category:Prius_PHEV&action=edit&redlink=1" class="new" title="Category:Prius PHEV (page does not exist)">Category:Prius PHEV</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 10:51, 16 March 2006</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l67" >Line 67:</td>
<td colspan="2" class="diff-lineno">Line 67:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Then re-enter PHEV-Mode Loop</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*** Then re-enter PHEV-Mode Loop</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Return to HEV-Mode Loop Start</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Return to HEV-Mode Loop Start</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Prius PHEV]]</ins></div></td></tr>
</table>Rjfhttps://www.eaa-phev.org/wiki/index.php?title=PriusPlus_History-PseudoCode&diff=1546&oldid=prevRjf: Initial Page.2006-03-10T02:57:50Z<p>Initial Page.</p>
<p><b>New page</b></p><div>This is the management pseudo code which determines how one particular [[Prius PHEV]] implamentation functions.<br />
<br />
It may be incomplete and is intended to be general enough to be implamented on various hardware.<br />
<br />
==CAN Parameters==<br />
Thess are CAN Parameters of particular interest used in the pseudo code:<br />
* '''SOC''' - The reported SOC is used to determine when to enable the SOC Spoofing circuit which raises the perceived or reported SOC.<br />
* '''Speed''' - Used to determine when to re-enter EV-mode after leaving it due to high speed or power demand.<br />
* '''Voltage''' - The reported Voltage is that measured by the Prius which may or may not be the '''Real Voltage'''.<br />
* '''Amperage''' - The reported Amperage is the amount of current being removed from or added to the battery.<br />
* '''Temperature''' - Battery temp used for temperature conpensation.<br />
* '''Spoof Voltage''' - Determined by measuring the difference in reported '''Voltage''' which occurs when the SOC Spoofing circuit is enabled.<br />
* '''Real Voltage''' - Used to determine the replacement HV batteries real SOC.<br />
** Real Voltage is reported '''Voltage''' if the SOC Spoof circuit is disabled.<br />
** Real Voltage is ''Spoof Voltage'' subtracted from reported '''Voltage''' if SOC Spoof circuit is enabled.<br />
* '''Real SOC''' - Could be determined in a number of ways using '''Real Voltage''' and reported '''Amperage'''. <br> '' ''' This aspect had not been fully resolved, so more details are sure to come at a later time''' ''<br />
** Zero Crossing SOC - Used to determine the real SOC by measuring '''Real Voltage''' as '''Amperage''' crosses zero.<br />
** Under Load SOC - Used by combining '''Real Voltage''' and reported '''Amperage''' in a manner to determine the batteries internal resistance, which is an indication the batteries SOC.<br />
** Watt Hour SOC - By counting Watt Hours removed from and added to the battery one can determine how much energy is left in a battery given that you knew how much you had to begin with, the capacity of the battery, and it's puckert characteristics. Unfortunantly WH counting is unlikely to be accurate based on the amperage, voltage, and power levels reported on the CAN buss as these are pre-filtered. Additional hardware such as a dedicated WH meter would be nesicarily to implement this type of SOC indication, however it may not be a bad idea use such a device even if not integrated as a control device.<br />
*** [[EVDL_Maillist:2005./7./115|EVDL_Maillist:2005./7./115 State of Charge calculations]] - Lee Hart [http://autos.groups.yahoo.com/group/ev-list-archive/message/42428] [http://autos.groups.yahoo.com/group/ev-list-archive/message/42128]<br />
*** [[EVDL_Maillist:2003./8./333|EVDL_Maillist:2003./8./333 Looking for a dual needle gauge ( amps & volts )]] - T Humphrey - [http://www.qsl.net/k5lxp/ev/evgauge/evgauge.html Mark Brueggemann's meter]<!-- 1.75VPC (Volts Per Cell) at 75A draw.<br />
Measured/Calculated Battery Pack Impedance Chart<br />
As measured at the input to the controller.<br />
SOC NoLoadV Pack Z Pack V @X Amps 0A 75A 150A 225A 300A<br />
100% 153.36 .13920 Ohms : 153.36 142.90 132.50 122.00 111.60<br />
50% 147.60 .16908 Ohms : 147.60 134.90 122.20 109.60 96.90<br />
0% 141.84 .19920 Ohms : 141.84 126.90 112.00 97.00 82.10<br />
--><br />
*** [http://shop.altenergystore.com/itemdesc~product~Link+10+Deluxe+Battmon%2D1000a+Shnt%2C+Rs232~ic~XANLINK10%2D1000A~eq~~Tp~.htm Xantrex Link 10]<br />
*** [[WikiPedia:Battery pack]] for more SOC calculation discussions.<br />
<br />
==User Settings==<br />
* Note: Below within the code logic ''_XX_'' are user settings, the listed value is a best guess default for that setting. These may need to be changed in order to allow for various battery chemestries and user preferances.<br />
** ''_30_''seconds - Denied Timeout<br />
** ''_82_''% - Spoof circuit enable SOC level<br />
** ''_20_''% - Real SOC lower limit<br />
** ''_40_''% - Real SOC PHEV entry lower limit<br />
** ''_33_''MPH - EV-Mode re-entry speed<br />
<br />
<br />
==Pseudo Code Logic==<br />
* Initialization and Discovery:<br />
** Upon startup the current state of the system is unknow, has the battery been left discharged or is it fully charged?<br />
*** Determine current '''Real SOC''', using '''Temperature''' compensated no-load or zero-crossing '''Real Voltage'''.<br />
** Depending on the user settings and the CAN management device PHEV mode might be entered immediatly given that '''Real SOC''' is high enough. ''Temperature might also be considered if it is very low, sub-freezing?''. ''Defroster settings might also disable PHEV-Mode from the Prius side of the system''.<br />
*** Enter EV-Mode, Verify EV-Mode was entered<br />
**** If EV-Mode denied, timeout re-attempts for ''_30_'' seconds<br />
** If '''SOC''' < ''_82_''%<br />
*** Then enable SOC Spoof circuit<br />
**** Measure voltage differance to aquire '''Spoof Voltage'''. ''Cycling of the SOC Spoofing circuit for multiple samples may provide more accurate readings''. ''This setting might be saved by the CAN management device as it should rarely change and is manually set''.<br />
*** Else disable SOC Spoof circuit<br />
**** still enable momentarily to determine '''Spoof Voltage'''.<br />
<br />
* PHEV-Mode Loop Start<br />
** If '''SOC''' < ''_82_''%<br />
*** Then enable SOC Spoof circuit<br />
*** Else disable SOC Spoof circuit<br />
** If '''Speed''' < ''_33_'' MPH and EV-Mode is not enabled<br />
*** Re-enable EV-mode<br />
**** If EV-mode denied, timeout re-attempts for ''_30_'' seconds<br />
** If '''Real SOC''' < ''_30_''%<br />
*** Then leave PHEV mode and return to normal HEV mode, End PHEV-Mode Loop, Enter HEV-Mode Loop.<br />
** Return to PHEV-Mode Loop Start<br />
<br />
* HEV-Mode Loop Start<br />
** If '''Real SOC''' > ''_40_''%<br />
*** Then re-enter PHEV-Mode Loop<br />
* Return to HEV-Mode Loop Start</div>Rjf