Bill Lohman
New Member
I am trying to condition a signal output from an engine ignition system to use as an input for an engine detonation monitor. We have determined that the rapid double pulse that the ignition system is generating is confusing the detonation monitor, so I need to filter the (double) pulsed output into a single pulse.
Presently I have two pulses occurring ~218μS apart. This repeats itself at a ~1mS interval (endlessly) as a "waveform". The pulses are around 85 VDC (with some minor variation). My idea was to introduce a capacitor into the circuit which would charge without added impedence, but would discharge through a resistor giving me a very vertical charge and a much flatter discharge when looking at it on a scope. My hope was that, by the time the second pulse strikes, the flattened decay from the first pulse would be very close to the peak of the second pulse (and thus look more like a sort of flat-topped pulse with a gradual decay. I have roughly 780μS, after the second pulse's peak, for the entire charge to decay back to 0VDC.
My present pulses have the following characteristics: ~10μS charging time, ~85 VDC peak, ~50μS decay time, ~150μS at 0VDC then followed by a second (nearly) identical pulse. Peak-to-Peak of the two pulses is 218μS. Once the second pulse decays to ~0VDC (~260μS from the leading edge of pulse #1), the balance of 1mS passes (at 0VDC) and then the whole process repeats itself.
I put together a little filter based on my calculations which yielded no notable effect on the output. So I decided to try much larger components to see if I could get a better effect (and pretty much tossing calculation to the wind). I'm attaching a drawing of my filter and a capture of the output waveform. The drawing is pretty self explanatory. The capture consists of: Top waveform (A) is output signal from ignition system (entering filter); Bottom waveform (B) shows output signal (post filter).
Based on the values of my components (3.2μF capacitor (50V), and 1MΩ +/-5%), and using T=RC, I calculated my time constant to be 3.2 seconds (which would roughly yield 99% discharge in 16 seconds!). But what I observed on my waveform was a quicker decay that was much flatter than the input signal, but only decayed for about 200μS (not even close to the 3.2 seconds calculated). I should add that the load device's electronic input, which my filter's output will feed, is very high impedance (but I don't know how to factor that into this equation - or if it matters, except for with respect to the amount of discharge current that will be passed from the output). Further, after I had the scope readings, I went back to the T=RC equation and I substituted real values and omitted R first, and then C, and recalculated to see how those equations came out. I set T=~44μS (allowing that full discharge time is roughly equal to 5T - my measured peak to peak was 218μS, so I just went with that as the discharge time - I know it's off a tad). With T=44μS and R=1MΩ, C was 44nF (I had 3.2μF installed...). And with T=44μS and C=3.2μF, R was 13.75MΩ (I had 1MΩ installed).
So I'm wondering why the big discrepancies between calculated and measured values (and I'm reasonable sure load impedance [so thus, current] is the key here, but I just can't find anything to help me to interject that into my equations). Please bear in mind that I'm an electrician with enough knowledge to be dangerous - not an engineer, so this is kind of on the fringe for me. I'm know that, since I can substitute different resistance or capacitance values, insert my desired time constant value, and then solve for the missing variable, I can come up with a wide array of (let's say...) resistance values that I can calculate corresponding capacitance values for. But how to I go about choosing which combination to use? (and herein is where I think the current part comes into play, but I can't find how to use that)
Thanks in advance!
Presently I have two pulses occurring ~218μS apart. This repeats itself at a ~1mS interval (endlessly) as a "waveform". The pulses are around 85 VDC (with some minor variation). My idea was to introduce a capacitor into the circuit which would charge without added impedence, but would discharge through a resistor giving me a very vertical charge and a much flatter discharge when looking at it on a scope. My hope was that, by the time the second pulse strikes, the flattened decay from the first pulse would be very close to the peak of the second pulse (and thus look more like a sort of flat-topped pulse with a gradual decay. I have roughly 780μS, after the second pulse's peak, for the entire charge to decay back to 0VDC.
My present pulses have the following characteristics: ~10μS charging time, ~85 VDC peak, ~50μS decay time, ~150μS at 0VDC then followed by a second (nearly) identical pulse. Peak-to-Peak of the two pulses is 218μS. Once the second pulse decays to ~0VDC (~260μS from the leading edge of pulse #1), the balance of 1mS passes (at 0VDC) and then the whole process repeats itself.
I put together a little filter based on my calculations which yielded no notable effect on the output. So I decided to try much larger components to see if I could get a better effect (and pretty much tossing calculation to the wind). I'm attaching a drawing of my filter and a capture of the output waveform. The drawing is pretty self explanatory. The capture consists of: Top waveform (A) is output signal from ignition system (entering filter); Bottom waveform (B) shows output signal (post filter).
Based on the values of my components (3.2μF capacitor (50V), and 1MΩ +/-5%), and using T=RC, I calculated my time constant to be 3.2 seconds (which would roughly yield 99% discharge in 16 seconds!). But what I observed on my waveform was a quicker decay that was much flatter than the input signal, but only decayed for about 200μS (not even close to the 3.2 seconds calculated). I should add that the load device's electronic input, which my filter's output will feed, is very high impedance (but I don't know how to factor that into this equation - or if it matters, except for with respect to the amount of discharge current that will be passed from the output). Further, after I had the scope readings, I went back to the T=RC equation and I substituted real values and omitted R first, and then C, and recalculated to see how those equations came out. I set T=~44μS (allowing that full discharge time is roughly equal to 5T - my measured peak to peak was 218μS, so I just went with that as the discharge time - I know it's off a tad). With T=44μS and R=1MΩ, C was 44nF (I had 3.2μF installed...). And with T=44μS and C=3.2μF, R was 13.75MΩ (I had 1MΩ installed).
So I'm wondering why the big discrepancies between calculated and measured values (and I'm reasonable sure load impedance [so thus, current] is the key here, but I just can't find anything to help me to interject that into my equations). Please bear in mind that I'm an electrician with enough knowledge to be dangerous - not an engineer, so this is kind of on the fringe for me. I'm know that, since I can substitute different resistance or capacitance values, insert my desired time constant value, and then solve for the missing variable, I can come up with a wide array of (let's say...) resistance values that I can calculate corresponding capacitance values for. But how to I go about choosing which combination to use? (and herein is where I think the current part comes into play, but I can't find how to use that)
Thanks in advance!