Proteus triggel wheel sensor setup

From Frankenstein to Proteus and everything in between
Post Reply
Krakert
Posts: 38
Joined: Sat Jan 02, 2021 5:31 pm
Location: Heemskerk
Github Username: Krakert

Proteus triggel wheel sensor setup

Post by Krakert »

Hey Everybody,

I'm having some trouble getting the trigger sensor to work well.

I got a 32-2 tooth wheel on the crankshaft that has a Bosh HA-P hall effect sensor looking at it. The sensor is getting 5V power and the signal of the sensor is going to digital pin 3 on the Proteus V0.4 (F7).
The air gap is about 0.5-0.8mm for the sensor.

I hooked an oscilloscope up to the digital pin and monitored the signal, this is the best I could capture on the scope (really need a data logger)
SDS00001.png
SDS00001.png (12.74 KiB) Viewed 13300 times
So I would say, the sensor is working, and also the fuel pump triggers when the sensor changes state (which makes sense because when turning we need fuel).

But there is no way I can get a signal to show I either TunerStudio or rusefi_console.

I was expecting a signal as you guys have stated in the documentation :
https://github.com/rusefi/rusefi/wiki/Trigger-Configuration-Guide#this-is-the-correct-missing-tooth-shape

So I'm a bit lost here, somebody here that has an idea?
Latest data: https://rusefi.com/online/view.php?msq=1039

Thanks!
Attachments
SDS00004.png
SDS00004.png (13.23 KiB) Viewed 13291 times
SDS00005.png
SDS00005.png (12.27 KiB) Viewed 13291 times
Last edited by Krakert on Sun May 29, 2022 2:26 pm, edited 2 times in total.
Krakert
Posts: 38
Joined: Sat Jan 02, 2021 5:31 pm
Location: Heemskerk
Github Username: Krakert

Re: Proteus triggel wheel sensor setup

Post by Krakert »

Some more testing is done and I don't really know where the fault sits.

I have made a simple setup with an old flywheel that is driven by a drill. This way I can drive the wheel sort of stable in terms of RPM.
And hooked the sensor up to the ECU.
PXL_20220529_141211417_(8.1.011).jpg
PXL_20220529_141211417_(8.1.011).jpg (7.44 MiB) Viewed 13291 times
But TunerStudio shows a strangle behaviour in the RPM.
Screenshot from 2022-05-29 16-13-09.png
Screenshot from 2022-05-29 16-13-09.png (321.03 KiB) Viewed 13291 times
As you can see in the top left corner... RPM is all over the place?!
User avatar
AndreyB
Site Admin
Posts: 14360
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Proteus triggel wheel sensor setup

Post by AndreyB »

Are you feeding your unit just with USB? What is the voltage on the 5v outputs at the moment?

@mck1117 is it wise to feed sensors from proteus +5v without +12 power?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Krakert
Posts: 38
Joined: Sat Jan 02, 2021 5:31 pm
Location: Heemskerk
Github Username: Krakert

Re: Proteus triggel wheel sensor setup

Post by Krakert »

AndreyB wrote:
Sun May 29, 2022 2:50 pm
Are you feeding your unit just with USB? What is the voltage on the 5v outputs at the moment?
I started with just the USB, and later added 12V to the mix, which solved my problem, and the RPM is steady now however, this is a very big flywheel with bit tooth, but the wheel on the crankshaft is a way smaller, and after some fiddling, I got a signal but no RPM? This looks pretty okay right!?
Screenshot from 2022-05-29 19-40-00.png
Screenshot from 2022-05-29 19-40-00.png (286 KiB) Viewed 13276 times
User avatar
AndreyB
Site Admin
Posts: 14360
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Proteus triggel wheel sensor setup

Post by AndreyB »

We can help you much better if you can upload a tune and log to rusefi.com/online and provide the link back on this thread.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mck1117
running engine in first post
running engine in first post
Posts: 1495
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Proteus triggel wheel sensor setup

Post by mck1117 »

