Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   MS Adapterboard Anyone??? (https://www.miataturbo.net/megasquirt-18/ms-adapterboard-anyone-19432/)

yertnamreg1218 08-18-2008 09:32 AM

After doing some more research, that IC that Joe mentioned is the same as another made by Intersil HPIC9011 (same as TI TPIC8101). I can't find any other ASICs on the market other than these.

We can do windowed knock detection with this chip, but we need an external uProc to talk to it and to do knock window calculations. It wouldn't be that hard, but I am lazy. Some guy in Sweden basically did what we want to do with this chip for his masters.
http://db.s2.chalmers.se/download/ma...r_062_2004.pdf

I'm down with throwing something like this together, but I wish I could get a Masters for it. This hardly seems difficult enough to deserve a Masters.

neogenesis2004 08-18-2008 01:09 PM

Knock Ion detection through the spark plugs would be MONEY!

yertnamreg1218 08-18-2008 01:30 PM

That would be intense, and would require tons more wicked complex electronics on the ignition system.
soooooo
NO

AbeFM 08-18-2008 02:09 PM

Yay! Ion Detection for the Win. Except, of course, not really. :-) WAY too much work.

If you think you could copy his thing, what would be amazing. Also, if you get anywhere on it, let us know over at DIYEFI.org, as it's on our long list of things to do. :-)

I thought there were more chips, but I don't care, one that works is good enough. Knowing WHICH cyl knocked (as a step-up-from-MS ecu could do) would be awesome.

-Abe.

Rouphis 01-14-2009 02:45 AM

Sorry to dig this up as my first post, but what ever happened to this??? I would be very interested in this board for 90 - 93.

Thanks
-Joey

yertnamreg1218 05-03-2009 11:31 AM

So I know its been a long time that I've been teasing you guys with this idea, but I'm finally serious now. I graduate from school in less than a month, and I don't have a job. My plan is to have the MS adapter board (90-93) done and in production by the end of June, so that I can eat and have a roof above my head after my summer job ends. At about the same time a standalone knock detector will be released and shortly thereafter subsequent model year adapter boards.

Now lets get on to some of the features. The MS adapter board will hence be referred to as "MIATASQUIRT" (ok I really like the name).

MiataSquirt will:
a)fit into the stock case with minimal modification (maybe a drill hole for the map line) (I also think this should help you guys out that race in NASA)
b)use the stock 48 pin connector (instead of the 64 that everyone on here uses)
c)be an easy/clean install that can be completely hidden (almost as plug and play as MSPNP)
d)have built in windowed knock detection, and when the engine knocks the check engine light will light for a brief period
e)have optional Bluetooth communication built in (for an additional fee, cost will depend on volume)
f)work with V3 and V3.57 boards
g)cost about $200 less than MSPNP (inlcudes cost of both MS and adapter board)

I like the whole open source movement, and as a result I'm developing this on linux in gEDA. I will likely make the schematics for the MiataSquirt and knock detector available as well as the source code for the knock detector (such that others can LEARN).

One last thing, I have a 1991 so I can easily make this thing for my car. I do not however have any other generations of Miata. Is the 94-95 ECU the same size as the 90-93? I know it uses the same 48 pin connector so I assume its pretty close. Does any one that has gone standalone on 94-95 or 96-97 have their old ECU laying around that they wouldn't mind giving to me to develop this thing. Also is anyone around the greater Indianapolis area that would want to be a guinea pig for some of the later models. I am specifically located in Terre Haute, Indiana. If any one wants to talk about this or see what I have so far, I will be at an AutoX in Terre Haute on May 17th.
Sorry for all you Houston guys, I grew up there in Friendswood, I wish I could be back there to develop this thing. There are so many more of us Miata guys down in Houston.

Duckie_uk 05-03-2009 05:19 PM

Yes the 94 onwards ECU is exactly the same size with the same mounting points. I built my MS in a 1.6 case which is now fitted to my 1.8. If you want any info on the 1.8 or to guinea pig any ideas shoot me a PM, my car seems to spend more time off the road than on anyway! I know I'm not exactly local to the Indianapolis area but what ya gonna do :fawk:

modernbeat 05-04-2009 07:44 PM

Have you seen this?

http://www.msprotege.com/members/kcbhiw/HIWMS.jpg

http://www.mazdas247.com/forum/attac...hmentid=144587

http://www.mazdas247.com/forum/attac...hmentid=144588

yertnamreg1218 05-06-2009 02:33 PM

Actually I hadn't seen that. Got a link to the person selling it?

While its semi-sweet, it won't have sh@t on my adapterboard. My knock detection will kick KnocksenseMS's ass in terms discrimination from engine noise.

For those of you more technically minded, knock can only occur for a few milliseconds after each plug fires. The knocksenseMS consists of (I think) a low pass filter (low frequencies pass through it), and an analog comparator. This is completely indiscriminate and could potentially have problems with temperature instability. My knock detector will do something called windowed knock detection. I will intercept the spark events from the processor, and only look for knock for a few milliseconds after each event. Basically it'll be super sweet and will be better than pretty much any of the other solutions out there.

Not to mention my board will have (optionally for a fee) bluetooth built in!

Zaphod 05-07-2009 06:16 AM

Don't tease any longer - go for it.

AbeFM 05-07-2009 06:47 PM

You're not worried about pre-ignition at all? That's one thing that worries me on windowed system - it seems like you'd almost want a circular buffer, which only notices but doesn't report events outside of a window of 1/30 rotation about ignition. Something like that.

You're going to do it with a microcontorller, or do you have some clever all analog scheme? For that matter, are you going to use a knock chip, or discretes?

yertnamreg1218 05-08-2009 01:01 PM

