This disclosure is generally directed to frequency demodulators. More specifically, this disclosure relates to a digital frequency demodulator with low power consumption and a related system and method.
Wireless transceivers are routinely being incorporated into smaller and smaller devices. In these types of devices, size and power usage are often important factors in the design of a wireless transceiver. Unfortunately, conventional frequency demodulators in these transceivers are often intolerant to frequency deviations in an incoming signal. Also, conventional frequency demodulators often require large external components, such as external discriminator tank circuits. In addition, conventional frequency demodulators often require the use of quadrature intermediate frequency (IF) paths. Both the external components and the quadrature paths can increase the size, complexity, and cost of the demodulators.
This disclosure provides a digital frequency demodulator with low power consumption and a related system and method.
In a first embodiment, an apparatus includes a frequency counter configured to receive an input signal containing pulses and to output a count value identifying a number of pulses in the input signal during a specified time period. The specified time period encompasses multiple cycles of the input signal. The apparatus also includes a comparator configured to receive the count value from the frequency counter, compare the count value to a second value, and provide an output signal based on the comparison. The apparatus further includes a data latch configured to latch the output signal, where the latched value of the output signal represents a demodulated data value.
In a second embodiment, a system includes a receive path configured to process an incoming wireless signal and generate demodulated data, where the receive path includes a digital frequency demodulator. The digital frequency demodulator includes a frequency counter configured to receive an input signal containing pulses and to output a count value identifying a number of pulses in the input signal during a specified time period. The specified time period encompasses multiple cycles of the input signal. The digital frequency demodulator also includes a comparator configured to receive the count value from the frequency counter, compare the count value to a second value, and provide an output signal based on the comparison. The digital frequency demodulator further includes a data latch configured to latch the output signal, where the latched value of the output signal represents a demodulated data value.
In a third embodiment, a method includes receiving an input signal containing pulses and generating a count value identifying a number of pulses in the input signal during a specified time period. The specified time period encompasses multiple cycles of the input signal. The method also includes comparing the count value to a second value and providing an output signal based on the comparison. The method further includes latching the output signal, where the latched value of the output signal represents a demodulated data value.
Other technical features may be readily apparent to one skilled in the art from the following figures, descriptions, and claims.
For a more complete understanding of this disclosure, reference is now made to the following description, taken in conjunction with the accompanying drawings, in which:
A frequency-locked synthesizer 106 provides signals to one or both of the transmit and receive paths 102-104. The transmit path 102 can use the synthesizer 106 to generate signals for wireless transmission. The receive path 104 can use the synthesizer 106 to down-convert signals received wirelessly. The frequency-locked synthesizer 106 includes any suitable structure for generating signals at a desired frequency or within a desired frequency range. In particular embodiments, the frequency-locked synthesizer 106 can be implemented as disclosed in U.S. patent application Ser. No. 13/372,321, which is hereby incorporated by reference. Note that the output of a single synthesizer 106 could be provided to both the transmit and receive paths 102-104, or separate synthesizers 106 could be used for the transmit and receive paths 102-104.
The transmit path 102 in this example includes a modulator 108, which modulates data to be transmitted. The modulator 108 can use any suitable modulation technique to modulate the data. In this example, the modulator 108 modulates the output of the synthesizer 106, and the synthesizer's output is used directly as the outgoing signal. For example, the modulator 108 could use on/off keying (OOK) modulation to turn an amplifier in the frequency-locked synthesizer 106 on and off. The modulator 108 could also use frequency shift keying (FSK) modulation, such as by controlling the operation of a discriminator in the frequency-locked synthesizer 106 (like altering the width of pulses in a gating signal provided to the discriminator). The modulated output of the synthesizer 106 is filtered by a filter 110 and amplified by an amplifier 112, such as a low-power amplifier. The amplified signal is transmitted as an outgoing wireless signal through an antenna 114.
The receive path 104 in this example includes an antenna 116, which receives an incoming wireless signal. An amplifier 118 amplifies the received signal, and a filter 120 filters the amplified signal. The filtered signal is down-converted by a mixer 122, which mixes the filtered signal with a lower-frequency signal from the synthesizer 106. The down-converted signal is amplified by a limiting amplifier 124, and a demodulator 126 demodulates data contained in the down-converted, amplified, and limited signal.
The modulator 108 includes any suitable structure for modulating data. The demodulator 126 includes a digital frequency demodulator, such as one shown in
In this example, a control unit 128 is coupled to the transmit and receive paths 102-104. The control unit 128 performs any of a wide variety of functions in the transceiver 100. For example, the control unit 128 can generate or receive data to be transmitted wirelessly and provide that data to the transmit path 102. The control unit 128 can also obtain data received wirelessly from the demodulator 126 and provide that data to one or more external devices or systems. The control unit 128 can further interact with and control the frequency-locked synthesizer 106, the demodulator 126, or other components, such as by providing one or more gating signals to the frequency-locked synthesizer 106 and the demodulator 126. The control unit 128 includes any suitable structure for controlling a transceiver. For instance, the control unit 128 could include at least one microprocessor, microcontroller, digital signal processor (DSP), field programmable gate array (FPGA), application specific integrated circuit (ASIC), or other processing or control device.
Although
The frequency counter 202 receives an input signal, such as an intermediate frequency (IF) signal in a transceiver. In the transceiver 100 shown in
In some embodiments, the length of the counter gate period allows sampling of the incoming input signal multiple times per data bit, such as two or more samples per bit. Also, the length of the counter gate period could be defined so that multiple cycles of the input signal are counted and accumulated, possibly a large number of cycles (an example would be 200 cycles of an IF signal).
A count value from the frequency counter 202 is provided to the digital comparator 204. The digital comparator 204 compares the count value provided by the frequency counter 202 (A input) to a fixed value (B input). The fixed value represents the count value that would be obtained during the specified time period if the input signal has a desired frequency, such as if the input signal is at a specified center frequency. The digital comparator 204 outputs a value depending on whether the count value provided by the frequency counter 202 is greater than or less than the fixed value. For example, the output of the digital comparator 204 could be a logical high value if the A input is greater than the B input and a logical low value if the A input is less than the B input. The digital comparator 204 includes any suitable structure for comparing digital input values, such as an eight-bit comparator. In this example, the digital comparator 204 is configured to receive and compare parallel input values. The fixed value could be provided as the B input by any suitable source, such as the control unit 128, a dedicated register, or other source.
At the end of each counter gate period, the frequency counter 202 is reset in order to take another sample of the input signal. The latch 206 is used to store the output of the digital comparator 204 at the end of each counter gate period. The latch 206 includes any suitable structure for storing a data value, such as a D flip-flop. The latch 206 stores a data value until the end of the next counter gate period when another sample is latched.
The output of the latch 206 represents demodulated data. As an example, an IF input signal could be a 10 MHz signal with a ±100 kHz frequency deviation at a data rate of 10 kbps. The counter's gate period could be 20 μs with a 1 μs reset time between gates. The counter 202 and the digital comparator 204 could be eight-bit devices, and the B input to the comparator 204 could be a value of 11001000 (a decimal value of 200). The counter 202 would output a count value of 200 if the input signal is at 10 MHz, a count value of 202 if the input signal is at 10.1 MHz, and a count value of 198 if the input signal is at 9.9 MHz. Thus, the digital comparator 204 could output a high logical value at 10.1 MHz and a low logical value at 9.9 MHz. The counter gate repetition rate allows making a frequency determination approximately five times per bit for the 10 kbps data rate (100 μs bit time).
As shown in
In
Again, the output of the latch 306 represents demodulated data. In this case, however, rather than looking for pulse counts above or below an expected value, the demodulator 300 looks for pulse count changes from one gate period to the next. The demodulator 300 could still operate with an IF input signal at 10 MHz with a data rate of 10 kbps, and the counter's gate period could be 20 μs with a 1 μs reset time between gates. The counter gate repetition rate again allows making a frequency determination approximately five times per bit for the 10 kbps data rate (100 μs bit time).
In the embodiments shown in
Although
A transmit path in the transceiver 400 includes a transmit waveform generator 404, which generates digital transmit waveforms using data to be transmitted. The transmit waveform generator 404 could also support a modulation scheme, such as FSK modulation. The waveforms are provided to two digital-to-analog converters 406, which convert the digital waveforms into analog signals. The analog signals are filtered using two anti-aliasing filters 408. Four mixers 410 mix the filtered signals with various local oscillator (LO) signals, and two combiners 412 combine the outputs of the mixers 410. Two additional mixers 414 mix the outputs of the combiners 412 with additional LO signals, and a combiner 416 combines the outputs of the mixers 414. A driver 418 drives a power amplifier 420 using the output of the combiner 416. The power amplifier 420 can also support the use of OOK modulation.
A receive path in the transceiver 400 includes a low-noise amplifier (LNA) 422, which amplifies an incoming signal. A filter 424, such as a band-pass filter, filters the amplified signal. A mixer 426 mixes the amplified signal with an LO signal. A limiting amplifier 428 amplifies the output of the mixer 426 while limiting its output. The output of the amplifier 428 is provided to a digital frequency demodulator 440, which demodulates FSK-modulated data. The digital frequency demodulator 440 could represent one of the digital frequency demodulators 200, 300 described above. The output of the digital frequency demodulator 440 is provided to the control unit 402 and to a data and clock recovery unit 446, which recovers clock and data from the incoming signal.
A memory 448 is coupled to the control unit 402. The memory 448 stores any suitable data for use by the control unit 402. The memory 448 includes any suitable structure for storing and facilitating retrieval of data. In this example, the memory 448 represents a first-in, first-out (FIFO) queue.
In this example, a frequency-locked synthesizer is used in the transceiver 400 to help generate the various LO signals used by the mixers 410, 414, 426. As shown in
Each component shown in
Although
The control unit 504 controls the overall operation of the implant 500. For example, the control unit 504 could receive measurement data from one or more sensors 506, and the control unit 504 could provide the measurement data to the transceiver 502 for communication. The control unit 504 could also process the data and provide processing results to the transceiver 502 for communication. The control unit 504 could further receive control signals received wirelessly by the transceiver 502, and the control unit 504 could use the signals to adjust operation of one or more actuators 508. The control unit 504 includes any suitable structure for controlling the implant 500. For instance, the control unit 504 could include at least one microprocessor, microcontroller, DSP, FPGA, ASIC, or other processing or control device.
Each sensor 506 represents any suitable mechanism for detecting or measuring one or more characteristics of the implant 500 itself or the environment surrounding the implant 500. The specific sensing operation(s) performed by the sensor(s) 506 could vary depending on the specific use of the implant 500. Each actuator 508 represents any suitable mechanism for performing one or more functions for or within a patient. The specific operation(s) performed by the actuator(s) 508 could vary depending on the specific use of the implant 500.
A power supply 510 provides operating power to various components of the implant 500. The power supply 510 includes any suitable source of power. For instance, in some embodiments, the power supply 510 represents at least one battery that provides intermittent, near continuous, or continuous power to other components of the implant 500. In other embodiments, the power supply 510 collects power from an external source, such as by inductively receiving power from a device near the implant 500. In still other embodiments, the power supply 510 represents a power source that generates power from the surrounding environment, such as by using a piezo-electric power scavenging device.
A housing 512 houses or encases the various other components of the implant 500. The housing 512 can have any suitable shape depending on, for instance, the location of intended implantation for the implant 500. The housing 512 can also be formed from any suitable material(s), such as a biologically suitable material like a polymer or a metal.
Although
A counter gate period begins at step 604. This could include, for example, the control unit 128 or 402 providing a pulse in the counter gate signal to the frequency counter, data latch, and optionally the prior counter output latch in the digital frequency demodulator. The number of pulses in the input signal is counted during the counter gate period at step 606. This could include, for example, the frequency counter in the digital frequency demodulator counting the number of pulses in the input signal.
The total number of pulses during the counter gate period is provided to a digital comparator at step 608. This could include, for example, the frequency counter providing the total count value in parallel format to the digital comparator in the digital frequency demodulator. The total number of pulses is compared to a second value at step 610. This could include, for example, the digital comparator in the digital frequency demodulator comparing the total number of pulses to a fixed value or a previous count value. The comparator could receive the fixed value or previous count value in parallel format. The result of the comparison is latched at step 612, and the latched output is provided as a demodulated data value at step 614. This could include, for example, latching the output of the digital comparator in a data latch.
Optionally, the total number of pulses is stored for the next iteration of the method at step 616. This could include, for example, storing the total number of pulses in the prior counter output latch of the digital frequency demodulator. The latched value could then be used at step 610 during the next iteration of the method 600. However, if the second value used in step 610 is a fixed value or other value, step 616 could be omitted.
Although
It may be advantageous to set forth definitions of certain words and phrases used throughout this patent document. The term “couple” and its derivatives refer to any direct or indirect communication between two or more elements, whether or not those elements are in physical contact with one another. The terms “transmit,” “receive,” and “communicate,” as well as derivatives thereof, encompass both direct and indirect communication. The terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation. The term “or” is inclusive, meaning and/or. The phrase “associated with” and its derivatives mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, have a relationship to or with, or the like. The phrase “at least one of,” when used with a list of items, means that different combinations of one or more of the listed items may be used, and only one item in the list may be needed. For example, “at least one of: A, B, and C” includes any of the following combinations: A, B, C, A and B, A and C, B and C, and A and B and C.
While this disclosure has described certain embodiments and generally associated methods, alterations and permutations of these embodiments and methods will be apparent to those skilled in the art. Accordingly, the above description of example embodiments does not define or constrain this disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of this disclosure, as defined by the following claims.