Signal receiving method, signal receiving apparatus, and communication system

By generating multiple detection windows for the detection signal under the DSI3 protocol and determining the position based on the transition edge, the communication problem caused by the clock frequency deviation between the master and slave devices is solved, and the data reception success rate is improved.

CN120614096BActive Publication Date: 2026-05-05SUZHOU NOVOSENSE MICROELECTRONICS CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU NOVOSENSE MICROELECTRONICS CO LTD
Filing Date
2025-08-07
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Because the clock frequencies of the master and slave devices gradually deviate from synchronization after operation, the slave device cannot correctly receive the command feedback signals sent by the master device, affecting normal communication.

Method used

A detection signal is generated by receiving a command feedback signal. The detection signal includes multiple detection windows opened after the start and end positions. Each detection window corresponds to a transition edge of an information bit. The position of the (n+1)th detection window is determined based on the transition edge detected within the nth detection window. The DSI3 protocol is used for signal reception.

Benefits of technology

The offset between the detection window and the transition edge is reduced, avoiding offset accumulation and improving the data reception success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120614096B_ABST
    Figure CN120614096B_ABST
Patent Text Reader

Abstract

This invention discloses a signal receiving method, a signal receiving device, and a communication system. The signal receiving method includes: receiving a command feedback signal, the command feedback signal including a start bit and information bits following the start bit; generating a detection signal based on the command feedback signal, the detection signal including multiple detection windows opened after the end position of the start bit, the multiple detection windows corresponding one-to-one with multiple transition edges of the information bits, and the position of the (n+1)th detection window being determined based on the transition edge detected within the nth detection window, where n is a positive integer. This invention determines the position of the (n+1)th detection window by using the transition edge detected within the nth detection window, thereby reducing the offset between the detection window and the transition edge, and preventing the offset of the detection window from accumulating, thus significantly improving the data reception success rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a signal receiving method, a signal receiving device, and a communication system. Background Technology

[0002] Currently, in the field of automotive electronics, communication between master and slave devices is generally based on the DSI3 (Distributed System Interface 3) protocol, such as data transmission between airbag systems, sensors and control modules. Its characteristics are high reliability, real-time performance and anti-interference capability.

[0003] Since the clock sources of the master and slave devices are independent of each other, their clock frequencies may gradually deviate from the synchronization frequency after a period of operation due to the influence of the working environment. This can cause the slave device to be unable to correctly receive the command feedback signals sent by the master device, affecting the normal communication between the master and slave devices. Summary of the Invention

[0004] The main objective of this invention is to provide a signal receiving method, a signal receiving device, and a communication system, which enable the slave device to tolerate frequency differences during the reception of signals from the master device, thereby ensuring normal communication between the master and slave devices.

[0005] To achieve the above objectives, the present invention proposes a signal receiving method comprising: receiving a command feedback signal, the command feedback signal including a start bit and information bits following the start bit; generating a detection signal based on the command feedback signal, the detection signal including multiple detection windows opened after the end position of the start bit, the multiple detection windows corresponding one-to-one with multiple transition edges of the information bits, and the position of the (n+1)th detection window being determined based on the transition edge detected within the nth detection window, where n is a positive integer.

[0006] Optionally, the information bit includes a first information bit; the step of generating a detection signal based on the command feedback signal includes: opening a first detection window on both sides of the ideal center position of the first information bit; identifying the transition edge appearing in the first detection window; determining the position of the (n+1)th detection window based on the transition edge detected in the nth detection window; opening the (n+1)th detection window based on the position of the (n+1)th detection window; and identifying the transition edge appearing in the (n+1)th detection window.

[0007] Optionally, determining the position of the (n+1)th detection window based on the transition edge detected within the nth detection window includes: using the position of the transition edge detected within the nth detection window as the anchor point of the (n+1)th detection window; and determining the middle position of the (n+1)th detection window based on the anchor point and the Tbit of the internal clock frequency.

[0008] Optionally, the multiple detection windows may be the same size.

[0009] Optionally, the size of the detection window is 2 / 3 Tbit.

[0010] Optionally, the duty cycle of the command feedback signal is 1 / 3 to 2 / 3.

[0011] Optionally, the information bits include synchronization information; after receiving the command feedback signal and before generating the detection signal based on the command feedback signal, the method further includes: performing clock synchronization according to the synchronization information.

