Honda Insight Forum banner

1 - 20 of 597 Posts

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #1 (Edited)
Edit by Peter 28/12/12

Just to clear up any confusion the production IMAC&C unit for the HCH1 is a standalone device seperate from the OBDIIC&C display.

The first few pages of this thread however discuss an attempt to make the OBDIIC&C device perform both functions, this did not work correctly so was abandonded in favour of the standalone device which works well.

The development of the standalone IMAC&C for the HCH1 beings at about this post

http://www.insightcentral.net/forum...on/21887-imac-c-hch1-civic-26.html#post235068

I hope that helps.

PS There is some free demo code available in this post for those building their own device.

People can try before they decide to purchase the full version with all the bells and whistles.

The demo allows those who have built their own device using stripboard/proto board or even my pcb to load a version of the software for free to check it works.

The demo has one level of assist and regen only.
Approx 6A of regen and 12A of assist.


No battery protect mode.
No ABC overide.
No max assist/regen.
No disable assist/regen.
No autocancel.
No ima cruise control.
No Lcd display.
No assist/regen boost mode.
etc etc.

The attached zip file is not password protected and may be freely distributed.

http://www.insightcentral.net/forum...c-hch1-civic-mini_hch1_12f683_imac-c_demo.zip


Original Post.

I think you might like this :) I have been studying the HCH1 data and the current OBDIIC&C schematic and I think that IMAC&C control aka 'MIMA' can be achieved for the HCH1 using only one harness wire cut / splice and a 3.5mm plug into the data logging port of the OBDIIC&C gauge.

The data port is connected to the RX/TX USUART of the pic, and with a change to two resistors R14 & R15 from 1k to 220R on the pcb (may not be reqd) I think we can achieve the comms connectivity we need to intercept and modify the IMA control signals passing from the ECM to the MCM on the serial line. OK you won't be able to do any logging initially but what the hell, that data could be diverted to J4 later. I will operate an interrupt driven buffer which passes through the serial signals and/or modifies them for IMAC&C.

The gauge will plug into the OBDII port as now and work in the same way.
Initially the button will be reconfigured to give assist/regen right/left click etc or similiar.
It might be possible later to add a second remote dedicated IMA button using the SCS line, J4 or even the Hline connection.

A lot of work to do but I hope to try a simple data pass thru connection with the gauge also working next week.

Modifying the data for IMA control will come later when I have analysed it all. It looks quite promising and means a pretty cheap solution for MIMA for HCH1 especially if you already have a gauge as you get OBDIIC&C functionality as well :)

Before anyone asks, no we can't do this with the G1 Insight or any other other IMA cars ASFAIK as they use different comms. Only exception might be the Accord IMA but we don't have them over here.
 

·
Registered
Joined
·
4,008 Posts
Hmmm... and you will be needing a guinea pig for this?

:)

Probably 10 times in the last week I was driving and something happened that made me think "wish I had MIMA."
 

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #5 (Edited)
Well I can get the OBDIIC&C gauge to squirt through the IMA data reqd between the HCH1 ecm & mcm with the addition of one resistor, it's currently working on the bench, but at the moment I can't get it to do that and the gauge function at the same time. It was quite a big ask. Two seperate lots of serial data to deal with and only one usart. It might still be possible but only with a lot of work I will look at it.

So we have a couple of options.

1. Have a completely seperate IMAC&C device with it's own 16x2 serial enabled display. This would only require a 12F1822 8 pin pic and be cheap as chips as far as the hardware is concerned. 4 connections to the car reqd. +5v, Gnd, MotA ECM, MotA MCM

2. Use the OBDIIC&C gauge with two modes OBDIIC&C or IMAC&C until I get it sorted. Hmm
 

·
Registered
Joined
·
4,008 Posts
Wait, so the second board would need more than one harness splice?

Obviously having the software all work on the OBDIIC&C is the best solution... but that said:

I'd say being able to see the actual IMA data at the same time as controlling it is pretty much a requirement... otherwise all you have to go on is the dash gauge, and that won't show you things like voltage sag and temp and true SOC. Which makes the ability to control the IMA only half as useful.

I vote second board... however, does the second board even need a screen at all? Or are you saying the main box would be blank or say something like "IMAC&C mode" and only the secondary small board's LCD would be active?

If I understand correctly, the second board won't be plugged into the OBDII port, so you could have the OBDIIC&C plugged in and showing the IMA state and just hide the IMAC&C board completely?

Sam
 

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #7
An hch1 IMAC&C board would be a completley independent device with 16x2 serial lcd display for configuring it and operating data etc . It would have the standard 5 way switch button.

Lots to think about though, incorporating it into the OBDIIC&C would be good as it would have access to the brake/clutch/neutral switch and oll the other obd data without having to monitor those lines independently.

I'll keep working on the combined solution for now.
 

·
Registered
Joined
·
4,008 Posts

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #9 (Edited)
IMAC&C Data Analysis Openday

I have now processed and condensed the data I captured recently from the UK HCH1 Civic.

