Honda Insight Forum banner
1 - 20 of 173 Posts

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #1 · (Edited)
I've started this thread as the old one was huge and it was time for a new start.

Attached as my present for the community this Christmas is new firmware for the OBDIIC&C gauge and the associated pdf user manual.
There is a lot of new stuff and many changes in the way it operates so please RTM "Read the manual" before posting questions.

Highlights include:

Ability to read ABS,SRS,EPS dtc's.
Ah/Wh timing problem fixed.
New smarter menu system.
New alternating 16 parameter display option with adjustable page time..
User selectable amp hack %.
user selectable voltage hack %.
User selectable 12v voltage compensation %.
Skip startup splash/obd and/or readiness screens options.
Now reads upto 9 OBDII codes on startup. (Prev 3)
Ipu fan test mode.
Backup and restore all parameters and configuration options.
Automatic battery fan status re-included. Remembers fan setting for use at next startup.
Remembers backlight setting.
Better IMAC&C P&P integration.
Loads of bux fixes and program enhancements. Reports welcome.

The gauge also now refreshes slightly faster at 4.66hz compared to 4hz prev.
Not all of it is tested in depth, simply no time. Over to you for that.
I still have about 14k out of 64k memory space left in the pic for the remaining DTC databases once I get round to it.

Anyway wishing you all a great christmas and happy new year.

Peter


PS as requested.

Link to the parts spreadsheet.. https://docs.google.com/spreadsheet...yYllM-9JlMSTHepPaEBIGz19o/edit?hl=en_US#gid=0

Latest schematic attached with some minor changes. (Note this has four CAN connections which can be ignored,)
It uses the same pcb as the original and will function fine with the current software in either this or the old schematic configuration.
 

Attachments

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #3 · (Edited)
The manual I posted contains clickable links to the google docs parts spreadsheet & bom..
The spreadsheet then contains links to the schematic. ;)
But I have added them to my first post as well..
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #4 ·
Excel Help

I need to analyse/sort some data but am rubbish with excel.
Attached is a data file with bodged macro.

I want to edit the macro or create a new one to split the large column of data in sheet 1 so that whenever $20 followed by $05 occurs it copies it and the subsequent data to a row in sheet 2 as below.

20 05 ab 23 45 de f6 blah blah
20 05 xx xx xx xx xx etc etc
20 05 cd 43 xx xx xx xx xx

Anyone help?
 

Attachments

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #12 ·
Eq1.. I hadn't considered having 'Bam' on both screens so it may work like that, try it..

If the second screen is active and 'Bam' is not one of the parameters it will not take a current reading during that time and will under read ah/wh by 50%.
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #14 · (Edited)
The screen split time is exactly 50% in the alternating mode.
So as you say just double it.
Over longer periods missed current etc will even out..
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #18 ·
Sam12345 the User manual link is working for me and others. Must be your end or an IC problem.

Re the amps in - amps out.

That's possible for the next release, i'll add it as a special parameter.
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #24 · (Edited)
More Tinkering

Ima Efficiency Calculation.

We have running Watt Hr In and Out counters active in the software. They can store upto 65535 WH each.

So from this data as it accumulates during daily/weekly monthly runs how can we calculate an in/out % efficiency?

The maths has to be doable in 16bit integer only.. Range 0-65535. No decimal points.

e.g.

WhIn 30000 - WhOut 15000 = 15000
100 / 30000 = 0.003333
0.003333 x 15000 = 50% :)

But we can't have decimals.. :(

There is a special division command and 32 bit mode in picbasic pro that may help.

3.1.10 DIV32
PBPW’s multiply (*) function operates as a 16-bit x 16-bit multiply yielding a 32-bit
nternal result. However, since PBPW only supports a maximum variable size of 16
bits, access to the result had to happen in 2 steps: c = b * a returns the lower 16
bits of the multiply while d = b ** a returns the upper 16 bits. There was no way to
access the 32-bit result as a unit.
n many cases it is desirable to be able to divide the entire 32-bit result of the
multiply by a 16-bit number for averaging or scaling. A special operator has been
provided for this purpose: DIV32. DIV32 is actually limited to dividing a 31-bit
unsigned integer (max 2147483647) by a 15-bit unsigned integer (max 32767).
This should suffice in most circumstances.
As PBPW only allows a maximum variable size of 16 bits, DIV32 assumes that a
multiply was just performed and that the internal compiler variables still contain the
32-bit result of the multiply. No other operation may occur between the multiply and
he DIV32, else the internal variables may be altered, destroying the 32-bit
multiplication result.

Example