[0012] Optionally, after generating the detection signal based on the command feedback signal, the method further includes: parsing the type of the transition edge corresponding to the detection window to obtain the target data corresponding to the information bit.

[0013] Optionally, the signal receiving method is based on the DSI3 protocol for signal reception.

[0014] The present invention also proposes a signal receiving device configured to receive signals using the above-described signal receiving method.

[0015] The present invention also proposes a communication system, comprising: a second master device configured to transmit bus information, the bus information including command feedback signals; and a second signal receiving device configured to receive signals using the above-described signal receiving method.

[0016] The technical solution of this invention receives a command feedback signal and generates a detection signal based on the command feedback signal. The detection signal is set to multiple detection windows that are opened after the end position of the start position. The position of the (n+1)th detection window is determined by the transition edge detected in the nth detection window. This reduces the offset between the detection window and the transition edge, and the offset of the detection window will not accumulate. This ensures that each detection window can detect the corresponding transition edge as much as possible, thereby greatly improving the data reception success rate. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram of the structure of a communication system;

[0019] Figure 2 This is a schematic diagram of the command feedback signal and the detection window in clock synchronization mode.

[0020] Figure 3 This is a schematic diagram of the command feedback signal and the detection window under clock deviation conditions.

[0021] Figure 4 This is a flowchart illustrating the signal receiving method provided in an embodiment of the present invention;

[0022] Figure 5 for Figure 4 A schematic diagram of the sub-process of step S20;

[0023] Figure 6 for Figure 5 A schematic diagram of the sub-process of step S230;

[0024] Figure 7 This is another schematic flowchart of the signal receiving method provided in an embodiment of the present invention;

[0025] Figure 8 This is another schematic flowchart of the signal receiving method provided in an embodiment of the present invention;

[0026] Figure 9 An example diagram of command feedback signals and a detection window;

[0027] Figure 10 This is another example diagram of command feedback signals and detection windows;

[0028] Figure 11 This is a schematic diagram of the communication system provided in an embodiment of the present invention;

[0029] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0031] Furthermore, in this invention, descriptions involving "first," "second," etc., are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0032] As described in the background section, the clock frequencies of the master and slave devices may gradually deviate from the synchronization frequency after a period of operation, which may cause the slave device to be unable to correctly receive the command feedback signals sent by the master device, affecting the normal communication between the master and slave devices.

[0033] Specifically, such as Figure 1 As shown, Figure 1 This is a schematic diagram of a communication system embodiment, including: a first master device 10 and a first signal receiving device 20, the first signal receiving device 20 being a slave device. The first master device 10 and the first signal receiving device 20 can be connected via a network, and can also communicate based on the DSI3 protocol. In the communication system, the first master device 10 is responsible for, for example, initiating communication, controlling timing and synchronization signals, etc., while the first signal receiving device 20 (slave device) passively responds to the instructions of the first master device 10, and is responsible for receiving data or performing operations.

[0034] Commands transmitted based on the DSI3 protocol are mainly divided into three categories: CRM commands, PDCM commands, and DM commands. CRM commands are mainly used for transmission control, reading diagnostic information, etc., PDCM commands are used for batch data transmission, and DM commands are used for address allocation. Compared with the other two commands, the CRM command is a more basic command. Before sending the DM command and PDCM command, the first master device 10 will first send the CRM command to the first signal receiving device 20 (slave device).

[0035] Generally, the first signal receiving device 20 (slave device) receives CRM commands by starting the detection of information bits at the end position of the start bit. Since the duty cycle of the DSI signal may change after PHY processing, the first signal receiving device 20 (slave device) opens a detection window on both sides of the ideal center position of each information bit. If exactly one transition edge appears within the detection window, the data information of the received information bit can be parsed based on the type of the transition edge. This process is repeated until all information bits have been received. If two transition edges appear within the detection window during reception, or if no transition edge appears, a detection error is reported and the process is interrupted.

[0036] like Figure 2 As shown, Figure 2 Assuming the first master device 10 and the first signal receiving device 20 (slave device) maintain 1MHz clock synchronization, A is a schematic diagram of the command feedback signal sent by the first master device 10, and B1 is a schematic diagram of the detection window opened by the first signal receiving device 20 (slave device). When the first master device 10 and the first signal receiving device 20 (slave device) maintain 1MHz clock synchronization, the transition edge of the center position of the Manchester code information bits sent by the first master device 10 always falls within the detection window opened by the first signal receiving device 20 (slave device).

