Simple and easy-to-use OOK modulation scheme
Abstract: This arTIcle describes ASK / OOK techniques, and outlines implementaTIons of ASK / OOK receivers using RF power detectors and a few discrete components. Waveform output test results of these implementaTIons are also detailed.
A similar arTIcle appeared on the RF DesignLine website on July 21, 2008.
ASK and OOK communication protocols are commonly used in short-range wireless applications, examples of which include home automation, industrial networks, wireless base stations, remote keyless entry (RKE), and tire pressure monitoring systems (TPMS). OOK is especially popular in battery-operated portable applications, as such systems can save on transmit power when (not) sending '0's. Carrier frequencies involved can vary greatly depending on the application. For example, ~ 2MHz is used in some low-frequency wired communications in base stations (eg, AISG protocol), while ~ 433MHz is typical in short-range wireless communications that make use of the industrial, scientific, and medical (ISM) band.
Various wireless technologies, including Bluetooth®, ZigBee®, and Wi-Fi®, have made considerable headway in today's consumer world. These protocols offer means of secure communication between devices, and typically operate in the 2.4GHz ISM band using a combination of frequency shift keying (FSK), phase shift keying (PSK), and amplitude shift keying (ASK) or amplitude modulation. The security offered by these approaches includes channel hopping and spread-spectrum modes of communication. Such schemes can be difficult to overhear, offering increased security as well as improved noise immunity. All these methods spend transmit energy when sending both a '1' and a '0'. Unfortunately, these protocols also are relatively complex and have a high hardware implementation cost, especially if security and high noise immunity are not predetermined requirements.
Wi-Fi is specifically aimed at high-data-rate, wide-reaching applications and is likely considered overkill for applications requiring only simple control and monitoring. ZigBee is considered ideal for the upcoming field of sensor networks, while Bluetooth has found acceptance in a range of consumer audio devices and personal wireless devices. Table 1 provides a simple comparison of various performance features for Bluetooth, ZigBee, and ASK / OOK approaches.
Table 1. Comparison of Bluetooth, ZigBee, and ASK / OOK Features
Features | Bluetooth | ZigBee | ASK / OOK General ISM |
Frequency | 2.4GHz | 2.4GHz | 315MHz to 2.4GHz |
Battery Life | Low | High | High |
Speed | 800kbps | 200kbps | 2Mbps |
Relative Cost | Medium | Medium | Low |
Industry Standards | Yes | Yes | No |
Simple ASK / OOK hardware implementations have become relatively straightforward choices due to their low implementation cost in extremely long-life, battery-operated applications. They are also a good choice if access to point-to-point wired infrastructure and wireless infrared links are possible . Depending on the application, implementation costs can be 2x to 5x higher for alternate technologies. If necessary, security can still be overlaid on these links by incorporating bidirectional interrogation schemes between the transmitter and receiver, such as by exchanging a special code. ASK offers better noise immunity compared to OOK at a lower cost than FSK, but it has higher power consumption levels than OOK.
ASK ApplicationsASK receiver front-ends are typically composed of three blocks: an input bandpass filter to discern the carrier frequency of interest from a broadband input noise spectrum, an envelope detector to extract the information of interest, and a comparator to obtain binary outputs. The comparator trigger threshold is derived from the output of the envelope detector itself; this enables the threshold level to autoscale with the received signal level, which can vary depending on channel length and transmitter strength.
One possible implementation of a front-end uses the MAX9933, an RF power detector that can read input signals with a 45dB dynamic range from 2MHz to 1.6GHz. In particular, it delivers a logarithmic voltage proportional to a signal level between -58dBV to- 13dBV (ie, 1.25mVRMS to 223mVRMS). Figure 1 shows the MAX9933 RF detector in an ASK receiver signal chain.
Figure 1. Circuit showing the MAX9933 RF detector in an ASK application.
The RF signal fed into the RFIN pin is externally AC-coupled. Because the MAX9933 is a peak-responding RF detector, it essentially functions as a simple envelope detector, even for small, millivolt-level signals. Its log-transfer function for input RF voltage amplitude vs. output DC voltage provides a proportional-to-dB characteristic that makes the MAX9933 extremely sensitive to very small signals. Therefore, the MAX9933 allows the ASK receiver to easily discriminate between small input '1' and '0' signal levels . The value of the filter capacitor CCLPF determines the response bandwidth at the chip's output, and is thus determined by the expected data rate. Figure 2 shows the output waveform generated when the MAX9933 is tested as an envelope detector, and when the MAX9030 comparator is used with an adaptive reference to generate digital output bits. The test waveform has a 10MHz carrier frequency and a 40kbps data rate. The value of CCLPF in this test is 150pF, and the RC filter is co mposed of a 100kΩ resistor and a 0.22µF capacitor.
More detailed image (PDF, 604kB)
Figure 2. Response of the MAX9933 RF-detector to an RF input signal with a modulation frequency of 10MHz at a 40kbps data rate. The two waveforms show an output response (yellow) to the input signal (blue) of (a) -10dBm and -20dBm ASK signals, and (b) a -40dBm OOK signal. The two waveforms at the MAX9030 comparator's inputs are shown in pink and green at the bottom.
OOK ApplicationsThe MAX9930, an RF-power-detecting controller, was designed for use in a feedback control loop for power amplifiers (PA) in an automatic gain control (AGC) loop. However, when configured in open loop (ie, without a PA to close its feedback loop from OUT to RFIN), it can just as easily be used in OOK applications, as shown in Figure 3. A REF voltage, representing a threshold well below the lowest '1' signal level received in the application, can be used to extract the OOK information.
Figure 3. Circuit showing the MAX9930 RF-detecting controller in an OOK application.
The RF signal fed through the RFIN pin is again externally AC-coupled into the chip. The front-end of the MAX9930 controller is a peak detector, and it internally detects the peak of the input RF signal. The voltage fed to the SET pin then acts as a comparator threshold, which is ideal for OOK detection. Resistors RFB and RIN provide comparator hysteresis for increased noise immunity, with RFB chosen at 300kΩ and RIN at 10kΩ; CCLPF can be minimized to increase the data rate. In Figure 4, the test results are shown with the same input conditions as in the Figure 2 test.
Figure 4. Response of the MAX9930 RF-detecting controller to the RF input signal with a modulation frequency of 10MHz, a 40kbps data rate, and a -40dBm OOK signal. REF is set at 500mV. Output digital bits are shown in yellow, and the input RF signal is blue.
OOK TransmitterAn OOK transmitter's simplicity is without equal. It quite simply involves sending a carrier wave to a PA feeding an antenna / cable to transmit a '1' or to send nothing to transmit a '0'. The MAX1472 VHF / UHF transmitter is a very good example of a part that uses the input digital data stream to modulate the output of a crystal-based PLL oscillator feeding a power amplifier. The receiver system can be either an OOK receiver system (with a fixed threshold) or an ASK receiver system (with an adaptive threshold).
ConclusionIn today's connected world, multiple modes of communication between circuits are needed. ASK and OOK are two such protocols, and this article has described possible application solutions and their simplicity when compared to other protocols available in the market.
The traffic signal lamp is to enhance road traffic management,reduce traffic accidents,improve road use efficiency,a kind of important equipment to improve traffic.Modern lighting according to the requirements of users can install electronic monitoring system and traffic safety facilities design,traffic safety for the city civilization a contribution.Our company's signal light series products mainly include Solar mobile Traffic Signal lights,Cantilever type Traffic Signal Lamp,Cantilever type Traffic Signal Lamp.
Traffic Equipment Series,Traffic Equipment Rental,Traffic Equipment Company,Safety Traffic Equipment
Jiangsu chengxu Electric Group Co., Ltd , http://www.chengxulighting.com