Improving sensor inputs / stability of 5V+12V, Ms2 V3
Moderators: jsmcortina, muythaibxr
-
- Experienced MS/Extra'er
- Posts: 374
- Joined: Thu May 26, 2016 1:25 pm
- Location: Germany
Improving sensor inputs / stability of 5V+12V, Ms2 V3
I'm currently trying to improve some sensor readings, or more specifically the noise.
These sensors are 2 barometers, one connected to JS4 and the other to JS5.
I built the circuits like described in the manual. First I used .22µF capacitors and 1k resistors. I wasn't satisfied with the stability of the sensor signal, so I tried increasing the capacitors size and the resistance. Biggest values used were 100µF (yes, 450x the recommended size) and 10k.
I then tried capacitors between .22 and 2200µF (yes, 2200) on the voltage supply of the sensors, in trying to stabilize the +5V.
It did not make ANY difference regarding noise. The signal just got very slow, as expected.
I learned yesterday that the type of capacitor (ceramic for example) might make a difference. I used polarized ECaps as the bigger ones, if this could be an issue.
This has led me to the conclusing that the noise is entering the system after JS4/5. From datalogs, I discovered that the signal is way better with the engine off. This picture shows this representatively. You can clearly see where the engine is being started.
The displayed baro is mounted in the proto area. I only have logic outputs for the ignition (the FET variant as in the manual), and the injectors are 14Ohm each. There is nothing drawing power from the MS besides this but the sensors (TPS, CLT, MAT, MAP, Baro1+2) and a bluetooth module. I already tried this with every other sensor and the bluetooth module disconnected, no improvement.
---
1) What I haven't tried yet is stabilizing +12V, which I think the processor uses as supply. I know the capacitor in boot seems to kind of filter out noise already, but I guess enlarging it would also smooth the battery voltage signal even further. Could this be beneficial? In this case, which mod be most effective?
Or are there hardware limitations on the Processor (Ms2, V3 Board) which make all of this futile?
Or may I have another issue I haven't thought of?
2) Especially for the constant baro, a smoother signal would be beneficial. I can get an nice signal with a stronger lag factor, but this unfortunately also affects MAT and BattVoltage, therefore this is no option. As an alternative, is it possible for me to modify the code so that only the baro is smoothed with a high factor? Smoothing it in MLV works fine (green vs. red graph), but that's not an option when I want to use the signal for correction in live operation.
These sensors are 2 barometers, one connected to JS4 and the other to JS5.
I built the circuits like described in the manual. First I used .22µF capacitors and 1k resistors. I wasn't satisfied with the stability of the sensor signal, so I tried increasing the capacitors size and the resistance. Biggest values used were 100µF (yes, 450x the recommended size) and 10k.
I then tried capacitors between .22 and 2200µF (yes, 2200) on the voltage supply of the sensors, in trying to stabilize the +5V.
It did not make ANY difference regarding noise. The signal just got very slow, as expected.
I learned yesterday that the type of capacitor (ceramic for example) might make a difference. I used polarized ECaps as the bigger ones, if this could be an issue.
This has led me to the conclusing that the noise is entering the system after JS4/5. From datalogs, I discovered that the signal is way better with the engine off. This picture shows this representatively. You can clearly see where the engine is being started.
The displayed baro is mounted in the proto area. I only have logic outputs for the ignition (the FET variant as in the manual), and the injectors are 14Ohm each. There is nothing drawing power from the MS besides this but the sensors (TPS, CLT, MAT, MAP, Baro1+2) and a bluetooth module. I already tried this with every other sensor and the bluetooth module disconnected, no improvement.
---
1) What I haven't tried yet is stabilizing +12V, which I think the processor uses as supply. I know the capacitor in boot seems to kind of filter out noise already, but I guess enlarging it would also smooth the battery voltage signal even further. Could this be beneficial? In this case, which mod be most effective?
Or are there hardware limitations on the Processor (Ms2, V3 Board) which make all of this futile?
Or may I have another issue I haven't thought of?
2) Especially for the constant baro, a smoother signal would be beneficial. I can get an nice signal with a stronger lag factor, but this unfortunately also affects MAT and BattVoltage, therefore this is no option. As an alternative, is it possible for me to modify the code so that only the baro is smoothed with a high factor? Smoothing it in MLV works fine (green vs. red graph), but that's not an option when I want to use the signal for correction in live operation.
My project: Link
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
Large electrolytic are not designed to remove all noise on a line. They will, however, smooth out any voltage changes. But can't supply a rock steady voltage for ever. For noise, you'd generally add smaller caps - something like an 0.1 uF ceramic is parallel with it. But both of these will be most effective as close to the load as possible.
MS itself doesn't produce a regulated 12v supply. Very difficult thing to do from a 12v source. Hence the important one being 5v.
MS itself doesn't produce a regulated 12v supply. Very difficult thing to do from a 12v source. Hence the important one being 5v.
Rover SD1 3.5 EFI
MS2 V3
EDIS
Tech Edge O2
London UK.
MS2 V3
EDIS
Tech Edge O2
London UK.
-
- Experienced MS/Extra'er
- Posts: 374
- Joined: Thu May 26, 2016 1:25 pm
- Location: Germany
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
Alright, I'll try one of those soldered onto the sensor directly then for the supply voltage.DaveEFI wrote:Large electrolytic are not designed to remove all noise on a line. They will, however, smooth out any voltage changes. But can't supply a rock steady voltage for ever. For noise, you'd generally add smaller caps - something like an 0.1 uF ceramic is parallel with it. But both of these will be most effective as close to the load as possible.
Should I try that for the input pin of the processor, too? Not sure if this counts as load.
My project: Link
-
- Super MS/Extra'er
- Posts: 2221
- Joined: Tue May 04, 2004 8:20 pm
- Location: St Louis
- Contact:
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
Change your baro scale to say min of 0 KPA and max of 105 KPA to put the noise into perspective.
-
- Experienced MS/Extra'er
- Posts: 374
- Joined: Thu May 26, 2016 1:25 pm
- Location: Germany
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
As requested
I know it's not that bad, but it could be way better if I could somehow smooth it out. Especially because this is a value which is expected to change only very slowly.My project: Link
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
My baro sensor is all over the place too. I did the same thing. Keep adding bigger and bigger caps to both the 5v input and signal output to have no affect. I'm wondering if noise is introduced closers to the processor. I'm on ms2 though 3.0V board.
Sent from my SM-G920V using Tapatalk
Sent from my SM-G920V using Tapatalk
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
What idle control type are you using? I wonder if my 2 wire fidle valve is causing some weirdness. The frequency that the fidle runs at is now 3x to 6x higher than what was available a few years back on 3.0.x to 3.2.5 firmware.
Sent from my SM-G920V using Tapatalk
Sent from my SM-G920V using Tapatalk
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
-
- Super MS/Extra'er
- Posts: 2221
- Joined: Tue May 04, 2004 8:20 pm
- Location: St Louis
- Contact:
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
Post your latest MSQ and matching log please.
Andy
Andy
-
- Experienced MS/Extra'er
- Posts: 374
- Joined: Thu May 26, 2016 1:25 pm
- Location: Germany
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
None.ol boy wrote:What idle control type are you using? I wonder if my 2 wire fidle...
@whittlebeast, in case you meant me:
Old Msq, but matching the log
https://dl.dropboxusercontent.com/u/106 ... 0_1030.msq
Last available log
https://dl.dropboxusercontent.com/u/106 ... -21-08.msl
My project: Link
Re: Improving sensor inputs / stability of 5V+12V, Ms2 V3
Got a quick log this morning with the msq.
I have to have the lag factor down around 40 for normal driving, would like to get it up to 90 but baro swings to wildly at that level.
I have to have the lag factor down around 40 for normal driving, would like to get it up to 90 but baro swings to wildly at that level.
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.