AndreyB wrote:
Sun May 29, 2022 2:50 pm
Are you feeding your unit just with USB? What is the voltage on the 5v outputs at the moment?

@mck1117 is it wise to feed sensors from proteus +5v without +12 power?
It is potentially undefined behavior. I would expect to see 4.1-4.5 volts on the 5v sensor outputs (and on the internal 5v rail) when powered from usb, as opposed to 5 +- 0.05 when powered via the ignition pin from a supply 7-28 volts.

It's possible the sensor actually wants a 12v supply, and has marginal operation at 5v anyway.

Do we know what car this came from, and any info about the wiring (ie, is it obvious from the wiring diagram?) or a troubleshooting guide that offers test voltages?
mck1117
running engine in first post
running engine in first post
Posts: 1495
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Proteus triggel wheel sensor setup

Post by mck1117 »

Also, can you take a photo of the missing tooth on your wheel?
Krakert
Posts: 38
Joined: Sat Jan 02, 2021 5:31 pm
Location: Heemskerk
Github Username: Krakert

Re: Proteus triggel wheel sensor setup

Post by Krakert »

mck1117 wrote:
Mon May 30, 2022 8:24 am
It is potentially undefined behavior. I would expect to see 4.1-4.5 volts on the 5v sensor outputs (and on the internal 5v rail) when powered from usb, as opposed to 5 +- 0.05 when powered via the ignition pin from a supply 7-28 volts.

It's possible the sensor actually wants a 12v supply, and has marginal operation at 5v anyway.

Do we know what car this came from, and any info about the wiring (ie, is it obvious from the wiring diagram?) or a troubleshooting guide that offers test voltages?
In my first post, I linked the datasheet to the sensor, and it should work fine on 4.5V to 24V. But yes the sensor works great when I also hook up the 12V. So the problem is not in the sensor but maybe the wheel?!

Here is the wheel on the same setup as the flywheel, driven by a drill. And you can see the output on the scope... Not looking so great.
WhatsApp Video 2022-05-30 at 7.59.44 PM.mp4
(5.79 MiB) Downloaded 180 times
It is a 32/1 wheel that is around 114mm in diameter. Later this week I have time to make some logs and more pictures.
Maybe it is just the trigger wheel because they call it magnetic stainless steel? See link:
https://www-efignition-nl.translate.goog/a-50131782-5094744/triggerwheels/triggerwheel-36-1-magnetisch-rvs/?_x_tr_sl=nl&_x_tr_tl=en&_x_tr_hl=nl&_x_tr_pto=wapp#description
Krakert
Posts: 38
Joined: Sat Jan 02, 2021 5:31 pm
Location: Heemskerk
Github Username: Krakert

Re: Proteus triggel wheel sensor setup

Post by Krakert »

I have been doing some more testing today. But I'm unable to get a got signal out of the sensor with the 32/1 trigger wheel.

Now I'm thinking that the sensor is not suited for the job. I found 2 versions of the datasheet, one says a max frequency of 4.2Khz and another a max of 10KHz. but still with that 4.2KHz max..

1000RPM / 60 = 16.6Hz x 36 teeth = 600Hz, so at idle 600Hz. 4.2Khz / 600 = 7 x 1000RPM, so the sensor should handle up to 7000RPM...

But I dont get a single good reading with it.
Here is the log:
https://rusefi.com/online/view.php?log=860

Setup:
PXL_20220603_181414490_(8.1.011).jpg
PXL_20220603_181414490_(8.1.011).jpg (196.4 KiB) Viewed 13077 times
Krakert
Posts: 38
Joined: Sat Jan 02, 2021 5:31 pm
Location: Heemskerk
Github Username: Krakert

Re: Proteus triggel wheel sensor setup

Post by Krakert »

Somebody here that can help me out here? I don't really know what to do or to buy from this point on.
mck1117
running engine in first post
running engine in first post
Posts: 1495
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Proteus triggel wheel sensor setup

Post by mck1117 »

What does the tunerstudio high speed trigger logger look like?
Post Reply