Modulation and demodulation circuit

Information

  • Patent Grant
  • 8115538
  • Patent Number
    8,115,538
  • Date Filed
    Friday, July 10, 2009
    15 years ago
  • Date Issued
    Tuesday, February 14, 2012
    12 years ago
Abstract
The invention relates to the field of modulation and demodulation circuits, such as envelope detectors used to demodulate amplitude-modulated (AM) signals. By coupling an analog circuit to a port of a digital component, an envelope detector can be obtained, which achieves demodulation of AM signals for direct coupling into a digital input port. Accordingly, an envelope detector may be used in the data receiving part of a sealed device requiring post-manufacturing data transfer, in combination with additional components that provide electromagnetic coupling, such as inductive coupling, capacitive coupling, or radiative coupling. An example of such a device is a credit card sized authentication token.
Description
TECHNICAL FIELD

The present invention relates to the field of modulation and demodulation circuits, such as envelope detectors used to demodulate amplitude-modulated (AM) signals and amplitude-shift-keying (ASK) signals.


RELATED APPLICATIONS

Co-pending U.S. patent application Ser. No. 12/210,691, the entirety of which is incorporated by this reference, discloses a method for post-manufacturing data transfer to and from a sealed device.


BACKGROUND ART

It is a generally known principle of radio engineering that an amplitude-modulated signal can be demodulated by means of an envelope detector. An envelope detector is a relatively simple electronic circuit, the essential components of which are a diode, a capacitor, and a resistor. The circuit is laid out in such a way that the capacitor is allowed to be charged very quickly by the incoming signal over the forwardly polarized diode during at most a quarter-period of the incoming signal (e.g. the positive part of the rising edge of a carrier wave cycle), after which the capacitor discharges more slowly over the resistor for the remainder of the period, where the reversal of the diode's polarization inhibits a more rapid discharge. When the amplitude envelope decreases, the discharging phase continues until the voltage over the capacitor intercepts a rising edge of the incoming signal.


The electrical voltage over the capacitor thus roughly follows the peaks of the incoming signal, with a ripple determined by the time constant characteristic of the combination of the capacitor and the resistor. This time constant is given by τ=RC, where R is the resistance of the resistor and C is the capacitance of the capacitor.


One more particular way of obtaining an envelope detector consists of combining a clamp circuit with an additional capacitor and a resistor, such that the incoming signal is first “clamped” to a certain non-zero bias level, which we can assume without loss of generality to be positive, after which the voltage over the capacitor, which has an averaging effect, approximately represents the envelope of the original incoming signal.


Amplitude-shift keying (ASK) is a digital modulation technique in which information is coded into an alphabet of symbols represented by bursts of a sinusoidal signal with different amplitudes. In its simplest form, binary ASK codes one bit per symbol, represented by two different amplitude levels. The ratio of the respective amplitude levels is a design choice. Optionally, one of these amplitude levels is zero; the resulting modulation scheme may be described as on/off signalling. Binary ASK may directly encode bit values ‘1’ and ‘0’ to different amplitude levels, or use a more complex coding scheme such as Manchester encoding, run-length encoding, and other alternatives known in the art.


Examples of wireless digital transmission systems that use binary ASK transmission are contactless smart cards and radio-frequency identification (RFID) systems. These are highly miniaturized systems. Some components of these systems are entirely passive, in that the component obtains both operating power and the signal to be received from the electromagnetic fields emitted by the transmitter. Others have their own operating power sources. These systems typically receive the ASK modulated signal from the transmitter via inductive coupling in the near field.


In a typical ASK reception circuit, the output of an envelope detector is passed through an analog-to-digital convertor (ADC) and fed into a digital circuit or component that processes the binary information contained in the received signal.


DISCLOSURE OF THE INVENTION
Technical Problem

A general problem to be solved in the context of miniaturized devices with wireless radio-frequency communication capabilities is to provide very small, robust, and cost-effective radio-frequency signal receiving and sending circuits for interconnection with a digital processing circuit or component. Preferably, the receiving and sending circuits consist of a small number of commercially available components. Preferably, there is a synergy between the sending and receiving circuit.


Technical Solution