a VAR WORD
b VAR WORD
c VAR WORD
dummy VAR WORD
b = 500
c = 1000

dummy = b * c ' Could also use ** or */
a = DIV32 100

This program assigns b the value 500 and c the value 1000. When multiplied
together, the result would be 500000. This number exceeds the 16-bit word size of
a variable (65535). So the dummy variable contains only the lower 16 bits of the
result. In any case, it is not used by the DIV32 function. DIV32 uses variables
internal to the compiler as the operands.
In this example, DIV32 divides the 32-bit result of the multiplication b * c by 100 and
stores the result of this division, 5000, in the word-sized variable a.
DIV32 is not supported by PBPL as that version of the compiler always uses a 32-
bit x 32-bit divide.
Ideas and examples welcome...
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #25 · (Edited)
No ideas? A new version is ready apart from the below issue..

Think I have it sussed now... Now testing a new version in the car..
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #30 · (Edited)
OBDIIC&C New Years Version Update.

This attached OBDIIC&C firmware version and updated manual contain bugfixes and some tweaks to the ah/wh counting.
There are also some new Ah/Wh related parameters and IMAC&C functions.

The most interesting is probably the Wh In/Out % ratio.

"Wh%","WattHr In/Out %Ratio" Param 0x2E

This parameter shows the % value of the accumulated
WhOut (Assist) versus the WhIn (Regen) to two decimal places.
It provides a reference value for battery/ima efficiency that can be
plotted or noted over time. A higher percentage
indicates a better system efficiency. If your battery has
high internal resistance (IR) or poor capacity and
recalibrations this figure will be lower.

Ideally you would want this number to be 100% as that indicates that the WhOut over time is equal to the WhIn.
Lithium systems should see much higher % than Nimh ones.. This figure of course excludes any external charging..

It should allow us to get a good picture of battery efficiency for those Insight's throughout
the international fleet that have OBDIIC&C fitted and are running this firmware.
This figure is calculated constantly in the background and can be displayed as a selectable parameter,
or can be found on the Ah/Wh/Time screen.

Note due to limitations in the pic maths functions the maximum WhIn or out that can be handled is 32767Wh.
When either WhIn or Out reaches that level both are reset to zero.

Also include are:

The ability to disable the IMAC&C brake and clutch checks. Be careful with this.
The ability to adjust the IMAC&C up/down joystick step number & %.

Enjoy and as usual please read the manual before posting questions..

Also attached is an update for the IMAC&C P&P joystick to prevent occasional freezing.
 

Attachments

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #32 ·
Peter,
There is one other request whenever you get a chance. Maybe im an idiot but several times i leave the setting on regenerate and come to a complete stop then when i take off the car stalls or i got no power cuz the regen setting is still on. Can you have the thing reset to no regen when coming to a complete stop automatically. I know its a minor thing but it could have safety repercussions to idiots like me.
If you are running the previous firmware and touch the brake or clutch it should cancel IMAC&C automatically.
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #38 ·
Bugs

There is a data saving bug in the version I posted yesterday :(
But you may not notice it unless you unplug the gauge.
I'll update it shortly.

Please keep other bug reports comments coming..

I'm going to put the IMA efficiency % on the splash screen instead of the elapsed time, so you can see it each time you drive/start the car.
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #40 · (Edited)
Thanks for the videos. That's worth a thousand words.
It looks like a button malfunction as none of my units here exhibit this behaviour.

Have you done the capacitor modification on the board? Pic attached.
Capacitor C4 should be removed or one leg snipped anyway if it's present.
Please check and report back.

Check you pickit software to ensure the two circled tick boxes are checked. See pic.
 

Attachments

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #44 ·
Can you get into the OBDIIC&C joybutton test option in the menu?
Please video it and what it reports as you press the button etc.
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #46 ·
OK could both of you with the problems (even if fixed) please use the OBDIIC&C test in the menu and video the results. Thanks

If you have snipped the capacitor before are we/you sure it is not making contact. ;)
 

·
Administrator
Joined
·
13,900 Posts
Discussion Starter · #53 ·
Download the latest manual. A few posts back. OBDIIC&C User Manual 311217_V01C.pdf

The joystick test is a function. Press left to access it. Don't change the value.

Don't change the IMAC&C inc Variable value either.


Re The Menus.

If the entry is a Flag it should be set as $00 or $01.
If the entry is a Variable it should be set according to the data in the description.
If the entry is a Function press left to activate it.

Have another look at the new manual all the menu entries have either Flag/Variable or Function next to them.
 
1 - 20 of 173 Posts
Top