The present invention is related to signal discrimination, and more particularly to discriminating among different types of radio frequency (RF) signals.
RF signals are used in many communication applications. A given application may require a receiver system that can receive both frequency-shift-keyed (FSK) modulated RF signals and amplitude-shift-keyed (ASK) modulated RF signals, but the specific modulation of a signal received at any given time can randomly change without warning. To accommodate both signal types, current applications incorporate two separate receivers, one to receive FSK signals and another to receive ASK signals. This undesirably increases the complexity of the application.
There is currently no way to detect and distinguish the difference between FSK and ASK modulated signals and to respond to the change in the modulation of a received signal.
The present invention is directed to a signal detection and discrimination system that can discriminate between FSK signals and ASK signals and that can switch a signal receiver mode to accommodate the signal modulation type. In one embodiment, an ASK mode is the default mode. A given data input signal is evaluated in a first discrimination stage by counting edges, or pulses, in the signal over a selected time window. If the number of pulses within the time window fall within a valid range, it indicates that the signal is ASK modulated and that there is possible incoming data on the signal. If the number of pulses falls outside the valid range, the pulses are considered noise or data at a different baud rate.
If the data signal exhibits no pulses within the time window, it indicates that the data signal is FSK modulated and the receiver is switched to an FSK mode. The next FSK transmission is then received as incoming data. If the system does not see FSK data for a predetermined time period, the receiver is switched back to the ASK mode.
In one embodiment, the current consumption of the receiver can be reduced by running duty-cycle power to the receiver.
The invention generally performs two levels of discrimination. First, it conducts a counter discrimination step that count the number of pulses in an incoming transmission within a given window to distinguish between ASK and FSK modulated transmissions and to detect whether a given incoming transmission is noise or data at a baud rate that is different than the desired baud rate. Second, the invention conducts a pulse width discrimination step that measures the pulse widths of the first several half-bits of the incoming transmission. If the pulse widths of the measured half-bits are determined to be within a valid time interval for one or more desired baud rates, then the invention considers the incoming transmission to contain valid data.
The system 100 includes a signal receiver 102 that receives a radio frequency (RF) signal transmission. The receiver 102 communicates with a system processor 103, such as a main microcontroller. The signal can be an amplitude-shift-keyed (ASK) modulated signal or a frequency-shift-keyed (FSK) modulated signal. It is assumed that the modulation of the signal can change randomly at any time. The signal itself may be, for example, a Manchester-encoded or variable pulse width signal, where each data bit is represented by at least one bit transition (i.e., from 0 to 1 or from 1 to 0).
The receiver 102 sends RF data to a discriminator 104. The discriminator 104 acts as an event informer to the system processor 103, sending an incoming data signal pulse to the system processor 103 to indicate that a valid signal transmission has been detected. In the illustrated embodiment, the data signal is sent to the system processor 103 as long as the discriminator 104 detects a valid signal. In other words, the discriminator 104 acts an interface between the receiver 102 and the system processor 103 to inform the system processor 103 that data may be coming to the system processor 103. The actual configuration of any system processor 103 outside of the receiving system 100 can vary without departing from the scope of the invention.
The discriminator 104 also sends an ASK_FSK indicator to the system processor 103 to indicate the modulation of the incoming transmission to that device. In the example shown in
As also shown in
When the receiver 102 is in an ASK mode, a FSK modulated signal will look like one long, continuous pulse in the selected time window, as shown in
Once the system processor 103 senses that the ASK_FSK signal indicates an FSK operating mode, the system processor 103 switches the receiver 102 to an FSK mode after a selected delay by setting a mode select signal to a high level in this example (block 160) When the system processor 103 has selected the FSK mode for the receiver 102, the receiver 102 is able to receive FSK modulated signals as data at any time. As long as the mode select signal sent to the receiver 102 is high, the receiver 102 will remain in the FSK mode. When the system processor 103 determines that there is no more FSK data being received (e.g., if no valid data bits are received after a selected timeout period), the system processor 103 switches the receiver 102 back to the ASK mode. At this point, the discrimination process starts over with the pulse counting step (block 110).
Referring to
If the system processor 103 does not receive FSK data for a selected time period, the system processor 103 switches the mode select signal back to a low level, causing the receiver 102 to switch back to an ASK mode. The system processor 103 can detect this by qualifying incoming pulses with the known baud rate and encoding.
Referring to
If the pulse widths of the sampled bits are within a valid time interval for a given baud rate, then the discriminator 104 sends the incoming data pulse to the system processor 103 and continues to do so periodically as long as the receiver 102 is receiving ASK modulated data (block 166). The mode select signal from the system processor 103 to the receiver 102 in this case will stay at a low level because the receiver 102 is in an ASK mode and does not switch to the FSK mode.
If the number of pulses in the ASK modulated signal are outside of the selected range (block 150), the discriminator 104 treats the incoming transmission as noise or data at a different baud rate (block 180). At this point, the process is restarted at the pulse counter step (block 110).
As shown in
By using a discriminator that discriminates between ASK and FSK modulated signals, the invention makes it possible to use a single receiver to handle both types of signals even when the modulation of a given input signal changes without advance warning. In addition to detecting the difference between FSK and ASK modulated signals, the invention can also determine whether an incoming signal contains valid data, such as Manchester or variable pulse width encoded data, at different baud rates.
It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that the method and apparatus within the scope of these claims and their equivalents be covered thereby.
The present invention claims the benefit of U.S. Provisional Patent Application No. 60/503,904, filed Sep. 19, 2003.
Number | Date | Country | |
---|---|---|---|
60503904 | Sep 2003 | US |