Electronic circuit and method for processing a received electronic signal
Patent Information
- Application Number
- DE102018121724
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2018-09-06
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2038-09-06
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
The invention relates to electronic circuits and methods for processing a received electronic signal. In an ideal world, a receiver of a serial protocol would receive an exact representation of the original signal sent by the sender. This would allow the receiver to error-free decode the message content. However, in real-world situations, a distorted version of the ideal signal typically arrives at the receiver. There are various causes for this distortion. Firstly, there are typically deviations between the oscillators of the transmitter and receiver, consisting of a frequency offset between the oscillators and / or frequency fluctuations on one or both sides (drift with higher-order components). These deviations are caused, for example, by oscillator aging, process variations, voltage fluctuations, temperature changes, and the use of inferior oscillators (cost-saving measures). On the other hand, the transmission line used for the signal is subject to noise in the real world, for example white noise, noise due to coupling effects (e.g. from other high-frequency circuit components) or a varying delay of a transmitting or receiving module used for transmission. Since modern asynchronous protocols typically have strict timing requirements due to the increased data density, approaches that allow compensating for such distortions of received signals are desirable. US Pat. No. 9,407,424 B1 describes a CDR (Clock and Data Recovery) module that uses two samples per time interval to quickly determine timing information to better decode received data. Two clock phase signals are selected from a plurality of clock phase signals, and a sequence of data bits is sampled twice per time interval, with the first sample being referred to as the edge sample and the second sample being the data sample. Each edge sample is identified as early / late by comparing it with the next data sample. The phase of the two clock phase signals is iteratively adjusted by a variable step size until the edge samples occur near data transitions (signal edges). US 2014 / 0126656 A1 also describes a CDR module that extracts bit data values from a serial bit stream without knowing the transmitter clock. A controllable oscillator generates a regenerated clock signal that is controlled to adjust its frequency and phase to sample the serial data with an optimal phase. A phase detector generates early / late indication bits, which are cumulated and passed to a feedback controller with two different feedback paths for frequency and phase. Both feedback paths are combined to correct the controllable oscillator. This second-order filter operates at different rates so that the phase correction has a latency of only one clock cycle, and the frequency correction has a latency of several cycles. According to one embodiment, an electronic circuit is provided, comprising a receiver configured to receive an electronic signal according to an asynchronous serial transmission protocol, an edge detection circuit configured to detect at least one signal edge and a reference time in the received electronic signal, a time difference detection circuit configured to detect a temporal distance value between the detected signal edge and the reference time in a time unit predetermined according to the transmission protocol, and to detect a deviation of the temporal distance value from a target distance value in the predetermined time unit, wherein the target distance value is the value closest to the temporal distance value from a plurality of distance values permissible according to the transmission protocol, which are integer multiples of the predetermined time unit;anda processing circuit configured to process the deviation of the time interval value; According to a further embodiment, a method for processing a received electronic signal is provided, comprising receiving an electronic signal according to an asynchronous serial transmission protocol, determining at least one signal edge and a reference time in the received electronic signal, determining a temporal distance value between the determined signal edge and the reference time in a time unit predetermined according to the transmission protocol, determining a deviation of the temporal distance value from a target distance value in the predetermined time unit, wherein the target distance value is the value closest to the temporal distance value from a plurality of distance values permissible according to the transmission protocol, which are integer multiples of the predetermined time unit, and processing the deviation of the temporal distance value. Embodiments of the invention are illustrated in the figures and are explained in more detail below. Fig. 1 shows a data transmission arrangement for transmitting from a transmitter to a receiver via a bus. Fig. 2 shows an example of the transmission of a message according to the SENT (Single Edge Nibble Transmission) protocol. Fig. 3 shows a diagram showing the course of the deviations of edges from their ideal position. Fig. 4 illustrates the process for evaluating deviations from actual edge positions to ideal edge positions. Fig. 5 shows a diagram illustrating the temporal deviation of edges from their ideal position from the receiver's perspective in an overflow scenario. Fig. 6 illustrates the increase in deviation over the course of a message in the message representation. Fig. 7 shows the bit timing for a transmission according to the CAN (Controller Area Network) protocol. Fig.Figure 8 shows an electronic circuit according to one embodiment. Figure 9 shows a flowchart illustrating a method for processing a received electronic signal according to one embodiment. In the following detailed description, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. In this regard, directional terminology such as "top," "bottom," "front," "back," "fore," "rear," etc., will be used with reference to the orientation of the described figure(s). Since components of embodiments can be positioned in a number of different orientations, the directional terminology is for purposes of illustration and is in no way limiting. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present invention.It is understood that the features of the various exemplary embodiments described herein may be combined with one another unless specifically stated otherwise. The following detailed description is therefore not to be construed in a limiting sense, and the scope of the present invention is defined by the appended claims. Throughout this description, the terms "connected," "attached," and "coupled" are used to describe both a direct and an indirect connection, a direct or indirect connection, and a direct or indirect coupling. In the figures, identical or similar elements are provided with identical reference numerals where appropriate. Fig. 1 shows a data transmission arrangement 100 for transmitting data from a transmitter 101 to a receiver 102 via a bus 103. The transmitter 101 and the receiver 102 each have a clock generator 104, 105. The clock generators 104, 105 comprise, for example, oscillators. The data transmission arrangement 100 can, for example, be arranged in a vehicle. In this case, the transmitter 101 is, for example, a sensor and the receiver 102 is a control device in the vehicle. To receive a message 106 sent by the transmitter 101, the receiver 102 has an edge detector 107, a sampling device (or sampler) 108 (depending on the protocol used), and a decoder 109. The message 106 is transmitted to the receiver in the form of an electrical signal via the bus 103. Depending on the protocol used, the decoder 108 decodes the message based on the position of the edges in the signal detected by the edge detector 107 or based on signal sample values determined by the sampling device 108. The sampling device 108 and / or the decoder 109 (depending on the protocol used) operate according to the timing specified by the clock generator 105 of the receiver. The message 106 corresponds to one or more frames of the transmission protocol. Modern vehicles use various bus systems, such as CAN (Controller Area Network), LIN (Local Interconnect Network) and SENT (Single Edge Nibble Transmission). SENT is a serial transmission protocol for a unidirectional, asynchronous voltage interface. Fig. 2 shows an example of the transmission of a message according to the SENT protocol. A SENT message (corresponding to a frame) consists of a sequence of rising edges 201 and falling edges 202, where the time interval between two consecutive falling edges 202 encodes an information symbol. The time interval is given in so-called ticks and the duration between two falling edges 202, which delimit a symbol transmission range 203 (ie a symbol transmission pulse), is between 12 and 27 ticks and thus encodes one of the values 0 to 15 (4 bits = 1 nibble). At the beginning of a SENT message, a synchronization pulse 204 is transmitted, which lasts 56 ticks. By timing this synchronization range, the receiver 102 can calculate the duration of a tick, typically 3 µs. (It can be set between 3 µs and 90 µs. A setting of 3 µs is frequently used.) At the end of a message, a pause 205 can follow, for example, to adjust frames of different lengths to a constant duration. For each falling edge 202, there is an ideal position at which it should occur according to the encoded information and an actual position. The ideal position is located at an integer distance of ticks from the previous falling edge 202, where the integer number of ticks to which the distance ideally corresponds is given by the encoded information. The transmitter 101 sends the SENT message in an ideal form with respect to its own local timing (as specified by its local clock 104). However, the receiver receives the SENT message in a deviating, non-ideal form with non-ideal positions of the falling edges 202, since the local timing of the receiver (as specified by its local clock 105) differs in practice from the local timing of the transmitter 101. There may also be transmission interference between the transmitter 101 and the receiver 102 (due to the transmit / receive modules, the lines, etc.) that contributes to the falling edges 202 not occurring at ideal positions from the receiver's perspective. Thus, for each falling edge 202, there is typically a deviation on the receiver side between its ideal position (an integer distance from the previous falling edge 202) and its actual position. A falling edge 202 therefore occurs at the receiver 102 at a non-integer distance from the previous falling edge 202. The deviation leads to reduced decoding stability and increases the probability of erroneous message decoding on the part of the receiver 102. It is therefore desirable to detect and correct or compensate for these deviations as well as possible. The following describes examples of implementation in which these deviations are taken into account on the receiver side. According to one embodiment, the receiver 102 evaluates further edges 201, 202 in addition to the edges of the synchronization pulse 204 to determine timing information (e.g., information about its relative timing with respect to the timing of the transmitter 101). For example, the receiver evaluates the positions of one of several (up to all) edges 201, 202 or at least one or more (up to all) falling edges 202 in addition to those of the synchronization pulse 204. The receiver 102 calculates, for example, the deviations of the edge positions from their ideal positions. The receiver 102 (for example, a corresponding processing device of the receiver) can use the calculated deviations for, for example, one or more of: • Drift pattern detection • Calculating a linear drift component and optionally higher-order drift components • Calculating a drift offset (i.e., the zero-order drift component) • Deriving a message reliability index or metric that is displayed to a user of the receiver 102 along with the received message. • Deriving a reliability trend or quality trend from long-term observation of the deviations. One use case could be the detection of premature component failure. • Taking the deviations into account to adapt the local time base that the receiver 102 uses to decode the transmitted data (symbols, nibbles).• Correcting the received data by taking the detected deviations into account during decoding. • Correcting the ideal edge positions initially assumed by the receiver 102 based on the evaluation of the measured deviations. For example, a constant offset and the average drift velocity can be used as input data for a simple model of an oscillator that does not behave constantly, which better reflects reality than an assumed ideal constant frequency oscillator. • Applying the correction iteratively with the corrected edge positions as new ideal edge positions for the next correction iteration. The presence or lack of convergence can be used to adapt the correction algorithm and derive more detailed quality metrics.• Consider the sequence of deviations as a statistical distribution and use statistical methods to decode the message and derive quality metrics. A message according to the SENT protocol can therefore be viewed as a sequence of deviations, as shown in Fig. 3. Fig. 3 shows a diagram 300 showing the course of the deviations of flanks from their ideal position. Time increases along the x-axis 301 from left to right. If the edges 201, 202 are indexed such that earlier edges have a lower index, this is equivalent to the index increasing from left to right. In this example, the x-axis scale is chosen so that the edge indices follow one another equidistantly. The deviation tends to increase along the y-axis 302 from bottom to top. For each edge (i.e., for each edge index on the x-axis), a point in diagram 300 indicates the deviation from its ideal position. For example, the edges here are the falling edges 202, but can also include all edges 201 and 202. In Fig. 3, a straight line 303 has been drawn through the points, showing the deviation trend. Its angle β relative to the x-axis represents the drift and can, for example, correspond to the drift between the clock generator 104 of the transmitter and the clock generator 105 of the receiver. The y-axis intercept 304 of the line 303 represents the offset of the deviations. Fig. 4 illustrates the process for evaluating deviations of actual flank positions from ideal flank positions. In 401, the receiver 102 receives a SENT message corresponding to a sequence of edges. The receiver 102 subjects the sequence of edges in 402 to a drift trend analysis, for example as illustrated in Fig. 3 by interpolating the deviations using a straight line. After the drift trend analysis, the receiver 102 corrects the positions of the falling edges 202 in 403 based on the drift trend analysis before decoding the message in 404 based on the corrected positions of the falling edges 202. The receiver can also provide the result of the drift trend analysis to the user as potentially valuable information. It should be noted that when the receiver 102 receives two falling edges 202, the ideal temporal separation between the falling edges 202 is generally not uniquely defined from the receiver's perspective. In the example of the SENT protocol (Revision 4), for each possible received data value in the range from 0 to 15, there is a corresponding ideal position of a received falling edge, all of which, from the receiver's perspective, can correspond to the true ideal position because the receiver does not know the transmitted data value a priori. From the receiver's perspective, there are therefore 16 potential ideal edge positions until the receiver has decided which value was transmitted. If a frequency drift is present during message reception, the deviation may become so large that the receiver's message decoder 109 interprets a time offset for a symbol as one tick too large (along with a reversal of the polarity of the deviation from the deviation for the previous symbol). This is illustrated in Fig. 5. Fig. 5 shows a diagram illustrating the temporal deviation of edges from their ideal position from the receiver's perspective in an overflow scenario. As in Fig. 3, time increases from left to right along the x-axis 501 and the deviation increases from bottom to top along the y-axis 502, but unlike Fig. 3, this is not the true deviation but the deviation as it appears to the receiver. In this example, there is no offset and at the beginning of the message the deviation is zero and then increases over the course of the message due to the deviation trend (as in the example of Fig. 3 ). At a certain time 503 the time deviation exceeds half a tick. Since two adjacent nibble values are always one tick apart, the receiver misinterprets a nibble value when the deviation reaches a magnitude of half a tick, because the boundary between two adjacent symbol values is crossed. In the example in Fig. 5, the receiver therefore interprets the value of a nibble value as one too high, with a negative deviation. Subsequently, the deviation continues to increase from the receiver's perspective until, in this example, at another time 504, this situation of the temporal deviation overflowing the symbol boundary occurs again. Fig. 6 illustrates the increase in deviation over the course of a message in the message representation. The first falling edge 601 after the message's synchronization pulse 606 occurs with a temporal deviation of Δt1 from its ideal position. The deviation increases over time, so that the second falling edge 602 occurs with a temporal deviation of Δt2 from its ideal position, the third falling edge 603 with Δt3, the fourth falling edge 604 with Δt4, and the fifth falling edge 605 with Δt5, where Δt1< Δt2< Δt3< Δt4< Δt5. If the deviation is greater than half a tick, the receiver interprets the time interval between two consecutive edges as one tick larger than it should be. However, according to one embodiment, the receiver can detect this situation based on the detected deviations: from its perspective, the deviations result in a zigzag pattern, as shown in Fig. 5. Based on the occurrence of such a zigzag pattern, the receiver can detect that a continuous drift trend exists, which leads to the boundaries between the symbols being exceeded. The receiver can also detect such a situation by checking the checksum (or CRC), since bit errors occur in this situation. In the embodiment described above, the temporal position of (at least) the falling edges 202 is used for data transmission and also for evaluating the relative timing between transmitter 101 and receiver 102. However, the approach described above can also be used for a protocol in which the information is transmitted via pulses sampled by receiver 102. One example is CAN (Controller Area Network), an embodiment of which is explained below. Fig. 7 shows the bit timing during transmission according to the CAN protocol. The time unit in CAN is a time quantum. The nominal CAN bit duration 700 initially has a Sync_Seg area 701, which has a fixed duration of one time quantum and is used by the receiver 102 to synchronize the received signal with its system clock. This is followed by a Prop_Seg range 702 with a duration of 1 to 8 time quanta to compensate for physical delay times. This is followed by a phase Segl range 703 with a duration of 1 to 8 time quanta, which can be temporarily extended by synchronization, and a phase Seg2 range 704 with a duration of 1 to 8 time quanta, which can be temporarily shortened by synchronization. The phase buffer segments Phase-Seg1 703 and Phase-Seg2 704 surround the sampling time 705 at which the receiver 102 samples the level of the CAN bus signal. The synchronization segment Sync_Seg 701 is the portion of the bit period 700 in which the receiver 102 expects edges of the CAN bus level. The distance between an edge occurring outside of Sync_Seg 701 and the synchronization segment Sync_Seg 701 is referred to as the phase error of that edge. The (re)synchronization jump width (SJW) defines how far a resynchronization may shift the sampling time within the limits defined by the phase buffer segments to compensate for edge phase errors. According to one embodiment, the receiver 102 determines the phase errors of several bits and evaluates them analogously to the deviations of edge positions, as described above for the SENT protocol. In summary, according to various embodiments, an electronic circuit is provided as shown in Fig. 8. Fig. 8 shows an electronic circuit 800 according to one embodiment. The electronic circuit 800 comprises a receiver 801 configured to receive an electronic signal according to an asynchronous serial transmission protocol. The electronic circuit 800 also includes an edge detection circuit 802 configured to detect at least one signal edge and a reference time in the received electronic signal. In addition, the electronic circuit 800 has a time difference determination circuit 803 configured to determine a time interval value between the determined signal edge and the reference time in a time unit predetermined according to the transmission protocol, and to determine a deviation of the time interval value from a target interval value in the predetermined time unit. The electronic circuit 800 further comprises a processing circuit configured to process the deviation of the time distance value. In other words, according to one embodiment, a receiver determines a time interval between a signal edge and a reference time and compares this with a target interval value. The target interval value can be the closest interval value from a plurality of possible interval values. For example, only integer multiples of the predetermined time unit are possible as interval values according to the protocol, and the receiver (i.e., the time difference determination circuit) determines the deviation of the determined interval from the grid of possible interval values. Since only certain interval values are possible according to the protocol, the processing circuit can use the deviation to determine information about a timing error between a transmitter of the electronic signal and the receiver, or timing errors that occur due to distortions during transmission. The processing circuit may be configured to process multiple deviations determined analogously to the deviation described with reference to Fig. 8. The multiple deviations may be determined based on edges that belong to the same message and / or frame or extend across multiple messages and / or frames. The electronic circuit 800 is used, for example, for a transmission protocol in which the information is transmitted by means of a distance between two edges, such as the SENT protocol. The electronic circuit 800 can also be used for a transmission protocol in which the information is transmitted by means of the level of a pulse, such as the CAN protocol or the LIN protocol. The electronic circuit 800 can be used for any protocol where there are deviations between ideal positions and actual positions of edges, for example SENT, CAN, LIN and UART (Universal Asynchronous Receiver Transmitter). The transmission protocol, for example, is one in which timing information and clocking are transmitted over the same line. Synchronization of the frequency between transmitter and receiver can be achieved by detecting two (e.g., falling) edges on the receiver side. Such synchronization can be based on a synchronization range, for example, and the processing circuit can be configured to improve the synchronization between transmitter and receiver based on the deviation (or several correspondingly detected deviations). The transmission protocol can, for example, be a protocol that encodes information to be transmitted using pulse width modulation. Depending on the protocol, the predetermined time unit is, for example, a tick or a time quantum, the duration of which can be signaled to the receiver by means of the electronic signal (e.g. at the beginning of the electronic signal). The electronic circuit allows for increasing the operational reliability and / or robustness of data transmission to the receiver, for example, by measuring, detecting, analyzing, and correcting data transmission distortion. This allows for increased performance of the transmission protocol. The components of the electronic circuit can be implemented by one or more circuits. In one embodiment, a “circuit” is understood to be any unit that implements logic, and can be hardware, software, firmware, or a combination thereof. Thus, in one embodiment, a “circuit” can be a hard-wired logic circuit or a programmable logic circuit, such as a programmable processor, e.g., a microprocessor. A “circuit” can also be understood to be a processor that executes software, e.g., any type of computer program, such as a computer program in programming code for a virtual machine. In one embodiment, a “circuit” can be understood to be any type of implementation of the described functions. Fig. 9 shows a flowchart 900 illustrating a method for processing a received electronic signal. In 901, an electronic signal is received according to an asynchronous serial transmission protocol. In 902, at least one signal edge and one reference time point are determined in the received electronic signal. In 903, a time interval value between the determined signal edge and the reference time is determined in a time unit predetermined according to the transmission protocol. In 904, a deviation of the temporal distance value from a target distance value in the predetermined time unit is determined. In 905 the deviation of the time distance value is processed. Various examples of implementation are given below. Embodiment 1 is an electronic circuit as described with reference to Fig. 8. Embodiment 2 is an electronic circuit according to Embodiment 1, wherein the reference time is another signal edge, a signal sampling time or a synchronization time. Embodiment 3 is an electronic circuit according to Embodiment 1, wherein the reference time is a boundary of a synchronization range. Embodiment 4 is an electronic circuit according to one of embodiments 1 to 3, wherein the target distance value is an integer multiple of the predetermined time unit. Embodiment 5 is an electronic circuit according to any one of embodiments 1 to 4, wherein the target distance value encodes information transmitted by the electronic signal. Embodiment 6 is an electronic circuit according to one of embodiments 1 to 5, wherein the at least one signal edge is a signal edge of a data transmission pulse. Embodiment 7 is an electronic circuit according to one of the embodiments 1 to 6, wherein the time difference determination circuit is configured to determine the temporal distance value for a plurality of pairs of signal edge and reference time between the signal edge and the reference time and to determine a deviation of the temporal distance value from a respective target distance value for each of the plurality of pairs, and the processing circuit is configured to process the deviations determined for the pairs. Embodiment 8 is an electronic circuit according to embodiment 7, wherein the signal edges of the plurality of pairs are signal edges of the same message and / or frame according to the transmission protocol. Embodiment 9 is an electronic circuit according to embodiment 7 or 8, wherein the signal edges of the plurality of pairs are signal edges in the data area of the message and / or the frame. Embodiment 10 is an electronic circuit according to any one of embodiments 7 to 9, wherein the processing circuit is configured to determine a trend of the determined deviations over time. Embodiment 11 is an electronic circuit according to any one of embodiments 1 to 10, comprising a decoding circuit configured to decode the electronic signal based on the deviation. Embodiment 12 is an electronic circuit according to any one of embodiments 1 to 11, wherein the processing circuit is configured to determine a timing deviation between a transmitter of the electronic signal and a receiver of the electronic signal. Embodiment 13 is an electronic circuit according to Embodiment 12, comprising a clock and a clock controller configured to control the clock based on the timing deviation. Embodiment 14 is an electronic circuit according to embodiment 13, wherein the clock controller is configured to control the clock such that the timing deviation between transmitter and receiver is reduced. Embodiment 15 is an electronic circuit according to any one of embodiments 1 to 14, wherein the processing circuit is configured to determine a transmission quality of the transmission of the electronic signal based on the deviation of the time interval value. Embodiment 16 is an electronic circuit according to any one of embodiments 1 to 15, comprising a data correction circuit configured to correct data determined from the electronic signal based on the deviation. Embodiment 17 is an electronic circuit according to any one of embodiments 1 to 16, comprising a timing correction circuit configured to correct the reference timing based on the deviation. Embodiment 18 is an electronic circuit according to any one of embodiments 1 to 17, wherein the target distance value is a temporal distance value of a plurality of possible target distance values. Embodiment 19 is a method for processing a received electronic signal as described with reference to Fig. 9. Embodiment 20 is a method according to embodiment 19, wherein the reference time is another signal edge, a signal sampling time, or a synchronization time. Embodiment 21 is a method according to Embodiment 19, wherein the reference time is a boundary of a synchronization range. Embodiment 22 is a method according to any one of embodiments 19 to 21, wherein the target distance value is an integer multiple of the predetermined time unit. Embodiment 23 is a method according to any one of embodiments 19 to 22, wherein the target distance value encodes information transmitted by the electronic signal. Embodiment 24 is a method according to any one of embodiments 19 to 23, wherein the at least one signal edge is a signal edge of a data transmission pulse. Embodiment 25 is a method according to one of the embodiments 19 to 24, comprising determining the temporal distance value for a plurality of pairs of signal edge and reference time between the signal edge and the reference time, determining, for each of the plurality of pairs, a deviation of the temporal distance value from a respective target distance value and processing the deviations determined for the pairs. Embodiment 26 is a method according to embodiment 25, wherein the signal edges of the plurality of pairs are signal edges of the same message and / or frame according to the transmission protocol. Embodiment 27 is a method according to embodiment 25 or 26, wherein the signal edges of the plurality of pairs are signal edges in the data area of the message and / or the frame. Embodiment 28 is a method according to any one of embodiments 25 to 27, comprising determining a trend of the determined deviations over time. Embodiment 29 is a method according to any one of embodiments 19 to 28, comprising decoding the electronic signal based on the deviation. Embodiment 30 is a method according to any one of embodiments 19 to 29, comprising determining a timing deviation between a transmitter of the electronic signal and a receiver of the electronic signal. Embodiment 31 is a method according to embodiment 30, comprising controlling a clock based on the timing deviation. Embodiment 32 is a method according to embodiment 31, comprising controlling the clock such that the timing deviation between transmitter and receiver is reduced. Embodiment 33 is a method according to any one of embodiments 19 to 32, comprising determining a transmission quality of the transmission of the electronic signal based on the deviation of the temporal distance value. Embodiment 34 is a method according to any one of embodiments 19 to 33, comprising correcting data determined from the electronic signal based on the deviation. Embodiment 35 is a method according to any one of embodiments 19 to 34, comprising correcting the reference time based on the deviation. Embodiment 36 is a method according to any one of embodiments 19 to 35, wherein the target distance value is a temporal distance value of a plurality of possible target distance values. Depending on the transmission protocol used, the time difference between a signal edge and various other points in time, such as another edge, a synchronization range, or a sampling point, can be determined. Corresponding implementation examples are given below. According to one embodiment, an electronic circuit is provided, comprising:• a receiver configured to receive an electronic signal according to an asynchronous serial transmission protocol;• an edge detection circuit configured to detect at least two signal edges in the received electronic signal;• a time difference detection circuit configured to detect a time interval value between the two detected signal edges in a time unit predetermined according to the transmission protocol, and to detect a deviation of the time interval value from a target interval value in the predetermined time unit; and• a processing circuit configured to process the deviation of the time interval value. According to a further embodiment, an electronic circuit is provided, comprising:• a receiver configured to receive an electronic signal according to an asynchronous serial transmission protocol;• an edge detection circuit configured to detect at least one signal edge and one signal sampling time in the received electronic signal;• a time difference detection circuit configured to detect a time interval value between the detected signal edge and the signal sampling time in a time unit predetermined according to the transmission protocol, and to detect a deviation of the time interval value from a target interval value in the predetermined time unit; and• a processing circuit configured to process the deviation of the time interval value. According to a further embodiment, an electronic circuit is provided, comprising:• a receiver configured to receive an electronic signal according to an asynchronous serial transmission protocol;• an edge detection circuit configured to detect at least one signal edge and a signal synchronization range in the received electronic signal;• a time difference detection circuit configured to detect a time interval value between the detected signal edge and the signal synchronization range in a time unit predetermined according to the transmission protocol, and to detect a deviation of the time interval value from a target interval value in the predetermined time unit; and• a processing circuit configured to process the deviation of the time interval value. According to a further embodiment, an electronic circuit is provided, comprising:• receiving means for receiving an electronic signal according to an asynchronous serial transmission protocol;• edge detection means for detecting at least one signal edge and a reference time in the received electronic signal;• time difference detection means for detecting a time interval value between the detected signal edge and the reference time in a time unit predetermined according to the transmission protocol, and for detecting a deviation of the time interval value from a target time interval value in the predetermined time unit; and• processing means for processing the deviation of the time interval value. Although the invention has been particularly shown and described with reference to specific embodiments, it should be understood by those skilled in the art that numerous changes in design and detail may be made therein without departing from the spirit and scope of the invention as defined by the following claims. The scope of the invention is therefore determined by the appended claims, and it is intended to embrace all changes that come within the letter or range of equivalence of the claims. List of reference symbols 100 Data transmission arrangement 101 Transmitter 102 Receiver 103 Bus 104 Clock generator 105 Clock generator 106 Edge detector 107 Sampling device 108 Decoder 201 Rising edges 202 Falling edges 203 Symbol transmission ranges 204 Synchronization pulse 205 Pause 300 Diagram 301 x-axis 302 y-axis 303 Straight line 304 y-axis intercept 401-404 Sequence steps 405 User information 501 x-axis 502 y-axis 503, 504 Time points 601-605 Falling edges 606 Synchronization pulse 700 Nominal CAN bit duration 701 Sync_Seg range 702 Prop_Seg range 703 Phase_Segl range 704 Phase-Seg2 range 705 Sampling time 800 Electronic circuit 801 Receiver 802 Edge detection circuit 803 Time difference detection circuit 804 Processing circuit 900 Flowchart 901-905 Process steps
Claims
Electronic circuit, comprising:• a receiver configured to receive an electronic signal according to an asynchronous serial transmission protocol;• an edge detection circuit configured to detect at least one signal edge and a reference time in the received electronic signal;• a time difference detection circuit configured to detect a time interval value between the detected signal edge and the reference time in a time unit predetermined according to the transmission protocol, and to detect a deviation of the time interval value from a target interval value in the predetermined time unit, wherein the target interval value is the value closest to the time interval value from a plurality of interval values permitted according to the transmission protocol, which are integer multiples of the predetermined time unit;and• a processing circuit configured to process the deviation of the time interval value; Electronic circuit according to claim 1, wherein the reference time is another signal edge, a signal sampling time or a synchronization time. Electronic circuit according to claim 1, wherein the reference time is a boundary of a synchronization range. Electronic circuit according to one of claims 1 to 3, wherein the target distance value encodes information transmitted by the electronic signal. Electronic circuit according to one of claims 1 to 4, wherein the at least one signal edge is a signal edge of a data transmission pulse. Electronic circuit according to one of claims 1 to 5, wherein the time difference determination circuit is configured to determine the temporal distance value for a plurality of pairs of signal edge and reference time between the signal edge and the reference time and to determine a deviation of the temporal distance value from a respective target distance value for each of the plurality of pairs and the processing circuit is configured to process the deviations determined for the pairs. Electronic circuit according to claim 6, wherein the signal edges of the plurality of pairs are signal edges of the same message and / or the same frame according to the transmission protocol. Electronic circuit according to claim 6 or 7, wherein the signal edges of the plurality of pairs are signal edges in the data area of the message and / or the frame. Electronic circuit according to one of claims 6 to 8, wherein the processing circuit is arranged to determine a trend of the determined deviations over time. Electronic circuit according to one of claims 1 to 9, comprising a decoding circuit configured to decode the electronic signal based on the deviation. Electronic circuit according to one of claims 1 to 10, wherein the processing circuit is configured to determine a timing deviation between a transmitter of the electronic signal and a receiver of the electronic signal. The electronic circuit of claim 11, comprising a clock and a clock controller configured to control the clock based on the timing deviation. Electronic circuit according to claim 12, wherein the clock controller is configured to control the clock such that the timing deviation between transmitter and receiver is reduced. Electronic circuit according to one of claims 1 to 13, wherein the processing circuit is configured to determine a transmission quality of the transmission of the electronic signal based on the deviation of the time interval value. Electronic circuit according to one of claims 1 to 14, comprising a data correction circuit configured to correct data determined from the electronic signal based on the deviation. Electronic circuit according to one of claims 1 to 15, comprising a timing correction circuit configured to correct the reference time based on the deviation. A method for processing a received electronic signal, comprising:• receiving an electronic signal according to an asynchronous serial transmission protocol;• determining at least one signal edge and one reference time in the received electronic signal;• determining a temporal distance value between the determined signal edge and the reference time in a time unit predetermined according to the transmission protocol,• determining a deviation of the temporal distance value from a target distance value in the predetermined time unit, wherein the target distance value is the value closest to the temporal distance value from a plurality of distance values permissible according to the transmission protocol, which are integer multiples of the predetermined time unit; and• processing the deviation of the temporal distance value.
Citation Information
Patent Citations
Clock data recovery circuit with hybrid second order digital filter having distinct phase and frequency correction latencies
US20140126656A1
Fast locking clock and data recovery using only two samples per period
US9407424B1
