METHOD AND APPARATUS FOR TRANSMISSION OF DATA OVER POWER LINES

Abstract: Apparatus for coupling signals between a network of low but unknown impedance and a transceiver comprises a series resonant circuit (31, 32) terminated with a high impedance and a parallel resonant circuit (36, 37) terminated with a low value resistor (38). A power amplifier (39) is provided for transmitting and switching means (34) to switch between the two circuits. The signal is monitored to produce an appropriate signal level for coupling to the network. A particular use of this apparatus is in electricity supply to read meters. Polling messages are transmitted from a substation to a plurality of meters with the phase of the data bit timing maintained between transmitters and in the response from the meters. Transmission of the signals with high immunity to noise and narrow bandwidth is achieved by complex phase modulation of the carrier. A binary phase shift keyed signal produces signals with a bandwidth less than the frequencies allocated to metering applications and interference between signals can be avoided by frequency division multiplexing.

Description: METHOD AND APPARATUS FOR TRANSMISSION OF DATA OVER POWER LINES This invention relates to the transmission of digital signals by phase modulation of a carrier signal, the reception and demodulation of such phase modulated signals and the means by which such signals may be coupled to and from an electrical power distribution n twork. In the field of electricity metering an economical and reliable means of signalling between a consumer's meter and the electricity supply industry's local distribution transformer would be of considerable benefit to the industry. Consumer meters would be read electronically and the meters would be monitored for reverse current, damage or interference. It would also be possible to control loads for individual consumers and to electronically collect half hourly meter readings. However, the electrical power distribution network poses many difficulties to a practical signalling system. The signal levels that may be impressed upon the supply network will be subject to regulatory limits and economic limits because of cost and power consumption. The signal loss through the network is considerable and varies with the load on the network. Signals received from the network are contaminated with both broadband and narrowband noise and with Incidental amplitude modulation induced by time varying impedances on the network. The coupling of signals to the network is complicated by the extreme variability of the network impedance from point to point and as a function of frequency and time. Additionally, there are many attendant systems problems that must be addressed by a practical transceiver system. Since there is often Ettie isolation at arrier frequencies between the phases of a low voltage distribution network, the transceiver at a distribution transformer is effectively connected to ail the meters fed from that transformer on a single multidrop line. It is, therefore, necessary to coordinate the transmissions from the substation and the meters. This is most conveniently effected by polling the meters from the substation. However, it is common for sections of the low voltage distributio network to be connected to a plurality of substations. It is, therefore, necessary that there should be no mutual interference between the polling operations of interconnected substations. If the meter In a consumer's premises should fail in such a manner that it transmits continuously onto the network, this must not prevent the substation from communicating with the other meters and there must be some means of identifying which consumer's meter is faulty. If the signal loss between a substation and a meter is ac any time too high to permit reliable direct communications between the substation and the meter, some means must be provided for the required communications to take place. This is most conveniently effected by transmitting the message to a meter and having this meter forward the message to another meter and in a like manner returning any reply from the destination meter. This process of onward linking can In principle be extended to any finite number of meters. The low voltage distribution network is itself subject to changes of topology, for example the distribution transformer feeding a particular section of the network may be changed for maintenance purposes, the signalling system must provide some means of coping with such changes. It is weB known that transmission of antipodal signals and demodulation of such signals with a coherent receiver provides the greatest possible immunity to gausslan noise. According to this technique the received signal is multiplied by one of Che possible transmitted signals in each bit interval and the resultant signal is integrated ver the bit interval to provide an estimate as to the bit that was transmitted. Since the possible transmitted signals and the bit timing are not otherwise available at the receiver it is necessary to reconstruct an estimate of these. signals from the received signal itself. Complex phase modulated signals have long been recognized as a very efficient means of modulating a carrier, providing both high levels of immunity to noise and extremely narrow bandwidths. Complex phase modulated signals have commonly SUBSTITUTE SHEET been produced by so called I and Q modulators in which the complex modulation is produced ftS ft pair of baseband modulations which are then appfed to a pair of modulators one of which Is fed with the desired carrier signal and the other of which Is fed with a carrier at the same frequency but in phase quadrature to the other carrier. 5 For complex modulations the I and Q baseband signals are commonly produced by means of lookup tables and digital to analog converters. The "desired complex phase modulation is in practice approximated by a plecewlse constant phase modulation. The present invention provides a number of advantages over the 10 conventional means of producing complex phase modulated signals. The complex modulation is applied oVecdy to a digital representation of the phase of a high frequency carrier thus eliminating the baseband modulations entirely and the complex phase modulation can be approximated by a piece wise linear phase modulation thus increasing the accuracy of the approximation by matching the first derivative of the I S desired signal in each sample interval. In addition the system n be extended to approximate higher order derivatives of the desired signal. The arrangement used for generating these complex phase modulated signals can equally well be used for demodulating such signals. This can provide a very economical realisation of a half duplex modem. 0 The phase space processor provides a means of integrating all the modem functions in one uniform architecture. This provides a means of producing BPSK and other more general forms of phase modulation with frequency agility. Frequency agility together with narrowband signalling provide a means of overcoming the aforementioned systems problems. The use of a multiplying DAC to multiply the 5 received signal with a sampled data representation of a local oscillator provides high mixing performance and allows all the transceiver signal processing functions to be integrated on a single chip in a highly cost effective manner. The phase space processor is also used as a phase lock loop for carrier and bit timing recovery providing a high performance and cost effective solution to 0 these problems. The overall transmission of information to and from a particular substation Is handled in an isochronous manner. This ensures that no time need be wasted to re-establish bit synchronization on line turn around. The signals are coupled to the power distribution network through a doubly terminated forth order filter network. This ensures that power can be 35 efficiently coupled to a low impedance power distribution network over the frequency range of 40KHz to 90KHz without requiring an υnrealistically large SOHz blocking capacitor to achieve the requisite wide band coupling network. This provides a low impedance drive to the power distribution network. If all the meters on a power attribution network were to present such a low impedance at al times the result 0 would be a greatly increased attenuation of signals at frequencies in the passband of the coupling network. The present coupling network overcomes this difficulty by using a relay to switch out of circuit the parallel resonant circuit and the terminating Impedance when the transceiver is acting as a receiver. This switches the coupling network into a 45 high impedance broadband coupling network. The voltage that may be impressed upon a power distribution network Is likely to be constrained by regulation. Nonetheless, it may be desirable to transmit ac the specified limit irrespective of the impedance of the power distribution network. If the power distribution network were driven with a very low output Impedance then SO the voltage delivered to the network would be subsuntially independent of the impedance of the network. For reasons that have be mentioned previously, it is not economically feasible to arrange for the coupling network to have a negligible impedance and the output impedance of the driver must therefore be lowered by means of negative feedback from the power distribution network. 55 This can obviously be achieved by means of a separate coupling network which is used to feed back the level of the signal on the power distribution network to the driver stage. This has the disadvantage that a separate coupling network is SUBSTITUTE SHEET required. The presenc invention obviates the need for a separate coupling network by measuring the magnitude and phase of the input impedance of the coupling network when it Is terminated with the impedance of the power distribution network. From this Impedance it Is possible to derive the impedance of the power distribution network Itself and hence to predict the level of drive signal required to achieve a given ampKtude of signal on the power distribution network. Binary Phase Shift Keying (BPSK) provides a practical means of generating antipodal signals. A BPSK transmission at 50 to 100 baud produces a signal with a bandwidth much less than the frequencies allocated to ESI metering applications in EN50065. This suggests a particularly convenient means of addressing the systems problems mentioned above. The allotted frequency spectrum can be divided into a number (for example 10 to 20) of separate frequency channels, and Interference between connected substations can be avoided by frequency division multiplexing. In a similar manner, if a meter should fail in such a manner chat It transmits on a channel and therefore disrupts communications on that channel, communications between the substation and the other meters can be re-established on an alternative channel. The Information carrying capacity of the power distribution network, using the sJgnaly means descrfced above, can be Increased by operating a plurality of transmitters on the same network simultaneously at different frequencies. The phase space processor provides a particularly convenient means of generating a more general class of phase shift keyed signals than BPSK. This class of phase shift keyed signal, which may be termed Softened Phase Shift Keyed SPSK signals, provide a means of reducing the size of the sidebands of a BPSK signal. The reduction Is effected by softening the phase transitions in the signal such that the signal phase slews by 180* over a period of time rather than jumping instantaneously. If the period during which the phase Is slewed is small in relation to the bit period, the loss ki performance of the data link with a coherent receiver is small. Coordination of the bit timing of polling messages In a system where the group delay from the master polling station to the remote stations is small in comparison to the bit interval of the transmitted messages s advantageous in that it avoids a complete re -synchronisation of the bit timing on each message which allows the bit timing to be averaged over a number of received messages thus improving the accuracy of bit timing at the receiver. The transmitter does not require any mechanism for acquiring the bit timing of received messages and the line turn around delay can be reduced in high noise environments since no time is netd-i-i for bit synchronisation. The remote stations derive their bit timing from the bit timing of the master station and a transmissions from the remote stations are sent with the bit timing of their transmission In synchronism with the bit timing derived from the received message from the master. Since the group delay from the master to the remote Is a smal fraction of &Λ bit interval, the master can approximate the bit timing of the received Signal from each remote by the bit timing of Its own transmitted signal. The accuracy of this approximation obviously de ends on the r tio of the group delay from master to remote to the bit interval. In operation on the low voltage distribution network, a typical bit interval of lOmS would compare with a round trip group delay of about tOuS so that the error In bit timing would be insignificant. On the power distribution network it is common for sections of the network to be fed by a plurality of distribution transformers to maintain the supply Should the supply from an individual transformer be Interrupted for any reason. These interconnected networks can extend over considerable disunces thus making it Impractical to operate a polled data collection system from a single point on the interconnected network. In these circumsunces it is desirable to operate a plurality of dau collections systems for example a separate system ; for each distribution transformer or for each individual feed line from a distribution transformer. The Individual data collection systems must not Interfere with each other so that some means must be devised for separating the signals from one system from those of each of the other systems in the immediate vicinity. A particularly convenient way of SUBSTITUTE SHEET separating the signals from each of the dau collection systems is by means of frequency division multiplexing. One advantage of this method of operation is that the effective dau rate for a given method of transmission can be increased because the frequency multiplexed signals do not interfere with one another. The limitation to the increase In the effective dau rate In this manner is sec by the limits to the frequency spectrum available for the transmission. The invention will now be described, by way of example only, by reference to the accompanying drawing, of which: Figure I Is a block diagram of a phase modulator in accordance with the present invention. Figure 2 is a block diagram of a phase space processor in accordance with the present invention. Figure 3 Is a block diagram of a mains transceiver In accordance with the present invention. Figure 4 is a block diagram of a simplified phase space processor for half duplex operation. Figure 5 is a block diagram of a phase space processor (FSP) in accordance with the present invention. Figure 6 Is a block diagram of a half duplex transceiver in accordance with the present Invention. Figure 7 is a block diagram of a master station in accordance with the present invention. Figure 8 is a block diagram of a remote station in accordance with the present invention. Figure 9 is a schematic drawing of an interconnected electricity distribution network in which four separate substations labelled A, B, C, D each with a separate distribution transformer labelled 91 , 92, 93, 94 feed eight electricity meters labelled K, L, M, N. P. Q, , S. The phase modulator depleted In Figure I operates in the following manner. The phase accumulator I is used to calculate the phase of the modulated signal at discrete intervals of time as set by the modulator dock 2. This discrete time phase Information is translated into an insununeous estimate of the desired signal 3 by means of a sine lookup uble 4 and a Digiul to Analog Converter (DAC) 5. This generates a sampled dau representation of the modulated signal to an accuracy essentially determined by the performance of the DAC 5. The phase accumulator I advances in phase on each cycle of the modulator clock 2. On each cycle of the modulator clock 2 the conunts of the phase accumulator I are added to the contents of one of the frequency registers within the frequency register bank 6 by the adder 7 and the result Is returned to the phase accumulator I . The multiplexer 8 selects one of the registers in the frequency register bank 6 under the control of the modulation logic . The dau input 10 to the modulator Is clocked into the modulator by transitions on the dau clock input 1 1. In the absence of transitions on the dau dock Input I I the modulation logic 9 selects the transmit frequency register 12 from the frequency register bank 6 by means of the multiplexer 8 and the phase accumulator I is incremented by the contents of the transmit frequency register 12 on each cycle of the modulator clock 2. This causes the phase accumulator I to advance in phase at a consunt rate which means that the output 3 is a sine wave at a frequency set by the transmit frequency register 12. The sute of the dau line 10 is sampled on each positive transition of the dau clock input 1 1. If the sampled value is a zero, the modulation logic 9 takes no action. If, however, the sampled value is a one, the modulation logic 9 selects the phase slew register 13 as the source for the adder 7 for a number of cycles of the modulator clock 2 and then selects the residual phase register as the source for the adder 7 for one cycle of the modulator clock 2. The difference between the contents SUBSTITUTE SHEET of the hase slew register 13 and the transmit frequency register 12 times the number of cycles of the modulator clock 2 for which this regiscer Is selected plus the difference between the residual phase register 14 and the transmit frequency register 12 is arranged to be exactly half of the cycle length of t e' phase accumulator I. This tnsυrts the phase of the register shifts by exactly 180°. The transmit frequency register 12, the phase slew register 13 and the residual phase register 14 can be loaded from the CPU control signals 16 by means of the CPU interface logic 15. In addition, the CPU can load a register in the modulation logic 9 which controls the number of cycles for which the phase slew register 13 is selected. This allows the transmitter frequency and form of modulation to be changed under the control of an external processor. In the pnferr-td embodiment of the invention the modulator is subsumed In the phase space processor described below. In this embodiment it is possible to have a plurality of phase slew registers in place of the single phase slew register described above. The plurality of phase slew registers allow any phase modulation function consisting of piecewise linear phase slews to be synthesized subject only to the number of phase slew registers, together with their associated count registers, and the frequency of the modulator clock. If the phase slew register 13 is not used and the 180° phase shift is effected in a single cycle with the residual phase register 14, the modulator produces a pure Binary Phase Shift Keyed (BPSK) signal. Pure BPSK modulation may of course be produced by inverting the most significant bit of the phase accumulator I whenever the dau input 10 is a one before it is used as an address to the sine lookup table 4 which H the common technique for producing such modulation. The phase space processor depicted in Figure 2 incorporates all the elements of the phase modulator shown in Figure I apart from the DAC 3. The sampled dau represenution of the modulated signal is available form the TX latch 17. In addition the phase space processor generates a sampled dau represenution of the receiver local oscillator frequency which is available from the RX latch 18 and a sampled dau represenution of a signal in quadrature with the receiver local oscillator which is available from the QX latch 19. The phase space processor also generates a multiple of the bit frequency which is available from the timer latch 20. AH generated signals are derived from the master clock input 21. On each cycle of the master clock input 21 the contents of two of the registers in the register bank 22 are selected by the control logic 23 by means of the A multiplexer 24 and the B multiplexer 25 and applied to the inputs of an adder 26. The output of the adder 26 is loaded into one of the registers in the register bank 22 under the control of the control logic 23 and the most significant bits of the sum are also loaded into the pipeline latch 27. The output of the pipeline latch 27 forms the address of the sine lookup uble 28. The output of the sine lookup uble 28 is connected to the Inputs of the TX latch 17, the RX latch 18 and the QX latch 19. The most significant bit of the pipeline latch 27 is connected to the input of the timer latch 20. The control logic 23 clocks each of the TX latch 17, the RX latch 18, the) QX latch 19 and the timer latch 20 in turn on successive cycles of the master clock 21. The means by which the TX latch 17 is updated have been discussed previously. The modulator clock input 2 being clocked at a quarter of the rate of the master clock input 21 to allow the adder 7 and sine lookup uble 4 to be time shared for generating other signals. The RX latch 18 is updated by means of two registers in the register bank 22, the receiver phase register and the receiver frequency register. On every forth cycle of the master clock 21 the contents of the receiver phase register and the receiver frequency register are added together and the result is returned to the receiver phase register at the same time the most significant bits of the result are loaded into the pipeline latch 27. On the next cycle of the master clock 21 the output of the sine lookup uble 28 which reflects the sine of the phase contained within the SUBSTITUTE SHEET receiver phase register on the previous cycle of the master dock 1 is loaded into the RX latch 18. The QX latch 19 is updated by means of two registers In the register bank 22. the receiver phase register and the quadrature phase shift register The 5 quadrature phase shift register conulns a one In Its second most significant bic v and a zero m al other bits. On every forth cycle of the master clock 21 the contents of the receiver phase register and the quadrature phase shift register are added together by the adder 26 and the most significant biu of the result are loaded into the pipeline latch 27. On the next cycle of the master clock 1 the output of the sine lookup 10 uble 28 which reflects the cosine of the phase conuined within the receiver phase register on the previous cycle of the master dock 21 is loaded into the QX latch 19. The timer latch 20 is updated by means of two registers in the register bank 22, the timer phase register and the timer frequency register. On every forth cycle of the master clock 21 the contents of the timer phase register and the timer I S frequency register are added together and the result is returned to the timer phase register at the same time the most significant bits of the result are loaded Into the pipeline latch 27. On the next cycle of the master clock 21 the most significant bit of the pipeline latch 27 is loaded into the timer latch 20. Al of the registers in the register bank 22 can be loaded from the CPU 0 Interface 29. In normal use the transmit frequency register is sec to generate the required transmission frequency. The phase slew and residual phase registers are set to produce the desired form of modulation. The transmitter phase accumulator Is then controlled by the phase space processor as described above. The receiver frequency register is set to the nominal receiver frequency 5 and the quadrature phase shift register is set as specified above. The receiver phase register Is then controlled by the phase space processor as described above. An external CPU then phase locks the receiver phase register to the received carrier signal In a manner deuiled below by periodically adjusting the receiver frequency reglsur. ' 0 The timer frequency register is set to a multiple of the received bit frequency and the timer phase register is controlled by the phase space processor a described above. An external CPU then phase locks the timer phase register to a multiple of the received bit frequency in a manner deuiled below by periodkalty adjusting the timer phase register and the timer frequency register. 5 The mains transceiver depicted in Figure 3 Is based on a phase space processor 30 as described above. The mains transceiver is coupled to the electrical power distribution network by means of the 50Hz blocking capacitor 31. The series inductor 32 forms a series tuned circuit In conjunction with the 50H∑ blocking capadtor 31. The mains signalling transformer 33 provides galvanic isolation of the 0 mains transceiver circuitry from the power distribution network. In the preferred embodiment of the present invention the inductor 32 is formed by the leakage Inductance of the mains signalling transformer 33. When the transceiver is used as a receiver the transmit relay 34 is opened. In this condition the 50Hz blocking capacitor 31 and the series inductor 32 5 form a wide band high impedance input to signals on the power distribution network In conjunction with the high input impedance of the input multiplexer 35. When the transceiver is used as a transmitter the transmit relay is closed. The parallel inductor 36 and the parallel capacitor 37 form a douNy terminated forth order bandpass filter In conjunction with the 50Hz blocking capacitor 1 and the 0 series Inductor 3ϊ. This filter n terminated by the impedance of the power distribution network on one side and by the matching resistor 38 on the other. Signals to be transmitted to the power distribution network are amplified by the TX amplifier 39 and are coupled to the power distribution network by the above described bandpass filur network. The output Impedance of this driver 5 network Is thus relatively low and consunt over the band of frequencies of Interest. The processor 40 instructs the phase space processor 30 to generate a phase modulated signal as has been described previously. It also provides the phase SUBSTITUTE SHEET space processor 30 with the requite dau and dau ock signals. The output of the phase space processor's 30 transmit latch 17 is fed to the dau input of the TX DAC 41. The output of this TX DAC 41 is sampled by the sample and hold circuit 42 to remove spurious frequencies from the synthesized signal. The Output of the sample and hold circuit 42 is fed to the TX amplifier 39. The processor 40 controls the reference level of the TX DAC 41 by means of the transmit level DAC 43. The processor 40 thus controls the level of the synthesized signal chat is fed to the TX amplifier 39. When the transceiver is acting as a receiver, signals on the power distribution network are coupled to the input multiplexer 35 as described above. The Input multiplexer 35 feeds the received signal to the RF amplifier 44 which feeds the reference input of the RF gain DAC 45. The output of the RF gain DAC 45 is fed to the amplifier and peak lipper 46. The output of this amplifier and peak clipper 46 is f d to the RX DAC 47. the QX DAC 48 and the envelope detector 49. The output from the envelope detector 49 is fed to the Analog to Digiul Converter (ADC) 50 via the ADC multiplexer S I . The processor 40 is able to control the gain between the receiver input to the input multiplexer 35 and the envelope detector 49 by means of the RF gain DAC 45. The processor 40 measures the output of the envelope detector 49 by means of the ADC 50 and adjusts the digiul input to the RF gain DAC 45 until the output of the envelope detector 49 is within predefined limits. These limits are sec to ensure that the amplifier and peak clipper 46 only dips high amplitude transients received from the power distribution network. Subject to this limit It Is advantageous for the front end gain of the receiver to be as high as possible since the RX DAC 47 and the QX DAC 48 can accept inputs over the full power supply voiuge range and a high front end gain reduces the effects of noise in the latter suges of the receiver. The RX DAC 47 reference input is fed with an amplified version of the signal received from the power distribution network, the phase space processor 30 feeds a sampled dau represenution of a local oscillator signal to the dau Input of the RX DAC 47. The output of the RX DAC 47 is thus the product of the received signal with che local oscillator signal. In a similar manner the output of the QX DAC 48 Is the product of che received signal with a 90° phase shifted version of the local oscillator signal. The output of the RX DAC 47 is passed through che RX low pass filter 58 which removes the high frequency components of the RX DAC 47 output. Since an amplified version of the RX low pass filter 58 output Is sampled by the ADC 50 prior to digiul signal processing by the processor 40, the bandwidth of the RX low pass filter 58 is determined by the need for it to form an anti-aliasing filter for the ADC 50. The bandwidth must therefore be less than half of che ADC's 50 sampling rau. The QX low pass filter 52 acts in an identical manner on the output of the QX DAC 48. The output of the RX low pass filter 58 is fed to che reference Input of the RX gain DAC 53. The output of the RX gain DAC 53 is amplified by the RX amplifier 54 before feeding the ADC 50 via the ADC multiplexer 51. The processor 40 controls the digital input to the RX gain DAC 53. In this manner the processor is able to control the gain between the output of the RX low pass filter 58 and the ADC 50. The output of the QX low pass filter 52 Is fed to the QX gain DAC 55 and thence to the QX amplifier 56 and the processor 40 uses these components to control the gain between the output of the QX DAC 48 and the ADC 50 In exactly the same manner. The digiul inputs to che RX.galn DAC 53 and che QX gain DAC 56 are driven in parallel and thus the gain between the RX low pass filter 58 and the ADC 50 Is always equal to the gain between che QX low pass filter 52 and the ADC 50. The processor 40 sets the gain between RX low pass filter 58 and the ADC 50 such that the outputs of the RX amplifier 54 and of the QX amplifier 56 are not driven into saturation. SUBSTITUTE SHEET The output of the phase space processor's 30 timer l tch 20 is fed to the timer frequency divider 57. The output of the timer frequency divider 57 which Is at a multiple of the bit rate is fed to the processor 40 which uses this signal to schedule the sampling of the ADC 50. The operation of the receiver can best be understood by first assuming that the receiver local oscillator is exactly in phase with one of the phases of a BPSK signal and that the output of the timer frequency divider 57 is exactly in phase with the bit period of che received signal. In each bit interval the analog input to the RX DAC 47 is either in phase with the digiul local oscillator signal or exactly 180* out of phase with ic. The output of the RX DAC 47 is filtered by the RX low pass filter 53 to remove high frequency components and sampled by the ADC 50. The processor 40 samples the output of the RX amplifier 54 many times in each bit period by selecting the output of the RX amplifier 54 with the ADC multiplexer 51 and Initiating a conversion cycle of the ADC 50. These sampled values are then summed for each bit period to provide an estimate of the bit transmitted during that interval. For hard decision decoding the bit is estimated from the sign of the sum. For forward error correction with soft decision decoding the sums are mapped Into a set of symbol metrics in the normal manner. Thus the system functions as a nearly ideal coherent receiver. The means of achieving carrier synchronization will now be described. The processor 40 samples the outputs of the RX amplifier 54 and the QX amplifier 56 nearly simultaneously many times in each bit period by selecting the outputs of the RX amplifier 54 and the QX amplifier 56 with the ADC multiplexer 51 and initiating a conversion cycle of the ADC 50. The sampled value of the QX amplifier 56 is divided by the sampled value of the RX amplifier 54 and the quotient is then added to a running total of quotients and a linear combination of the insununeous and running tout of the quotients are added to the receiver frequency register of the phase space processor 30. By appropriately choosing the multipliers in the linear combination of summed and Insununeous values, it is possible to accurately approximate the behaviour of a second order phase locked loop of chosen bandwidth and damping factor. Thus the digiul local oscillator signal is synchronized with the received signal. Once che local oscillator has been phase locked to the received signal bit synchronization is acquired by examining the sampled values of the RX amplifier 54 and estimating the phase of any bit transitions. The timer is then phase locked to the bit transitions by adjusting the timer frequency register and the timer phase register in the phase space processor 30. Snce the processor 40 controls all the gains in the receiver and since It can measure the phase and quadrature components of any input signal, It Is able to compute the magnitude and phase of a received signal. This facility is used during transmission to measure the input impedance of the mains coupling network when it is terminated by the power distribution network. The processor 40 first selects the output of the TX amplifier 39 with the input multiplexer 35. It then measures the magnitude and phase of output of the TX amplifier as described above. It then selects the signal from the junction of the terminating resistor 38 and the parallel capacitor 37 and again measures the phase and magnitude of the received signal. If the value of the terminating resistor 38 is known, the processor can calculate the impedance presented by the coupling network. the component values of the coupling network are known, the impedance of the power distribution network and therefore the voiuge gain between the output of the TX amplifier 39 and the power distribution network can be calculated. The processor 40 is thus able to malnuin the level of the signal on che power distribution network approximately constant over a wide range of impedance of the power distribution network. Where the transceiver is operated in half duplex and a BPSK transmission is used. It Is possible to simplify the phase space processor. Figure 4 deplcu such a simplified phase space processor. SUBSTITUTE SHEET Since It is not necessary to synthesize a modulated signal simultaneously with a local oscillator a single phase register 68 can serve to synthesize both signals. As before the desired frequency is entered into the frequency register 59 by means of che CPU interface 60. On each cycle of the phase clock 61 , the contents of the" phase register 68 is added to the frequency register 59 by means of the adder 62 and che result returned to the phase register 68. The two most significant bits of the phase register 68 are added to che quadrature Input 62 with a weighting equal to the lease significant of the two bits and to the TX dau input 63 with a weighting equal to the most Significant of the two bits by means of the two bit adder 64. The output of the two bit adder 64 is used as the most significant bits of the address to the sine lookup uble 65. The remaining iddrtss bits of the ine lookup uble 65 are the most significant bits of the phase register 68 excluding the two most significant bits of the register. The output of the sine lookup uble 65 forms the input to the TX/RX register 66 and the QX register 67. In operation, the frequency register 59 is loaded with a value appropriate to che desired carrier frequency. On each cycle of che phase clock 61 the output of the sine lookup uble 65 when the quadrature Input 62 is low Is docked into the TX/RX register 66 and the output of the sine lookup uble 65 when the quadrature k put 62 is high is clocked Into the QX register 67. In this manner both the phase and quadrature signals are derive from the phase register 68. Whilst operating as a transmitter the frequency register 59 is loaded with a value appropriate to the desired transmitter carrier frequency and the TX dau input 63 shifts the phase of the input to the sine lookup uble 65 by 180° to produce BPSK signalling. The output of the TX/RX register 66 is fed to che TX DAC 41 and che RX DAC 47 and the output of the QX register 67 is fed to the QX DAC 48. In this manner not only are che necessary BPSK signals generated by the phase and magnitude of the signals at the input to che input multiplexer 35 can be measured. Whilst operating as a receiver the frequency register 59 is loaded with a value appropriate to the desired receiver frequency. The TX dau line 63 is mainuined In a consunt sute and the output of the TX/RX register 66 is fed to the RX DAC 47 and the output of the QX register 67 is fed to che QX DAC 48. The frequency register 59 is adjusted to phase lock the phase register 68 to the received carrier frequency as has been discussed previously. The adder 62 can of course be used to maintain a bit timer as previously described. As a further refinement the TX DAC 41 and the RX DAC 47 can be combined by the addition of extra multiplexer circuits. In this embodiment the phase and quadrature components of the receiver input are measured sequentially by first updating the QX register 67 in phase with the TX/RX register 66 to measure the in phase component and the updating the QX register 67 in quadrature with the TX RX register 66 to measure the quadrature component. The transmit relay 34 can be replaced by electronic means of switching and a simulated resonant circuit used in. place of the parallel resonant circuit formed by the Inductor 36 and capacitor 37. These components along with the TX amplifier 39 can then be integrated into a single cuscom integrated drcult. Similarly the implemenution of the carrier and bit timing phase locked loops and the modulation and demodulation functions can be achieved in a single custom integrated drcult. One of the most important applications of coupling of signals to an electrical power distribution network is in electricity supply metering. The transmission of information to and from a particular sυbsution is handled in an isochronous manner and operates as follows. The equipment in the substations will establish the bit timing of all the meters with which it is in communication. The meter will acquire the bit timing of the transmissions from the subsution. The bit timing of transmissions from the substation will be preserved from one transmission to the next. Thus the meter will not need to re-esublish bit timing for each message from the subsution but will be able to rely on the timing information established for earlier transmissions. SUBSTITUTE SHEET The meter will reply to the subsution with its bit timing synchronized co che bit timing derived from the transmissions from the subsution. Since the group delay from the subsution to the meter and back Is much less than the bit period, che subsution can use the bit timing of its own transmission as an accurate estimate of che bit timing of the transmission from the meter. In this manner the bit timing of all transmissions will occur at v-try nearly che same instant of time relative to the bit period of the subsution; hence the term "isochronous" transmission. This form of transmission ensures that no time need be wasted co re-esublish bit timing on line turn around. It also allows the bit timing of messages to be averaged over a long period of time since It is not necessary to acquire bit timing for each message. This requires that the receiver is able to mainuln its estimate of the bit timing from one message to the next. In the pmferrtd embodiment the maintenance of bit timing is one of the functions of the phase space processor. A master station depicted in Figure 7 operates in the following manner; The master sution maintains its bit timing by means of a crysul controlled osdllator 71 which is divided down to the desired bit rate by che bit timing divider 72. The master need never adjust its bit timing in response to received messages since they are always in synchronism with its transmit bit timing. The master never alters the phase of the bit timing divider 72 and always ensures that its transmissions are sent in synchronism with this bit timing divider 72 by clocking the transmitter circuit 73 with the output of the bit timing divider 72. The master sution receives messages with the receiver 74 bit timing derived from the output of the bit timing divider 72. A remote sution depicted in Figure 8 operates in the following manner: The receiver 75 demodulates the received signal and passes che recovered signal to the bit phase estimator 76. The bit phase estimator 76 forms an insununeous estimate of the bit phase of che received signal which it passes to the bit phase locked loop 77. The bit phase locked loop 77 acquires phase lock with che bit timing of the received signal. Once bit phase lock has been achieved the bandwidth of che bit phase locked loop 77 can be reduced since the phase of the bit timing of every received message is identical. The bit phase locked loop 77 provides -a bit clock for dau extraction by the receiver 75 and a clock for the bit timing of the transmitter 78. The receiver 75 Informs the bit phase locked loop 77 when a carrier is received. In the absence of a received carrier the bit phase locked loop 77 malnuins its frequency. The system operates as follows: initially the bit phase locked loop 77 operates with a relatively wide bandwidth to speed up the acquisition of the bit timing from the received signal. Once the bit phase locked loop 77 has locked onto the bit timing of the received signal its loop bandwidth is reduced to increase the accuracy of bit tracking. For each subsequent message that is received the bit timing of the receiver Is already very accurately matched to the bit timing of the received signal since the bit timing of all transmitted signals is mainuined by the master polling sution. In the absence of a received signal the frequency of the bit phase locked loop 77 is mainuined. The length of time that the receiver can mainuln approximate phase lock with the master transmitter in the absence of received signals depends upon the sublllty of the bit timing of the master transmitter, the accuracy of frequency acquisition by the bit phase locked loop 77 and the stability of the bit phase locked loop In the absence of a received signal. If digiul techniques are used as described for example In British Patent Specification 91021 9.8, bit phase lock can be mainuined for periods in excess of an hour in the absence of received signals. The system can be advanugeously combined with dau directed methods of carrier phase extraction since the bit phase is available at the surt of carrier acquisition.. When the remote sution transmits to the master polling sution the transmitter 78 is clocked by the bit phase locked loop 78. Since the bit phase locked loop 78 is automatically locked to the received signal and hence to the master polling SUBSTITUTE SHEET sution bit timing divider 72, the bit timing of the remote sution transmitter 78 is automatically in phase wlch the master polling station receiver 74. As illustrated In Figure 9, the plurality of dau collection systems operate in the following manner; a dau collection system at each of the four subsutions polls the adjacent meters on a separate frequency and the adjacent meters receive on that same frequency. Thus messages originating form substation A are received by meters v K A I but are ignored by all other meters. In the event of a failure of the dau collection system at any of the subsutions, the meters adjacent to that subsution can detect the loss of transmission from the substation and log on to the next nearesc subsution. Thus if substation A were to fail, meter I could log on to subsution B and meter K could log on to subsution D. This provides a degree of redundancy in the operation of the dau collection system. Since all four data collection systems operate independently the effective dau rate on the network Is four times that of an individual dau collection system. In practice the interconnections between subsutions are complicated and change from time to time so that some method is needed to ensure that individual meters choose the most suitable dau collection system. This choice can readily by made by the meter on the basis of the received signal strength from each of the available subsutions. The substation with the highest signal strength is likely to offer the lowest error rate for dau transmission and can safely by chosen by the meter. The phase space processor depicted in Figure 5 operates in the following manner to produce a complex phase modulated signal. An external digital signal processor (DSP) loads the transmit frequency A register 71, the transmit frequency B register 72, the bit frequency A register 73, the bit frequency B register 74 and the mode register 75. The control sequencer 76 alternately adds one of the transmit frequency A register 71 or the transmit frequency B register 72 to the transmit phase register 77 and one of the bit frequency A register 73 or the bit frequency B register 74 to the bit phase register 78 by means of the adder 79, the A multiplexor 710 and the B multiplexor 711. The control sequencer 76 selects between adding the bit frequency A register 73 and the bit frequency B register 74 to the bit phase register 78 according to two bits in the mode register 75. One of these bits selects the normal source register and the other bit, if set, selects the other source register for a single addition cycle. This allows the bit phase register 78 to execute phase jumps. If a constant is added to the bit phase register 78 in each processing cycle the bit phase advances at a constant rate in each cycle thus providing a constant bit frequency. The most significant bit of the bit phase register 78 is used to clock the variable divider 712. The variable divider 712 division ratio is set by the mode register 75. The variable divider 712 is used to increase the resolution of the bit frequency generator since the carrier frequency is typically much higher than the bit frequency. The control sequencer 76 selects between adding the transmit frequency A register 71 and the transmit frequency B register 72 to the transmit phase register 77 according to two bits in the mode register 75 and the output of the selection bistable 713. One bit is exclusive ored with the selection bistable 713 and the result is used to select the source register, the second bit, if set, inverts the source register for a single addition cycle. This allows the transmit phase register 77 to execute phase jumps. After each addition cycle to the transmit phase register 77, the most significant bits of the transmit phase register 77 are fed to the sine lookup table 714. The sine lookup table 714 provides a digital representation of the cosine of the phase of the transmit phase register 77 which is loaded into the I latch 715 and minus the sine of the phase which is loaded into the Q latch 716 under the control of the control sequencer 76. The PSP generates complex continuous phase modulations in the following manner : The mode register 75 sets up a suitable division ratio for the variable divider 712, selects the bit frequency A register 73 for addition to the bit phase register 78 and enables the selection bistable 713 to change state each time the variable divider 712 overflows. The bit frequency A register 73 is loaded with a number such that the variable divider 712 overflows at a multiple of the desired bit rate. Each time the variable divider 712 overflows the selection bistable 713 changes state and the DSP is triggered to update the contents of either the transmit frequency A register 71 or the transmit frequency B register 72, whichever is currently not being added to the transmit phase register 77. Each time the selection bistable 713 changes state the transmit frequency A register 71 and the transmit frequency B register 72 change roles, one is added to the transmit phase register 77 on each processing cycle and the other is loaded with new data from the DSP. If the DSP loads the new transmit frequency data before the variable divider 712 next overflows, the PSP updates the transmit phase register 77 at a succession of constant rates, thus providing a piecewise linear phase modulation of the transmit phase register 77. The sine lookup table 714 converts the phase of the transmit phase register 77 to a digital representation of two sine waves in phase quadrature which are loaded into the I latch 715 and the Q latch 716. It should be noted that the PSP derives both bit and carrier timing from the same master clock frequency and that there is no requirement that the bit and carrier frequency should bear any relationship to the master clock frequency except that their ratio should be a rational number capable of being represented by the word length of the transmit phase register 77 and the bit phase register 78. The PSP can be extended to approximate higher order derivatives by using the present transmit phase register 77 as the frequency input to an additional phase register and using this as the frequency input to an additional phase register and so on. The PSP can also be used to generate a ' digital representation of a local oscillator with quadrature outputs for partially coherent demodulation of phase modulated signals. The PSP operates as receiver by phase locking the transmit phase register 77 and the bit phase register 78 to the incoming signal. The phase of these registers can either be controlled by modulating the corresponding frequency register or by bumping the phase of the oscillators in the manner that has previously been described. The phase transceiver depicted in Figure 6 operates in the following manner. In transmit mode the DSP 717 drives the PSP 718 as described above. The output of the I latch 715 is fed to the I DAC 719 and the output of the Q latch 716 is fed to the Q DAC 720 which are multiplying digital to analog converters (DACs) . The DSP 717 selects a reference voltage as an input to the I DAC 719 by means of the TX multiplexor 721. The output of the I DAC 719 is fed to the TX gain DAC 722, which enables the DSP 717 to control the level of the transmitted signal. The TX gain DAC 722 drives the TX amplifier 723 which buffers the signal for transmission. In recieve mode the received signal is amplified by the RX amplifier 724 and is then fed to the RX gain DAC 725 which feeds the I DAC 719 via the TX multiplexor 721, the Q DAC 720 and the envelope detector 726. The output of vthe envelope detector 726 is fed to the analog to digital converter (ADC) 727 via the ADC multiplexor 728. The DSP 717 adjusts the gain of the RX gain DAC 725 by observing the output of the envelope detector with the ADC 727 and maintaining the output of the envelope detector 726 at a constant level such that a front end gain is maximised, but the signal is not clipped except during any short duration impulse noise spikes. The outputs of the I DAC 719 and the Q DAC 720 are fed to the I low pass filter 729 and the Q low pass filter 730 respectively. These low pass filters remove the unwanted high frequency components from the outputs of the I DAC 719 and the Q DAC 720. The outputs of the I low pass filter 729 and the Q low pass filter 730 are fed to the I gain DAC 731 and the Q gain DAC 732 respectively. The outputs of the I gain DAC 731 and the Q gain DAC 732 are fed via the I amplifier 733 and the Q amplifier 734 respectively to the ADC multiplexor 728. The DSP 717 adjusts the gain of the I gain DAC 731 and the Q gain DAC 732 such that the outputs from the I amplifier 733 and the Q amplifier 734 are as large as possible without exceeding the input range of the ADC 727. The DSP 717 sets the active transmit frequency register in the PSP 718 to the nominal centre frequency of the desired channel and the active bit frequency register and the division ratio of the variable divider 712 such that the selection bistable 713 interrupts the DSP 717 at a multiple of the desired bit frequency. The DSP 717 then observes the outputs of the I amplifier 733 and the Q amplifier 733 and the Q amplifier 734 with the ADC 727 and forms an estimate of the carrier and bit phase. The carrier phase is adjusted by writing to the alternate transmit frequency register and inverting the transmit frequency register selection bit in the mode register 75. The bit phase can be adjusted in a similar manner or by bumping the phase of the bit phase register 78 in the manner that has previously been described. v Once bit and carrier synchronization have been achived the DSP 717 demodulates the received signal by processing the succession of sampled values from the 71 amplifier 733 and the Q amplifier 734 in a manner that is dependent upon the precise modulation and coding system in use. It should be noted that the DSP 717 can be inplemented with a general purpose programmable processor or by means of a dedicated sequential logic. In the preferred embodiment all elements of the phase transceiver are integrated on a single monolithic integrated circuit.