I hadn't really thought about pre-ignition. I've only been doing this "car" thing for about 2 years now, so while I am pretty knowledgeable, I'm still somewhat of a :noob:.

I am doing this with a micro and that knock chip (TI: TPIC8101 Intersil: HIP9011). The chip will integrate the knock signal during the window event, and compare this to a calibrated value in the uProc EEPROM. It shouldn't be hard at all to add a second lookup table and capture data for pre-ignition as well. Plus I'm sure I could find another unused dash light that I have access to to display that information.

Good idea Abe, thanks for the advice. If anyone else has any ideas or suggestions, I would love to hear them. I'm making this thing largely for you guys, but also the losers on m.net. I want this thing to be THE megasquirt solution for miatas.

As far as progress goes: I have the schematic largely finalized. Right now I'm working on creating footprints for the components, and to an extent I'm still figuring out gEDA. I'm scheduled to have the board out for fabrication by the end of the month, and then depending on cash flow into production by the end of June.

Also I noticed with that other adapter that was posted, that there still had to be a significant amount of wiring and brackets made. That sucks. They had the right idea with that, but executed it poorly. The board will be the exact same size and shape as the stock one and will use the stock machine screws and mounting holes.

yertnamreg1218 05-10-2009 04:56 PM

Here a quick update for those of you following this. The schematic is done, and all the footprints are created and associated with parts. I'm very close to starting layout (ahead of my schedule). Heres a few screen shots of the schematics for the cool stuff (knock detection and bluetooth).

Knock Chip (TPIC8101)
http://img142.imageshack.us/img142/9471/tpic.png

Knock Processor (PIC16F882)
http://img148.imageshack.us/img148/7232/processor.png

Bluetooth Circuitry (EB101 from a7 Engineering and support circuits)
http://img145.imageshack.us/img145/7074/bluetooth.png

yertnamreg1218 07-12-2009 08:16 PM

So some of you may have thought that I'm just full of hot air, but that simply isn't the case. Behold my plug and play MegaSquirt solution for Miata's:

http://img10.imageshack.us/img10/7493/img2610n.jpg

This is a photo of my first prototype board. Features include, but are not limited to:
Bluetooth and USB connectivity
Windowed Knock detection with Check engine light indicator
Joe's ignition pop fix
A/C fix
Clutch switch pre-wired for launch control
COP tach fix
Boost control
Oh and it fits in the stock case!-good for certain racing classes/organizations
etc.

The board is currently setup for MS-I although an MS-II version is in the works. While the board is currently untested, I'm building a programmer for the processor and should have my car up and running on it this week. I cannot currently sell these due to licensing issues with MegaSquirt. I am in contact with B&G and we are working on coming to an agreement. B&G tries to minimize competition within the Megasquirt community and as I'm sure you are all well aware I would compete directly with MSPNP. I would like to sell these with all the features included for $500-600, but I fear in order to get the liscense B&G as well as DIY will have a say in what I sell them for.

I also have a team of engineers working on boards for later model years as well as other makes and models. Let me know your thoughts on this board so far, and if you guys have any other cars you think something like this would be good for let me know.

Hey DIY, if I've scared you a little bit...good! That being said, I think we could work together to come to a solution that is beneficial for the both of us.

albumleaf 07-12-2009 09:35 PM

Hot DAMN.

deliverator 07-12-2009 09:41 PM


Originally Posted by yertnamreg1218 (Post 429596)
So some of you may have thought that I'm just full of hot air, but that simply isn't the case.

:winner:

kday 07-13-2009 12:31 AM

Do you actually have the knock sensor working, or did you just put a footprint down on the PCB?

richyvrlimited 07-13-2009 06:09 AM

That looks kickass, massive props for the custom work

have you tested the knock stuff? And how do you set it all up? MS just pulls timing on a pin being pulled high/low, its not actually a dedicated knock pin, there's nowt in the software for fancy knock stuff either :(

yertnamreg1218 07-13-2009 07:47 AM

Good eye guys. The processor for the knock sensor isn't placed on the board. Turns out I ordered the DIP version accidentally instead of the SSOP. I have one on order and should have that together soon.

The hardware design for the knock sensor is done, but the software still needs some work. The knock sensor is currently setup to (optionally via jumper) use two of the wires in the AFM harness for the knock sensor (Less wires through the fire wall = more PNP). The processor will look at the spark outputs and based on them and the RPM it will have a lookup table to determine a threshold noise level (which will be calibrated by the user). During the knock event window the device will integrate the knock signal, and if it is greater than the noise threshold for that given RPM it will alert the user.

I looked into knock ion sensing. Its pretty cool and not that hard. The issue is the need for custom ignition coils. Delphi makes them and I could definitely rig something up to do this, but it might be cost prohibitive for all but a select few users. I'm definitely down for doing it, but that would be something down the road for my company once we get established with these Megasquirt products.

One last thing before I head off to work, the final boards will have a better proto area. This board is certainly organized, but layout could be better. Final boards will have one large proto area with fanout's for DIPs. This should make prototyping additions very easy.

jsmcortina 07-20-2009 06:12 AM


Originally Posted by Joe Perez (Post 243384)
The Extra code is open-source,

The source code is indeed open, but it remains under copyright.

The main copyright holders on the MS1/Extra code are:
Bruce Bowling, Philip Ringwood, James Murray

and for reference, the copyright holders on the MS2/Extra code are:
Al Grippo, Kenneth Culver, James Murray

The source code being available does NOT mean it is free to steal and use on non-approved products. I have been in discussion with solicitors recently about taking legal action to uphold my copyright on these codes.

regards

James Murray


All times are GMT -4. The time now is 11:14 AM.


© 2024 MH Sub I, LLC dba Internet Brands