To simplify synthesis and analysis of electronic circuits, a complete electronic circuit is usually conceptually divided into an analog part and a digital part, where the digital part consists of interconnected components which perform functions which are specified with digital nomenclature. The aim of this division is to allow independent treatment of both parts, so that the analog part can be analyzed without having to worry about the details of the components making up the digital part, and so that the digital part can be analyzed on a digital abstraction level while ignoring any analog effects produced by the parts of the digital part of the circuit. Thanks to this strict conceptual division, the behaviour and interaction of the interconnected digital components can be analyzed on a digital abstraction level that is oblivious to any analog effects of the physical structures that make up the digital circuits.


However, digital circuits, including integrated circuits (ICs), are made from elements which do have effects which can be described with analog nomenclature. It is an object of this invention to use the analog properties of elements present in a digital circuit of a device, to play a role in performing an analog function of the device, in order to make the remaining analog circuitry more compact or simpler or both. The present invention thus abandons the strict division between the analog and digital part of a circuit, to advantageously exploit the analog properties of elements which are normally employed to perform functions specified with digital nomenclature.


The present invention is based on the insight that an ASK demodulation circuit used to demodulate a digital signal, can advantageously use the characteristics of the ports of a digital component (components which are provided to perform functions specified with digital nomenclature) to eliminate the need for a separate, discrete diode. More specifically, it is based on the insight that the analog behaviour of the port of a digital component is, within certain voltage and current boundaries, equivalent to that of a diode.


The ports of a digital component such as a microprocessor typically host circuitry that protects the logic of the digital component against unsafe voltages, such as unintentional electrostatic discharges, that might be applied to the input. Such unsafe voltages are not expected during normal operation of the digital component, and their exceptional occurrence would typically not be taken into account by the person skilled in the art of digital circuit design. One typical protective assembly links the port to the system ground VGND via a first diode, where the anode of the first diode connects to the system ground, and links the port to the system supply voltage VDD via a second diode, where the cathode of the second diode connects to the system supply voltage.


The person skilled in the art of electronics will understand that an assembly of that kind limits the electrical voltage on the port to approximately the range between VGND−Vd and VDD+Vd, where Vd is the forward electrical potential difference of the diode's junction, typically around 0.6 V to 0.7 V. The operation of the assembly is such that any electrical voltage applied to the port outside the cited range, would imply an electrical current to one of the reference points that would be too large to be sustained by the generator of the voltage. The assembly may be improved by adding current-limiting resistors.


Similar results may be obtained by judiciously connecting a transistor, such as a metal-oxide-semiconductor field-effect transistor (MOSFET), to the port and the reference voltage levels VGND and VDD.


Where a port of the digital component exhibits a diode-like voltage-current characteristic as described above, regardless of whether its internal implementation actually contains any diodes, such a port may advantageously be used to fulfil the role of a diode that would otherwise have to be present in an adjacent analog circuit. This is in particular the case where the analog circuit requires the presence of a diode the anode of which would be connected to VGND. In other words the diode that would otherwise be required can be eliminated by simply connecting the circuit to the port.


More particularly an envelope detector for binary ASK demodulation, the digital output signal of which is to be processed by a microprocessor, may advantageously be connected to an otherwise unused port of said microprocessor, to employ the virtual diode-to-ground termination provided by this port, thus eliminating the need for a separate external diode. If multiple digital components are present, an unused port of any other digital component may serve the purpose of providing the virtual diode-to-ground termination. Optionally, the combination of the sending circuit, the receiving circuit, and the envelope detector is dimensioned in such a way that the envelope voltages, when connected to a digital input port of said microprocessor, qualify as digital ‘1’ and digital ‘0’, such that the envelope detector also performs the function of the ADC which might otherwise also be required. This result is based on the insight that for the detection of a strictly binary envelope signal, a single comparison to a threshold level suffices for each symbol, and this threshold can be made to coincide with the high/low detection threshold of a digital input port.


The input protection circuitry of the digital component thus becomes part of the envelope detector. The discrete part of the envelope detector circuit, i.e. the envelope detector circuit without the diode, will hereinafter be referred to as the “reduced envelope detector circuit”.


In one form a preferred embodiment of the present invention differentiates itself from the prior art inter alia because it no longer observes a strict distinction between the analog part and the digital part of the circuit at the level of individual circuit nodes. Rather, it involves employing a digital component (a component which is provided to perform functions specified with digital nomenclature), or parts of that component, to perform a function of the system which is defined by analog nomenclature, by relying on secondary analog behaviour of the digital component.


