Project : DBW throttle with Jean's TinyIOX & Polulu JRK12v12

A forum for discussing the MegaSquirt related (but non-B&G) board development, assembly, installation, and testing.

Moderators: jsmcortina, muythaibxr

Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Project : DBW throttle with Jean's TinyIOX & Polulu JRK12v12

Post by Manu »

Hello,

I'm currently working on a project to drive a DBW throttle body using existing components. This project is currently under test.

Here what it is :

Polulu JRK module :
Polulu sell a very fine module that is designed to drive DC motors : https://www.pololu.com/product/1393
This module come fully assembled and allow to drive any motors. After 5 minutes of settings I got a very reactive system. Polulu's module have several security systems to avoid damages to DC motors and to be sure to get accurate position. It have watchdogs, timeouts, currents limitations. All those settings can be set to fit your needs and system.
This module can be usable alone if you connect your "pedal" straight to it and you don't need Jean's module if you want a 1:1 pedal/TPS response..
Here a video of this system with a test DBW throttle body. 5 minutes to set it and there it is :D
http://youtu.be/XoGgkA_9P0Q

Jean's TinyIOX :
With the use of this module you add several functions to the system :mrgreen:
  • IDLE value from MS ecu, witch allow you to drive DBW throttle to maintain IDLE !
  • You can have a non 1:1 pedal/TPS response
How ?

Image

This is my next step. The polulu module can be drive with RC PWM. Jean's module can output RC PWM... All is perfect. If we use a generic PWM output (command to polulu module), an analog input (pedal position) and read IDLE duty from MS (using CAN), we can write a table which output take account of pedal position, idle duty and for wich the output is the RC given to polulu module :RTFM:

In this case we have : %OPENING = f(pedal position, Idle duty)

Image

And the system remain safe as if TinyOX loose CAN connexion to the ECU, you only loose IDLE regulation. But the tinyIOX/Polulu system remain OK.

Just to share :D
Manu

EDIT : put video on youtube for fastest access
EDIT2 : remove announce about thoughts of selling a finished product. This will not happen due to risk in regard of law
Last edited by Manu on Sat Sep 30, 2017 12:10 pm, edited 5 times in total.
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Manu »

And this is why I asked this to James/Ken :

http://www.msextra.com/forums/viewtopic ... 25&t=56980

If this is possible, this system can be use with MS3 without Jean's module.
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
xrattiracer
Experienced MS/Extra'er
Posts: 301
Joined: Fri Aug 01, 2008 2:25 pm

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by xrattiracer »

I am starting to think a DBW throttle would be nice for antilag too. Seems like it should be possible to get antilag valve position via CAN as well, or from an external input from the ms output if necessary and have the controller do an offset calculation. I will have to think about this, nice tip on the driver hardware :)
jsiedlicki
Master MS/Extra'er
Posts: 687
Joined: Sun Jun 23, 2013 3:52 pm

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by jsiedlicki »

Manu wrote:... P.S. : I plan to made this module available as a cased product soon.
Some of us are patiently waiting for a safe DBW solution that works with MS, any updates?
MS3-Pro 1st Gen | Honda K24 Supercharged
MS3/MS3X | SB Ford 347 stroker
acab
Experienced MS/Extra'er
Posts: 243
Joined: Tue Aug 21, 2012 5:52 am

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by acab »

No news)?
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Manu »

Hi,

It's under heavy test on a Audi S4 since a month. It look like it can be a good solution. I still want to make a good PCB for this before releasing the product.

Bests,
Manu
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
acab
Experienced MS/Extra'er
Posts: 243
Joined: Tue Aug 21, 2012 5:52 am

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by acab »

Manu wrote:Hi,

It's under heavy test on a Audi S4 since a month. It look like it can be a good solution. I still want to make a good PCB for this before releasing the product.

Bests,
Manu

can you share your schematics and pcb?
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by phoenix3d »

Yes Please!!.. Would you be able to share?..
seb209726
Helpful MS/Extra'er
Posts: 40
Joined: Tue Dec 16, 2014 12:48 pm

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by seb209726 »

