Previous in Forum: Coherent CO2 Laser   Next in Forum: C’mon Doorman, Throw Us A Bone!
Close
Close
Close
13 comments
Rate Comments: Nested
Associate

Join Date: Jun 2016
Posts: 29

Converting Sinusoidal to Digital

09/02/2025 11:55 AM

I have a George Fisher Signet 515 paddlewheel flow sensor that I'm using for measuring water flow. It is self-powered, and has a sinusoidal wave output, where the hz and amplitude of the output signal is directly proportional to flow. I have had this connected directly to a 24vdc digital input on a BRX plc, and it works well enough if the flow is high, but at lower flow rates the amplitude of the signal generated is not high enough to trigger the digital input. Any ideas how I could make this work?

pdf

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
2
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: Converting sinusoidal to digital

09/02/2025 1:37 PM

I would use an op-amp in a comparator configuration to "square up" your sine wave. You'll probably do best by including some hysteresis in your circuit. You will lose some information, amplitude, when using a comparator. A full-blown multibit analog-to-digital converter, ADC, can capture both amplitude and frequency information. However, you imply that the amplitude and frequency are both proportional to the desired flow rate information. The financial and programming costs of an ADC will then be unnecessary.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Good Answer (Score 2)
Associate

Join Date: Jun 2016
Posts: 29
#2
In reply to #1

Re: Converting sinusoidal to digital

09/02/2025 4:47 PM

So i have to confess that I am not an electrical engineer, just a plc & controls operator, though we did study op-amps in trade school.. Could you provide me with a part number and a connection diagram for the op-amp that you think will work?

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#3
In reply to #2

Re: Converting sinusoidal to digital

09/02/2025 10:08 PM

First, you should read the hyperlink (blue lettered op-amp) to understand the circuit topology. The schematic in the link outputs a 0 to 5V square wave.

You did not specify several critical things: the range of the input voltage (voltage swing), the frequency range of the input voltage, the desired trip voltage level, the PLC model number, or the I/O module model number. To prevent excessive jitter, I often designed for a ±1% to ±10% hysteresis of the desired threshold voltage.

Without that critical information, I therefore cannot provide anything more than another comparator tutorial. Still and all, learning how to design reliable PLC interfaces will do you well in your programming career.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#4

Re: Converting Sinusoidal to Digital

09/02/2025 11:02 PM

You need a pulse conditioner or a pulse input conditioner. It's a module that mounts on a DIN rail that takes in weak pulses and cleans them up to provide a consistent pulse amplitude. Make a google search or look in manufactuers like DataForth, Pepperl and Fuch, Efector, Phoenix Contact, etc.

Before that, however, what supply voltage are you using for the flow sensor? If you're using a 24 Vdc supply, then try the signal conditioner. If it's lower than 24Vdc, try using a 24Vdc power supply. It could also be that your power supply is current limiting, which can affect your sensor's performance. In that case, get a higher power power supply.

regards,

Vulcan

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Register to Reply
Associate

Join Date: Jun 2016
Posts: 29
#6
In reply to #4

Re: Converting Sinusoidal to Digital

09/25/2025 5:53 PM

The sensor isn't powered, it creates its own ac pulse from 1-20 vac(acts like an ac generator). At a low pulse rate, generates only 2volts, at higher pulse rates, up to 20volts. So what i really need is some kind of a transistor, that is 100% on at 2vdc, to send 24vdc pulses to my plc input..

Register to Reply
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#7
In reply to #6

Re: Converting Sinusoidal to Digital

09/25/2025 10:56 PM

OKay, I looked up the 515. I used to use a different model that had a powered output and I thought they operated in the same way.

So, your output is a sinusoidal signal not pulses. You can use a transistor circuit, but I'd rather use an op-amp as a comparator so convert it into a clean, constant amplitude, square wave. I can't tell from the manual if the signal swings positive and negative (I think it does), so you probably need to half-wave rectify it before feeding it into the comparator. I'd make the reference voltage variable (with a trim pot) so you can adjust the lowest voltage that it'll trigger cleanly.
However, my earlier suggestion of a pulse converter module (which can convert a sinusoidal signal to clean square-wave pulses) would be a faster, albeit more expensive) solution.

regards,

Vulcan

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Register to Reply
Associate