[0037] However, since the clock sources of the first master device 10 and the first signal receiving device 20 (slave device) are independent of each other, their clock frequencies may gradually deviate from the synchronization frequency after a period of operation due to the influence of the working environment. This will cause the center position of the detection window opened by the first signal receiving device 20 (slave device) when receiving the command feedback signal to deviate from the center position of the information bit sent by the first master device 10. At the same time, the detection window deviation caused by the frequency deviation during the reception process will continue to accumulate, which may eventually cause the first signal receiving device 20 (slave device) to fail to receive the CRM command correctly. Figure 3 As shown, Figure 3 This diagram illustrates a situation where the 1MHz clocks of the first master device 10 and the first signal receiving device 20 (slave device) are out of sync. A is a schematic diagram of the command feedback signal sent by the first master device 10, and B2 shows the first signal receiving device 20 (slave device) opening its detection window according to existing technology. When the 1MHz clocks of the first master device 10 and the first signal receiving device 20 (slave device) deviate after a long period of operation, and there is no synchronization event during this period, the transition edge of the center position of the Manchester code information bits sent by the first master device 10 may initially fall within the detection window. However, due to the frequency deviation, the detection window later completely deviates from the center position of the information bits, ultimately leading to data reception failure.

[0038] To address the aforementioned problems, embodiments of the present invention propose a signal receiving method.

[0039] Reference Figure 4 , Figure 4 This is a schematic flowchart of a signal receiving method according to an embodiment of the present invention. In this embodiment, the signal receiving method may include, for example, the following steps:

[0040] S00, receive a command feedback signal, the command feedback signal including a start bit and information bits after the start bit;

[0041] S20, a detection signal is generated based on the command feedback signal. The detection signal includes multiple detection windows that are opened after the end position of the start position. The multiple detection windows correspond one-to-one with the multiple transition edges of the information bits, and the position of the (n+1)th detection window is determined according to the transition edge detected in the nth detection window, where n is a positive integer.

[0042] See Figure 11 This invention also proposes a second signal receiving device 40 and a communication system. The signal receiving method can be executed by the second signal receiving device 40. Communication between the second master device 30 and the second signal receiving device 40 (slave device) can be based on, for example, the DSI3 protocol. The second master device 30 sends a command feedback signal to the second signal receiving device 40 (slave device). The command feedback signal can be, for example, a CRM command. The second signal receiving device 40 receives the command feedback signal, which includes a start bit and information bits following the start bit. In one embodiment of this invention, the information bits can be, for example, Manchester encoded and can include 32-bit information bits. Of course, this embodiment is not limited to this. A detection signal is generated based on the command feedback signal. The detection signal includes multiple detection windows opened after the end position of the start bit. The multiple detection windows correspond one-to-one with multiple transition edges of the information bits, and the position of the (n+1)th detection window is determined according to the transition edge detected in the nth detection window, where n is a positive integer. The detection windows are used to detect the information bits, thereby realizing the data reception of the information bits.

[0043] like Figure 3 As shown, Figure 3Figure A shows a schematic diagram of the command feedback signal sent by the second master device 30, and Figure B3 shows the case where the second signal receiving device 40 (slave device) opens a detection window according to the signal receiving method provided by this invention. By dynamically opening multiple detection windows, when the second master device 30 and the second signal receiving device 40 (slave device) deviate after running for a long time at a 1MHz clock, and there is no synchronization event during this period, the transition edge of the center position of the Manchester code information bits sent by the second master device 30 always falls within the detection window opened by the second signal receiving device 40 (slave device). The technical solution of this invention receives the command feedback signal and generates a detection signal based on the command feedback signal. The detection signal is set as multiple detection windows opened after including the end position of the start bit. The position of the (n+1)th detection window is determined by the transition edge detected in the nth detection window, thereby reducing the offset between the detection window and the transition edge, and the offset of the detection window will not accumulate. This can ensure that each detection window can detect the corresponding transition edge as much as possible, thereby greatly improving the data reception success rate.

[0044] Furthermore, such as Figure 3 The information bits shown may include, for example, a first information bit, a second information bit, ..., an nth information bit. See also... Figure 5 Step S20, generating the detection signal based on the command feedback signal, includes the following steps:

[0045] S210, open the first detection window on both sides of the ideal center position of the first information bit;

[0046] S220, identify the transition edge appearing within the first detection window;

