How Can I Convert Various Signals Into One Standard Square Wave?

  • Thread starter Thread starter formulajoe
  • Start date Start date
  • Tags Tags
    Signal
AI Thread Summary
To convert various signals into a standard square wave for frequency determination, a zero-crossing or mid-supply crossing detector can be utilized. A comparator can be employed to create the zero-crossing detector, with positive feedback added for hysteresis to prevent output noise. It's essential to ensure that the circuit retains the original frequencies of the incoming signals while transforming them into a square wave format. Considerations for component selection, such as DC blocking capacitors and settling time, are crucial for accurate signal representation. Proper design will allow the circuit to handle high voltage inputs while outputting a compatible digital waveform.
formulajoe
Messages
177
Reaction score
0
I've got to design a signal conditioning circuit that takes in a few different signals and converts them all to a standard signal. The overall purpose is to determine the frequency of the individual signals.
Any ideas on how to make a variety of signals into one standard signal? Preferably a square wave?
 
Engineering news on Phys.org
Sounds like a simple zero-crossing detector would do what you want. Or mid-supply crossing detector, depending on what the average voltage is of your incoming signals. You could capacitively couple the incoming signals if you want to get rid of the DC component. You can make a zero-crossing detector with a comparator, for example. Be sure to add some positive feedback to give you hysteresis, to avoid buzzing the output of the comparator when the input signal is near the zero-crossing threshold.
 
Here are a few examples of some of the signals I will be dealing with:
sine wave ranging from 0-50 V up to 5KHz
square wave with DC offset
sqaure wave with extended 'high' times looks like this """""""""|____|""""""""""""""""""""""|____|"""""""""""""""""""""""""""""
the frequency at which the low signals appear is related to the frequency of the signal

I researched the crossing detectors you suggested, but it seems to me as though they make each signal into 1 frequency? Maybe I missed something.

I need each of these signals to retain their original frequency and transform them into a square wave so I can count the edges to determine the signal frequency.
 
formulajoe said:
the frequency at which the low signals appear is related to the frequency of the signal
I think that's a typo, Joe. Or else a true-ism.
I researched the crossing detectors you suggested, but it seems to me as though they make each signal into 1 frequency? Maybe I missed something.
I need each of these signals to retain their original frequency and transform them into a square wave so I can count the edges to determine the signal frequency.
It sounds like you want to convert the various signals into a digital rectangular wave. You need to constrain the frequency range a bit, so that you can pick a DC blocking capacitor value on the low frequency end, and pick the speed of your components on the high frequency end. You also need to have specified what the settling time has to be from the start of the signal coming into your circuit to when the circuit's output digital waveform has settled into a valid representation of the incoming signal (to within some number of %).
Then build the circuit that I mentioned earlier, with a single-supply comparator that has a reference input at half of the supply, and the + input is connected to the signal source via a DC blocking capacitor. Put a voltage divider between the output of the comparator and its + input, to provide biasing to mid-rail plus some hysteresis. You will want to connect your signal source to the DC blocking cap via some resistance, and put diode clamps to the rails between the isolating resistance and the DC blocking cap. That way you can still have this circuit work with a 50V input waveform, and use a 5V comparator, for example.
The values of the resistors and capacitor are left as an exercise for the reader. Just keep in mind all the specs that I was asking about above as you calculate the time constants, hysteresis voltage, offsets, etc. Have fun! -Mike-
 
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top