LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Software filter for signal with spike

Hi Steven,

 


@StevenD wrote:

Is there any benefit to using min max as opposed to in range and coerce?


IMHO it would be more readable code…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 13
(169 Views)

After solving a hardware (EMC)  problem in software (always valid, however ...) 

maybe it will also help to reduce the cause of the spike 😄

 

Spikes caused by acting solenoids can be greatly reduced by 'freewheeling' diodes at the solenoid (without meters of cable) and/or RC snubbers.

The sligthly reduced acting speed of the solenoid (some ms fall off delay) usually don't matter.

 

And propper wiring! Mainly different 'GND' wires for power and signal , minimizing groundloops, use twisted pairs, diffential measuring, ...  

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 12 of 13
(142 Views)

I looked up freewheeling diodes, or flyback diodes. I don't think they will help in this application. The spike I am seeing I believe is real pressure spikes caused by the pressure regulators we are using use solenoid valves (both an inlet connected to higher pressure, and a vent to atmosphere). So the cause of the spike is not electrical, but the brief period where the valve connected to the higher pressure is open. I don't have a detailed analysis of the pressure at every point, but from what I am seeing I believe the pressure near the regulator spikes as it tries to equilibrate with the connected pressure, and the outlet pressure, then drops off as the pressure wave travels to the rest of the system.

0 Kudos
Message 13 of 13
(130 Views)