Posted: Sun Apr 06, 2008 11:01 am
Scott,
3.7 -> 3.25V is the opcamp struggling a little under load. Increasing R12 a bit will help, but I do not think it is a problem. I need to hunt down a better datasheet for that opamp. Current is what turns on the optical isolator, which helps to remove minor noise spikes that do not have enough energy to trip the device.
On #1 - why does the pulse width on the missing tooth not match?
I suspect that this has to do with the cross over settings + the RC effects described below. On the missing tooth, the slope of the waveform is probably 2X of the slope with a tooth. It will trigger on cross over from either the rising edge passing the cross point or the falling edge. One cross over will happen as the signal goes from the lowest Vr voltage (which looks like it is referenced to ground in the circuit). The other will happen as it goes from the highest Vr voltage down to the cross over point the triggering. If the Vr signal is 20V and the cross over point is set to say 3V, the 0-3v cross will happen earlier than the 20v -> 3V cross relative to the peak position of the Vr waveform. This is similar to raising and lowering a scope trigger to move a sinusoidal horizontally on the scope.
If the above is correct:
1. Swapping the Vr signals should cause the waveform to change a bit.
2. Adjusting the Zero cross over point should move the opamp output around a bit.
Probably a good idea to figure out if MS-II is triggering on the rising edge / falling edge and make sure that edge is stable. As shown in you picture, the falling edge is stable. When that gets run through the optical isolator, it will be the rising edge that will be stable.
As you are running on the stim, everything is stim voltage and the amplitude effects do not come into play, but the slopes are probably higher than they should because the opamp is having problems charging C30.
The ‘banana’ effect is an RC curve probably caused by the opamp's limited current output and filtering circuits and is to be expected. The optical isolator was designed to operate off the coil signal => for a V8 engine one revolution = 4 ignition events. With the 36-1 trigger wheel, the circuit is effectively seeing 36 ignition events per revolution. ~ about an order of magnitude more events. The filtering was designed for a much slower signal than what is being fed into it now. For now, try removing “Dave†capacitor C30 and see what happens. C30 is probably required when running off the coil, which is a really noisy signal. The opamp has to charge this capacitor, and is doing so at the limit of its abilities. This creates the RC curve rise that you see. Removing C12 should eliminate this. Also, changing R12 to ~ 2X (680 ohms) will also help limit the load on the opamp. That will change the RC constant calculations below, but it should not be a problem.
R12 and C12 form an RC circuit that is used as a filter:
Currently T = R12*C12 = 390 * 0.001e-6 = 0.39 micro seconds. The 36 wheel pulses are much faster than this, so at first pass, I think R12 and C12 are fine.
36 * 6000 R/min = 36 * 100 R/sec
1/(36*100) * 1000000 uSec/sec = 278 usec between pulses.
278 >> 0.39 => not a problem.
With R12 change:
278 >> 0.78
- Charles.
3.7 -> 3.25V is the opcamp struggling a little under load. Increasing R12 a bit will help, but I do not think it is a problem. I need to hunt down a better datasheet for that opamp. Current is what turns on the optical isolator, which helps to remove minor noise spikes that do not have enough energy to trip the device.
On #1 - why does the pulse width on the missing tooth not match?
I suspect that this has to do with the cross over settings + the RC effects described below. On the missing tooth, the slope of the waveform is probably 2X of the slope with a tooth. It will trigger on cross over from either the rising edge passing the cross point or the falling edge. One cross over will happen as the signal goes from the lowest Vr voltage (which looks like it is referenced to ground in the circuit). The other will happen as it goes from the highest Vr voltage down to the cross over point the triggering. If the Vr signal is 20V and the cross over point is set to say 3V, the 0-3v cross will happen earlier than the 20v -> 3V cross relative to the peak position of the Vr waveform. This is similar to raising and lowering a scope trigger to move a sinusoidal horizontally on the scope.
If the above is correct:
1. Swapping the Vr signals should cause the waveform to change a bit.
2. Adjusting the Zero cross over point should move the opamp output around a bit.
Probably a good idea to figure out if MS-II is triggering on the rising edge / falling edge and make sure that edge is stable. As shown in you picture, the falling edge is stable. When that gets run through the optical isolator, it will be the rising edge that will be stable.
As you are running on the stim, everything is stim voltage and the amplitude effects do not come into play, but the slopes are probably higher than they should because the opamp is having problems charging C30.
The ‘banana’ effect is an RC curve probably caused by the opamp's limited current output and filtering circuits and is to be expected. The optical isolator was designed to operate off the coil signal => for a V8 engine one revolution = 4 ignition events. With the 36-1 trigger wheel, the circuit is effectively seeing 36 ignition events per revolution. ~ about an order of magnitude more events. The filtering was designed for a much slower signal than what is being fed into it now. For now, try removing “Dave†capacitor C30 and see what happens. C30 is probably required when running off the coil, which is a really noisy signal. The opamp has to charge this capacitor, and is doing so at the limit of its abilities. This creates the RC curve rise that you see. Removing C12 should eliminate this. Also, changing R12 to ~ 2X (680 ohms) will also help limit the load on the opamp. That will change the RC constant calculations below, but it should not be a problem.
R12 and C12 form an RC circuit that is used as a filter:
Currently T = R12*C12 = 390 * 0.001e-6 = 0.39 micro seconds. The 36 wheel pulses are much faster than this, so at first pass, I think R12 and C12 are fine.
36 * 6000 R/min = 36 * 100 R/sec
1/(36*100) * 1000000 uSec/sec = 278 usec between pulses.
278 >> 0.39 => not a problem.
With R12 change:
278 >> 0.78
- Charles.