Join Date: Jun 2016
Posts: 29
#8
In reply to #7

Re: Converting Sinusoidal to Digital

09/25/2025 11:50 PM

Thanks you for the help. So I usually get my electronic components from digikey.ca, they literally have thousands of different op amps. Could you reccomend a part number that will work for this application?

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#9
In reply to #8

Re: Converting Sinusoidal to Digital

09/26/2025 10:49 AM

Yes, there are thousands of different op-amps available at Digikey. But if one uses their convenient selection filters, the number of devices quickly drops to a manageable number to choose from. While virtually any op-amp can be configured into a comparator circuit, it is worth noting that in their filter selection, one of the first choices is "comparator." These components have been designed to prevent a "latch up" condition. Next, I selected a few additional filters (availability, through hole, supply voltage), which (I hope) are relevant to your fabrication skills, and dropped the number to a few dozen parts to choose from.

The packaging of the comparator circuit will then depend on several things yet to be discussed, such as the environment, cable lengths, and cable terminations. Then there's the question of the anticipated installation lifetime.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#10
In reply to #9

Re: Converting Sinusoidal to Digital

09/26/2025 11:44 AM

It would be useful to know the output impedance of this sensor. I suspect it to be relatively low, like a few hundred ohms. Knowing this will help determine what resistors will be preferred for the rest of the comparator circuit.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Associate

Join Date: Jun 2016
Posts: 29
#11
In reply to #10

Re: Converting Sinusoidal to Digital

09/26/2025 12:50 PM

GF Signet 515 pdf

Electrical

Frequency 19.7 Hz per m/s nominal 6 Hz per ft/s sinusoidal

Amplitude 3.3 V p/p per m/s nominal 1 V p/p per ft/s

Source Impedance 8 KΩ

Cable type 2-conductor twisted pair with shield, 22 AWG

Cable Length 7.6 m (25 ft) can be extended up to 60 m (200 ft) maximum

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#12
In reply to #11

Re: Converting Sinusoidal to Digital

09/26/2025 11:28 PM

That's a higher output impedance than I expected. I would then design a comparator circuit input impedance in the range of 24~100 KΩ to not significantly attenuate the input signal while reducing triggering on noise. An LM311 comparator should work well but it has an open-collector output. You'll need a suitable pull-up resistance to the 24V supply to see a 24V output.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#13
In reply to #8

Re: Converting Sinusoidal to Digital

09/27/2025 3:47 AM

I should've said "comparator" rather than "op-amp". (",)

I don't order from Digikey (I'm from the Philippines), but their website allows you to search for them. You need a single comparator, but the LM111, LM211, or LM311 are a bit complicated to use. The LM393 is my personal favorite. It's a dual comparator, but if you don't mine having an unused comparator, that's the one I'd use. It needs a pull up resistor but that shouldn't be a problem.

regards,

Vulcan

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Register to Reply
Guru

Join Date: Jul 2016
Posts: 1367
Good Answers: 105
#5

Re: Converting Sinusoidal to Digital

09/03/2025 12:35 AM

I suspect that the frequency alone is proportional to the flow rate.

I wonder if you might try a lower voltage input, and insert a fast switching diode like a 1N934 in the circuit.

The BRX specs call the input module 12-24Vdc, perhaps the 5 volt input with the rectifier might saturate the input.

At worst case, a zener diode could clamp the voltage to the max input voltage of the module.

So the output wire connects to a diode, followed by a zener diode rated for 5-6 volts and a current limiting resistor to the return wire, maybe a 500mA rated diode, starting with the max voltage you measure from the meter.

Save you designing a circuit and power supply for an analog chip, inverter or follower, op amp or Schmitt trigger circuit, which was my first thought. A long time ago, I used current source amplifier array, Norton amplifier current to voltage CDA which works well on single ended supplies like your generator output, LM3900, using that circuit to (attempt to) count words uttered into a microphone. It kinda worked. You would use a 24 volt supply, so your input would always have plenty of voltage. Still need power supply to run the chip, and you’d need to know the current that your generator can develop.

Register to Reply Score 1 for Good Answer
Register to Reply 13 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

redfred (5); REH (4); rwilliams (1); Vulcan (3)

Previous in Forum: Coherent CO2 Laser   Next in Forum: C’mon Doorman, Throw Us A Bone!

Advertisement