It should be noted that it is, in general, not desirable that the digital port used for providing diode functionality have any other influence on the circuit. Such a functional decoupling can be obtained by putting the port in a high-impedance state (also known as “Hi-Z”), if the digital component supports three-state logic.


Inductive coupling in the near field may be achieved by adding an inductor and a capacitor as an LC circuit at the input of the demodulation circuit. The inductor with inductance L is chosen for its ability to convert the varying magnetic flux emitted by a nearby apparatus into an electrical current. The capacitor is chosen such that the circuit will exhibit electrical resonance at a chosen frequency f, the carrier frequency of the incoming signal, which requires a capacitance C′=1/(4π2f2L), if the minor effect of stray resistance is ignored.


Having thus addressed the problem of providing a wireless receiver with an envelope detector, it is a further object of the present invention to provide a wireless transmitter. The wireless transmitter of the present invention is based on the insight that the circuit described above, interconnected with a digital port as described above, may be used as a near-field transmitter according to the “backscattering” concept.


Modulation of the backscattered wave can be achieved by repeatedly modifying the reactance of the LC circuit. As the LC circuit of the apparatus of the present invention is inductively coupled to the transmitting circuit of a nearby source apparatus, the impedance to be overcome by the carrier wave generator of the source apparatus will vary as a function of the reactance offered by the apparatus of the present invention. This variation can be detected by the source apparatus, thus providing a communication channel from the apparatus of the present invention back to the source apparatus.


If the LC circuit is perfectly tuned to the frequency f0 of the incident wave, its impedance, as a function of frequency exhibits a global minimum at f0; this is the impedance towards the incident wave, for which the LC circuit is a serial LC circuit. If the parallel LC circuit is within inductive coupling range, the combined impedance of the source apparatus's tuned circuit and the coupled LC circuit of the apparatus of the present invention exhibits a local minimum at f0. If the parallel LC circuit is within inductive coupling range, and detuned from the frequency of the incident wave, this will have the effect of changing the impedance at the frequency of the incident wave to a value different from the value at the local minimum—the local minimum shifts to a different frequency; as such, detuning the LC circuit presents a detectable change of impedance to the source apparatus. With reference to FIG. 6, the LC circuit 104 can be detuned at will, inter alia, by creating a short circuit between the reference point at port 101 and the system ground, which has the effect of placing capacitor C1 in parallel with LC circuit 104 and thus removing the influence of R1 and C2. The present invention accomplishes the equivalent of the short circuit by switching port 101 of digital component 103 to its “low” or “off” state, which is near or equal to the system ground reference point. An advantage of using port 101 in this way, is that the modulation of the backscattering channel can be directly controlled by the digital component without requiring any additional Digital-to-Analog Conversion circuitry.


Advantageous Effects

By judiciously coupling an analog circuit comprising one resistor and two capacitors which are judiciously dimensioned to an otherwise unused port of a digital component, hereinafter the “diode port”, an extremely compact envelope detector can be obtained, which achieves demodulation of a binary ASK signal for direct coupling into a digital input port. Preferably, the diode port and the input port are ports of the same digital component, thus reducing the total number of components needed.


Such a very compact envelope detector may advantageously be used in the data receiving part of a sealed device requiring post-manufacturing data transfer, in combination with additional components that provide electromagnetic coupling, such as inductive coupling, capacitive coupling, or radiative coupling. An example of such a device is a credit card sized authentication token, the electrical personalization of which happens after the production of the card-like housing. Such tokens are typically constructed as an inlay in a laminated housing, whereby the outside of the housing is devoid of any ohmic contacts to the components of the inlay.


In another aspect of the invention, the diode port is additionally used to modulate a backscattered wave, by switching the voltage of the diode port to the system ground level. In this way, the apparatus is advantageously equipped with a wireless bidirectional half-duplex transmission system.





BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other features and advantages of the invention will be apparent from the following, more particular description of several embodiments of the invention, as illustrated in the accompanying drawings.



FIG. 1 shows the schematic of a standard clamp circuit.



FIG. 2 shows the schematic of a combination of a clamp circuit and an envelope detector.



FIG. 3 shows the schematic of an exemplary circuit according to the prior art including an envelope detector.



FIG. 4 shows the schematic of an embodiment of the invention.



FIG. 5 is a time diagram of the signals, in terms of voltages, that would be measured at various reference points in the circuits of the previous Figures.



