There are many electronic systems that include a host device that powers one or more remote electrical devices. For various reasons, the physical connection between the host and remote devices is often limited to a single wire pair, or power feed lines. In these types of devices, it is often useful or necessary to pass signals between the host and remote device in one or both directions. One method for achieving this without increasing the number of wires between the devices is to modulate a signal of interest with the power signal present on the power feed lines.
The signal communication technique illustrated in
Second, the value of the series impedance R 6 must be relatively low in order to minimize the voltage drop across the impedance R 6. Therefore, current-to-voltage gain adjustments are limited and overall measurement dynamic range is degraded.
Finally, a relatively complex differential amplifier 7 with high common mode rejection and matched components is required in order to sense the voltage across the series impedance R 6. Often this differential amplifier is AC-coupled which adds additional cost and complexity.
Accordingly, a need exists for a simpler, more robust technique for sensing remote current signals over a single pair of power feed wires.
The present invention is a novel remote current sensing technique that utilizes only the wire pair supplying power to the remote device. The invention finds particular application in a host-to-remote sensor configuration wherein the host supplies power to the remote device and analog and/or digital signals are channeled between the host and remote device in one or both directions over a single pair of wires.
In accordance with the invention, a host device is connected to a remote device via a single wire pair. The host device sources a power signal over the wire pair to power the remote device. The host device utilizes a voltage reference and control loop circuit which enforces a substantially constant voltage component of the power signal present on the wire pair during current-modulated communication in either or both directions between the host device and remote device.
For example, in one embodiment the remote device generates a remote signal. To channel the remote signal to the host device, the remote device modulates the current component of the power signal present on the wire pair with the remote signal. During current modulation, the voltage reference circuit and amplifier on the host maintain a substantially constant voltage component (i.e., a pre-determined voltage level within a narrow margin of error) of the power signal present on the wire pair. Simultaneously, the host device recovers the current signal by converting it to a varying voltage at the output of the amplifier (Vout).
In another embodiment the host device generates a host signal. To channel the host signal to the remote device, the voltage reference circuit enforces a substantially constant voltage component of the power signal present on the wire pair, while the host device modulates the current component of the power signal present on the wire pair with the host signal. Simultaneously, the remote device de-modulates the current component of the power signal to recover the host signal.
The invention finds particular application in a unique electronic circuit which provides power and multiplexes host signals and remote device signals over a single pair of wires. In accordance with one preferred embodiment of the invention, the invention is used to supply power, and sequentially channel analog measurement signals and digital communication signals between electronic devices over a single pair of wires. In this embodiment, a host device is electrically connected to a remote device via two wires. The host device supplies power to the remote device over the two wires. Analog measurement and/or digital control/data signals may be sent from the remote device to the host device. To this end, the remote device generates an analog signal of interest. While the host device enforces a constant supply voltage at the remote device, the remote device transmits the analog signal of interest by modulating the current component of the power signal present on the wire pair. The host device extracts the modulated current component of the power signal present on the wire pair to recover the analog signal of interest. The demodulation or “extraction” process consists of an amplifier-based current-to-voltage conversion followed by a bandpass filter to select the frequencies of interest. The topology of the illustrative embodiment allows the loop current to vary without significantly disturbing the supply voltage at the remote device.
Communication signals may be exchanged between the host and remote devices. In a uni-directional communication scheme, whereby the host device sends digital control/data signals to the remote device, the host device either voltage- or current-modulates either the voltage component or the current component of the power signal present on the wire pair with the digital signal of interest. The remote device may then demodulate the respective voltage- or current-modulated component of the power signal present on the wire pair to recover the digital signal of interest. In an alternative uni-directional communication scheme, whereby the remote device sends digital control/data signals to the host device, the host device enforces a constant supply voltage across the remote device while the remote device current-modulates the digital signal of interest with the current component of the power signal present on the wire pair. The host device may then demodulate the current-modulated component of the power signal present on the wire pair to recover the digital signal of interest.
In a bi-directional communication scheme, for communication from the host to the remote device, the host device may voltage-modulate the voltage signal present on the wire pair to indicate communication from the host to the remote device. The remote device de-modulates the host signal from the voltage component of the power signal present on the wire pair. For communication from the remote to the host device, the remote device may current-modulate the current component of the power signal present on the wire pair while the host device enforces a constant supply voltage across the remote device. The host device de-modulates the remote signal from the current component of the power signal present on the wire pair.
The described wire power, signal, and communication transfer technique may be used, for example, in a system having a measurement probe which senses analog signals that are transmitted to a host instrument for conversion into measurements of interest and further processing. Example measurements would include (but not limited to) capacitance, temperature, humidity, proximity, and the like. The measurement probe and test instrument may be connected by only two wires over which power, analog measurement signals, and bi-directional communication signals are transferred. Illustrative examples of digital signal exchange would include querying of probe type, reporting of status, uploading probe calibration constants, start and stop measurement handshaking, and other similar functions.
A more complete appreciation of this invention, and many of the attendant advantages thereof, will be readily apparent as the same becomes better understood by reference to the following detailed description when considered in conjunction with the accompanying drawings in which like reference symbols indicate the same or similar components, wherein:
A novel remote current sensing technique and application is described in detail hereinafter. Although the invention is described in terms of specific illustrative embodiments, it is to be understood that the embodiments described herein are by way of example only and that the scope of the invention is not intended to be limited thereby.
1. General Embodiment
Turning now in detail to the drawings,
In the illustrative embodiment, the first voltage source 19a is connected to the inverting input terminal of the operational amplifier 15, and the second voltage source 19b is connected to the host circuit ground. Accordingly, because the control operational amplifier 15 drives the summing node 19a in
The ability to enforce a substantially constant supply voltage VS2 across the remote device 11 enables the ability to pass precision AC or digital signals between the remote device 11 and host device 13 in one or both directions. Specifically, because the supply voltage VS2 of the remote device 11 remains fixed, precision AC or digital signals generated on one device can be sent to the other device by modulating the current component of the power signal on the sending device and de-modulating the current component of the power signal on the receiving device. For example, in
The host device 13 is likewise configured with a current de-modulator 19 that de-modulates the current component of the power signal present on the wire pair 12a, 12b to generate a recovered remote signal 22. In the illustrative embodiment, the current demodulator in the host device 13 monitors the AC current in the loop at the output 18 of the operational amplifier 15. In particular, because the supply voltage VS2 of the remote device 11 remains fixed at VR, AC current modulation will show up as a signal variation on VOUT at the output 18 of the operational amplifier 15 as the modulated current in the power signal on wires 12a, 12b causes the operational amplifier 15 to adjust the voltage VOUT on its output 18 in order to maintain the virtual null between its inverting and non-inverting input terminals. In the examples shown herein, Vout will be inversely proportional to the loop current since the host amplifier is configured in the inverting mode. In any case, the signal at VOUT may be processed to recover the remote signal. An additional signal inversion step may be added during filtering and processing if desired.
In the embodiment of
2. First General Application
a. Power Capability
Host device 101a includes power block 110 comprising a voltage reference and control loop circuit 115 which enforces a substantially constant voltage component of the power signal present on the wire pair during current-modulated communication in either or both directions between the host device and remote device. In particular, the voltage reference and control loop circuit 115 generates a substantially constant first voltage source 111 on the first wire 102a and a substantially constant second voltage source 112 on the second wire 102b. The phrase “substantially constant” means herein that the voltage level remains at a constant level (allowing for a narrow margin of error) or changes only marginally over a long period of time relative to the signal frequency due to drift. In the preferred embodiment, the voltage reference circuit 115 is implemented with an operational amplifier circuit such as that shown in
Remote sensor device 103a also includes a power block 140. Power block 140 comprises first and second voltage source nodes 141 and 142. First and second voltage source nodes 141 and 142 must be connected to external voltage sources (such as first and second voltage sources 111 and 112 in host device 101a) in order to operate as voltage sources within the sensor device 103.
In accordance with the invention, the first wire 102a of wire pair 102 is electrically connected at a first end to the first voltage source 111 located within the host device 101a and at a second end to the first voltage source node 141 within the sensor device 103. The second wire 102b is electrically connected at a first end to the second voltage source 112 located within the host device 101a and at a second end to the second voltage source node 142 within the sensor device 103a. As described above, in the preferred embodiment, the first voltage source 111 is a substantially constant voltage source referenced to a reference voltage source VREF and the second voltage source 112 is connected to the host circuit ground 113. Accordingly, when connected in this manner, the potential across the wire pair 102 is VREF. Also, in this described capacity, the single wire pair 102 supplies power PWR 104 with a voltage component VPWR 105 and a current component IPWR 106 to the remote sensor device 103a.
b. Measurement Capability
Remote sensor device 103a includes a measurement signal processing block 150, which includes measurement circuitry 152 and a current modulator 154. Measurement circuitry 152 senses or receives, and otherwise processes, a measurement 151 to generate a measurement signal 153 representative of the measurement 151. Example measurements include (but are not limited to) capacitance, temperature, humidity, proximity, and the like. The measurement circuitry 152 passes the measurement signal 153 to a measurement signal current modulator 154. Measurement signal current modulator 154 current-modulates the measurement signal 153 by adding a component representative of the measurement signal to the DC current in the power loop comprised of wires 102a and 102b.
Host device 101a includes a measurement signal processing block 120, which includes a measurement signal current de-modulator 121 and measurement processing circuitry 123. Measurement signal current de-modulator 121 receives the modulated current component IPWR 106 of the power signal PWR 104 present on the wire pair 102, de-modulates the measurement signal component from the modulated current component IPWR 106, and passes the de-modulated signal 122 to the measurement processing circuitry 123 for further processing and analysis. In this described capacity, the single wire pair 102 operates to channel measurements 151 from the remote sensor device 103a to the host device 101a.
C. Communications Capability
In the preferred embodiment, the system 100a allows bi-directional communication. Bi-directional communication is achieved as follows:
Remote sensor device 103a includes a communications block 160a, which includes remote control circuitry 165 and a communications interface 164 having a transmit circuit 163a and a receive circuit 163b. Communications block 160 also includes a remote communications signal current modulator 167 and a host communications signal voltage de-modulator 161a.
Remote control circuitry 165 may include a processor, memory, sensors, and/or any other circuit components or devices that generate remote communications data. Communications interface 164 includes standard circuitry which may include functionality for encoding, formatting, and otherwise preparing the remote communications signal 166 generated by the remote control circuitry 165 for transmission to the host device 101a. The transmit circuit 163a outputs a remote communications signal 166 representative of the remote communications data. A remote communications signal current modulator 167 current-modulates the current component IPWR 106 of the power signal PWR 104 present on the wire pair 102 with the remote communications signal 166.
Host device 101a includes a communications block 130a, which includes host control circuitry 131, a communications interface 132 having a transmit circuit 133a and a receive circuit 133b. Communications block 130a also includes a remote communications signal current de-modulator 138 and a host communications signal voltage modulator 135a.
On the host side, the remote communications signal current de-modulator 138 demodulates the remote communications signal 139 from the current component IPWR 106 of the power signal PWR 104 in step 76a while the voltage component VPWR 105 of the power signal PWR 104 is held substantially constant. In step 77a the host device 101a recovers the remote communications data from the demodulated remote communications signal 139.
The host device 101a generates host communications data that needs to be sent to the sensor device 103a in step 78a. In step 79a, the host device 101a processes the host communications data to generate a host communications signal 134 representative of the host communications data. In step 80a, the host device 101a voltage modulates the voltage component VPWR 105 of the power signal PWR 104 present on the wire pair 102 with the host communications signal 134. The loop current need not be held constant during voltage modulation communication. When the host modulates voltage VR and thereby varies the voltage supplied to the remote device, the current in the loop may also vary without adversely affecting circuit performance. In voltage modulation mode the receiving device senses voltage variations even if loop current varies simultaneously.
On the side of the remote sensor device 103a, in step 74a the host communications signal voltage de-modulator 161a demodulates the host communications signal from the voltage component VPWR 105 of the power signal PWR 104 present on the wire pair 102. In step 75a, the remote sensor device 103a recovers the host communications data from the demodulated host communications signal 139.
2. Second General Application
On the host side, the remote communications signal current de-modulator 138 demodulates the remote communications signal 139 from the current component IPWR 106 of the power signal PWR 104 in step 76b while the voltage component VPWR 105 of the power signal PWR 104 is held substantially constant. In step 77b the host device 101 recovers the remote communications data from the demodulated remote communications signal 139.
The host device 101 generates host communications data that needs to be sent to the sensor device 103 in step 78b. In step 79b, the host device 101 processes the host communications data to generate a host communications signal 134 representative of the host communications data. In step 80b, the host device 101 current modulates the current component IPWR 106 of the power signal PWR 104 present on the wire pair 102 with the host communications signal 134.
On the side of the remote sensor device 103, in step 74b the host communications signal current de-modulator 161b demodulates the host communications signal from the current component IPWR 106 of the power signal PWR 104 present on the wire pair 102. In step 75b, the remote sensor device 103 recovers the host communications data from the demodulated host communications signal 139.
4. Exemplary Embodiment
A preferred embodiment of a host/sensor system 200 is considered in
The host device 201 includes a voltage reference circuit 240 comprising a standard operational amplifier 245 with a feedback resistor RF 244 coupled between its output 243 its inverting input 242, and with a reference voltage VREF coupled to its non-inverting input 241. The voltage reference circuit 240 operates to generate the supply voltages VRD
In the illustrative embodiment, the host device 201 is also configured to send digital communication signals to the remote sensor device 203. To this end, host device 201 includes a host processor 270 which generates digital host data 281. An encoder 282 receives and encodes the digital host data 281 to generate a serial digital bit stream HOST_DATA 283. Encoder 282 may include circuitry for parallel-to-serial conversion, error detection/correction generation, packeting, framing, and otherwise preparing the digital host data for serial transmission. A comparator 286 receives the serial digital bit stream HOST_DATA 283 on a first input 284 and a reference voltage VREF
In the illustrative embodiment, the remote device 203 includes both analog circuitry 210 and digital circuitry 230. The analog circuitry 210 implements an active amplifier circuit which amplifies the AC signal AC_IN 208 to increase the signal to noise ratio (SNR) and to decrease the effects of stray capacitance. In the example shown AC_IN is assumed to be a current signal; however it is to be understood that a voltage source and series impedance would yield the same operation. It is this amplified current signal present on node 217 at the output of the amplifier 215 that is to be sent to the host device 201.
There can be many alternative circuits to accomplish this amplifying effect as would be readily apparent by an artisan in the field. In the illustrative embodiment the amplifier 215 is a standard operational amplifier, such as a TL072 by Texas Instruments of Dallas, Tex. Diodes 211 and 212 are standard silicon small signal diodes and diode 219 is a 7.5 V zener diode. Resistors 213 and 214 are 100 K ohm resistors and resistors 216 and 218 are 1 M ohm and 464 ohm resistors, respectively. Most of these component values may be varied to optimize signal-to-noise and dynamic range for a particular measurement application.
In operation, amplifier 215 drives load R2218. Amplifier 215 has a first power input PWR+ connected to the positive supply voltage VRD
Referring now to the voltage reference circuit 240 on the host device 201, the voltage VOUT at the output 243 of the operational amplifier 245 changes in response to current changes on the wire 202a (due to modulation of the current component IPWR of the power signal PWR present on the wire pair 202 by the remote device 203) as the operational amplifier 245 seeks to maintain the virtual null between its inverting and non-inverting input terminals 241 and 242. Accordingly, because the changes in VOUT reflect the remote sensor data modulated with the current component IPWR 206 of the power signal PWR 205, the remote sensor data can be recovered by sending VOUT through a bandpass filter (BPF) 250 (or other suitable filter that passes only frequency the range of interest). The operational amplifier 245 and BPF 250 operate together to effectively demodulate (or recover) the remote analog sensor data from the power signal present on the wire pair 202. The recovered analog sensor data signal 252 may then be processed by measurement calculation circuitry 260.
Digital communication between the host device 201 and the remote device 203 is also achievable. To this end, the remote device 203 includes digital circuitry 220 implementing at least a communications interface. In the illustrative embodiment, the communication interface 220 is a serial interface that generally includes all of the functionality for preparing, conditioning, transmitting, receiving, and recovering digital signals as is well known in the art, including amplification circuitry, sample-and-hold circuitry, frame detection circuitry, and serial-to-parallel and/or parallel-to-serial conversion. Communication interface 220 may also include error detection/correction circuitry and instruction packet extraction circuitry depending on the communications protocol. These functions may be called out specifically in
Turning now to the specific implementation of the digital circuitry 220 of the remote sensor device 203, the digital circuitry 220 includes host data recovery circuitry, including a comparator 236 and decoder 238. Comparator 236 compares the voltage present at its first input 234 (which is coupled to wire 202a) to a reference voltage VREF
Remote sensor device 203 is also configured to send digital data to the host device 201. In this regard, processor 230 generates digital control/data signals (hereinafter “digital sensor data”) to send to the host device 201. The processor 240 may be implemented by any one or more of the following: microprocessor, microcontroller, ASIC, FPGA, digital state machine, and/or other digital circuitry. In the illustrative embodiment, the processor 230 internally converts the digital sensor data from a parallel format to a serial bit stream, which is output onto the processor's serial output pin 233. A resistor 228 is coupled between serial output pin 233 and the positive power feed wire 202a. In general, resistor 228 can be tied to either the positive or negative power feed node assuming the output pin 233 can sink and source sufficient current. The implementation shown is compatible with an open collector output which is limited to current sinking. Therefore, connecting resistor to the positive power feed will enable output 233 to increase the supply current when driving a logic low. Processor 230 has a power (VCC) input pin 231 connected to the remote device positive supply voltage VRD
In operation, processor 230 outputs the serial digital sensor data in the form of a bit stream SENSOR_DATA onto pin 233, which drives current IRD across resistor 228. When the value of the digital bit being output onto pin 233 is a logical 1, the output voltage on pin 233 is approximately equal to the positive power feed voltage and therefore no additional current needs to be pulled through the power loop. However, when the value of the digital bit being output onto pin 233 is a logical 0, the output voltage on pin 233 must be pulled toward ground potential which causes additional current to flow through resistor 288 and, therefore, in the power supply loop. Since the remote device supply voltages VRD
The host device 201 includes digital sensor data recovery circuitry. In this regard, the host device 201 includes a comparator 264 and decoder 265. Comparator 264 compares the voltage VOUT present at its first input 261 (which is coupled to the output 243 of operational amplifier 245) to a reference voltage VREF
In step 304, host device 201 enforces a substantially constant voltage source at the remote device 203.
Remote sensor device 203 responds to the host device 201 with its identification in step 306. To accomplish this, the processor 230 retrieves its identification information and/or calibration data from a memory (not shown) and converts it to a serial digital bit stream SENSOR_DATA on serial output pin 233, where it is current-modulated with the power signal.
Host device 201 verifies the identification information in step 308.
Assuming the identification is valid, host device 201 instructs remote sensor device 203 to take a measurement in step 310 by generating digital host data HOST_DATA 283 containing an appropriate instruction for the sensor device processor 230, and voltage-modulating it with the power signal over lines 202a and 202b.
Host device 201 then enforces a substantially constant voltage source at the remote device 203 by disabling its transmit circuitry in step 312. Remote sensor device 203 then takes an analog measurement in step 314 and modulates the loop current in step 316. The current-modulated measurement is demodulated from the power signal present on the wire pair 202 in step 318 by host device 201.
Although this preferred embodiment of the present invention has been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims. It is also possible that other benefits or uses of the currently disclosed invention will become apparent over time.