[0047] S230, determine the position of the (n+1)th detection window based on the transition edge detected within the nth detection window;

[0048] S240, the (n+1)th detection window is opened according to the position of the (n+1)th detection window;

[0049] S250, identify the transition edge that appears in the (n+1)th detection window.

[0050] See Figure 3 In the diagram, A represents the command feedback signal sent by the second master device 30. In the command feedback signal, 0 refers to Manchester code 0, which is the first information bit. It is a rising edge in the middle of the code element and corresponds to the highest bit of the CRM command. 1 refers to Manchester code 1, which is the second information bit. It is a falling edge in the middle of the code element and corresponds to the second highest bit of the CRM command. Figure 3Only a portion of the command feedback signal information bits are shown for reference. Referring to B3, after the second signal receiving device 40 (slave device) receives the command feedback signal, it begins detecting the information bits. Upon detecting the first information bit (… Figure 3 When the information bit is 0, the first detection window is opened on both sides of the ideal center position of the first information bit, and the transition edge of the first information bit appearing in the first detection window is identified. From the second detection window ( Figure 3 Starting with information bit 1), the position of the detection window is no longer fixed, but is determined by the transition edge of the information bit detected in the previous detection window. That is, the position of the (n+1)th detection window is determined by the transition edge detected in the nth detection window, and then the (n+1)th detection window is opened according to the position of the (n+1)th detection window. The transition edge appearing in the (n+1)th detection window is identified until the nth information bit is detected. During command transmission, although the 1MHz clock will gradually deviate after running for a long time, there is no accumulation of offset due to clock deviation when the first detection window is opened. Therefore, the position of the first detection window is generally accurate, and the first detection window can accurately detect the corresponding transition edge. Then, the position of the second detection window is determined based on the position of the transition edge in the first detection window. Since the position of the second detection window comes from the first master device 10, even if the clock deviates, the transition edge of the second information bit will not fall outside the second detection window. This can reduce the offset between the detection window and the transition edge, and the offset of the detection window will not accumulate. This can ensure that each detection window can detect the corresponding transition edge as much as possible, thereby greatly improving the data reception success rate.

[0051] Furthermore, see Figure 6 Step S230, which determines the position of the (n+1)th detection window based on the transition edge detected within the nth detection window, specifically includes the following steps:

[0052] S231, the position of the transition edge detected in the nth detection window is taken as the anchor point of the (n+1)th detection window;

[0053] S232, determine the middle position of the (n+1)th detection window based on the bit time at the anchor point and the clock frequency of the internal clock.

[0054] Specifically, when determining the position of the (n+1)th detection window based on the transition edge detected within the nth detection window, the position of the transition edge detected in the nth detection window is used as the anchor point of the (n+1)th detection window. Then, the middle position of the (n+1)th detection window is determined based on the anchor point and the bit time at the clock frequency of the internal clock. The bit time is Tbit, also known as bit duration. For example, the position of the transition edge detected in the nth detection window can be used to count Tbit from the 1MHz clock inside the second signal receiving device 40 (slave device) as the middle position of the (n+1)th detection window. The bit time Tbit at the clock frequency of the internal clock is, for example, 8µs, 16µs, etc., but this embodiment is not limited to this. Even if there is a clock discrepancy between the second master device 30 and the second signal receiving device 40 (slave device), since the anchor point for the next window opening comes from the second master device 30, the window opening position offset caused by this frequency difference will not accumulate as in the method of using a fixed position window opening. Moreover, the single window opening position offset caused by the frequency difference is usually insufficient to cause the center flip edge of the information bit sent by the second master device 30 to fall outside the detection window opened by the second signal receiving device 40 (slave device), thereby greatly improving the data reception success rate.

[0055] In this embodiment, since each detection window supports the detection of command feedback signals with a duty cycle ranging from 1 / 3 to 2 / 3, the multiple detection windows are of the same size.

[0056] See Figure 7 The information bits include synchronization information; after receiving the feedback signal in step S00 and before generating the detection signal based on the command feedback signal in step S20, the method further includes:

[0057] S10, perform clock synchronization according to the synchronization information.

[0058] The second master device 30 sends a command feedback signal, the start bit of which contains synchronization information. The CRM command consists of a start bit and 32 information bits. If the 32 information bits contain five consecutive rising edges, then this information bit contains synchronization information, and the second signal receiving device 40 can synchronize according to the synchronization information. In a typical configuration, the interval between the first and fifth rising edges is 40µs. After detecting this synchronization event, the second signal receiving device 40 (slave device) adjusts its internal frequency division factor to obtain a decimal frequency division factor. Dividing the system clock by this frequency division factor yields a 1MHz clock synchronized with the second master device 30. This 1MHz clock is highly synchronized with the 1MHz clock generated internally by the second master device 30. With this synchronized 1MHz clock, the second signal receiving device 40 (slave device) can successfully receive commands and provide feedback according to the commands (e.g., replying with corresponding data). The purpose of synchronization is to ensure that the 1MHz clocks inside the first master device 10 and the second signal receiving device 40 are as synchronized as possible. This reduces the likelihood of errors when the master and slave devices receive commands or data from each other, improving the reliability of command and data transmission between the second master device 30 and the second signal receiving device 40. Synchronization information detection and CRM command reception are performed simultaneously and in parallel. The synchronization information used for CRM command reception can be obtained from the most recent clock synchronization. This most recent clock synchronization may occur in the current CRM command, the previous CRM command, or the current CRM command may contain multiple sets of synchronization information with five consecutive rising edges. Upon detecting five consecutive rising edges, the synchronization logic obtains a fractional division factor, which is immediately applied to the received CRM data. If no five consecutive rising edges appear in subsequent CRM commands, the CRM command reception continues to use the fractional division factor obtained from the most recent synchronization.

[0059] See Figure 8 After generating the detection signal based on the command feedback signal in step S20, the method further includes:

[0060] S30, parse the type of the transition edge corresponding to the detection window, and obtain the target data corresponding to the information bit.

[0061] When one and only one transition edge appears within the detection window, the second signal receiving device 40 (slave device) can parse the type of the transition edge, obtain the target data of the corresponding information bit, and complete the data reception. Here, the target data is the data corresponding to the command feedback signal transmitted by the second master device 30, that is, the data that the second master device 30 wants to transmit to the second signal receiving device 40.

[0062] Preferably, the size of the detection window is 2 / 3 Tbit, specifically, for example, 1 / 3 Tbit on each side of the ideal center position of the information bit. The duty cycle of the command feedback signal is 1 / 3 to 2 / 3, that is, the range of duty cycle variation of the command feedback signal supported by the detection window is 1 / 3 to 2 / 3. When the size of the detection window is too large, it is possible to detect two transition edges within one detection window, resulting in a detection error and interruption of signal reception; when the size of the detection window is too small, it is possible not to detect any transition edges within the detection window, also resulting in a detection error and interruption of signal reception. Therefore, by setting the size of the detection window to 2 / 3 Tbit, the duty cycle variation of the command feedback signal can be accepted to the greatest extent, while the information bits transmitted on the DSI bus can be detected correctly.

[0063] For example, see Figure 9 , Figure 9 As an example, the duty cycle of the command feedback signal is Y / T, where Y is the high-level duration (i.e., pulse width), and T is one period of the command feedback signal. For ease of description and calculation, this example uses T=1, so the duty cycle of the command feedback signal is Y, where Y<50%. The window width of the second signal receiving device 40 (slave device) is 2X, which is a width of X extending left and right from the center of the detection window. X can be, for example, a specific value of a time interval, used to define the window width and the left and right boundaries of the window. In this embodiment, the width of X can be, for example, XTbit. Figure 9 As can be seen from the second window opening of the second signal receiving device 40 (slave device), in order for the lower edge of the second information bit to fall within the detection window, formula (1) must be satisfied:

[0064] X+2Y≥1;

[0065] As can be seen from the fifth window opening of the second signal receiving device 40 (slave device), in order to ensure that the lower edge of the fifth information bit falls within the detection window while avoiding the upper edge of the starting position of the fifth information bit falling into the detection window, formula (2) must be satisfied:

[0066] Y>X;

[0067] From equations (1) and (2), we can obtain:

[0068] 3Y>X+2Y≥1;

[0069] Solving this problem yields the conclusion (1): Y > 1 / 3, X < 1 / 3;

[0070] Figure 10Here is another example where the duty cycle Y of the command feedback signal is greater than 50%. In this case, to be able to receive the command feedback signal correctly, it can be seen from the second and third window openings that X and Y must satisfy the following formula (3):

[0071] 1 + X > 2Y;

[0072] from Figure 10 The second signal receiving device 40 (slave device) can see from the fifth window opening that in order to make the rising edge of the fifth information bit fall within the detection window while avoiding the falling edge of the end position of the fourth information bit falling into the detection window, formula (4) must be satisfied:

[0073] Y+X<1;

[0074] From equations (4) and (5), we can obtain:

[0075] 2-Y>1+X>2Y

[0076] Solving this problem yields the conclusion (2): 2-Y>2Y, Y<2 / 3, X<1 / 3;

[0077] Combining conclusions (1) and (2), we can conclude that: 1 / 3 <Y<2 / 3,X<1 / 3;

[0078] In other words, the theoretical maximum amplitude of the detection window is 2X, or 2 / 3 Tbit, and the theoretical range of duty cycle variation for the command feedback signal it can support is 1 / 3 to 2 / 3. Considering clock accuracy issues, this theoretical value can be slightly adjusted during engineering implementation. By setting the detection window size to 2 / 3 Tbit, the duty cycle variation range of the command feedback signal supported by the detection window can be 1 / 3 to 2 / 3, while correctly detecting the received information bits. That is, when the duty cycle variation range of the command feedback signal is 1 / 3 to 2 / 3, it can be successfully received by the second signal receiving device 40 (slave device).

[0079] Accordingly, embodiments of the present invention also provide a signal receiving device configured to receive signals using the signal receiving method as described in the above embodiments. The signal receiving device of the present invention has the beneficial effects of the signal receiving method provided in the above embodiments of the present invention; its technical principle and the resulting beneficial effects are similar and will not be repeated here.

[0080] Accordingly, see Figure 11This application also provides a communication system, including a second master device 30 and a second signal receiving device 40. The second master device 30 is configured to transmit bus information, including command feedback signals. The second signal receiving device 40 is configured to receive signals using the signal receiving method described in the above embodiments. The second master device 30 and the second signal receiving device 40 are connected to communicate. The communication system of this invention has the beneficial effects of the signal receiving method provided in the above embodiments of this invention. Its technical principle and the resulting beneficial effects are similar and will not be described again.

[0081] The above description is merely an optional embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.

Claims

1. A signal receiving method, characterized in that, include: Receive a command feedback signal, the command feedback signal including a start bit and information bits following the start bit; A detection signal is generated based on the command feedback signal. The detection signal includes multiple detection windows that are opened after the end position of the start position. Each of the multiple detection windows corresponds one-to-one with a multiple transition edge of the information bit. The position of the (n+1)th detection window is determined based on the transition edge detected in the nth detection window, where n is a positive integer. The step of determining the position of the (n+1)th detection window based on the transition edge detected within the nth detection window includes: The position of the transition edge detected in the nth detection window is used as the anchor point of the (n+1)th detection window; The middle position of the (n+1)th detection window is determined based on the bit time at the anchor point and the clock frequency of the internal clock.

2. The signal receiving method as described in claim 1, characterized in that, The information bits include a first information bit; the generation of the detection signal based on the command feedback signal further includes: The first detection window is opened on both sides of the ideal center position of the first information bit; Identify the transition edge that appears within the first detection window; The (n+1)th detection window is opened according to its position; Identify the transition edge that appears within the (n+1)th detection window.

3. The signal receiving method as described in any one of claims 1 or 2, characterized in that, The multiple detection windows are of the same size.

4. The signal receiving method as described in claim 3, characterized in that, The size of the detection window is 2 / 3 Tbit.

5. The signal receiving method as described in claim 1, characterized in that, The duty cycle of the command feedback signal is 1 / 3 to 2 / 3.

6. The signal receiving method as described in claim 1, characterized in that, The information bits include synchronization information; after receiving the command feedback signal and before generating the detection signal based on the command feedback signal, it also includes: Clock synchronization is performed based on the synchronization information.

7. The signal receiving method as described in claim 1, characterized in that, After generating the detection signal based on the command feedback signal, the method further includes: The type of the transition edge corresponding to the detection window is parsed to obtain the target data corresponding to the information bit.

8. The signal receiving method as described in claim 1, characterized in that, The signal receiving method is based on the DSI3 protocol for signal reception.

9. A communication system, characterized in that, include: The second master device is configured to send bus information, which includes command feedback signals. as well as The second signal receiving device is configured to receive signals using the method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data sampling method and system, storage medium and computer equipment

    CN112765073A