FIG. 6 shows the schematic of another embodiment according to the invention.





BEST MODE FOR CARRYING OUT THE INVENTION

Referring first to FIG. 1, the figure illustrates the standard clamp circuit consisting of a capacitor C1 and a diode D, transforming an input voltage signal Vin into its clamped counterpart at reference point Vclamped. The input voltage signal Vin is assumed to be amplitude-modulated (modulating circuitry, transmission channel, and receiving circuitry are not separately shown).



FIG. 2 shows the combination of a clamp circuit and an envelope detector. In FIG. 2 the additional capacitor C2 and the resister R1 are used to obtain the incoming signal's envelope Venvelope. The input voltage signal Vin is assumed to be amplitude-modulated (modulating circuitry, transmission channel, and receiving circuitry are not separately shown).


In FIG. 3 IC1 is the digital component that processes the incoming digital data. The input voltage signal Vin is assumed to be amplitude-modulated in quaternary ASK (modulating circuitry, transmission channel, and receiving circuitry are not separately shown). The analog envelope detection circuit detects the envelope of the amplitude-modulated signal, and passes it to the analog-to-digital converter IC2, shown here with a 4-bit output. The output of IC2 is connected to the input of IC1.


Referring to FIG. 4, IC1 is a digital component 103 of which two ports are shown; a first port 101 is used as a “diode port”, providing a diode-to-ground termination, and a second port 102 is the actual digital input port used to process the demodulated received signal provided by the circuit 100. The input voltage signal Vin is assumed to be amplitude-modulated in binary ASK (modulating circuitry, transmission channel, and receiving circuitry are not separately shown).


More particularly, in a preferred embodiment the apparatus for processing an electrical signal comprises a reduced envelope detector circuit 100 and a microprocessor 103, wherein a first node of said reduced envelope detector circuit is coupled to a first port 102 of said microprocessor, the electrical voltage at said first node being representative of the envelope of said electrical signal, and wherein a second node of said reduced envelope detector circuit is coupled to a second port 101 of said microprocessor, said second port being used to complete said reduced envelope detector circuit by providing the electrical equivalent of a diode coupled to the system ground reference point, the anode of said electrical equivalent of a diode being coupled to the system ground reference voltage and the cathode of said electrical equivalent of a diode being coupled to said second node.


In a particular embodiment, the circuit is adapted to receive a 15 MHz signal modulated at 1 kHz. In a particular embodiment, the apparatus is adapted to receive a signal through inductive coupling at a distance of ⅕″ (0.005 m).


In a particular embodiment, the apparatus receives an incoming signal through near-field inductive coupling. Preferably, the apparatus comprises a tuned circuit 104. In one embodiment, said second port 101 of said microprocessor comprises a switch 105 adapted to selectively provide an output level equivalent to the system ground reference voltage in order to modulate a backscattered signal. Said switch 105 may comprise any combination of integrated components known to the person skilled in the art to offer the functionality of a switch, including one or more transistors.



FIG. 5 illustrates pertinent waveforms. The first signal, Vin, is an exemplary signal carrying binary data in amplitude-shift-keying (ASK) modulation. The second signal, Vclamped, is the signal that would be measured at the output of the clamping circuit. The third signal, Venvelope, is the signal that would be measured at the output of the envelope detector. The number of cycles per symbol, the modulation depth, and the ripple of the demodulated signal as shown in this Figure have been chosen arbitrarily for illustrative purposes, and do not necessarily reflect preferred system parameters.



FIG. 6 illustrates a further embodiment. As seen there IC1 is a digital component 103 of which two ports are shown; a first port 101 is used as a “diode port”, providing a diode-to-ground termination and a transmission modulation switch 105, and a second port 102 is the actual digital input port used to process the demodulated received signal provided by the circuit 100. The input signal is received by the tuned circuit 104 through near-field inductive coupling. The output signal, consisting of a backscattered version of the incident carrier wave modulated by transmission modulation switch 105, is also emitted by the tuned circuit 104 through near-field inductive coupling.


MODE(S) FOR CARRYING OUT THE INVENTION

A general embodiment of the apparatus for processing an electrical signal according to the present invention comprises a circuit 100 for demodulating said signal and one or more digital components 103, wherein said circuit 100 is coupled to a first port 102 of one of said one or more digital components 103 for providing a demodulated signal from said circuit to said digital component, and wherein said circuit is further coupled to a second port 101 of one of said one or more digital components 103 for providing the electrical equivalent of a diode connected to a reference voltage.


