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

  • Thread starter formulajoe
  • Start date
  • Tags
    Signal
In summary, the individual signals must be converted into a square wave in order to determine the frequency. A zero-crossing detector can be used to do this.
  • #1
formulajoe
177
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
  • #2
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.
 
  • #3
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.
 
  • #4
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-
 

1. What is a signal?

A signal is a physical quantity that carries information. It can be in the form of electrical, electromagnetic, or mechanical waves.

2. What are the types of signals?

There are two main types of signals: analog and digital. Analog signals are continuous and can take on any value within a given range, while digital signals are discrete and can only have two values (0 or 1).

3. How do signals travel?

Signals can travel through different mediums such as air, water, or cables. The medium affects the speed and strength of the signal.

4. What is the purpose of signal processing?

Signal processing is used to manipulate and analyze signals in order to extract useful information or improve the quality of the signal. It is used in various fields such as telecommunications, audio and video processing, and medical imaging.

5. How are signals measured?

Signals can be measured in different ways depending on the type of signal. Analog signals are measured using instruments such as oscilloscopes and voltmeters, while digital signals are measured using digital circuits and logic analyzers.

Similar threads

  • Electrical Engineering
Replies
13
Views
1K
Replies
20
Views
1K
Replies
37
Views
3K
Replies
31
Views
2K
Replies
1
Views
720
  • Electrical Engineering
Replies
15
Views
2K
Replies
9
Views
1K
Replies
6
Views
395
  • Electrical Engineering
Replies
3
Views
793
  • Electrical Engineering
Replies
25
Views
4K
Back
Top