Joined
·
2,697 Posts
I am trying to figure out how they wire and how to use them but I am having a hard time understanding Vin + (Voltage in) and Vref - (Voltage reference).
In this image the Vi is - and the Vref is +
How can two voltages be compared when one is a ground or does +- represent sides of the comparator and not polarity?
Every wire diagram I find has one of them grounded Vi or Vref.
I know that comparators come in different voltage ranges, come in two types inverter and non-inverter and can be fixed, variable and programmable, I can figure out what voltage range I need and how to get the output signal I need. I can't figure out how to wire it.
I want to monitor and use an extra 88-92 GT knock control unit and knock sensor.
The knock control unit has 4 wires, it receives 12+ and Ground. I generates a voltage between 3.3 and 5V with the ignition on/idle it sends that voltage to the knock sensor and the knock sensor sends it back to the control unit which sends it on to the ECU. The ECU receives that 3.3-5V signal constantly. During knock the sensor vibrates creating resistance (I am guessing) and voltage drops between 1.3 and 2.6V (not sure if it varies with intensity or if it varies based on sensor input voltage 3.3-5V).
The scenario:
There is a second Knock sensor installed on the engine block and a knock control unit wired independently. It's output signal the would go to the ECU is what I want to monitor and work with.
-I use a 1.7 - 5.5V comparator.
-I want to run this 3.3V to 5V + signal into the comparator. In Voltage
-I want to use a pot resistor, variable rate resistor or potentiometer to set a reference voltage of 2.6 or 2.7V
-I want the out signal of the comparator to be OFF when the In Voltage is above 2.6 or 2.7V and ON when the signal voltage is below 2.6 or 2.7V to trigger a timed relay. (However an ON voltage above 2.6 - 2.7V can be used to turn off a normally closed relay and the relay will turn on below 2.6-2.7V).
-The timed relay will power a warning light and cut boost at one of the boost control solenoids.
Would the wiring be?
- Vcc+ = Voltage supply (5.5V) (regulated down from 12V+)
-Vee- or Vcc- = Ground
-Vin = Knock control unit output signal (3.3-5V)
-Vref = Pot resistor adjustable voltage piggybacked of the 5.5V for the Vcc+ and set between 2.6-2.7V
-Vo or Vout = relay + coil voltage signal.
The engine turns up to 6250 rpm, that's 3125 cam rotations per minute, the cylinders each fire once during 1 cam rotation that is 12500 spark events per minute. There are 60 seconds in a minute 60 divided by 12500 = 1 spark event every 0.0048 seconds at 6250rpm, engine knock probably happens for less time than that.
Can a Comparator pick up such a short signal change? The knock control unit possibly lengthens the signal duration.
*Comparator reaction time is measured in ns (nanoseconds) 1ns = 0.000000001 sec or μs (microseconds) 1μs = 0.000001 sec. They have different reaction times but those I have researched react fast enough to pick up 0.48 ms (millisecond) signal change.
Can a relay timed or not react to such a short input signal?
The car still runs the factory knock control and the ECU can pull up to 6degrees timing during knock.
Because the solenoid that the ECU uses to lower boost during knock is also used by the ECU to vary boost throughout the rpm range and does so through 1 wire leaving the ECU it is impossible to separate RPM and Knock low boost so the solenoid can not be used on performance builds.
The idea of the piggy back system is that it can alert me of knock conditions so I can add more fuel or water meth or less boost or pull more timing and it can lower boost to protect the engine in case I miss the warning light or ignore it.
I think it would make a great tuning tool allowing me to fine tune the air fuel mix without guessing. I have air fuel ratio readings but nothing to warn me of their limits, well pre ignition/detonation but thats not a warning.
I have looked in to aftermarket performance knock control, audible knock listening devices, stand alone engine management knock control set - ups... They are all really expensive and most require dialing in the hertz frequency of knock for each specific vehicle (The 88-92 knock frequency is nowhere to be found). Many of them require filtering out background noise and other noise to isolate engine knock, this would mean the only way to set them up is by causing engine knock. So you pay a fortune then have to figure out how to generate engine knock at low rpm and low engine load to isolate the sound and hope that engine knock under heavy load and high rpm gets picked up by the knock control system because you can't generate knock at high rpm and load to set the device properly without a stack of engines to swap.
The Factory F2T knock system was built to pick up F2T engine knock frequencies, I have many spare knock sensors and knock control units. Free and ready to go, can be dialed in and tested on a bench sounds better than expensive and needs setting up, custom tuning, induced engine knock or driving around with head phone listening to amplified rotating assembly sounds.
I am sure this is possible to do using the ECU knock signal but I would rather run an independent system that can't jeopardize the knock signal to the ECU if anything fails.
This could be of benefit to anyone running a factory knock set-up and has cheap access to another.
Reasons and rant:
The car runs 94 octane, this is inconvenient because it can't be found everywhere, either I have to drag around 94 octane or 110 racing fuel to mix with 91 octane if I'm going where no 94 is available.
I plan to either tune around 91 octane and downgrade octane rating and take advantage of 91 octane over this engines designated 87 octane by leaning out the air fuel ratios from idle to 3000 rpms when the car is in closed loop mode, figure I can run A/F's of high 15's to low 16's without issues and get less bad gas millage.
Or continue running 94 octane and tune properly around that attempting to achieve better than the amazing 8.9 miles to the gallon average the previous version of this car got.
One change I am making to the build is that I will upgrade the intercooler, the car was running a factory intercooler with 2.5" pipes, although this did the job and functioned up to 30 psi boost (with water meth injection) cooler charge air temps will require less fuel to cool and yield better gas millage, I have 4 larger intercoolers to choose from, I didn't want to custom install an intercooler on this build but the effort could be worth it.
I am also contemplating reinstalling the EGR pipe between the exhaust and intake manifolds, although I hate the thought of hot dirty exhaust air in the manifold and every F2 intake I have disassembled had carbon and soot blockeing EGR passages, on this set-up and with the amount of traffic and cops on the roads running EGR could save in wasted gas when wasting gas:
If you don't have a shit eating grin from ear to ear, feel like your unstoppable, invincible and you are burning gas you are wasting it.
If you can achieve this sensation in a smart car you are easily amused and will most likely always be happy.
If you achieve this sensation simply because the idea of something that can move is so mind baffling it's like magic you are simple and will most likely always be happy.
If you achieve this sensation from sniffing gas you are an idiot, can't remember what happiness is and will probably be dead soon.
Water injection could be used to run and compensate for 87 octane but the Idea of running alcohol injection all the time doesn't appeal to me ideally running 2 water/meth injection kits would be perfect, the first kit runs only distilled water and runs from X-21 psi, the second kits runs water and methanol, comes on above 21 psi and the first kit shuts off. First kit would run just enough to lower combustion temps and reduce chances of detonation, the second kit would run more cc's to make up for the lower octane fuel and advanced timing. This set up would be far more economical than running 91 or 94 octane but running and setting up two water injection kits and fail safes to default to the highest safe boost on 87 octane are also impracticable at the moment.
Yes I have joined the ranks of those weird creepy guys who join a car forum and their only goal is saving money by burning less gas with some crazy hair brained skeem. My cheap ass unrealistic dream is to achieve 13 to 15mpg average and 7 mpg on a good day.
A- "why did he say that? 13 to 15mpg is horrible!"
B- "I think there is something wrong with his head or his foot"
A- "I don't understand why 7 mpg would be a good day"
B- "Because it means he was going really really fast most of the time"
A- "What is wrong with him?"
B- "I don't know, just eat your second desert and we will go back to watching cable TV"
C- "Each to his own, live and let die"
A = Asshole (too dumb to understand whats going on)
B = Bitch (smart enough to understand too weak to act)
C = Carnage (don't give a shit about A or B)
Right so does anyone know comparators?
*Edited to add answers and info.

In this image the Vi is - and the Vref is +
How can two voltages be compared when one is a ground or does +- represent sides of the comparator and not polarity?
Every wire diagram I find has one of them grounded Vi or Vref.
I know that comparators come in different voltage ranges, come in two types inverter and non-inverter and can be fixed, variable and programmable, I can figure out what voltage range I need and how to get the output signal I need. I can't figure out how to wire it.
I want to monitor and use an extra 88-92 GT knock control unit and knock sensor.
The knock control unit has 4 wires, it receives 12+ and Ground. I generates a voltage between 3.3 and 5V with the ignition on/idle it sends that voltage to the knock sensor and the knock sensor sends it back to the control unit which sends it on to the ECU. The ECU receives that 3.3-5V signal constantly. During knock the sensor vibrates creating resistance (I am guessing) and voltage drops between 1.3 and 2.6V (not sure if it varies with intensity or if it varies based on sensor input voltage 3.3-5V).
The scenario:
There is a second Knock sensor installed on the engine block and a knock control unit wired independently. It's output signal the would go to the ECU is what I want to monitor and work with.
-I use a 1.7 - 5.5V comparator.
-I want to run this 3.3V to 5V + signal into the comparator. In Voltage
-I want to use a pot resistor, variable rate resistor or potentiometer to set a reference voltage of 2.6 or 2.7V
-I want the out signal of the comparator to be OFF when the In Voltage is above 2.6 or 2.7V and ON when the signal voltage is below 2.6 or 2.7V to trigger a timed relay. (However an ON voltage above 2.6 - 2.7V can be used to turn off a normally closed relay and the relay will turn on below 2.6-2.7V).
-The timed relay will power a warning light and cut boost at one of the boost control solenoids.
Would the wiring be?
- Vcc+ = Voltage supply (5.5V) (regulated down from 12V+)
-Vee- or Vcc- = Ground
-Vin = Knock control unit output signal (3.3-5V)
-Vref = Pot resistor adjustable voltage piggybacked of the 5.5V for the Vcc+ and set between 2.6-2.7V
-Vo or Vout = relay + coil voltage signal.
The engine turns up to 6250 rpm, that's 3125 cam rotations per minute, the cylinders each fire once during 1 cam rotation that is 12500 spark events per minute. There are 60 seconds in a minute 60 divided by 12500 = 1 spark event every 0.0048 seconds at 6250rpm, engine knock probably happens for less time than that.
Can a Comparator pick up such a short signal change? The knock control unit possibly lengthens the signal duration.
*Comparator reaction time is measured in ns (nanoseconds) 1ns = 0.000000001 sec or μs (microseconds) 1μs = 0.000001 sec. They have different reaction times but those I have researched react fast enough to pick up 0.48 ms (millisecond) signal change.
Can a relay timed or not react to such a short input signal?
The car still runs the factory knock control and the ECU can pull up to 6degrees timing during knock.
Because the solenoid that the ECU uses to lower boost during knock is also used by the ECU to vary boost throughout the rpm range and does so through 1 wire leaving the ECU it is impossible to separate RPM and Knock low boost so the solenoid can not be used on performance builds.
The idea of the piggy back system is that it can alert me of knock conditions so I can add more fuel or water meth or less boost or pull more timing and it can lower boost to protect the engine in case I miss the warning light or ignore it.
I think it would make a great tuning tool allowing me to fine tune the air fuel mix without guessing. I have air fuel ratio readings but nothing to warn me of their limits, well pre ignition/detonation but thats not a warning.
I have looked in to aftermarket performance knock control, audible knock listening devices, stand alone engine management knock control set - ups... They are all really expensive and most require dialing in the hertz frequency of knock for each specific vehicle (The 88-92 knock frequency is nowhere to be found). Many of them require filtering out background noise and other noise to isolate engine knock, this would mean the only way to set them up is by causing engine knock. So you pay a fortune then have to figure out how to generate engine knock at low rpm and low engine load to isolate the sound and hope that engine knock under heavy load and high rpm gets picked up by the knock control system because you can't generate knock at high rpm and load to set the device properly without a stack of engines to swap.
The Factory F2T knock system was built to pick up F2T engine knock frequencies, I have many spare knock sensors and knock control units. Free and ready to go, can be dialed in and tested on a bench sounds better than expensive and needs setting up, custom tuning, induced engine knock or driving around with head phone listening to amplified rotating assembly sounds.
I am sure this is possible to do using the ECU knock signal but I would rather run an independent system that can't jeopardize the knock signal to the ECU if anything fails.
This could be of benefit to anyone running a factory knock set-up and has cheap access to another.
Reasons and rant:
The car runs 94 octane, this is inconvenient because it can't be found everywhere, either I have to drag around 94 octane or 110 racing fuel to mix with 91 octane if I'm going where no 94 is available.
I plan to either tune around 91 octane and downgrade octane rating and take advantage of 91 octane over this engines designated 87 octane by leaning out the air fuel ratios from idle to 3000 rpms when the car is in closed loop mode, figure I can run A/F's of high 15's to low 16's without issues and get less bad gas millage.
Or continue running 94 octane and tune properly around that attempting to achieve better than the amazing 8.9 miles to the gallon average the previous version of this car got.
One change I am making to the build is that I will upgrade the intercooler, the car was running a factory intercooler with 2.5" pipes, although this did the job and functioned up to 30 psi boost (with water meth injection) cooler charge air temps will require less fuel to cool and yield better gas millage, I have 4 larger intercoolers to choose from, I didn't want to custom install an intercooler on this build but the effort could be worth it.
I am also contemplating reinstalling the EGR pipe between the exhaust and intake manifolds, although I hate the thought of hot dirty exhaust air in the manifold and every F2 intake I have disassembled had carbon and soot blockeing EGR passages, on this set-up and with the amount of traffic and cops on the roads running EGR could save in wasted gas when wasting gas:
If you don't have a shit eating grin from ear to ear, feel like your unstoppable, invincible and you are burning gas you are wasting it.
If you can achieve this sensation in a smart car you are easily amused and will most likely always be happy.
If you achieve this sensation simply because the idea of something that can move is so mind baffling it's like magic you are simple and will most likely always be happy.
If you achieve this sensation from sniffing gas you are an idiot, can't remember what happiness is and will probably be dead soon.
Water injection could be used to run and compensate for 87 octane but the Idea of running alcohol injection all the time doesn't appeal to me ideally running 2 water/meth injection kits would be perfect, the first kit runs only distilled water and runs from X-21 psi, the second kits runs water and methanol, comes on above 21 psi and the first kit shuts off. First kit would run just enough to lower combustion temps and reduce chances of detonation, the second kit would run more cc's to make up for the lower octane fuel and advanced timing. This set up would be far more economical than running 91 or 94 octane but running and setting up two water injection kits and fail safes to default to the highest safe boost on 87 octane are also impracticable at the moment.
Yes I have joined the ranks of those weird creepy guys who join a car forum and their only goal is saving money by burning less gas with some crazy hair brained skeem. My cheap ass unrealistic dream is to achieve 13 to 15mpg average and 7 mpg on a good day.
A- "why did he say that? 13 to 15mpg is horrible!"
B- "I think there is something wrong with his head or his foot"
A- "I don't understand why 7 mpg would be a good day"
B- "Because it means he was going really really fast most of the time"
A- "What is wrong with him?"
B- "I don't know, just eat your second desert and we will go back to watching cable TV"
C- "Each to his own, live and let die"
A = Asshole (too dumb to understand whats going on)
B = Bitch (smart enough to understand too weak to act)
C = Carnage (don't give a shit about A or B)
Right so does anyone know comparators?
*Edited to add answers and info.