In one embodiment of the apparatus of the present invention, said circuit 100 does not include a diode associated with the demodulation function.


In another embodiment of the apparatus of the present invention, said first port 102 and said second port 101 are ports of the same digital component 103. In a specific embodiment of the apparatus of the present invention, said digital component 103 is a microprocessor.


In yet another embodiment of the apparatus of the present invention, said electrical signal is modulated in amplitude modulation. In one particular embodiment of the apparatus of the present invention, said electrical signal is modulated in amplitude shift keying. In one more particular embodiment of the apparatus of the present invention, said electrical signal is modulated in binary amplitude shift keying.


In a further embodiment of the apparatus of the present invention, said reference voltage is the system ground voltage.


In still a further embodiment of the apparatus of the present invention, said reference voltage is the system power supply voltage.


In another embodiment of the apparatus of the present invention, said circuit 100 is a reduced envelope detector.


In one embodiment, said second port 101 comprises a switch 105 adapted to selectively provide an output level equivalent to a reference voltage for modulating a backscattered signal.


In one embodiment the electrical signal has a carrier frequency of about 16 MHz, and the signal is modulated at a rate of 1 kHz.


In one embodiment the signal is received via inductive coupling where the coupling distance is about 0.005 meters.


In one embodiment wherein a second port of a digital circuit provides the electrical equivalent of a diode and where the circuit employs inductive coupling, a tuned circuit is employed. In this embodiment a switch or switching assembly is used to modulate the reactance of the tuned circuit. In this embodiment the switching assembly is integrated into the second port.


While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above described exemplary embodiments but should be defined only in accordance with the following claims and their equivalents.

Claims
  • 1. An apparatus for processing an electrical signal, comprising a circuit for demodulating said signal and one or more digital components, wherein said circuit is coupled to a first port of one of said one or more digital components for providing a demodulated signal from said circuit to said one or more digital components, and wherein said circuit is further coupled to a second port of one of said one or more digital components, coupling said circuit to said second port providing to the circuit an electrical equivalent of a diode connected to a reference voltage, wherein said circuit lacks a diode associated with said demodulating.
  • 2. The apparatus of claim 1, wherein said first port and said second port are ports of the same digital component.
  • 3. The apparatus of claim 2, wherein said digital component is a microprocessor.
  • 4. The apparatus of claim 1, wherein said electrical signal is modulated in amplitude modulation.
  • 5. The apparatus of claim 4, wherein said electrical signal is modulated in amplitude shift keying.
  • 6. The apparatus of claim 5, wherein said electrical signal is modulated in binary amplitude shift keying.
  • 7. The apparatus of claim 1, wherein said reference voltage is the system ground voltage.
  • 8. The apparatus of claim 1, wherein said reference voltage is the system power supply voltage.
  • 9. The apparatus of claim 1, wherein said circuit is a reduced envelope detector.
  • 10. The apparatus of claim 1, wherein said electrical signal has a carrier frequency of approximately 16 MHz.
  • 11. The apparatus of claim 1, wherein said electrical signal is modulated at a baud rate of 1 kHz.
  • 12. The apparatus of claim 1, wherein said electrical signal is received through inductive coupling.
  • 13. The apparatus of claim 12, wherein the coupling distance is approximately 0.005 meter.
  • 14. The apparatus of claim 12, further comprising a tuned circuit for effectuating said inductive coupling.
  • 15. The apparatus of claim 14, further comprising a switching assembly for modulating the reactance of said tuned circuit.
  • 16. The apparatus of claim 15, wherein said switching assembly is integrated in said second port.
US Referenced Citations (11)
Number Name Date Kind
5587824 Asprey Dec 1996 A
5666055 Jones et al. Sep 1997 A
6362738 Vega Mar 2002 B1
7019509 Kant Mar 2006 B2
7236002 Salzmann et al. Jun 2007 B2
7375578 Blanchard et al. May 2008 B1
7378817 Calhoon et al. May 2008 B2
7392059 White et al. Jun 2008 B2
20080252459 Butler et al. Oct 2008 A1
20090108992 Shafer Apr 2009 A1
20090134979 Tsukamoto et al. May 2009 A1
Related Publications (1)
Number Date Country
20110007846 A1 Jan 2011 US