Device for Receiving Signals from a Network Cable
20210226822 ยท 2021-07-22
Assignee
Inventors
Cpc classification
G06F18/214
PHYSICS
H04L41/0853
ELECTRICITY
International classification
Abstract
There is provided a device comprising a channel equalizer and a monitoring device, wherein the device is configured to establish a point-to-point network connection with a connected device via a network cable, by executing an initial training cycle so data received via the network cable is readable by the device. The channel equalizer is configured to continuously adapt to characteristics of the network cable by continuous training of the channel equalizer to help maintain the network connection, and the monitoring device is configured to monitor signals received from the network cable for out-of-range signals, to temporarily interrupt the continuous training of the channel equalizer when out-of-range signals are detected, and to resume the continuous training once the out-of-range signals are no longer detected without executing the initial training cycle again.
Claims
1-30. (canceled)
31. A device comprising a channel equalizer and a monitoring device, wherein the device is configured to establish a point-to-point network connection with a connected device via a network cable, by executing an initial training cycle so that data received via the network cable is readable by the device, wherein the channel equalizer is configured to continuously adapt to characteristics of the network cable by continuous training of the channel equalizer to help maintain the network connection, wherein the monitoring device is configured to monitor signals received from the network cable for out-of-range signals, to temporarily interrupt the continuous training of the channel equalizer when out-of-range signals are detected, and to resume the continuous training once the out-of-range signals are no longer detected without executing the initial training cycle again.
32. The device of claim 31, wherein the channel equalizer comprises a feed-forward equalizer or a decision feedback equalizer.
33. The device of claim 31, wherein the channel equalizer comprises configuration settings, and wherein the channel equalizer is configured to modify the configuration settings to perform the continuous training.
34. The device of claim 33, wherein the channel equalizer comprises an adaptive filter, and wherein the configuration settings comprise filter coefficients of the adaptive filter.
35. The device of claim 33, wherein the device is configured to periodically store the configuration settings of the equalizer, and upon the temporary interruption of the continuous training of the channel equalizer, to apply the configuration settings to the channel equalizer that were stored just before the out-of-range signals were detected.
36. The device of claim 33, wherein the channel equalizer is configured to operate in a first training mode during the initial training cycle that establishes the network connection, and to operate in a second training mode during the continuous training of the channel equalizer to help maintain the network connection whilst normal data communications are taking place, wherein the configuration settings are modified in the second training mode at a slower rate than in the first training mode.
37. The device of claim 31, further comprising a clock recovery circuit for recovering a clock signal from the signals received from the network cable, wherein the clock recovery circuit comprises a Gardner phase detector or a Mueller-Muller phase detector, and wherein an output of the phase detector is coupled to a Proportional Integral controller.
38. The device of claim 37, wherein the clock recovery circuit comprises convergence parameters defining how aggressively the clock recovery circuit converges to the clock signal, and wherein the device is configured to set the convergence parameters to more aggressive values if the clock recovery circuit loses synchronisation with the clock signal, and to less aggressive values once the clock recovery circuit regains synchronisation with the clock signal.
39. The device of claim 37, wherein the monitoring device determines that out-of-range signals have been detected if the clock recovery circuit loses synchronisation with the clock signal.
40. The device of claim 31, wherein the monitoring device determines that out-of-range signals have been detected if: the signals are subject to repeated or prolonged disturbances in their normal operating ranges; or a voltage of the signals from the network cable exceeds a normal operating range.
41. The device of claim 31, wherein the monitoring device determines that out-of-range signals have been detected if a voltage of the signals exceeds in-range voltage limits at an analogue to digital converter, an automatic gain controller, or a symbol slicer of the device.
42. The device of claim 31, wherein the temporary interruption of the continuous training of the channel equalizer comprises suspending the training of the channel equalizer for at least a fixed period of time before resuming training of the channel equalizer, wherein the fixed period of time runs from the most recent detection of out-of-range signals by the monitoring device.
43. The device of claim 42, wherein the fixed period of time is fixed as at least 10 ms, at least 20 ms, or at least 30 ms.
44. The device of claim 31, wherein the device is a two-wire Ethernet device.
45. The device of claim 31, wherein the device is comprised in a powered device which is powered by power drawn from the network cable.
46. The device of claim 31, wherein the signals comprise serial data received in differential mode from a pair of conductors of the network cable, wherein the device is configured to continuously draw a constant current or constant power in differential mode from the pair of conductors.
47. The device of claim 31, wherein the device is further configured to send signals over the network cable on the pair of conductors used to receive the signals from the network cable, wherein the device further comprises an echo canceller to cancel echoes from the sent signals, wherein the echo canceller is configured to continuously adapt to characteristics of the network cable by continuous training of the echo canceller, and to temporarily interrupt the continuous training of the echo canceller when out-of-range signals are detected, until after the out-of-range signals have returned to within range.
48. The device of claim 45, wherein the device is further configured to send signals over the network cable on the pair of conductors used to receive the signals from the network cable, wherein the device further comprises an echo canceller to cancel echoes from the sent signal, wherein the device is configured to draw the constant current or constant power from the pair of conductors via at least one inductor, and to send and receive the signals on the pair of conductors via at least one capacitor or via at least one additional inductor that is mutually coupled to the at least one inductor.
49. The device of claim 47, wherein the device is configured to periodically store configuration settings of the echo canceller, and upon temporarily interrupting the continuous training of the echo canceller, to apply the configuration settings to the echo canceller that were stored just before the out-of-range signals were detected.
50. A network system comprising the device of claim 46, the network system further comprising the connected device and the network cable, wherein the differential serial data signals are constrained to the point-to-point network connection, wherein the connected device is part of a network field switch, and wherein the differential constant current or constant power drawn by the device is supplied from a further point-to-point network connection between the network field switch and a further connected device via a further network cable, the further network cable having a pair of conductors on which both further differential serial data signals and the differential constant current or constant power are sent, the further differential serial data signals being constrained to the further point-to-point network connection.
51. The network system of claim 50, wherein the network field switch further comprises a still further connected device, the still further connected device comprising a further channel equalizer and a further monitoring device, wherein the still further connected device and the further connected device are configured to establish the further point-to-point network connection via the further network cable, by executing an initial training cycle so that data received via the further network cable is readable by the still further connected device, wherein the further channel equalizer is configured to continuously adapt to characteristics of the further network cable by continuous training of the further channel equalizer to help maintain the further point-to-point network connection, wherein the further monitoring device is configured to monitor signals received from the further network cable for out-of-range signals, to temporarily interrupt the continuous training of the further channel equalizer when out-of-range signals are detected, and to resume the continuous training once the out-of-range signals are no longer detected without executing the initial training cycle again, wherein the signals received from the further network cable comprise serial data received in differential mode from a pair of conductors of the further network cable, wherein the still further connected device is configured to continuously draw a constant current or constant power in differential mode from the pair of conductors of the still further network cable, and wherein the network field switch is configured to power the connected device by the constant current or constant power drawn by the still further connected device.
52. The network system of claim 51, wherein the network field switch comprises a digital device that is also powered by the constant current or constant power drawn by the still further connected device, and wherein the digital device is configured to transfer digital data between the connected device and the still further connected device.
53. A method of adding or removing a device from a network system, the network system comprising a plurality of pairs of devices, and a power sourcing equipment for supplying power to the devices via network cables, wherein the devices of each pair are configured to establish a point-to-point network connection with one another via an associated one of the network cables, by each device of the pair executing an initial training cycle so data received via the network cable is readable by the device, wherein each device comprises a channel equalizer and a monitoring device, wherein the channel equalizer is configured to continuously adapt to characteristics of the associated network cable by continuous training of the channel equalizer to help maintain the point-to-point network connection, wherein the monitoring device is configured to monitor signals received from the associated network cable for out-of-range signals, to temporarily interrupt the continuous training of the channel equalizer when out-of-range signals are detected, and to resume the continuous training once the out-of-range signals are no longer detected without executing the initial training cycle again, wherein each device is powered by a constant current or constant power drawn from the power sourcing equipment via the network cables, wherein the method comprises: adding or removing one of the devices from the network system, thereby adding or removing the current or power drawn by that device, which causes a disturbance in the signals the other devices receive from their associated network cables; detecting the disturbance as out-of-range signals at the monitoring devices of the other devices; temporarily interrupting the continuous training of the channel equalizers of the other devices in response to detecting the disturbance as out-of-range signals, and resuming the continuous training of the channel equalizers of the other devices once the out-of-range signals are no longer detected without executing the initial training cycle again.
Description
DETAILED DESCRIPTION
[0029] Embodiments of the invention will now be described by way of non-limiting example only and with reference to the accompanying drawings, in which:
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036] The figures are not to scale, and same or similar reference signs denote same or similar features.
[0037] The schematic diagram of
[0038] The network system is built of multiple point-to-point network connections, so that the data communications on each network cable are only directly received by the two devices connected at either end of the network cable. For example, data sent along the network cable 12, does not pass directly to the cables 13 and 16_1 to 16_24 in a broadcast manner, but rather is received and read at the 2-wire field switch 14a, and is resent along the cables 13 or 16_1 to 16_24.
[0039] In this embodiment, each network cable comprises a twisted pair of conductors, and the data is sent along the pair of conductors in differential mode. The twisted pair of conductors constitute a balanced pair of conductors with a differential impedance of approximately 100 ohms and a symmetric impedance to ground of approximately 50 ohms per conductor, so that under EMC conditions there is only a low common mode to differential mode conversion, which provides good EMC immunity. The 2-wire switch port 10 forms one end of the network, and may for example be integrated within a host computer, and allow data communications to be directed to other networks or devices. The 2-wire switch port 10 also includes a power supply to supply the whole of the network system with power. The power is sent in differential mode along the pair of conductors of each network cable, along with the data signals. Since the power drawn from the power supply by the field switches and the field devices is substantially constant, the data signals can be filtered out from the power being sent on each network cable. The differential power is passed between the network cables by the field switches.
[0040] The schematic diagram of
[0041] The PHY transceiver 30 has two output contacts Pa and Pb for differential serial data, and the differential serial data is modulated onto the pair of conductors 12a and 12b via a pair of signal coupling capacitors 13. The differential serial data is isolated from the power supply 35 by a coupled inductor 36, which blocks high frequency signals. According, the differential serial data can modulate the voltage that is applied across the pair of conductors 12a and 12b by the power supply 35. The 2-wire switch port 10 also comprises optional common-mode rejection (CMC) and optional electro-magnetic (EMC) protection for the pair of conductors 12a and 12b.
[0042] The PHY transceiver 30 both sends data to and receives data from the network cable 12, using differential signalling over the pair of conductors 12a and 12b. The 2-wire field switch 14a comprises a similar PHY transceiver to the PHY transceiver 30 at the other end of the network cable 12, for sending and receiving data to and from PHY transceiver 30. Each PHY transceiver typically receives digital data from a digital device, and modulates and sends the digital data as differential serial data over the pair of conductors of the network cable 12.
[0043] The schematic diagram of
[0044] The conductors 12a and 12b are connected to the conductors 17a and 17b by a coupled inductor 22 which blocks high-frequency signals, and the conductors 17a and 17b are connected to the conductors 13a and 13b by a coupled inductor 23 which blocks high-frequency signals. Accordingly, the conductors 17a and 17b are isolated from the differential serial data being sent on the network cables 12 and 13 by the coupled inductors 22 and 23, and no differential serial data can pass between the network cables 12 and 13 along the conductors 17a and 17b. Only the low-frequency differential power signal from the power supply 30 passes through the coupled inductors 22 and 23, from the network cable 12 to the network cable 13, as illustrated by the power path 18.
[0045] The conductors 12a and 12b are connected to a primary PHY 30a via a pair of capacitors 31a. The primary PHY 30a receives data sent from the PHY 30, and sends data to the PHY 30, via the network cable 12 and the pairs of capacitors 31 and 31a. Accordingly, the PHY's 30 and 30a implement a point-to-point network connection between the 2-wire switch port 10 and the 2-wire field switch 14a, via the network cable 12.
[0046] The conductors 13a and 13b of the network cable 13 are connected to a secondary PHY 30b via a pair of capacitors 31b. The secondary PHY 30b is similar to the PHYs 30 and 30a, and sends and receives differential serial data over the network cable 13, by modulating the differential serial data on top of the low-frequency differential power signal on the conductors 13a and 13b. The low-frequency differential power signal is preferably a direct current signal, to avoid disturbing the data being sent on the conductors.
[0047] To transfer communications between the network cables 12 and 13, the PHYs 30a and 30b are both connected to a digital device 38, which passes digital data that is addressed to the field devices 20_13 to 20_24 from the network cable 12 to the network cable 13. The path of this digital data is illustrated as path 39, extending from the network cable 12, through the PHY 30a, the digital device 38, and the PHY 30b, and to the network cable 13.
[0048] The digital device 38 also comprises an output 38a, which receives and sends digital data from and to the field devices 20_1 to 20_12. The output 38a is connected to 12 additional PHYs of the 2-wire field switch 14a, which are not shown in
[0049] The 2-wire field switch 14a further comprises a power supply 35a, which is connected to conductors 17a and 17b, and draws a constant current or constant power from those conductors 17a and 17b. The power supply 35a uses that constant current or constant power to supply power to the primary PHY 30a, the secondary PHY 30b, and the digital device 38. The power supply 35a also has an output 35b which supplies power to the 12 additional PHYs (not shown in FIGS.) of the 2-wire field switch 14a and to the network cables 16_1 to 16_24. Since the power drawn by the power supply 35a is substantially constant, or only varies slowly, it does not normally modulate any differential signals onto the conductors 17a and 17b that could pass through the coupled inductors 22 and 23 to disrupt the differential serial data on the network cables 12 and 13. The 2-wire field switch 14b is similar to the 2-wire field switch 14a, and has PHYs similar to the PHYs of the 2-wire field switch 14a, for connecting to the network cables 13 and 16_13 to 16_24. The field devices 20_1 to 20_24 each have a PHY similar to the PHY 30a for communicating with the additional PHYs of the 2-wire field switches 14a and 14b via the network cables 16_1 to 16_24.
[0050] To avoid disrupting the serial differential data, the power (current) drawn by each 2-wire field switch 14a or 14b is required to be relatively constant compared to the frequency of the serial data. For example, any changes in current drawn by the 2-wire field switch 14a or 14b may be required to be at a rate of less than 100 mA/ms, so the changes can easily be filtered out from the data. To help achieve this the, the power (current) drawn by each field device 20_1 to 20_24 may be required to change at a rate of no faster than for example 10 mA/ms. But, if one of the field devices 20_1 to 20_12 was suddenly disconnected from the 2-wire field switch 14a, then the power being delivered to that field device via the associated network cable would suddenly cease, and there would be a sudden change in the power being drawn from the conductors 17a and 17b by the power supply 35a, possibly disrupting the differential serial data being sent on the network cables 12 and 13. The differential serial data being sent on the associated network cables 16_1 to 16_12 of the still-connected ones of the field devices 20_1 to 20_12 may also be affected. The same problem can occur if there is a sudden increase in power due to the disconnected field device being re-connected again. To help combat this problem, the PHYs may be configured to avoid executing an initial training cycle when the differential serial data is disrupted, as will be hereinafter described.
[0051] The schematic diagram of
[0052] The AFE 40 has an input T1 for receiving digital data that is to be sent on the network cable 12, an input T3 for receiving a clock signal, and an output T2 for signals received from the network cable 12. An example of the AFE 40 is shown in
[0053] The digital signals received from the network cable 12 at the output T2 are used by the digital parts of the PHY 30 to extract both a clock signal and the digital data sent by the PHY 30a of the 2-wire field switch 14a. Specifically, it can be seen in
[0054] The data path comprises a feed-forward equalizer in the form of a fractionally spaced equalizer FSE, a symbol slicer 46 with a decision feedback equalizer DFE, a bit decoder 4B3T, and a descrambler. The symbol slicer 46 slices the received digital values into symbols of either โ1, 0, or +1, and the 4B3T decoder converts these symbols to binary bits of 1 or 0. The descrambled bits pass to a media independent interface MII, to which a digital device can be connected for communicating over the network via the PHY 30. The general principles of operation of each of these blocks are known in the art, and will be apparent to the skilled person.
[0055] According to this embodiment of the invention, the PHY 30 further comprises a monitoring device 44, which is used to monitor the signals received from the network cable 12 at several points within the PHY 30 to determine whether any out-of-range signals have been received. The connections between the monitoring device 44 and these points are not shown in
[0056] Specifically, the input voltage to the ADC 42 (see
[0057] The received signals are also monitored by the monitoring device 44 in a similar manner at the digital AGC 48 (see
[0058] The received signals are also monitored by the monitoring device 44 at the symbol slicer. In this embodiment the input signal at the slicer typically ranges between digital values corresponding to โ1.5V and +1.5V. If the digital values of the slicer input signal correspond to a signal level above for example 2V or below โ2V, then the monitoring device 44 will determine that out-of-range signals have been detected.
[0059] The monitoring device 44 also monitors the output of the low-pass filter LPF. Normally, the low-pass filter output varies slowly and with low amplitude, tracking any changes in the clock phase. But, if the low-pass filter output varies more quickly or with high amplitude, then this indicates that the PHY 30 is struggling to keep track of the clock phase, and the monitoring device 44 will determine that out-of-range signals have been detected.
[0060] In alternate embodiments, the monitoring device 44 may also monitor other points in the PHY 30 for out-of-range signals, or only monitor a selection of the four points discussed above in this embodiment. In any event, the monitoring device compares the received signal to an expected normal operating range, and determines that out-of-range signals have been detected when the received signal moves beyond the normal operating range.
[0061] The operation of the PHY 30 can be further appreciated with reference to the flow diagram of
[0062] Normal operation follows at step 101, in which the PHY 30 sends and receives data to and from various ones of the field devices 20_1 to 20_24, via the network connection between the PHY's 30 and 30a. The configuration settings of the DFE and FSE equalizers and the echo canceller EC of
[0063] Additionally, the configuration settings of the DFE and FSE equalizers and the echo canceller EC are periodically stored as backups, allowing them to be retrieved if necessary at a later time.
[0064] During normal operation, the monitoring device 44 monitors various points in the PHY 30 for out-of-range signals, including monitoring whether the received signal exceeds signal boundary limits at the ADC 42 or the AGC 48 in step 102, monitoring whether the output of the low pass filter LPF changes more quickly or with higher amplitude than its normal operating range in step 103, and monitoring whether the received signal exceeds signal boundary limits at the symbol slicer 104. If all those signals are within their normal operating ranges, then the PHY 30 loops back to step 101, and continues monitoring the various points in the PHY 30 for out-of-range signals.
[0065] If the monitoring device 44 determines that out-of-range signals have been received, then the PHY 30 moves to step 105, where the continuous training of the equalizers DFE and FSE and the echo canceller EC is stopped, so that the equalizers DFE and FSE and the echo canceller EC continue operating without further training their configuration settings. For example, if one of the field devices 20_13 to 20_24 shown in
[0066] Once the continuous training has been stopped, the PHY 30 moves to step 106 where a disturbance timer is set to start running. The monitoring device 44 of the PHY 30 checks whether the received signal is still out-of-range in steps 107, 108, and 110, similar to steps 102, 103, and 104 described further above. If the received signal is still out-of-range, then the disturbance timer is re-set, causing it to start running again from zero. If the received signal has returned to within range, then the disturbance timer is checked in step 113, and if it has fully elapsed then the PHY 30 moves to step 114. Otherwise, the PHY 30 loops back to step 107 and continues to check for out-of-range signals. Accordingly, the flow diagram requires the received signal to remain within normal operating range for the duration of the disturbance timer, before the PHY moves on to the next step 114 and the continuous training is restarted. In this embodiment, the disturbance timer is set to run for 30 ms, however longer periods of time could be set if desired to provide more time for the received signals to properly settle before the continuous training begins again.
[0067] The result of checking for out-of-range signals at the low pass filter LPF in step 108 is used to set either aggressive or calm clock recovery settings. If out-of-range signals are present at the LPF, then this indicates the PHY 30 is struggling to maintain synchronisation with the clock, and so the PI controller is set with more aggressive convergence parameters to more aggressively converge towards the clock signal in step 111 to help prevent the clock synchronisation from being lost. If no out-of-range signals are present at the LPF, then this indicates that the PHY 30 is still well locked on to the clock phase, and so the PI controller is set with less aggressive convergence parameters to converge less aggressively (calmly) towards the clock phase in step 109.
[0068] Once the disturbance timer has elapsed and the PHY 30 moves to step 114, the signal quality at the input of the symbol slicer 46 is checked in step 114. If the signal quality is sufficiently high, for example if the signal levels match the signal levels expected under good operating conditions, then it can be assumed that the signal disturbance detected by the monitoring device did not result in any excessively adverse effects on the configuration settings of the equalizers and echo canceller EC before the continuous training was stopped, and the PHY 30 resumes training of the configuration settings in step 116. If the signal quality is not sufficiently high, for example if the signal contains too much noise and so does not match the signal levels expected under good operating conditions, then it is possible that the configuration settings of the equalizers and echo canceller were trained in a direction towards failure prior to the out-of-range signals being detected by the monitoring device and the training being stopped. Accordingly, the last backup of the configuration settings that was stored during normal operation in step 101, is used to overwrite the current configuration settings of the equalizers and echo canceller, in step 115. Then, the PHY 30 resumes the continuous training starting from those backup configuration settings in step 116. In this embodiment, the configuration settings include for example the filter coefficients of the adaptive filter DFE. The disturbance timer is stopped in set 117, and then the PHY 30 returns to normal operation in step 101, until any out-of-range signals are detected by the monitoring device 44 again. The data transfers between the PHY 30 and the PHY 30a continue to take place throughout the whole process, and any data that is too corrupted by the out-of-range signals to be read is requested to be resent. Accordingly, there is very little interruption in the data transfer, and higher protocol layers of the OSI 7-layer model may not even be affected by the out-of-range signals, in contrast to known systems which typically reset entirely when out-of-range signals occur, with equalizers and/or echo cancellers being trained into failure, and an initial training cycle having to be performed to restart data communications.
[0069] In summary, there is provided a device configured to establish a point-to-point network connection with a connected device, which temporarily interrupts the continuous training of one or more of its channel equalizer(s) when out-of-range signals are received from the associated network cable, as defined in the appended claims. The device may for example comprise any one of the PHY device 30, the primary, secondary, and additional PHYs of the 2-wire field switches 14a and 14b, or the PHYs of the field devices 20_1 to 20_24, and may further comprise a power supply for drawing power from the associated network cable, for example the power supply 35a shown in
[0070] There is also provided a network system comprising the device, as defined in the appended claims. If the device is considered to comprise the primary PHY and the power supply of the 2-wire field switch 14b (equivalent to the PHY 30a and power supply 35a of the 2-wire field switch 14a), then the connected device is the PHY 30b of the 2-wire field switch 14a, and the point-to-point network connection is established between those devices via the network cable 13. The PHY 30 of the 2-wire switch port 10 may be considered to be a further connected device, and the PHY 30a and power supply 35a of the 2-wire field switch 14a may be considered to be a still further connected device, with the further connected device and still further connected device establishing a further point-to-point network connection between them over the network cable 12. Data may be passed from the 2-wire field switch 14b to the 2-wire switch port 10 via the point-to-point and further point-to-point network connections, and via the digital device 38 of the 2-wire field switch 14a which passes data between the point-to-point and further point-to-point network connections.
[0071] The constant current or constant power drawn by the power supply of the device in the 2-wire field switch 14b is supplied from the further point-to-point network connection between the 2-wire field switch 14a and the further connected device (PHY 30), via the conductors 12a, 12b, 13a, 13b of the network cables 12 and 13. In contrast, the differential data signals sent on the further point-to-point network connection are constrained to that connection by the coupling inductor 22, and so do not pass to the point-to-point network connection between the 2-wire field switch 14a and 2-wire field switch 14b. In this manner, power can be distributed to all the devices in the network system, whilst keeping the data signals on each network connection constrained to that network connection.
[0072] Many other variations of the described embodiments falling within the scope of the invention will be apparent to those skilled in the art.