Device and method for improving the reception quality of messages in a CAN bus system
10581641 ยท 2020-03-03
Assignee
Inventors
Cpc classification
International classification
H04L25/02
ELECTRICITY
Abstract
A user station for a bus system and a method for improving a reception quality of messages in a user station of a bus system are provided. The user station includes an estimation device for estimating a channel impulse response when and/or after only one further user station of the bus system transmits a message to the bus system, or for determining necessary functions of filters directly from a signal received by the user station, and a correction device for correcting a signal received by the user station based on the channel impulse response estimated by the estimation device.
Claims
1. A user station for a bus system, comprising: a receiver for receiving a signal from the bus system; an estimation device for estimating a channel impulse response at least one of when and after only one further user station of the bus system transmits a message to the bus system; a correction device for correcting the signal received by the user station based on the channel impulse response estimated by the estimation device; and a decider device that is supplied with the corrected signal and decides bit states for the corrected signal, wherein the correction device includes: a first filter in which a main tap thereof is eliminated and in which a transmission function thereof corresponds to a z-transform of the channel impulse response, a second filter that receives the signal from the bus system and has a second transmission function, and an addition stage device, wherein an output of the first filter corresponding to a modeled interference and an output of the second filter are supplied to the addition stage device in which the modeled interference is subtracted from the output of the second filter, and wherein an output of the addition stage device is supplied to the decider device.
2. The user station as recited in claim 1, wherein the estimation device one of: carries out the estimation of the channel impulse response based on one of an LMS algorithm and an RLS algorithm, and determines the channel impulse response directly from a transmission signal.
3. The user station as recited in claim 1, wherein the correction device corrects the signal received by the user station according to one of a DFE algorithm, a BCJR algorithm, and a DDFSE algorithm.
4. The user station as recited in claim 1, further comprising: a transceiver for a direct connection to a bus line of the bus system; and a communication control device for processing a signal received by the transceiver and for providing a message to be transmitted by the transceiver in the form of a signal, wherein at least one of the estimation device and the correction device is part of one of the transceiver and the communication control device.
5. The user station as recited in claim 1, wherein the estimation device uses at least one of parameters and coefficients of previously received messages during the estimation of the channel impulse response, the at least one of the parameters and the coefficients are as a result of a message identifier assigned to a user station which has transmitted the received message.
6. The user station as recited in claim 1, wherein an output of the decider device is fed back to an input of the first filter.
7. A bus system, comprising: a bus line; and at least two user stations connected to each other via the bus line in such a way that the user stations are able to communicate with each other, wherein at least one of the at least two user stations including: an estimation device for estimating a channel impulse response at least one of when and after only one further user station of the bus system transmits a message to the bus system, a correction device for correcting a signal transmitted on the bus and received by the user station, the correcting being based on the channel impulse response estimated by the estimation device; and a decider device that is supplied with the corrected signal and decides bit states for the corrected signal, wherein the correction device includes: a first filter in which a main tap thereof is eliminated and in which a transmission function thereof corresponds to a z-transform of the channel impulse response, a second filter that receives the signal from the bus system and has a second transmission function, and an addition stage device, wherein an output of the first filter corresponding to a modeled interference and an output of the second filter are supplied to the addition stage device in which the modeled interference is subtracted from the output of the second filter, and wherein an output of the addition stage device is supplied to the decider device.
8. The bus system as recited in claim 7, wherein the estimation device uses at least one of parameters and coefficients of previously received messages during the estimation of the channel impulse response, the at least one of the parameters and the coefficients are as a result of a message identifier assigned to a user station which has transmitted the received message.
9. The bus system as recited in claim 7, wherein an output of the decider device is fed back to an input of the first filter.
10. A method for improving a reception quality of a message in a user station of a bus system, comprising: receiving, by the user station, a signal from the bus system; estimating, with the aid of an estimation device, a channel impulse response at least one of when and after only one further user station of the bus system transmits a message to the bus system; correcting, with the aid of a correction device, the signal received by the user station based on the channel impulse response estimated by the estimation device; and supplying the corrected signal to a decider unit device that decides bit states for the corrected signal, wherein the estimating correcting includes: providing a first filter in which a main tap thereof is eliminated and in which a transmission function thereof corresponds to a z-transform of the channel impulse response, providing a second filter that receives the signal from the bus system and has a second transmission function, and providing an addition stage device, wherein an output of the first filter corresponding to a modeled interference and an output of the second filter are supplied to the addition stage device in which the modeled interference is subtracted from the output of the second filter, and wherein an output of the addition stage device is supplied to the decider device.
11. The method as recited in claim 10, wherein the estimating involves using at least one of parameters and coefficients of previously received messages during the estimation of the channel impulse response, the at least one of the parameters and the coefficients are as a result of a message identifier assigned to a user station which has transmitted the received message.
12. The method as recited in claim 10, wherein an output of the decider device is fed back to an input of the first filter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) In the figures, identical or functionally equivalent elements are denoted by the same reference numerals, unless indicated otherwise.
(12)
(13) In
(14) As shown in
(15) Communication control device 11 is used to control a communication of the particular user station 10, 20, 30 via bus line 40 with another user station of user stations 10, 20, 30 connected to bus line 40. Estimation device 12 and correction device 13 are used to improve the reception quality of message 41, 42, 43 received by transceiver 14, as is described in greater detail hereafter. Communication control device 11 may be designed as a conventional CAN controller. Transceiver 14 may be designed as a conventional CAN transceiver with respect to its transmission functionality. Accordingly, it is possible to improve the quality of the signal received by transceiver 14 with the aid of the two user stations 10, 30, the signal being based on one of messages 41, 42, 43. User station 20, in contrast, corresponds to a conventional CAN user station, both with respect to its transmission functionality and its reception functionality.
(16)
(17)
(18) If the channel impulse response according to a first example is as shown in
(19) In contrast, if the channel impulse response according to a second example is as shown in
(20) In the first example shown in
(21)
(22) Accordingly, in step S1 of
(23) Multiple user stations 10, 20, 30 are active in a CAN bus system, which transmits their messages 41, 42, 43 including message identifiers 411, 421, 431. These message identifiers 411, 421, 431 are used for arbitration during the arbitration phase. After the arbitration, only one user station of user stations 10, 20, 30 transmits signals in the form of one or multiple of messages 41, 42, 43 to bus line 40. Starting at this moment, each listening user station 10, 20, 30 may observe the bus signals or messages 41, 42 43 and, based thereon, estimate channel impulse response 120 with the aid of their estimation device 12. This may also be carried out adaptively and during the detection. In this case, a learning system is present.
(24) Estimation device 12 of user station 30 then makes estimated channel impulse response 120 available to correction device 13.
(25) Based on channel impulse response 120 estimated by estimation device 12, in a step S2 correction device 13 thereupon corrects the signal received by user station 30, which is based on message 41. The method is then terminated.
(26) In principle there is no delay of the signal or of message 41, 42, 43 since the delay is within the time frame tolerated by the CAN protocol, but a delay may be used through optimization measures, e.g., in methods using hypotheses and delayed decision, provided the application is able to tolerate this. For this purpose, a delay of 1 to 2 symbol clock pulses may already be sufficient.
(27) Estimation device 12 of user station 30 operates in a similar manner when user station 20 transmits one of messages 41, 42, 43 to user station 30. Moreover, estimation device 12 of user station 10 operates in a similar manner when it receives one of messages 41, 42, 43 from one of user stations 20, 30.
(28) In this way, the reception quality during the transmission of information on bus system 1 may be improved even under unfavorable conditions, such as branchings, termination faults, mismatching or squeezed cables in bus system 1.
(29)
(30) As shown in
(31)
(32)
(33) The following applies, for example: example channel impulse response h(k)=(k)+0.5 (k1)+0.2 (k2) prefilter impulse response f(k)=(k)=>F(z)=constant decision delay k.sub.0=0
(34) For this case, b(k)=h(k) is a useful approach, and B(z)1 corresponds to channel impulse response b(k)(k)=h(k)(k)=0.5 (k1)+0.2 (k2). It is easily apparent here that only symbols which have already been decided and are known are used for feedback since the instantaneous decision point in time corresponds to k, and this impulse response only takes terms into consideration which are based on reception values (k1, k2) lying in the past.
(35) While estimation device 12 and correction device 13 are very simple to implement in transceiver 54, their implementation in communication control device 11 is also possible, as is shown by communication control device 61.
(36) The method according to this exemplary embodiment observes the CAN bus signal during the transmission and corrects the signal with the aid of the above-described DFE structure. Having knowledge of the channel impulse response is advantageous for this purpose, the channel impulse response being dependent on the pairing of the transmitter and receiver, as described in the first exemplary embodiment. The channel impulse response may be determined as described in the first exemplary embodiment.
(37) All above-described embodiments of bus system 1, user stations 10, 20, 30 and of the method may be used individually or in any possible combinations. In addition, in particular the following modifications are conceivable.
(38) The above-described bus system 1, 2 according to the first and second exemplary embodiments is described based on a bus system which is based on the CAN protocol. Bus system 1 according to the first and second exemplary embodiments, however, may also be a different type of communication network. It is advantageous, but not a necessary prerequisite, to ensure an exclusive, collision-free access of a user station 10, 20, 30, 50, 60 to a shared channel in bus system 1, 2, at least for certain time periods.
(39) Bus system 1, 2 according to the first and second exemplary embodiments is in particular a CAN network or a TTCAN network or a CAN-FD network.
(40) The number and arrangement of user stations 10, 20, 30, 50, 60 in bus systems 1, 2 of the first and second exemplary embodiments are arbitrary. In particular, it is possible for only user stations 10 or user stations 50 or user stations 60 to be present in bus systems 1, 2 of the first and second exemplary embodiments.
(41) Instead of the decision-feedback equalization structure (DFE structure) described in the first exemplary embodiment for estimation device 12 and correction device 13, it is also possible to employ arbitrary trellis-based equalization methods, such as the BCJR algorithm (the individual letters in BCJR denote the initials of the developers: B for L. Bahl, C for J. Cocke, J for F. Jelinek, R for J. Raviv,) and/or a DDFSE algorithm (DDFSE=delayed decisionfeedback sequence estimation).
(42) Various fields of application of the user station and of the method carried out by the same are conceivable. In addition to the use for CAN and CAN-FD, in particular also an application in FlexRay is conceivable. These systems do not as yet use any equalization methods in the receiver of the receiving user station.
(43) The method may be separately optimized for any special application, such as CAN-FD, FlexRay, and the like. The application may also be automatically identified and accordingly adapted for multiple fields of application. For example, the method must be carried out faster with CAN-FD than with CAN, so that no delay is created which is longer than the one tolerated by the particular protocol.
(44) The determination of channel impulse response 120 used for equalization forms a basis for the method. It may be obtained by estimating channel impulse response 120 of the transmission channel of bus line 40. Alternatively, channel impulse response 120 may also be directly determined or optimized in the form of signal b(k). The estimation of channel impulse responses 120 may be carried out using all suitable methods. Since no training sequence is available, in particular adaptive methods are suitable, such as a least mean squares (LMS) algorithm and/or a recursive least squares (RLS) algorithm.
(45) In order to stabilize the estimation and increase the accuracy of channel impulse response 120, the parameters and coefficients of previously received messages 41, 42, 43 or packets of messages 41, 42, 43, which may also be referred to as reception bursts, may be assigned to the message identifiers or the transmitting user stations, and be used for chronologically received messages 41, 42, 43 or packets of messages 41, 42, 43.
(46) In addition or as an alternative to the estimation of the channel or of its channel impulse response 120, filters 541, 542, 544 in transceiver 14, 54, 61 may be optimized. For this purpose, filters 544 (transmission function F(z)) and 547 (transmission function B(z)1) and decision delay k.sub.0 are considered. Different criteria may be used for the optimization, such as a maximization of the signal-to-interference power ratio at the input of decider 546.
(47) Alternatively, required filter coefficients 544, 547 are provided by the estimation device without explicit estimation of channel impulse response 120, but are determined directly from the signal received by user stations 10, 50, 60.
(48) User stations 10, 30, 50 represent an option, in particular for CAN-FD, for increasing the reception quality of CAN-FD into the range of customary CAN transmissions using a considerably higher data rate.
(49) With respect to the functionality regarding the reception signal, the method may be implemented, for example, in a transceiver 14, 54, in a communication control device 61, and the like. In addition or as an alternative, it may be integrated into existing products.