Claims: CLAIMS I . Apparatus for coupling of signals between a network of low but 'unknown impedance and a transceiver the apparatus comprising a series resonant circuit terminated with a high impedance, a parallel resonant circuit terminated with a low value resistor and a power amplifier for transmitting, switching means to switch in the parallel resonant circuit, the low value resistor and power amplifier in order to transmit from the transceiver onto the low impedance network, and monitoring means to monitor the impedance of the network and produce the required drive signal level for a desired amplitude of signal to be coupled to the low impedance network. 2. A method of coupling a signal from a transceiver to a low impedance network the method comprising measuring the magnitude and phase of the input impedance of the coupling network, deriving the value of the impedance of the low impedance network, and generating a drive signal level to produce a signal of the desired amplitude from the transceiver to the low impedance network, such that the effective output impedance of the transceiver is approximately zero. 3. Apparatus for producing a phase shift keyed signal the apparatus comprising input means for monitoring a digiul signal, output means for outputing a phase shift keyed represenution of the input signal, and control means for causing the phase shift keyed signal from the output means to undergo a phase transition over a number of clock cycles in response to a transition in the input signal during which the phase of the phase shift keyed signal ukes up a number of intermediate phase angles. 4. Apparatus according to claim 3 wherein the control means comprises at least two registers which conuin the value of the change in phase angle for each clock cycle for which the register is accessed. 5. A method of generating a binary phase shift keyed represenution of a digiul signal, the method comprising controlling the phase transitions in the signal in response to corresponding changes in the digiul signal such that the phase slews by 180° over a predetermined period of time less than a bit period. 6. Apparatus for the generation of a digiul representation of a local oscillator frequency for partially coherent demodulation of phase shift keyed signals, the apparatus comprising a plurality of registers, means for adding the contents of two of the registers, means for sequencing the operation of the adder, means for output ting separately two digiul signals in quadrature to respective digital to analog converters for mixing with a received signal, respective low pass filters connected to a common analog multiplexer and an analog to digiul converter. 7. In combination: apparatus according to claim 3 and claim 6 wherein the adder, the digiul to analog converters and sequencing means are shared with the apparatus for producing a phase shift keyed signal. 8. A method of coordinating the transmission of polling messages from a low voiuge distribution subsution and the responses from a plurality of electricity meters communicating over the low voiuge distribution network wherein the precise phase of the dau bit timing of transmitted polling messages from the subsution is preserved between transmissions and the response from electricity meters mainuins the phase of the dau bit timing of the messages from the substation in its own transmissions. 9. A method of operating a mains metering system so as to avoid interference between polled data collection systems operating from each of a plurality of interconnected substations, the method comprising operating each of the polled dau collection systems on a separate frequency. 10. A method of increasing the information carrying capacity of a power distribution network dau transmission system by means of operating a plurality of polled dau collection systems each on a separate frequency. SUBSTITUTE SHEET 11. Apparatus for producing a phase modulated signal, the apparatus comprising a first phase register to store a digital representation of the signal phase, a plurality of first frequency registers to store values by which the first phase register is to be incremented, means for selectively incrementing the first phase register at fixed intervals of time by the contents of the first frequency registers, control means to select the first frequency register to provide the increment value and means to update the contents of the first frequency register or registers not in use; and means responsive to the contents of the first phase register to generate the phase modulated output signal. 12. Apparatus according to claim 11, wherein the means for selection of the first frequency register for incrementing the first phase register comprise a second phase register to switch the selection of the first frequency register and at least one second frequency register to provide an incremental value to the second phase register at fixed intervals of time. 13. Apparatus according to claim 11 or claim 12, wherein the second phase register selects one first frequency register at a multiple of the bit frequency at which the signal is modulated. 14. Apparatus according to claim 12 or claim 13, wherein a single adder is alternated between updating the first phase register and the second phase register. 15. Apparatus according to any of claims 11 to 14, wherein the first frequency registers not in use are updated with data from a digital signal processor at a multiple of the bit frequency at which the signal is modulated. 16. Apparatus for the generation of a digital representation of a local oscillator frequency for partially coherent demodulation, the apparatus comprising a plurality of registers, means for adding the contents of two of the registers, means for sequencing the operation of the adder, means for outputting separately two digital signals in quadrature to respective digital to analog converters for mixing with a received signal, respective low pass filters connected to a common analog multiplexer and an analog to digital converter. v 17. Apparatus according to claim 16, wherein bit synchronism is maintained by phase locking a bit frequency register with the incoming data signals by time multiplexing an adder between updating a local oscillator locked to the incoming carrier and updating a bit frequency register locked to the incoming data signals. 18. In combination: apparatus according to claim 11 and claim 16, wherein the adder, the digital to analog converters and sequencing means are shared with the apparatus for producing a phase modulated signal. 19. Apparatus according to claim 18, wherein all elements of the phase transceiver are embodied in a monolithic integrated circuit.

Inventors: COOPER DAVID EDWARD, ROBERTS LYN MERVYN, STOCK KELVIN ERIC, COOPER, DAVID, EDWARD, ROBERTS, LYN, MERVYN, STOCK, KELVIN, ERIC
Applicants: COHERENT IP RIGHTS LTD, COHERENT IP RIGHTS, LIMITED
Application year: 1991
Main classification: H02J13
IPC codes: H02J13, H04B3, H04L5, H04L27