As I show here, it works on emulating, but i not test it i real.
[info] VR + knock module
Re: VR + knock module
At the moment the $2 MAX9924 wins by removing the requirement for skilled threshold tuning.
Tuning is only need i begining, for C2 + R10 ONLY,
Single pin is done, only need to add/remove components, on the same layout, and make shorts, to change from 2 wire VR to HALL thru 1 wire VR.
And the price is less than half (or 1/10 if 10$ is the limit).
Re: VR + knock module
Without posted source files it's difficult to comment on the emulation accuracy.
Selection of components is critical for understanding if a schematic will work. The opamp selection is critical.
Welcome to the friendlier side of internet crazy
-
- running engine in first post
- Posts: 1495
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: VR + knock module
Looked over your schematic.
I have a couple questions/concerns:
1. Some of the triggers that the max992x has trouble with are "single tooth per cam rev". That means they could be as slow as 4hz input at engine idle speed. Your peak detection circuit doesn't work below idle speed on a 60-2 (60-2 frequency is ~RPM because of 60 teeth). There might even be difficulty getting the engine to start as the 330k/100n RC will decay too fast during cranking. However - the tradeoff of a slower RC is that if you drop RPM rapidly (redline shift from 1->2?) and the voltage drops significantly, you'll start losing teeth as the sensor voltage could drop faster than the threshold circuit.
2. This only triggers on zero crossing in one direction, right? That means with a single-wire sensor you might end up with edges on the imprecise edge instead of the precise edge because you can't flip the polarity, even in the PCB design.
I have a couple questions/concerns:
1. Some of the triggers that the max992x has trouble with are "single tooth per cam rev". That means they could be as slow as 4hz input at engine idle speed. Your peak detection circuit doesn't work below idle speed on a 60-2 (60-2 frequency is ~RPM because of 60 teeth). There might even be difficulty getting the engine to start as the 330k/100n RC will decay too fast during cranking. However - the tradeoff of a slower RC is that if you drop RPM rapidly (redline shift from 1->2?) and the voltage drops significantly, you'll start losing teeth as the sensor voltage could drop faster than the threshold circuit.
2. This only triggers on zero crossing in one direction, right? That means with a single-wire sensor you might end up with edges on the imprecise edge instead of the precise edge because you can't flip the polarity, even in the PCB design.
The opamps are actually not critical. It doesn't have to operate close to the rails, and there's no huge bandwidth requirement. This is practically DC as far as the vast majority of opamps are concerned.
Re: VR + knock module
Re: VR + knock module
I get this error when I try the simulation. Where did you get this lib from?
I got a TI SPICE from below, then updated the links for both chips to point to this new file. Don't worry about the .lib it will figure out the extention and work with the TI file from below.
http://www.ti.com/product/LM393A/toolssoftware?dcmp=dsproject&hqs=sw&#desKits
It now lets me probe, graph, etc.
I wonder how well QSPICE might work for this.
In the past with QUCS I was dubbing with using mutual inductance to emulate the VR sensor. That would likely provide a more realistic simulation. However with QUCS I couldn't get stable operation. I also tried LTSpice, but again stable issues. I wonder if QSPICE would potentially work better.
I did not find this lib on my C:\ on my KC7 WIN10 64bit install.Error: Could not find include file D:/Elektronika/Spice/Models/Comparators/LM393A.lib
I got a TI SPICE from below, then updated the links for both chips to point to this new file. Don't worry about the .lib it will figure out the extention and work with the TI file from below.
http://www.ti.com/product/LM393A/toolssoftware?dcmp=dsproject&hqs=sw&#desKits
It now lets me probe, graph, etc.
I wonder how well QSPICE might work for this.
In the past with QUCS I was dubbing with using mutual inductance to emulate the VR sensor. That would likely provide a more realistic simulation. However with QUCS I couldn't get stable operation. I also tried LTSpice, but again stable issues. I wonder if QSPICE would potentially work better.
Welcome to the friendlier side of internet crazy
Re: VR + knock module
I change R10=100k, R11=100k.
All measurments i made. Comment, please
All measurments i made. Comment, please
- Attachments
-
- IMG_20231009_164033.jpg (327.35 KiB) Viewed 34090 times
-
- IMG_20231009_164017.jpg (327.01 KiB) Viewed 34090 times
-
- IMG_20231009_163951.jpg (337.29 KiB) Viewed 34090 times
-
- IMG_20231009_162310.jpg (322.9 KiB) Viewed 34090 times
-
- IMG_20231009_162301.jpg (316.85 KiB) Viewed 34090 times
-
- IMG_20231009_162024.jpg (322.87 KiB) Viewed 34090 times
-
- IMG_20231009_161931.jpg (337.47 KiB) Viewed 34090 times
-
- IMG_20231009_161926.jpg (286.54 KiB) Viewed 34090 times
-
- IMG_20231009_152712.jpg (364.71 KiB) Viewed 34090 times
-
- IMG_20231009_165638[1].jpg (341.01 KiB) Viewed 34090 times
Re: VR + knock module
I'd suggest to check how it works with low voltage cranking scenario.
Re: VR + knock module
I recall Honeywell has a good paper which details a bunch of math for VR. I also recall we have a copy on the wiki. That paper might help you. I once made a spreadsheet with that math in it. However that may have not been migrated when the wiki migrated to GitHub. See notes in this thread
https://rusefi.com/forum/viewtopic.php?f=4&t=994&p=20111
If that paper doesn't provide enough data / information to predict a voltage / energy level, from memory I think you want at least down to like 10mv to 50mv detection. Lower is better.
https://rusefi.com/forum/viewtopic.php?f=4&t=994&p=20111
If that paper doesn't provide enough data / information to predict a voltage / energy level, from memory I think you want at least down to like 10mv to 50mv detection. Lower is better.
Welcome to the friendlier side of internet crazy