A pcb will only be a neater solution to what is described in the OP.... And is actually not necessarily needed. For those (like me) who want to try it, it can be done by wiring the card externally.
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by jsmcortina »

Sorry to have to bring this up....

I just wanted to make clear that the Megasquirt developers cannot sanction any "DBW" type projects or products that can't demonstrate that they have been engineered using a true safety critical design process.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by phoenix3d »

Hi James...

Sure of course....I fully understand and agree....

(But it's so much fun to play.. ain't it?;-)

Gordon.
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Manu »

jsmcortina wrote:Sorry to have to bring this up....

I just wanted to make clear that the Megasquirt developers cannot sanction any "DBW" type projects or products that can't demonstrate that they have been engineered using a true safety critical design process.

James
Agree with this too. This is why i share the 'logic' of the project but I'm not sure I will release any final product (I mostly sure not).

Even if polulu seem to be a very good driver, I don't know how the code work. And from my searchs, a real dbw controler should have 2 processors that watch each other to be safe. This is not the case. And legal aspect of selling a such project is beyond my scope :oops:

Cheers,
Manu
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by jsmcortina »

Ideally multiple processors and certainly some kind of software and hardware watchdog to shut the throttle if the CPUs lockup.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Manu »

jsmcortina wrote:Ideally multiple processors and certainly some kind of software and hardware watchdog to shut the throttle if the CPUs lockup.

James
Agree. James, if you want to delete the post i agree too.
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by jsmcortina »

I'm never really much of a fan of just deleting posts. That is very rare here on MSEXTRA. (Two reasons 1. we have a good community 2. we try not to be too authoritarian as admins.)

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Manu »

Ok. This post will seat here as a possible project. I won't give anything more from what is already here and agree that, even if the solution work, it's not a safety certified one and it won't be used on roads (as megasquirt too in my country).

DBW throttles NEED a more safety product !

Cheers,
Manu
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
Magovit
MS/Extra Newbie
Posts: 32
Joined: Sun Dec 11, 2005 8:36 am
Location: Sao Marcos - RS

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Magovit »

Many good products starded his life from a simple device.

DBW is a delicated device couse he can put lifes in danger.
Why not open a separated sub-topic to catch all these briliant minds togheter to think about a product what meet all requeriments:.
335i //M
Coutsi
Helpful MS/Extra'er
Posts: 48
Joined: Tue May 05, 2015 2:16 am
Location: Finland

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Coutsi »

Hopefully DBW would be fully supported in megasquirt in the future. DBW would enable so many neat features, with enough collaboration, developing or modifying existing controller we could have safe version.
Control strategies for safety features are in the end quite simple.

All these already have DBW supported:
Motec,Haltech,Vipec,Proefi,AEM infinity,...

Why MS would remain behind these in development?

Haltech solution explained:
https://www.youtube.com/watch?v=1eHQuTCdjdQ
Toyota Aristo JZS147
MS3Pro 2JZ-GTE 1127whp @ 2.7bar
Paul_VR6
Super MS/Extra'er
Posts: 1978
Joined: Wed Apr 15, 2009 11:31 am
Location: Oxford, PA
Contact:

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by Paul_VR6 »

I can see a less robust solution working fine for racing environments. The rest, less so.
-Paul
1992 Corrado SLC 3.6 VR6 11.38@120 - MS3 Pro Ultimate - Microsquirt I/O - Can EGT - Racepak IQ3s
kptuned.com - Megasquirting the World! Megasquirt Sales, Service, Tuning and More!
Image
anzelmi
MS/Extra Newbie
Posts: 6
Joined: Tue Jul 19, 2016 12:20 am
Location: Finland

Re: Project : DBW throttle with Jean's TinyIOX & Polulu JRK1

Post by anzelmi »

Now also Maxxecu and Ecumaster include DBW feature. When does Ms3pro get this feature?
Toyota Aristo JZS161 -98
MS3Pro 2JZ-GTE VVTi, Holset HX40 Super
Ofgear + heavy duty transmission with high stall converter
Post Reply