This data is the info being sent from the ECM > MCM over the MotA Line at 9600,8,E,1 when the car is on.

It contains the IMA Control data and is made up of one repeating 9 byte data packet sent every 30ms. The packet starts with the ident byte B3 and ends in a checksum byte, that means we have only seven data bytes to decode. ;) .

The spreadsheet contains a number of short data captures covering a variety of driving and motor operation scenarios. We now need to look at the data and from the info make some inspired deductions about which bytes are controlling which IMA functions.

I making the data available here for the benefit of the community. It has taken many hours of work to obtain. I welcome ideas and analysis of the data. Feel free to modify and improve the spreadsheet I am no expert.

I also have the MCM > ECM MotB Line data but that is not processed yet and comprises four different 9 byte packets types, at least one of which will be devoted to driving the Oem dash gauge in a similar way to the METSCI line on the Insight.

www.solarvan.co.uk/Civic/CombinedFiles.zip

Enjoy :)
 

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #10 (Edited)
Mot A comms via OBDIIC&C working

Now got my 18F2620 running at 32mhz and it is keeping up nicely with the interrupt driven comms on the MotA line and the OBDII port at the same time :)

Stacks or work to do and I need your help with that data anlaysis. ;)
This work benefits all IMA car owners as it increases our understanding of the cars systems. So you Insight gurus please chip in.

Next stage is to get the basic Calpod/Sam HCH1 OBDIIC&C working with this data passthru MotA comms in the background then I can start manipulating the new data.

Hope my guinea pigs are ready LOL!!!

Note to enable the OBDIIC&C to pass thru the MotA data on the logging port I changed R15 to 330R & added a 2k2 resistor between the data connector side of R14 and +5v on the board. I used pin1 of J4 for the 5v in my test setup. But you could use any nearby solder pad that is connected to the +5v supply.

Youtube video from the Perkins Labs.

 

·
Registered
Joined
·
4,008 Posts
ill take a look at it shortly... currently out of town with the wife. back monday. sam
 

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #12
Thanks Sam

I've modified the Calpod version of the hch1 OBDIIC&C software to do the passthru MotA stuff and will test that tomorrow. Calpod's responds the same as my bench UK ecm so i can test it with that.

You will both need to upgrade to an 18F2620 chip to use the next versions of the software I will release as these will include the MotA passthru tests.
 

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #13 (Edited)
Test 2

MotA passthru working with normal OBDIIC&C data and functions on display. Soc buttons and ecm/mcm version display also work fine

Just need to modify that B3 packet for IMA control ;)

Has anyone apart from Sam actually downloaded the spreadsheet of data I posted and looked at it? I welcome any ideas.
I'm going to start studying it tonight with a bit of luck.

Youtube video from the Perkins Labs.

 

·
Registered
Joined
·
4,008 Posts
Does the brand on the 18F2620 matter? Is this the same model that will be in the I1's OBDIIC&C this summer, so should I order two?

Sam
 

·
Administrator
Joined
·
12,438 Posts
Discussion Starter #17
It's the chip that will be reqd for the summer so get two if you have two boards.

You need new software for the Insight for it to work

For the Civic HCH1 it will also req new software with new pic.
 

·
Registered
Joined
·
4,008 Posts
Sorry for my ignorance, but which one of these, specifically, is the right one? I'm guessing it's the -E with the PDIP package? Is PDIP compatible with DIP?

Code:
Sample	Buy	Part Number	Leads	Package Type	Temp Range	Packing	1-25	26-99	100+	1000-4999	5000+
	 	PIC18F2620-E/SO	28	SOIC 300mil	-40C to +125C	TUBE 	5.36	5.23	5.10	4.70 *	4.47 *
	 	PIC18F2620-E/SP	28	PDIP 300mil	-40C to +125C	TUBE 	5.53	5.40	5.26	4.84 *	4.61 *
 	 	PIC18F2620-I/SO	28	SOIC 300mil	-40C to +85C	TUBE 	4.87	4.76	4.64	4.27 *	4.06 *
 	 	PIC18F2620-I/SP	28	PDIP 300mil	-40C to +85C	TUBE 	5.04	4.92	4.80	4.42 *	4.20 *
	 	PIC18F2620T-I/SO	28	SOIC 300mil	-40C to +85C	T/R 	4.91	4.80	4.68	4.31 *	4.10 *
 	 	PIC18LF2620-I/SO	28	SOIC 300mil	-40C to +85C	TUBE 	5.12	4.99	4.87	4.48 *	4.26 *
 	 	PIC18LF2620-I/SP	28	PDIP 300mil	-40C to +85C	TUBE 	5.28	5.16	5.03	4.63 *	4.40 *
	 	PIC18LF2620T-I/SO	28	SOIC 300mil	-40C to +85C	T/R 	5.16	5.03	4.91	4.52 *	4.30 *
Sam
 

·
Registered
Joined
·
4,008 Posts
Ok, ordered two.

$11.00 for the parts, $6 for shipping... definitely why I wanted to get two at once. The shipping was the same for one.

Sam
 
1 - 20 of 597 Posts
Top